Home
last modified time | relevance | path

Searched refs:offsetof (Results 51 – 75 of 137) sorted by relevance

123456

/Zephyr-latest/include/zephyr/input/
Dinput_kbd_matrix.h274 BUILD_ASSERT(offsetof(config, common) == 0, \
276 BUILD_ASSERT(offsetof(data, common) == 0, \
/Zephyr-latest/drivers/i2c/
Di2c_nrfx_twi_rtio.c31 offsetof(struct i2c_nrfx_twi_rtio_data, dev_config) ==
32 offsetof(struct i2c_nrfx_twi_common_data, dev_config)
/Zephyr-latest/include/zephyr/pm/
Ddevice.h195 BUILD_ASSERT(offsetof(struct pm_device, base) == 0);
196 BUILD_ASSERT(offsetof(struct pm_device_isr, base) == 0);
/Zephyr-latest/subsys/logging/backends/
Dlog_multidomain_backend.c40 size_t msg_offset = offsetof(struct log_multidomain_msg, data); in process()
99 size_t msg_offset = offsetof(struct log_multidomain_msg, data); in get_name_response()
/Zephyr-latest/tests/bluetooth/controller/ctrl_invalid/src/
Dmain.c52 #define LLCTRL_PDU_SIZE (offsetof(struct pdu_data, llctrl) + sizeof(struct pdu_data_llctrl))
/Zephyr-latest/drivers/sensor/grow_r502a/
Dgrow_r502a.c252 &rx_packet.data[offsetof(struct r502a_sys_param, status_reg) + 1] in r502a_read_sys_param()
255 &rx_packet.data[offsetof(struct r502a_sys_param, system_id) + 1] in r502a_read_sys_param()
258 &rx_packet.data[offsetof(struct r502a_sys_param, lib_size) + 1] in r502a_read_sys_param()
261 &rx_packet.data[offsetof(struct r502a_sys_param, sec_level) + 1] in r502a_read_sys_param()
264 &rx_packet.data[offsetof(struct r502a_sys_param, addr) + 1] in r502a_read_sys_param()
267 &rx_packet.data[offsetof(struct r502a_sys_param, data_pkt_size) + 1] in r502a_read_sys_param()
271 &rx_packet.data[offsetof(struct r502a_sys_param, baud) + 1] in r502a_read_sys_param()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dpdu.h53 #define PDU_AC_EXT_HEADER_SIZE_MIN offsetof(struct pdu_adv_com_ext_adv, \
76 #define PDU_AC_LL_HEADER_SIZE (offsetof(struct pdu_adv, payload))
176 #define PDU_DC_LL_HEADER_SIZE (offsetof(struct pdu_data, lldata))
182 #define PDU_BIS_LL_HEADER_SIZE (offsetof(struct pdu_bis, payload))
954 #define PDU_DATA_LLCTRL_LEN(type) (offsetof(struct pdu_data_llctrl, type) + \
1198 #define PDU_BIG_INFO_CLEARTEXT_SIZE offsetof(struct pdu_big_info, giv)
Dull_llcp_pdu.c348 BUILD_ASSERT(offsetof(struct pdu_data_llctrl_enc_req, ivm) == in llcp_pdu_encode_enc_req()
349 offsetof(struct pdu_data_llctrl_enc_req, skdm) + sizeof(p->skdm), in llcp_pdu_encode_enc_req()
372 BUILD_ASSERT(offsetof(struct pdu_data_llctrl_enc_rsp, ivs) == in llcp_pdu_encode_enc_rsp()
373 offsetof(struct pdu_data_llctrl_enc_rsp, skds) + sizeof(p->skds), in llcp_pdu_encode_enc_rsp()
853 pdu->len = offsetof(struct pdu_data_llctrl, cis_req) + in llcp_pdu_encode_cis_req()
913 pdu->len = offsetof(struct pdu_data_llctrl, cis_ind) + in llcp_pdu_encode_cis_ind()
/Zephyr-latest/kernel/
Dcondvar.c144 offsetof(struct k_condvar, obj_core)); in init_condvar_obj_core_list()
Dsem.c218 offsetof(struct k_sem, obj_core)); in init_sem_obj_core_list()
Dqueue.c444 offsetof(struct k_fifo, obj_core)); in init_fifo_obj_core_list()
467 offsetof(struct k_lifo, obj_core)); in init_lifo_obj_core_list()
Dstack.c209 offsetof(struct k_stack, obj_core)); in init_stack_obj_core_list()
/Zephyr-latest/drivers/counter/
Dmaxim_ds3231.c156 offsetof(struct register_map, ctrl), in sc_ctrl()
203 uint8_t addr = offsetof(struct register_map, ctrl_stat); in rsc_stat()
476 addr = offsetof(struct register_map, alarm1); in maxim_ds3231_get_alarm()
479 addr = offsetof(struct register_map, alarm2); in maxim_ds3231_get_alarm()
558 addr = offsetof(struct register_map, alarm1); in set_alarm()
561 addr = offsetof(struct register_map, alarm2); in set_alarm()
888 *bp++ = offsetof(struct register_map, sec); in sync_finish_write()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_miwu.c94 BUILD_ASSERT(offsetof(struct miwu_callback, io_cb.params) +
98 BUILD_ASSERT(offsetof(struct miwu_callback, io_cb.params.cb_type) ==
99 offsetof(struct miwu_callback, dev_cb.params.cb_type),
/Zephyr-latest/arch/arm/core/
Dfatal.c138 memcpy(&esf_copy, esf, offsetof(struct arch_esf, extra_info)); in z_do_kernel_oops()
/Zephyr-latest/include/zephyr/stats/
Dstats.h379 { offsetof(STATS_SECT_DECL(sectname__), entry__), #entry__ },
/Zephyr-latest/subsys/lorawan/nvm/
Dlorawan_nvm_settings.c31 .offset = offsetof(LoRaMacNvmData_t, _member), \
/Zephyr-latest/include/zephyr/net/
Dvirtual.h134 BUILD_ASSERT(offsetof(struct virtual_interface_api, iface_api) == 0);
Dwifi_mgmt.h1616 BUILD_ASSERT(offsetof(struct net_wifi_mgmt_offload, wifi_mgmt_api) <
1617 offsetof(struct net_wifi_mgmt_offload, wifi_drv_ops));
1623 BUILD_ASSERT(offsetof(struct net_wifi_mgmt_offload, wifi_iface) == 0);
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_conn.c534 offsetof(struct pdu_data, lldata);
1014 return len <= (offsetof(struct pdu_data, llctrl) +
1033 offsetof(struct pdu_data, lldata));
1159 offsetof(struct pdu_data,
Dlll_scan.c1246 memcpy(rx->pdu, pdu_tx, (offsetof(struct pdu_adv, connect_ind) +
1277 (pdu_adv_rx->len >= offsetof(struct pdu_adv_adv_ind, data)) &&
1370 (pdu_adv_rx->len >= offsetof(struct pdu_adv_adv_ind, data)) &&
1385 (pdu_adv_rx->len >= offsetof(struct pdu_adv_scan_rsp, data)) &&
1436 (pdu->len >= offsetof(struct pdu_adv_adv_ind, data)) &&
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_common.c21 offsetof(type, array[0]))
/Zephyr-latest/subsys/net/lib/sockets/
Dsocket_obj_core.c63 offsetof(struct sock_obj, obj_core)); in sock_obj_core_init_and_link()
/Zephyr-latest/tests/bluetooth/controller/ctrl_unsupported/src/
Dmain.c53 #define LLCTRL_PDU_SIZE (offsetof(struct pdu_data, llctrl) + sizeof(struct pdu_data_llctrl))
/Zephyr-latest/tests/arch/arm/arm_interrupt/src/
Darm_interrupt.c77 offsetof(struct arch_esf, basic.xpsr)) != 0) { in check_esf_matches_expectations()

123456