]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - drivers/video/fbdev/geode/geodefb.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
[mirror_ubuntu-eoan-kernel.git] / drivers / video / fbdev / geode / geodefb.h
CommitLineData
2874c5fd 1/* SPDX-License-Identifier: GPL-2.0-or-later */
1da177e4
LT
2/*
3 * drivers/video/geode/geodefb.h
4 * -- Geode framebuffer driver
5 *
6 * Copyright (C) 2005 Arcom Control Systems Ltd.
1da177e4
LT
7 */
8#ifndef __GEODEFB_H__
9#define __GEODEFB_H__
10
11struct geodefb_info;
12
13struct geode_dc_ops {
14 void (*set_mode)(struct fb_info *);
15 void (*set_palette_reg)(struct fb_info *, unsigned, unsigned, unsigned, unsigned);
16};
17
18struct geode_vid_ops {
19 void (*set_dclk)(struct fb_info *);
20 void (*configure_display)(struct fb_info *);
21 int (*blank_display)(struct fb_info *, int blank_mode);
22};
23
24struct geodefb_par {
25 int enable_crt;
26 int panel_x; /* dimensions of an attached flat panel, non-zero => enable panel */
27 int panel_y;
1da177e4
LT
28 void __iomem *dc_regs;
29 void __iomem *vid_regs;
16379ad8
JL
30 const struct geode_dc_ops *dc_ops;
31 const struct geode_vid_ops *vid_ops;
1da177e4
LT
32};
33
34#endif /* !__GEODEFB_H__ */