/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
D | osal_irq.c | 26 int32_t OsalRegisterIrq(uint32_t irq, in OsalRegisterIrq() argument 34 ret = request_threaded_irq(irq, NULL, (irq_handler_t)handle, in OsalRegisterIrq() 45 int32_t OsalUnregisterIrq(uint32_t irq, void *dev) in OsalUnregisterIrq() argument 47 disable_irq(irq); in OsalUnregisterIrq() 49 free_irq(irq, dev); in OsalUnregisterIrq() 55 int32_t OsalEnableIrq(uint32_t irq) in OsalEnableIrq() argument 57 enable_irq(irq); in OsalEnableIrq() 63 int32_t OsalDisableIrq(uint32_t irq) in OsalDisableIrq() argument 65 disable_irq(irq); in OsalDisableIrq()
|
/drivers/hdf_core/adapter/khdf/linux/platform/gpio/ |
D | gpio_adapter.c | 109 static irqreturn_t LinuxGpioIrqDummy(int irq, void *data) in LinuxGpioIrqDummy() argument 111 (void)irq; in LinuxGpioIrqDummy() 116 static irqreturn_t LinuxGpioIrqBridge(int irq, void *data) in LinuxGpioIrqBridge() argument 121 (void)irq; in LinuxGpioIrqBridge() 131 int irq; in LinuxGpioSetIrq() local 141 irq = gpio_to_irq(gpio); in LinuxGpioSetIrq() 142 if (irq < 0) { in LinuxGpioSetIrq() 143 HDF_LOGE("LinuxGpioSetIrq: gpio(%u) to irq fail:%d!", gpio, irq); in LinuxGpioSetIrq() 150 HDF_LOGI("LinuxGpioSetIrq: gona request normal irq:%d(%u)!\n", irq, gpio); in LinuxGpioSetIrq() 151 ret = request_irq(irq, LinuxGpioIrqBridge, flags, in LinuxGpioSetIrq() [all …]
|
/drivers/hdf_core/adapter/khdf/liteos/platform/include/ |
D | gpio_dev.h | 42 typedef void (*irqFunc)(unsigned int irq, void *data);
|
/drivers/hdf_core/framework/support/platform/src/dma/ |
D | dmac_core.c | 526 static uint32_t DmacIsr(uint32_t irq, void *dev) in DmacIsr() argument 537 if (irq != cntlr->irq || cntlr->channelNum > DMAC_CHAN_NUM_MAX) { in DmacIsr() 538 HDF_LOGE("DmacIsr: cntlr parm err! irq:%d, channel:%u!", cntlr->irq, cntlr->channelNum); in DmacIsr() 564 ret = OsalRegisterIrq(cntlr->irq, 0, (OsalIRQHandle)DmacIsr, "PlatDmac", cntlr); in DmacCntlrAdd() 566 HDF_LOGE("DmacCntlrAdd: request irq %u fail, ret = %d!", cntlr->irq, ret); in DmacCntlrAdd() 573 (void)OsalUnregisterIrq(cntlr->irq, cntlr); in DmacCntlrAdd()
|
/drivers/hdf_core/framework/support/platform/include/gpio/ |
D | gpio_core.h | 132 int32_t (*toIrq)(struct GpioCntlr *cntlr, uint16_t local, uint16_t *irq); 183 int32_t GpioCntlrToIrq(struct GpioCntlr *cntlr, uint16_t local, uint16_t *irq);
|
/drivers/hdf_core/framework/test/unittest/platform/virtual/ |
D | i3c_virtual.c | 225 static int32_t I3cIbiHandle(uint32_t irq, void *data) in I3cIbiHandle() argument 232 (void)irq; in I3cIbiHandle()
|
/drivers/hdf_core/framework/support/platform/include/dma/ |
D | dmac_core.h | 132 uint32_t irq; member
|
/drivers/hdf_core/framework/support/platform/src/gpio/ |
D | gpio_core.c | 102 int32_t GpioCntlrToIrq(struct GpioCntlr *cntlr, uint16_t local, uint16_t *irq) in GpioCntlrToIrq() argument 113 return cntlr->ops->toIrq(cntlr, local, irq); in GpioCntlrToIrq()
|
/drivers/peripheral/base/ |
D | hdf_peripheral.cfg | 16 … "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint/irq",
|