drivers/staging/media/atomisp/pci/sh_css_firmware.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/sh_css_firmware.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/sh_css_firmware.h- Extension
.h- Size
- 1171 bytes
- Lines
- 46
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
system_local.hia_css_err.hia_css_acc_types.h
Detected Declarations
struct sh_css_fw_bi_file_hstruct device
Annotated Snippet
struct sh_css_fw_bi_file_h {
char version[64]; /* branch tag + week day + time */
int binary_nr; /* Number of binaries */
unsigned int h_size; /* sizeof(struct sh_css_fw_bi_file_h) */
};
extern struct ia_css_fw_info sh_css_sp_fw;
extern struct ia_css_blob_descr *sh_css_blob_info;
extern unsigned int sh_css_num_binaries;
char
*sh_css_get_fw_version(void);
struct device;
bool
sh_css_check_firmware_version(struct device *dev, const char *fw_data);
int
sh_css_load_firmware(struct device *dev, const char *fw_data,
unsigned int fw_size);
void sh_css_unload_firmware(void);
ia_css_ptr sh_css_load_blob(const unsigned char *blob, unsigned int size);
int
sh_css_load_blob_info(const char *fw, const struct ia_css_fw_info *bi,
struct ia_css_blob_descr *bd, unsigned int i);
#endif /* _SH_CSS_FIRMWARE_H_ */
Annotation
- Immediate include surface: `system_local.h`, `ia_css_err.h`, `ia_css_acc_types.h`.
- Detected declarations: `struct sh_css_fw_bi_file_h`, `struct device`.
- 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.