|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
Driver for ARM Generic Interrupt Controller V3 Interrupt Translation Service. More...
Go to the source code of this file.
Data Structures | |
| struct | its_driver_api |
| Driver Operations GICv3 ITS driver operations More... | |
Typedefs | |
| typedef unsigned int(* | its_api_alloc_intid_t) (const struct device *dev) |
| Callback type for allocating an LPI INTID. | |
| typedef int(* | its_api_alloc_map_intids_t) (const struct device *dev, uint32_t device_id, unsigned int count, unsigned int *intid) |
| Allocate and map consecutive LPI INTIDs to EventIDs starting at zero. | |
| typedef int(* | its_api_alloc_intids_t) (const struct device *dev, unsigned int count, unsigned int *intid) |
| Allocate consecutive LPI INTIDs. | |
| typedef int(* | its_api_setup_deviceid_t) (const struct device *dev, uint32_t device_id, unsigned int nites) |
| Callback type for setting up a device ID. | |
| typedef int(* | its_api_map_intid_t) (const struct device *dev, uint32_t device_id, uint32_t event_id, unsigned int intid) |
| Callback type for mapping an EventID to an LPI INTID. | |
| typedef int(* | its_api_send_int_t) (const struct device *dev, uint32_t device_id, uint32_t event_id) |
| Callback type for sending an interrupt. | |
| typedef uint64_t(* | its_api_get_msi_addr_t) (const struct device *dev) |
| Callback type for retrieving the physical MSI target address. | |
Functions | |
| static int | its_alloc_intid (const struct device *dev) |
| Allocate an LPI INTID. | |
| static int | its_alloc_intids (const struct device *dev, unsigned int count, unsigned int *intid) |
| Allocate consecutive LPI INTIDs. | |
| static int | its_alloc_map_intids (const struct device *dev, uint32_t device_id, unsigned int count, unsigned int *intid) |
| Allocate consecutive LPI INTIDs and map them to EventIDs. | |
| static int | its_setup_deviceid (const struct device *dev, uint32_t device_id, unsigned int nites) |
| Set up a device ID for an ITS device. | |
| static int | its_map_intid (const struct device *dev, uint32_t device_id, uint32_t event_id, unsigned int intid) |
| Map an EventID to an LPI INTID. | |
| static int | its_send_int (const struct device *dev, uint32_t device_id, uint32_t event_id) |
| Send an interrupt for an EventID. | |
| static uint64_t | its_get_msi_addr (const struct device *dev) |
| Get the physical MSI target address for an ITS device. | |
Driver for ARM Generic Interrupt Controller V3 Interrupt Translation Service.
The Generic Interrupt Controller (GIC) Interrupt Translation Service translates an input EventID from a device, identified by its DeviceID, determines a corresponding INTID for this input and the target Redistributor and, through this, the target PE for that INTID.