Searched refs:irqId (Results 1 - 3 of 3) sorted by relevance
/drivers/hdf_core/adapter/khdf/liteos/osal/src/ |
H A D | osal_irq.c | 37 int32_t OsalRegisterIrq(uint32_t irqId, uint32_t config, OsalIRQHandle handle, const char *name, void *dev) in OsalRegisterIrq() argument 42 if (irqId >= OS_HWI_MAX_NUM) { in OsalRegisterIrq() 43 HDF_LOGE("invalid irq number %d\n", irqId); in OsalRegisterIrq() 47 irqParam.swIrq = (INT32)irqId; in OsalRegisterIrq() 50 ret = LOS_HwiCreate(irqId, 0, (HWI_MODE_T)config, (HWI_PROC_FUNC)handle, &irqParam); in OsalRegisterIrq() 52 HDF_LOGE("%s %u register fail 0x%x", __func__, irqId, ret); in OsalRegisterIrq() 55 HalIrqUnmask(irqId); in OsalRegisterIrq() 60 int32_t OsalUnregisterIrq(uint32_t irqId, void *dev) in OsalUnregisterIrq() argument 65 if (irqId >= OS_HWI_MAX_NUM) { in OsalUnregisterIrq() 66 HDF_LOGE("invalid irq number %u\n", irqId); in OsalUnregisterIrq() 81 OsalEnableIrq(uint32_t irqId) OsalEnableIrq() argument 93 OsalDisableIrq(uint32_t irqId) OsalDisableIrq() argument [all...] |
/drivers/hdf_core/framework/include/osal/ |
H A D | osal_irq.h | 61 typedef uint32_t (*OsalIRQHandle)(uint32_t irqId, void *dev); 66 * @param irqId Indicates the IRQ ID. 82 int32_t OsalRegisterIrq(uint32_t irqId, uint32_t config, OsalIRQHandle handle, const char *name, void *dev); 87 * @param irqId Indicates the IRQ ID. 101 int32_t OsalUnregisterIrq(uint32_t irqId, void *dev); 106 * @param irqId Indicates the IRQ ID. 117 int32_t OsalEnableIrq(uint32_t irqId); 122 * @param irqId Indicates the IRQ ID. 133 int32_t OsalDisableIrq(uint32_t irqId);
|
/drivers/hdf_core/framework/test/unittest/osal/ |
H A D | osal_all_test.c | 496 static uint32_t IRQHandle(uint32_t irqId, void *data) in IRQHandle() argument 510 HDF_LOGE("%s IRQ handle, irqId:%u, data:%u, %ds %dus", __func__, irqId, *p, in IRQHandle()
|
Completed in 3 milliseconds