Interrupt router instance containing data required to manage interrupt route discovery using an IR.
- Parameters
-
dev_id | Device ID of IR |
cfg | IR subsystem's config MMR region |
n_inp | Number of IR inputs |
n_outp | Number of IR outputs |
inp0_mapping | A standalone element is needed to track usage of IR input 0. The CONTROL registers are read to determine IR input and output usage. The default state for the output CONTROL registers is 0x0000 which translates to use of IR input zero. This field allows the IR driver to determine which IR output input zero has been mapped to. |
rom_usage | IR inputs and outputs used by ROM during boot that need to be reset to defaults |
n_rom_usage | Number of entries in the rom_usage array |