Searched refs:irqRecord (Results 1 – 3 of 3) sorted by relevance
119 struct GpioIrqRecord *irqRecord = NULL; in GpioCntlrIrqCallback() local132 irqRecord = ginfo->irqRecord; in GpioCntlrIrqCallback()134 if (irqRecord == NULL) { in GpioCntlrIrqCallback()139 GpioIrqRecordTrigger(irqRecord); in GpioCntlrIrqCallback()147 struct GpioIrqRecord *irqRecord = (struct GpioIrqRecord *)data; in GpioCntlrIrqThreadHandler() local149 if (irqRecord == NULL) { in GpioCntlrIrqThreadHandler()154 ret = OsalSemWait(&irqRecord->sem, HDF_WAIT_FOREVER); in GpioCntlrIrqThreadHandler()155 if (irqRecord->removed) { in GpioCntlrIrqThreadHandler()161 if (irqRecord->btmFunc != NULL) { in GpioCntlrIrqThreadHandler()162 (void)irqRecord->btmFunc(irqRecord->global, irqRecord->irqData); in GpioCntlrIrqThreadHandler()[all …]
153 struct GpioIrqRecord *irqRecord = NULL; in GpioCntlrDestroyGpioInfos() local156 irqRecord = cntlr->ginfos[i].irqRecord; in GpioCntlrDestroyGpioInfos()157 if (irqRecord != NULL) { in GpioCntlrDestroyGpioInfos()158 GpioIrqRecordDestroy(irqRecord); in GpioCntlrDestroyGpioInfos()
59 struct GpioIrqRecord *irqRecord; member89 static inline void GpioIrqRecordTrigger(struct GpioIrqRecord *irqRecord) in GpioIrqRecordTrigger() argument91 if (irqRecord->irqFunc != NULL) { in GpioIrqRecordTrigger()92 (void)irqRecord->irqFunc(irqRecord->global, irqRecord->irqData); in GpioIrqRecordTrigger()94 if (irqRecord->btmFunc != NULL) { in GpioIrqRecordTrigger()95 (void)OsalSemPost(&irqRecord->sem); in GpioIrqRecordTrigger()99 static inline void GpioIrqRecordDestroy(struct GpioIrqRecord *irqRecord) in GpioIrqRecordDestroy() argument103 if (irqRecord->btmFunc == NULL) { in GpioIrqRecordDestroy()104 OsalMemFree(irqRecord); // the last access to this record in GpioIrqRecordDestroy()106 (void)OsalSpinLockIrqSave(&irqRecord->spin, &irqSave); in GpioIrqRecordDestroy()[all …]