drivers/remoteproc/pru_rproc.h

Source file repositories/reference/linux-study-clean/drivers/remoteproc/pru_rproc.h

File Facts

System
Linux kernel
Corpus path
drivers/remoteproc/pru_rproc.h
Extension
.h
Size
1382 bytes
Lines
47
Domain
Driver Families
Bucket
drivers/remoteproc
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

struct pruss_int_map {
	u8 event;
	u8 chnl;
	u8 host;
};

/**
 * struct pru_irq_rsc - PRU firmware section header for IRQ data
 * @type: resource type
 * @num_evts: number of described events
 * @pru_intc_map: PRU interrupt routing description
 *
 * The PRU firmware blob can contain optional .pru_irq_map ELF section, which
 * provides the PRUSS interrupt mapping description. The pru_irq_rsc struct
 * describes resource entry format.
 */
struct pru_irq_rsc {
	u8 type;
	u8 num_evts;
	struct pruss_int_map pru_intc_map[];
} __packed;

#endif	/* _PRU_RPROC_H_ */

Annotation

Implementation Notes