Home
last modified time | relevance | path

Searched refs:CONTAINER_OF (Results 1 – 25 of 609) sorted by relevance

12345678910>>...25

/Zephyr-latest/subsys/llext/
Dfs_loader.c18 struct llext_fs_loader *fs_l = CONTAINER_OF(l, struct llext_fs_loader, loader); in llext_fs_prepare()
35 struct llext_fs_loader *fs_l = CONTAINER_OF(l, struct llext_fs_loader, loader); in llext_fs_read()
48 struct llext_fs_loader *fs_l = CONTAINER_OF(l, struct llext_fs_loader, loader); in llext_fs_seek()
59 struct llext_fs_loader *fs_l = CONTAINER_OF(l, struct llext_fs_loader, loader); in llext_fs_finalize()
Dbuf_loader.c14 struct llext_buf_loader *buf_l = CONTAINER_OF(l, struct llext_buf_loader, loader); in llext_buf_read()
26 struct llext_buf_loader *buf_l = CONTAINER_OF(l, struct llext_buf_loader, loader); in llext_buf_seek()
35 struct llext_buf_loader *buf_l = CONTAINER_OF(l, struct llext_buf_loader, loader); in llext_buf_peek()
/Zephyr-latest/subsys/bluetooth/audio/
Dcap_stream.c53 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_configured_cb()
72 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_qos_set_cb()
91 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_enabled_cb()
110 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_metadata_updated_cb()
129 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_disabled_cb()
148 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_released_cb()
171 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_started_cb()
190 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_stopped_cb()
211 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_recv_cb()
225 struct bt_cap_stream *cap_stream = CONTAINER_OF(bap_stream, in cap_stream_sent_cb()
[all …]
Dvocs.c109 struct bt_vocs_server *inst = CONTAINER_OF(d_work, struct bt_vocs_server, notify_work); in notify_work_handler()
369 inst = CONTAINER_OF(vocs, struct bt_vocs_server, vocs); in bt_vocs_svc_decl_get()
400 inst = CONTAINER_OF(vocs, struct bt_vocs_server, vocs); in bt_vocs_register()
480 struct bt_vocs_client *cli = CONTAINER_OF(inst, struct bt_vocs_client, vocs); in bt_vocs_state_get()
484 struct bt_vocs_server *srv = CONTAINER_OF(inst, struct bt_vocs_server, vocs); in bt_vocs_state_get()
503 struct bt_vocs_client *cli = CONTAINER_OF(inst, struct bt_vocs_client, vocs); in bt_vocs_location_get()
507 struct bt_vocs_server *srv = CONTAINER_OF(inst, struct bt_vocs_server, vocs); in bt_vocs_location_get()
526 struct bt_vocs_client *cli = CONTAINER_OF(inst, struct bt_vocs_client, vocs); in bt_vocs_location_set()
530 struct bt_vocs_server *srv = CONTAINER_OF(inst, struct bt_vocs_server, vocs); in bt_vocs_location_set()
546 struct bt_vocs_client *cli = CONTAINER_OF(inst, struct bt_vocs_client, vocs); in bt_vocs_state_set()
[all …]
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_obj_manager.c72 first_item = CONTAINER_OF(obj_dnode, struct bt_gatt_ots_pool_item, in bt_gatt_ots_obj_manager_first_obj_get()
91 last_item = CONTAINER_OF(obj_dnode, struct bt_gatt_ots_pool_item, in bt_gatt_ots_obj_manager_last_obj_get()
110 cur_item = CONTAINER_OF(cur_obj, struct bt_gatt_ots_pool_item, val); in bt_gatt_ots_obj_manager_prev_obj_get()
117 prev_item = CONTAINER_OF(prev_obj_dnode, in bt_gatt_ots_obj_manager_prev_obj_get()
137 cur_item = CONTAINER_OF(cur_obj, struct bt_gatt_ots_pool_item, val); in bt_gatt_ots_obj_manager_next_obj_get()
144 next_item = CONTAINER_OF(next_obj_dnode, in bt_gatt_ots_obj_manager_next_obj_get()
206 item = CONTAINER_OF(obj, struct bt_gatt_ots_pool_item, val); in bt_gatt_ots_obj_manager_obj_delete()
229 item = CONTAINER_OF(obj, struct bt_gatt_ots_pool_item, val); in bt_gatt_ots_obj_manager_obj_contains()
Dots_l2cap.c91 struct bt_l2cap_le_chan *l2chan = CONTAINER_OF(chan, struct bt_l2cap_le_chan, chan); in l2cap_sent()
96 l2cap_ctx = CONTAINER_OF(l2chan, struct bt_gatt_ots_l2cap, ot_chan); in l2cap_sent()
117 struct bt_l2cap_le_chan *l2chan = CONTAINER_OF(chan, struct bt_l2cap_le_chan, chan); in l2cap_recv()
122 l2cap_ctx = CONTAINER_OF(l2chan, struct bt_gatt_ots_l2cap, ot_chan); in l2cap_recv()
143 struct bt_l2cap_le_chan *l2chan = CONTAINER_OF(chan, struct bt_l2cap_le_chan, chan); in l2cap_disconnected()
148 l2cap_ctx = CONTAINER_OF(l2chan, struct bt_gatt_ots_l2cap, ot_chan); in l2cap_disconnected()
/Zephyr-latest/drivers/counter/
Dcounter_mcux_lpc_rtc.c40 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_isr()
87 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_start()
98 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_stop()
112 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_read()
130 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_set_alarm()
189 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_get_pending_int()
205 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_init()
275 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in DT_INST_FOREACH_STATUS_OKAY()
307 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_highres_stop()
323 CONTAINER_OF(info, struct mcux_lpc_rtc_config, info); in mcux_lpc_rtc_highres_read()
[all …]
Dcounter_mcux_rtc.c36 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_start()
51 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_stop()
69 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_read()
98 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_set_alarm()
152 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_set_top_value()
176 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_get_pending_int()
192 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_isr()
233 CONTAINER_OF(info, struct mcux_rtc_config, info); in mcux_rtc_init()
/Zephyr-latest/kernel/
Dpriority_queues.c17 thread_a = CONTAINER_OF(a, struct k_thread, base.qnode_rb); in z_priq_rb_lessthan()
18 thread_b = CONTAINER_OF(b, struct k_thread, base.qnode_rb); in z_priq_rb_lessthan()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/general/src/
Dmain_l2cap_ecred.c86 struct bt_l2cap_le_chan *l2cap_le_chan = CONTAINER_OF( in chan_recv_cb()
88 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in chan_recv_cb()
119 struct bt_l2cap_le_chan *l2cap_le_chan = CONTAINER_OF( in chan_sent_cb()
121 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in chan_sent_cb()
131 struct bt_l2cap_le_chan *l2cap_le_chan = CONTAINER_OF( in chan_connected_cb()
133 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in chan_connected_cb()
151 struct bt_l2cap_le_chan *l2cap_le_chan = CONTAINER_OF( in chan_disconnected_cb()
153 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in chan_disconnected_cb()
168 struct bt_l2cap_le_chan *l2cap_le_chan = CONTAINER_OF( in chan_status_cb()
170 struct channel *chan = CONTAINER_OF(l2cap_le_chan, struct channel, le); in chan_status_cb()
[all …]
/Zephyr-latest/drivers/i2c/target/
Deeprom_target.c84 struct i2c_eeprom_target_data *data = CONTAINER_OF(config, in eeprom_target_write_requested()
98 struct i2c_eeprom_target_data *data = CONTAINER_OF(config, in eeprom_target_read_requested()
114 struct i2c_eeprom_target_data *data = CONTAINER_OF(config, in eeprom_target_write_received()
144 struct i2c_eeprom_target_data *data = CONTAINER_OF(config, in eeprom_target_read_processed()
164 struct i2c_eeprom_target_data *data = CONTAINER_OF(config, in eeprom_target_stop()
179 struct i2c_eeprom_target_data *data = CONTAINER_OF(config, in eeprom_target_buf_write_received()
200 struct i2c_eeprom_target_data *data = CONTAINER_OF(config, in eeprom_target_buf_read_requested()
/Zephyr-latest/subsys/mgmt/mcumgr/mgmt/src/
Dmgmt.c49 CONTAINER_OF(snp, struct mgmt_group, node); in mgmt_find_handler()
82 CONTAINER_OF(snp, struct mgmt_group, node); in mgmt_find_group()
115 CONTAINER_OF(snp, struct mgmt_group, node); in mgmt_find_error_translation_function()
170 CONTAINER_OF(snp, struct mgmt_callback, node); in mgmt_callback_notify()
235 const struct mgmt_group *group = CONTAINER_OF(snp, struct mgmt_group, node); in mgmt_groups_foreach()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt_hash_checksum.c34 CONTAINER_OF(snp, struct fs_mgmt_hash_checksum_group, node); in fs_mgmt_hash_checksum_find_handler()
51 CONTAINER_OF(snp, struct fs_mgmt_hash_checksum_group, node); in fs_mgmt_hash_checksum_find_handlers()
/Zephyr-latest/subsys/bluetooth/host/classic/
Da2dp.c30 #define A2DP_AVDTP(_avdtp) CONTAINER_OF(_avdtp, struct bt_a2dp, session)
31 #define DISCOVER_REQ(_req) CONTAINER_OF(_req, struct bt_avdtp_discover_params, req)
33 CONTAINER_OF(_discover_param, struct bt_a2dp, discover_param)
34 #define GET_CAP_REQ(_req) CONTAINER_OF(_req, struct bt_avdtp_get_capabilities_params, req)
36 CONTAINER_OF(_get_cap_param, struct bt_a2dp, get_capabilities_param)
37 #define SET_CONF_REQ(_req) CONTAINER_OF(_req, struct bt_avdtp_set_configuration_params, req)
39 CONTAINER_OF(_set_conf_param, struct bt_a2dp, set_config_param)
40 #define CTRL_REQ(_req) CONTAINER_OF(_req, struct bt_avdtp_ctrl_params, req)
41 #define CTRL_PARAM(_ctrl_param) CONTAINER_OF(_ctrl_param, struct bt_a2dp, ctrl_param)
136 ep = CONTAINER_OF(sep, struct bt_a2dp_ep, sep); in a2dp_get_capabilities_ind()
[all …]
Dhfp_hf.c129 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in hf_slc_error()
179 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in brsf_handle()
216 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in cind_handle_values()
301 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in ag_indicator_handle_values()
424 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in ring_handle()
478 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in cmd_complete()
521 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in slc_completed()
550 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in cind_status_finish()
572 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in cind_finish()
594 struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at); in brsf_finish()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Ddelayable_msg.c63 curr_ctx = CONTAINER_OF(curr, struct delayable_msg_ctx, node); in put_ctx_to_busy_list()
84 pending_msg = CONTAINER_OF(node, struct delayable_msg_ctx, node); in peek_pending_msg()
152 msg = CONTAINER_OF(node, struct delayable_msg_ctx, node); in allocate_delayable_msg_ctx()
184 chunk = CONTAINER_OF(node, struct delayable_msg_chunk, node); in push_msg_from_delayable_msgs()
212 CONTAINER_OF(node, struct delayable_msg_ctx, node); in delayable_msg_handler()
266 CONTAINER_OF(node, struct delayable_msg_chunk, node); in bt_mesh_delayable_msg_manage()
308 ctx = CONTAINER_OF(node, struct delayable_msg_ctx, node); in bt_mesh_delayable_msg_stop()
/Zephyr-latest/subsys/modem/backends/
Dmodem_backend_uart.c16 struct modem_backend_uart *backend = CONTAINER_OF( in modem_backend_uart_receive_ready_handler()
25 CONTAINER_OF(item, struct modem_backend_uart, transmit_idle_work); in modem_backend_uart_transmit_idle_handler()
/Zephyr-latest/subsys/logging/
Dlog_cache.c84 entry = CONTAINER_OF(from_idle, struct log_cache_entry, node); in log_cache_get()
99 struct log_cache_entry *entry = CONTAINER_OF(data, struct log_cache_entry, data[0]); in log_cache_put()
107 struct log_cache_entry *entry = CONTAINER_OF(data, struct log_cache_entry, data[0]); in log_cache_release()
Dlog_link_ipc_service.c46 CONTAINER_OF(link_remote, struct log_link_ipc_service, link_remote); in link_ipc_service_send()
54 CONTAINER_OF(link_remote, struct log_link_ipc_service, link_remote); in link_ipc_service_init()
/Zephyr-latest/subsys/net/l2/ppp/
Dipcp.c217 CONTAINER_OF(fsm, struct ppp_context, ipcp.fsm); in ipcp_server_nak_ip_address()
232 CONTAINER_OF(fsm, struct ppp_context, ipcp.fsm); in ipcp_server_nak_dns1_address()
245 CONTAINER_OF(fsm, struct ppp_context, ipcp.fsm); in ipcp_server_nak_dns2_address()
275 CONTAINER_OF(fsm, struct ppp_context, ipcp.fsm); in ipcp_config_info_req()
311 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in ipcp_set_dns_servers()
354 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in ipcp_config_info_nack()
394 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in ipcp_up()
427 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in ipcp_down()
453 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in ipcp_finished()
Dpap.c75 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in pap_up()
92 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in pap_down()
104 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in pap_finished()
Dlcp.c116 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_config_info_req()
174 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_down()
189 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_up()
199 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_starting()
207 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_finished()
286 CONTAINER_OF(fsm, struct ppp_context, lcp.fsm); in lcp_config_info_nack()
/Zephyr-latest/drivers/sensor/ti/tmp108/
Dtmp108_trigger.c20 struct tmp108_data *drv_data = CONTAINER_OF(delayable_work, in tmp108_trigger_handle_one_shot()
58 struct tmp108_data *drv_data = CONTAINER_OF(cb, in tmp108_trigger_handle_alert()
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_ipc_service.c43 CONTAINER_OF(backend_remote, struct log_backend_ipc_service, backend_remote); in backend_ipc_service_send()
52 CONTAINER_OF(backend_remote, struct log_backend_ipc_service, backend_remote); in backend_ipc_service_init()
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_common.c58 CONTAINER_OF(mgr, struct clock_onoff, mgr); in onoff_start_option()
73 CONTAINER_OF(mgr, struct clock_onoff, mgr); in onoff_stop_option()
154 CONTAINER_OF(work, struct clock_config_generic, work); in clock_config_update_begin()
210 struct sync_req *req = CONTAINER_OF(cli, struct sync_req, cli); in sync_cb()

12345678910>>...25