| /bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/sys/ |
| A D | defs.h | 50 #ifndef offsetof 51 #define offsetof(type, field) \ macro 56 #define __offsetof(type, field) offsetof(type, field) 61 __DEQUALIFY(type *, (const volatile char *)(ptr) - offsetof(type, field))
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/ |
| A D | aw_common.h | 6 #ifndef offsetof 7 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro 19 (type *)((char *)__mptr - offsetof(type, member)); })
|
| /bsp/stm32/stm32mp157a-st-ev1/board/CubeMX_Config/CM4/Src/ |
| A D | rsc_table.c | 107 offsetof(struct shared_resource_table, vdev), 108 offsetof(struct shared_resource_table, cm_trace), 144 resource_table.offset[0] = offsetof(struct shared_resource_table, vdev); in resource_table_init()
|
| /bsp/stm32/stm32mp157a-st-discovery/board/CubeMX_Config/CM4/Src/ |
| A D | rsc_table.c | 107 offsetof(struct shared_resource_table, vdev), 108 offsetof(struct shared_resource_table, cm_trace), 144 resource_table.offset[0] = offsetof(struct shared_resource_table, vdev); in resource_table_init()
|
| /bsp/ESP32_C3/idf_port/include/freertos/ |
| A D | freertos_tasks_c_additions.h | 272 offsetof(TCB_t, pxTopOfStack), /* thread_stack_offset; */ 273 offsetof(TCB_t, pcTaskName), /* thread_name_offset; */ 389 …_Static_assert(offsetof( StaticTask_t, pvDummy15 ) == offsetof( TCB_t, pvThreadLocalStoragePointer… in vTaskSetThreadLocalStoragePointerAndDelCallback()
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_ble_driver/inc/ |
| A D | l2cc.h | 69 …((struct l2cc_pdu_send_cmd*) (((uint8_t*)_pdu) - offsetof(struct l2cc_pdu_send_cmd, pdu.data.code)… 73 …((struct l2cc_pdu_recv_ind*) (((uint8_t*)_pdu) - offsetof(struct l2cc_pdu_recv_ind, pdu.data.code)…
|
| A D | ke_msg.h | 112 return (struct ke_msg*) (((uint8_t*)param_ptr) - offsetof(struct ke_msg, param)); in ke_param2msg() 126 return (void*) (((uint8_t*) msg) + offsetof(struct ke_msg, param)); in ke_msg2param()
|
| A D | co_utils.h | 139 #define CONTAINER_OF(ptr, type, member) ((type *)( (char *)ptr - offsetof(type,member) ))
|
| /bsp/wch/risc-v/Libraries/ch56x_drivers/ |
| A D | ch56x_sys.c | 162 offset = offsetof(struct sys_registers, SLP_CLK_OFF0); in sys_clk_off_by_irqn() 166 offset = offsetof(struct sys_registers, SLP_CLK_OFF1); in sys_clk_off_by_irqn() 171 offset = offsetof(struct sys_registers, SLP_WAKE_CTRL); in sys_clk_off_by_irqn()
|
| /bsp/microchip/samd51-adafruit-metro-m4/bsp/hal/utils/include/ |
| A D | utils.h | 50 #define CONTAINER_OF(ptr, type, field_name) ((type *)(((uint8_t *)ptr) - offsetof(type, field_name)…
|
| /bsp/microchip/samc21/bsp/hal/utils/include/ |
| A D | utils.h | 50 #define CONTAINER_OF(ptr, type, field_name) ((type *)(((uint8_t *)ptr) - offsetof(type, field_name)…
|
| /bsp/microchip/saml10/bsp/hal/utils/include/ |
| A D | utils.h | 50 #define CONTAINER_OF(ptr, type, field_name) ((type *)(((uint8_t *)ptr) - offsetof(type, field_name)…
|
| /bsp/microchip/same70/bsp/hal/utils/include/ |
| A D | utils.h | 50 #define CONTAINER_OF(ptr, type, field_name) ((type *)(((uint8_t *)ptr) - offsetof(type, field_name)…
|
| /bsp/microchip/samd51-seeed-wio-terminal/bsp/hal/utils/include/ |
| A D | utils.h | 50 #define CONTAINER_OF(ptr, type, field_name) ((type *)(((uint8_t *)ptr) - offsetof(type, field_name)…
|
| /bsp/microchip/same54/bsp/hal/utils/include/ |
| A D | utils.h | 50 #define CONTAINER_OF(ptr, type, field_name) ((type *)(((uint8_t *)ptr) - offsetof(type, field_name)…
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/core/ |
| A D | usb_gen_hcd_rh.c | 631 len > offsetof(struct usb_config_descriptor, in rh_call_control()
|
| /bsp/airm2m/air105/libraries/HAL_Driver/Inc/ |
| A D | bsp_common.h | 241 (type *)( (char *)__mptr - offsetof(type,member) );})
|