drivers/staging/media/ipu7/ipu7-bus.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/ipu7/ipu7-bus.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/ipu7/ipu7-bus.h- Extension
.h- Size
- 1769 bytes
- Lines
- 70
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/auxiliary_bus.hlinux/container_of.hlinux/device.hlinux/irqreturn.hlinux/list.hlinux/scatterlist.hlinux/types.habi/ipu7_fw_boot_abi.hipu7-syscom.h
Detected Declarations
struct pci_devstruct ipu_buttress_ctrlstruct ipu7_mmustruct ipu7_devicestruct ipu7_bus_devicestruct ipu7_auxdrv_dataenum ipu7_subsys
Annotated Snippet
struct ipu7_bus_device {
struct auxiliary_device auxdev;
const struct auxiliary_driver *auxdrv;
const struct ipu7_auxdrv_data *auxdrv_data;
struct list_head list;
enum ipu7_subsys subsys;
void *pdata;
struct ipu7_mmu *mmu;
struct ipu7_device *isp;
const struct ipu_buttress_ctrl *ctrl;
u64 dma_mask;
struct sg_table fw_sgt;
u32 fw_entry;
struct ipu7_syscom_context *syscom;
struct ia_gofo_boot_config *boot_config;
dma_addr_t boot_config_dma_addr;
u32 boot_config_size;
};
struct ipu7_auxdrv_data {
irqreturn_t (*isr)(struct ipu7_bus_device *adev);
irqreturn_t (*isr_threaded)(struct ipu7_bus_device *adev);
bool wake_isr_thread;
};
#define to_ipu7_bus_device(_dev) \
container_of(to_auxiliary_dev(_dev), struct ipu7_bus_device, auxdev)
#define auxdev_to_adev(_auxdev) \
container_of(_auxdev, struct ipu7_bus_device, auxdev)
#define ipu7_bus_get_drvdata(adev) dev_get_drvdata(&(adev)->auxdev.dev)
struct ipu7_bus_device *
ipu7_bus_initialize_device(struct pci_dev *pdev, struct device *parent,
void *pdata, const struct ipu_buttress_ctrl *ctrl,
const char *name);
int ipu7_bus_add_device(struct ipu7_bus_device *adev);
void ipu7_bus_del_devices(struct pci_dev *pdev);
#endif
Annotation
- Immediate include surface: `linux/auxiliary_bus.h`, `linux/container_of.h`, `linux/device.h`, `linux/irqreturn.h`, `linux/list.h`, `linux/scatterlist.h`, `linux/types.h`, `abi/ipu7_fw_boot_abi.h`.
- Detected declarations: `struct pci_dev`, `struct ipu_buttress_ctrl`, `struct ipu7_mmu`, `struct ipu7_device`, `struct ipu7_bus_device`, `struct ipu7_auxdrv_data`, `enum ipu7_subsys`.
- Atlas domain: Driver Families / drivers/staging.
- Implementation status: source implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.