Home
last modified time | relevance | path

Searched refs:offsetof (Results 26 – 50 of 137) sorted by relevance

123456

/Zephyr-latest/include/zephyr/net/
Ddummy.h59 BUILD_ASSERT(offsetof(struct dummy_api, iface_api) == 0);
Doffloaded_netdev.h68 BUILD_ASSERT(offsetof(struct offloaded_if_api, iface_api) == 0);
Dcanbus.h53 BUILD_ASSERT(offsetof(struct canbus_api, iface_api) == 0);
/Zephyr-latest/drivers/stepper/step_dir/
Dstep_dir_stepper_common.h117 BUILD_ASSERT(offsetof(config, common) == 0, \
119 BUILD_ASSERT(offsetof(data, common) == 0, \
/Zephyr-latest/drivers/can/
Dcan_nrf.c20 #define CAN_TASKS_START offsetof(NRF_CAN_Type, TASKS_START)
21 #define CAN_EVENTS_CORE_0 offsetof(NRF_CAN_Type, EVENTS_CORE[0])
22 #define CAN_EVENTS_CORE_1 offsetof(NRF_CAN_Type, EVENTS_CORE[1])
23 #define CAN_INTEN offsetof(NRF_CAN_Type, INTEN)
/Zephyr-latest/tests/posix/headers/src/
Dsched_h.c22 zassert_not_equal(-1, offsetof(struct sched_param, sched_priority)); in ZTEST()
/Zephyr-latest/subsys/fs/nvs/
Dnvs_priv.h51 BUILD_ASSERT(offsetof(struct nvs_ate, crc8) ==
/Zephyr-latest/arch/arm64/core/
Dsmp.c47 BUILD_ASSERT(offsetof(struct boot_params, mpid) == BOOT_PARAM_MPID_OFFSET);
48 BUILD_ASSERT(offsetof(struct boot_params, sp) == BOOT_PARAM_SP_OFFSET);
49 BUILD_ASSERT(offsetof(struct boot_params, voting) == BOOT_PARAM_VOTING_OFFSET);
/Zephyr-latest/samples/boards/nordic/nrf53_sync_rtc/src/
Dmain.c28 nrf_ipc_task_t task = offsetof(NRF_IPC_Type, TASKS_SEND[2]); in timeout_handler()
/Zephyr-latest/include/zephyr/input/
Dinput_touch.h73 BUILD_ASSERT(offsetof(config, common) == 0, \
/Zephyr-latest/include/zephyr/
Dbindesc.h314 BUILD_ASSERT(offsetof(struct bindesc_entry, tag) == 0, "Incorrect memory layout");
315 BUILD_ASSERT(offsetof(struct bindesc_entry, len) == 2, "Incorrect memory layout");
316 BUILD_ASSERT(offsetof(struct bindesc_entry, data) == 4, "Incorrect memory layout");
/Zephyr-latest/tests/net/ipv6_fragment/src/
Dmain.c1504 zassert_equal(hdr->vtc, ipv6_udp[offsetof(struct net_ipv6_hdr, vtc)], in udp_data_received()
1506 zassert_equal(hdr->tcflow, ipv6_udp[offsetof(struct net_ipv6_hdr, tcflow)], in udp_data_received()
1508 zassert_mem_equal(&hdr->flow, &ipv6_udp[offsetof(struct net_ipv6_hdr, flow)], in udp_data_received()
1511 zassert_equal(hdr->nexthdr, ipv6_udp[offsetof(struct net_ipv6_hdr, nexthdr)], in udp_data_received()
1513 zassert_equal(hdr->hop_limit, ipv6_udp[offsetof(struct net_ipv6_hdr, hop_limit)], in udp_data_received()
1515 zassert_mem_equal(hdr->src, &ipv6_udp[offsetof(struct net_ipv6_hdr, dst)], in udp_data_received()
1517 zassert_mem_equal(hdr->dst, &ipv6_udp[offsetof(struct net_ipv6_hdr, src)], in udp_data_received()
2243 zassert_equal(hdr->vtc, ipv6_reass_frag1[offsetof(struct net_ipv6_hdr, vtc)], in handle_ipv6_echo_reply()
2245 zassert_equal(hdr->tcflow, ipv6_reass_frag1[offsetof(struct net_ipv6_hdr, tcflow)], in handle_ipv6_echo_reply()
2247 zassert_mem_equal(&hdr->flow, &ipv6_reass_frag1[offsetof(struct net_ipv6_hdr, flow)], in handle_ipv6_echo_reply()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/util/
Dmem.h53 BUILD_ASSERT(offsetof(type, member) >= MEM_FREE_RESERVED_SIZE, \
/Zephyr-latest/soc/infineon/cat1b/cyw20829/
Dapp_header.c39 .l1_app_descr_addr = offsetof(struct app_header, l1_desc)},
/Zephyr-latest/subsys/bluetooth/host/
Dkeys.h88 offsetof(struct bt_keys, storage_start))
222 offsetof(struct bt_keys_link_key, storage_start))
/Zephyr-latest/soc/nordic/nrf54h/
Dpm_s2ram.c165 [resetreas_offs] "r"(offsetof(NRF_RESETINFO_Type, RESETREAS.LOCAL)), in pm_s2ram_mark_check_and_clear()
167 [restorevalid_offs] "r"(offsetof(NRF_RESETINFO_Type, RESTOREVALID)), in pm_s2ram_mark_check_and_clear()
/Zephyr-latest/drivers/bbram/
Dbbram_stm32.c23 #define STM32_BKP_REG_OFFSET (TAMP_BASE + offsetof(TAMP_TypeDef, BKP0R) - RTC_BASE)
25 #define STM32_BKP_REG_OFFSET offsetof(RTC_TypeDef, BKP0R)
/Zephyr-latest/arch/common/
Disr_tables.c36 .shared_isr_client_num_offset = offsetof(struct z_shared_isr_table_entry, client_num),
/Zephyr-latest/samples/boards/nordic/system_off/src/
Dretained.c26 #define RETAINED_CRC_OFFSET offsetof(struct retained_data, crc)
/Zephyr-latest/subsys/tracing/
Dtracing_backend_adsp_memory_window.c24 (ADSP_DW_SLOT_SIZE - offsetof(struct tracing_backend_adsp_memory_window, data))
/Zephyr-latest/include/zephyr/drivers/serial/
Duart_async_rx.h92 #define UART_ASYNC_RX_BUF_OVERHEAD offsetof(struct uart_async_rx_buf, buffer)
/Zephyr-latest/drivers/i2c/
Di2c_nrfx_twi.c37 offsetof(struct i2c_nrfx_twi_data, dev_config) ==
38 offsetof(struct i2c_nrfx_twi_common_data, dev_config)
/Zephyr-latest/drivers/serial/
Duart_async_rx.c47 (struct uart_async_rx_buf *)(buffer - offsetof(struct uart_async_rx_buf, buffer)); in uart_async_rx_on_rdy()
76 (struct uart_async_rx_buf *)(buffer - offsetof(struct uart_async_rx_buf, buffer)); in uart_async_rx_on_buf_rel()
/Zephyr-latest/subsys/shell/
Dshell_history.c121 total_len = offsetof(struct shell_history_item, data) + in remove_from_tail()
139 uint32_t total_len = len + offsetof(struct shell_history_item, data); in z_shell_history_put()
/Zephyr-latest/tests/subsys/logging/log_msg/src/
Dmain.c393 exp_len = offsetof(struct log_msg, data) + in ZTEST()
424 exp_len = offsetof(struct log_msg, data) + sizeof(data); in ZTEST()
452 exp_len = offsetof(struct log_msg, data) + sizeof(data) + in ZTEST()
486 exp_len = offsetof(struct log_msg, data) + in ZTEST()
528 exp_len = offsetof(struct log_msg, data) + in ZTEST()
550 ROUND_UP(offsetof(struct log_msg, data) + 2 * sizeof(void *), in ZTEST()

123456