Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 23 of 23) sorted by relevance

/device/linaro/dragonboard/qcom/tqftpserv/
Dlist.h37 #ifndef container_of
38 #define container_of(ptr, type, member) ({ \ macro
84 container_of(item, type, member)
87 container_of((list)->next, type, member)
90 container_of((item)->member.next, typeof(*(item)), member)
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/
Dxf-mem.c98 xf_mm_block_t *b = container_of(p_idx, xf_mm_block_t, l_node); in xf_mm_find_by_size()
112 xf_mm_block_t *b = container_of(t_idx, xf_mm_block_t, l_node); in xf_mm_find_by_size()
131 return container_of(p_idx, xf_mm_block_t, l_node); in xf_mm_find_by_size()
163 n[0] = (l_idx ? container_of(l_idx, xf_mm_block_t, a_node) : NULL); in xf_mm_find_by_addr()
164 n[1] = (r_idx ? container_of(r_idx, xf_mm_block_t, a_node) : NULL); in xf_mm_find_by_addr()
177 if (xf_mm_block_length_less(container_of(p_idx, xf_mm_block_t, l_node), size)) in xf_mm_insert_size()
/device/google/contexthub/firmware/os/inc/
Disr.h68 struct ChainedIsr *curIsr = container_of(cur, struct ChainedIsr, node); in dispatchIsr()
85 struct ChainedIsr *curIsr = container_of(cur, struct ChainedIsr, node); in unchainIsrAll()
101 struct ChainedIsr *curIsr = container_of(cur, struct ChainedIsr, node); in maxLatencyIsr()
Dutil.h44 #define container_of(addr, struct_name, field_name) \ macro
/device/google/contexthub/firmware/os/core/
DeventQ.c90 struct EvtRecord * rec = container_of(pos, struct EvtRecord, item); in evtQueueFree()
117 rec = container_of(pos, struct EvtRecord, item); in evtQueueEnqueue()
166 struct EvtRecord * rec = container_of(pos, struct EvtRecord, item); in evtQueueRemoveAllMatching()
189 rec = container_of(pos, struct EvtRecord, item); in evtQueueDequeue()
DnanohubCommand.c533 struct FirmwareWriteCookie *buf = container_of(ptr, struct FirmwareWriteCookie, resp); in writeCookieFree()
/device/linaro/dragonboard/qcom/qrtr/src/
Dlist.h8 #ifndef container_of
9 #define container_of(ptr, type, member) \ macro
29 container_of(ptr, type, member)
Dns.c96 return container_of(mi, struct node, mi); in node_get()
278 struct server *old = container_of(mi, struct server, mi); in server_add()
300 srv = container_of(mi, struct server, mi); in server_del()
309 lookup = container_of(li, struct lookup, li); in server_del()
404 lookup = container_of(li, struct lookup, li); in ctrl_cmd_del_client()
471 lookup = container_of(li, struct lookup, li); in ctrl_cmd_new_server()
539 srv = container_of(li, struct server, qli); in ctrl_cmd_new_lookup()
557 lookup = container_of(li, struct lookup, li); in ctrl_cmd_del_lookup()
675 free(container_of(mi, struct server, mi)); in server_mi_free()
680 struct node *node = container_of(mi, struct node, mi); in node_mi_free()
Dmap.h36 container_of(map_iter_item(iter), type, member)
/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxf-debug.h36 #ifndef container_of
37 #define container_of(ptr, type, member) \ macro
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-debug.h45 #ifndef container_of
46 #define container_of(ptr, type, member) \ macro
/device/linaro/dragonboard/qcom/qrtr/lib/
Dlibqrtr.h17 #ifndef container_of
18 #define container_of(ptr, type, member) \ macro
/device/google/contexthub/firmware/os/platform/stm32/
Dexti.c80 struct ExtiInterrupt *exti = container_of(irq, struct ExtiInterrupt, base); in extiInterruptEnable()
86 struct ExtiInterrupt *exti = container_of(irq, struct ExtiInterrupt, base); in extiInterruptDisable()
Dspi.c460 struct StmSpiState *state = container_of(isr, struct StmSpiState, isrNss); in stmSpiExtiIsr()
461 struct StmSpiDev *pdev = container_of(state, struct StmSpiDev, state); in stmSpiExtiIsr()
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c105 struct SensorTask *data = container_of(localIsr, struct SensorTask, sIsr); in hallSouthIsr()
114 struct SensorTask *data = container_of(localIsr, struct SensorTask, nIsr); in hallNorthIsr()
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c110 struct SensorTask *data = container_of(localIsr, struct SensorTask, isr); in vsyncIsr()
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c85 struct SensorTask *data = container_of(localIsr, struct SensorTask, isr); in hallIsr()
/device/linaro/hikey/power/
Dpower_hikey.c102 #define container_of(addr, struct_name, field_name) \ macro
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c174 struct TaskStruct *data = container_of(localIsr, struct TaskStruct, isr); in touchIsr()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c258 struct SensorData *data = container_of(localIsr, struct SensorData, isr); in proxIsr()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c319 struct SensorData *data = container_of(localIsr, struct SensorData, isr); in proxIsr()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c904 TASK = container_of(isr, struct BMI160Task, Isr1);
918 TASK = container_of(isr, struct BMI160Task, Isr2);
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c899 TASK = container_of(isr, struct ICM40600Task, Isr1);