drivers/staging/sm750fb/ddk750_power.h
Source file repositories/reference/linux-study-clean/drivers/staging/sm750fb/ddk750_power.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/sm750fb/ddk750_power.h- Extension
.h- Size
- 869 bytes
- Lines
- 42
- Domain
- Driver Families
- Bucket
- drivers/staging
- 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.
- 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
- No C-style include directives detected by the generator.
Detected Declarations
enum dpms
Annotated Snippet
#ifndef DDK750_POWER_H__
#define DDK750_POWER_H__
enum dpms {
CRT_DPMS_ON = 0x0,
CRT_DPMS_STANDBY = 0x1,
CRT_DPMS_SUSPEND = 0x2,
CRT_DPMS_OFF = 0x3,
};
#define set_DAC(off) { \
poke32(MISC_CTRL, \
(peek32(MISC_CTRL) & ~MISC_CTRL_DAC_POWER_OFF) | (off)); \
}
void ddk750_set_dpms(enum dpms state);
void sm750_set_power_mode(unsigned int mode);
void sm750_set_current_gate(unsigned int gate);
/*
* This function enable/disable the 2D engine.
*/
void sm750_enable_2d_engine(unsigned int enable);
/*
* This function enable/disable the DMA Engine
*/
void sm750_enable_dma(unsigned int enable);
/*
* This function enable/disable the GPIO Engine
*/
void sm750_enable_gpio(unsigned int enable);
/*
* This function enable/disable the I2C Engine
*/
void sm750_enable_i2c(unsigned int enable);
#endif
Annotation
- Detected declarations: `enum dpms`.
- Atlas domain: Driver Families / drivers/staging.
- 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.