include/linux/sysfb.h
Source file repositories/reference/linux-study-clean/include/linux/sysfb.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/sysfb.h- Extension
.h- Size
- 3338 bytes
- Lines
- 139
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/err.hlinux/platform_data/simplefb.hlinux/screen_info.hlinux/types.hvideo/edid.h
Detected Declarations
struct devicestruct platform_devicestruct screen_infostruct efifb_dmi_infostruct sysfb_display_infofunction sysfb_disablefunction sysfb_apply_efi_quirksfunction sysfb_parse_mode
Annotated Snippet
struct efifb_dmi_info {
char *optname;
unsigned long base;
int stride;
int width;
int height;
int flags;
};
struct sysfb_display_info {
struct screen_info screen;
#if defined(CONFIG_FIRMWARE_EDID)
struct edid_info edid;
#endif
};
extern struct sysfb_display_info sysfb_primary_display;
#ifdef CONFIG_SYSFB
void sysfb_disable(struct device *dev);
bool sysfb_handles_screen_info(void);
#else /* CONFIG_SYSFB */
static inline void sysfb_disable(struct device *dev)
{
}
static inline bool sysfb_handles_screen_info(void)
{
return false;
}
#endif /* CONFIG_SYSFB */
#ifdef CONFIG_EFI
extern struct efifb_dmi_info efifb_dmi_list[];
void sysfb_apply_efi_quirks(struct screen_info *si);
void sysfb_set_efifb_fwnode(const struct screen_info *si, struct platform_device *pd);
#else /* CONFIG_EFI */
static inline void sysfb_apply_efi_quirks(struct screen_info *si)
{
}
static inline void sysfb_set_efifb_fwnode(const struct screen_info *si,
struct platform_device *pd)
{
}
#endif /* CONFIG_EFI */
#ifdef CONFIG_SYSFB_SIMPLEFB
bool sysfb_parse_mode(const struct screen_info *si,
struct simplefb_platform_data *mode);
struct platform_device *sysfb_create_simplefb(const struct screen_info *si,
const struct simplefb_platform_data *mode,
struct device *parent);
#else /* CONFIG_SYSFB_SIMPLE */
static inline bool sysfb_parse_mode(const struct screen_info *si,
struct simplefb_platform_data *mode)
{
return false;
}
static inline struct platform_device *sysfb_create_simplefb(const struct screen_info *si,
const struct simplefb_platform_data *mode,
struct device *parent)
{
return ERR_PTR(-EINVAL);
}
#endif /* CONFIG_SYSFB_SIMPLE */
#endif /* _LINUX_SYSFB_H */
Annotation
- Immediate include surface: `linux/err.h`, `linux/platform_data/simplefb.h`, `linux/screen_info.h`, `linux/types.h`, `video/edid.h`.
- Detected declarations: `struct device`, `struct platform_device`, `struct screen_info`, `struct efifb_dmi_info`, `struct sysfb_display_info`, `function sysfb_disable`, `function sysfb_apply_efi_quirks`, `function sysfb_parse_mode`.
- Atlas domain: Core OS / Core Kernel Interface.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.