drivers/video/fbdev/via/via_utility.h

Source file repositories/reference/linux-study-clean/drivers/video/fbdev/via/via_utility.h

File Facts

System
Linux kernel
Corpus path
drivers/video/fbdev/via/via_utility.h
Extension
.h
Size
759 bytes
Lines
21
Domain
Driver Families
Bucket
drivers/video
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __VIAUTILITY_H__
#define __VIAUTILITY_H__

/* These functions are used to get information about device's state */
void viafb_get_device_support_state(u32 *support_state);
void viafb_get_device_connect_state(u32 *connect_state);
bool viafb_lcd_get_support_expand_state(u32 xres, u32 yres);

/* These function are used to access gamma table */
void viafb_set_gamma_table(int bpp, unsigned int *gamma_table);
void viafb_get_gamma_table(unsigned int *gamma_table);
void viafb_get_gamma_support_state(int bpp, unsigned int *support_state);

#endif /* __VIAUTILITY_H__ */

Annotation

Implementation Notes