/Zephyr-Core-3.7.0/samples/subsys/zbus/work_queue/src/ |
D | main.c | 38 static void fh1_cb(const struct zbus_channel *chan) in fh1_cb() 48 static void fh2_cb(const struct zbus_channel *chan) in fh2_cb() 58 static void fh3_cb(const struct zbus_channel *chan) in fh3_cb() 70 const struct zbus_channel *chan; member 90 static void dh1_cb(const struct zbus_channel *chan) in dh1_cb() 99 static void dh2_cb(const struct zbus_channel *chan) in dh2_cb() 108 static void dh3_cb(const struct zbus_channel *chan) in dh3_cb() 133 const struct zbus_channel *chan; in thread_handler1_task() local 152 const struct zbus_channel *chan; in thread_handler2_task() local 171 const struct zbus_channel *chan; in thread_handler3_task() local
|
/Zephyr-Core-3.7.0/samples/bluetooth/iso_broadcast/src/ |
D | main.c | 29 static void iso_connected(struct bt_iso_chan *chan) in iso_connected() 38 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected() 45 static void iso_sent(struct bt_iso_chan *chan) in iso_sent() 151 for (uint8_t chan = 0U; chan < BIS_ISO_CHAN_COUNT; chan++) { in main() local 162 for (uint8_t chan = 0U; chan < BIS_ISO_CHAN_COUNT; chan++) { in main() local 214 for (uint8_t chan = 0U; chan < BIS_ISO_CHAN_COUNT; in main() local 235 for (uint8_t chan = 0U; chan < BIS_ISO_CHAN_COUNT; in main() local
|
/Zephyr-Core-3.7.0/drivers/timer/ |
D | nrf_rtc_timer.c | 73 static void set_comparator(int32_t chan, uint32_t cyc) in set_comparator() 78 static bool event_check(int32_t chan) in event_check() 83 static void event_clear(int32_t chan) in event_clear() 88 static void event_enable(int32_t chan) in event_enable() 93 static void event_disable(int32_t chan) in event_disable() 132 uint32_t z_nrf_rtc_timer_compare_evt_address_get(int32_t chan) in z_nrf_rtc_timer_compare_evt_address_get() 138 uint32_t z_nrf_rtc_timer_capture_task_address_get(int32_t chan) in z_nrf_rtc_timer_capture_task_address_get() 153 static bool compare_int_lock(int32_t chan) in compare_int_lock() 166 bool z_nrf_rtc_timer_compare_int_lock(int32_t chan) in z_nrf_rtc_timer_compare_int_lock() 173 static void compare_int_unlock(int32_t chan, bool key) in compare_int_unlock() [all …]
|
D | nrf_grtc_timer.c | 70 #define IS_CHANNEL_ALLOWED_ASSERT(chan) \ argument 86 static inline int get_comparator(uint32_t chan, uint64_t *cc) in get_comparator() 123 static bool compare_int_lock(int32_t chan) in compare_int_lock() 132 static void compare_int_unlock(int32_t chan, bool key) in compare_int_unlock() 167 uint8_t chan; in z_nrf_grtc_timer_chan_alloc() local 182 void z_nrf_grtc_timer_chan_free(int32_t chan) in z_nrf_grtc_timer_chan_free() 192 bool z_nrf_grtc_timer_compare_evt_check(int32_t chan) in z_nrf_grtc_timer_compare_evt_check() 201 uint32_t z_nrf_grtc_timer_compare_evt_address_get(int32_t chan) in z_nrf_grtc_timer_compare_evt_address_get() 208 uint32_t z_nrf_grtc_timer_capture_task_address_get(int32_t chan) in z_nrf_grtc_timer_capture_task_address_get() 220 bool z_nrf_grtc_timer_compare_int_lock(int32_t chan) in z_nrf_grtc_timer_compare_int_lock() [all …]
|
/Zephyr-Core-3.7.0/samples/subsys/zbus/priority_boost/src/ |
D | main.c | 25 const struct zbus_channel *chan; in s1_thread() local 57 const struct zbus_channel *chan; in ms1_thread() local 84 const struct zbus_channel *chan; in ms2_thread() local 103 static void l1_callback(const struct zbus_channel *chan) in l1_callback() 110 static void l2_callback(const struct zbus_channel *chan) in l2_callback()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/host/ |
D | att.c | 106 struct bt_l2cap_le_chan chan; member 114 static bool bt_att_is_enhanced(struct bt_att_chan *chan) in bt_att_is_enhanced() 124 static uint16_t bt_att_mtu(struct bt_att_chan *chan) in bt_att_mtu() 304 struct bt_l2cap_chan *chan = &att_chan->chan.chan; in att_sent() local 326 static int chan_send(struct bt_att_chan *chan, struct net_buf *buf) in chan_send() 426 static bool att_chan_matches_chan_opt(struct bt_att_chan *chan, enum bt_att_chan_opt chan_opt) in att_chan_matches_chan_opt() 441 static struct net_buf *get_first_buf_matching_chan(struct k_fifo *fifo, struct bt_att_chan *chan) in get_first_buf_matching_chan() 475 static struct bt_att_req *get_first_req_matching_chan(sys_slist_t *reqs, struct bt_att_chan *chan) in get_first_req_matching_chan() 508 static int process_queue(struct bt_att_chan *chan, struct k_fifo *queue) in process_queue() 529 static int chan_req_send(struct bt_att_chan *chan, struct bt_att_req *req) in chan_req_send() [all …]
|
D | l2cap.c | 87 struct bt_l2cap_le_chan chan; member 113 struct bt_l2cap_chan *chan) in l2cap_chan_alloc_cid() 139 struct bt_l2cap_chan *chan; in __l2cap_lookup_ident() local 160 struct bt_l2cap_chan *chan; in bt_l2cap_chan_remove() local 193 void bt_l2cap_chan_set_state_debug(struct bt_l2cap_chan *chan, in bt_l2cap_chan_set_state_debug() 237 void bt_l2cap_chan_set_state(struct bt_l2cap_chan *chan, in bt_l2cap_chan_set_state() 247 void bt_l2cap_chan_del(struct bt_l2cap_chan *chan) in bt_l2cap_chan_del() 293 struct bt_l2cap_le_chan *chan = LE_CHAN_RTX(work); in l2cap_rtx_timeout() local 323 void bt_l2cap_chan_add(struct bt_conn *conn, struct bt_l2cap_chan *chan, in bt_l2cap_chan_add() 334 static bool l2cap_chan_add(struct bt_conn *conn, struct bt_l2cap_chan *chan, in l2cap_chan_add() [all …]
|
/Zephyr-Core-3.7.0/subsys/zbus/ |
D | zbus.c | 84 static inline int _zbus_notify_observer(const struct zbus_channel *chan, in _zbus_notify_observer() 116 static inline int _zbus_vded_exec(const struct zbus_channel *chan, k_timepoint_t end_time) in _zbus_vded_exec() 201 static inline void chan_update_hop(const struct zbus_channel *chan) in chan_update_hop() 282 static inline int chan_lock(const struct zbus_channel *chan, k_timeout_t timeout, int *prio) in chan_lock() 322 static inline void chan_unlock(const struct zbus_channel *chan, int prio) in chan_unlock() 336 int zbus_chan_pub(const struct zbus_channel *chan, const void *msg, k_timeout_t timeout) in zbus_chan_pub() 369 int zbus_chan_read(const struct zbus_channel *chan, void *msg, k_timeout_t timeout) in zbus_chan_read() 390 int zbus_chan_notify(const struct zbus_channel *chan, k_timeout_t timeout) in zbus_chan_notify() 416 int zbus_chan_claim(const struct zbus_channel *chan, k_timeout_t timeout) in zbus_chan_claim() 433 int zbus_chan_finish(const struct zbus_channel *chan) in zbus_chan_finish() [all …]
|
D | zbus_iterable_sections.c | 10 bool zbus_iterate_over_channels(bool (*iterator_func)(const struct zbus_channel *chan)) in zbus_iterate_over_channels() 21 bool (*iterator_func)(const struct zbus_channel *chan, void *user_data), void *user_data) in zbus_iterate_over_channels_with_user_data()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/services/ots/ |
D | ots_l2cap.c | 80 static struct net_buf *l2cap_alloc_buf(struct bt_l2cap_chan *chan) in l2cap_alloc_buf() 89 static void l2cap_sent(struct bt_l2cap_chan *chan) in l2cap_sent() 115 static int l2cap_recv(struct bt_l2cap_chan *chan, struct net_buf *buf) in l2cap_recv() 131 static void l2cap_status(struct bt_l2cap_chan *chan, atomic_t *status) in l2cap_status() 136 static void l2cap_connected(struct bt_l2cap_chan *chan) in l2cap_connected() 141 static void l2cap_disconnected(struct bt_l2cap_chan *chan) in l2cap_disconnected() 166 static inline void l2cap_chan_init(struct bt_l2cap_le_chan *chan) in l2cap_chan_init() 190 struct bt_l2cap_chan **chan) in l2cap_accept()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/host/classic/ |
D | l2cap_br.c | 86 struct bt_l2cap_br_chan chan; member 97 struct bt_l2cap_chan *chan; in bt_l2cap_br_lookup_rx_cid() local 111 struct bt_l2cap_chan *chan; in bt_l2cap_br_lookup_tx_cid() local 123 l2cap_br_chan_alloc_cid(struct bt_conn *conn, struct bt_l2cap_chan *chan) in l2cap_br_chan_alloc_cid() 150 static void l2cap_br_chan_cleanup(struct bt_l2cap_chan *chan) in l2cap_br_chan_cleanup() 156 static void l2cap_br_chan_destroy(struct bt_l2cap_chan *chan) in l2cap_br_chan_destroy() 182 struct bt_l2cap_br_chan *chan = BR_CHAN_RTX(work); in l2cap_br_rtx_timeout() local 207 static bool l2cap_br_chan_add(struct bt_conn *conn, struct bt_l2cap_chan *chan, in l2cap_br_chan_add() 321 static void l2cap_br_chan_send_req(struct bt_l2cap_br_chan *chan, in l2cap_br_chan_send_req() 440 static void connect_fixed_channel(struct bt_l2cap_br_chan *chan) in connect_fixed_channel() [all …]
|
D | sco.c | 80 struct bt_sco_chan *chan; in bt_sco_connected() local 105 struct bt_sco_chan *chan; in bt_sco_disconnected() local 162 void bt_sco_chan_set_state_debug(struct bt_sco_chan *chan, in bt_sco_chan_set_state_debug() 200 void bt_sco_chan_set_state(struct bt_sco_chan *chan, enum bt_sco_state state) in bt_sco_chan_set_state() 207 static void bt_sco_chan_add(struct bt_conn *sco, struct bt_sco_chan *chan) in bt_sco_chan_add() 219 struct bt_sco_chan *chan; in sco_accept() local 363 struct bt_conn *bt_conn_create_sco(const bt_addr_t *peer, struct bt_sco_chan *chan) in bt_conn_create_sco()
|
/Zephyr-Core-3.7.0/samples/subsys/zbus/confirmed_channel/src/ |
D | main.c | 26 static void listener_callback_example(const struct zbus_channel *chan) in listener_callback_example() 39 const struct zbus_channel *chan; in bar_sub1_task() local 64 const struct zbus_channel *chan; in bar_sub2_task() local 90 const struct zbus_channel *chan; in bar_sub3_task() local
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/src/ |
D | central.c | 28 static void sent_cb(struct bt_l2cap_chan *chan) in sent_cb() 33 static int recv_cb(struct bt_l2cap_chan *chan, struct net_buf *buf) in recv_cb() 40 static void l2cap_chan_connected_cb(struct bt_l2cap_chan *chan) in l2cap_chan_connected_cb() 45 static void l2cap_chan_disconnected_cb(struct bt_l2cap_chan *chan) in l2cap_chan_disconnected_cb() 51 struct bt_l2cap_chan **chan) in server_accept_cb()
|
/Zephyr-Core-3.7.0/samples/subsys/zbus/runtime_obs_registration/src/ |
D | main.c | 20 static void filter_callback(const struct zbus_channel *chan) in filter_callback() 46 const struct zbus_channel *chan; in main() local
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/ll/cis/src/ |
D | main.c | 274 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv() 310 void iso_sent(struct bt_iso_chan *chan) in iso_sent() 315 static void iso_connected(struct bt_iso_chan *chan) in iso_connected() 322 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected() 427 for (int chan = 0; chan < CONFIG_BT_ISO_MAX_CHAN; chan++) { local 440 int chan; local 490 for (int chan = 0, conn_index = 0; local 523 for (int chan = 0; chan < CONFIG_BT_ISO_MAX_CHAN; chan++) { local 563 for (int chan = 0; chan < CONFIG_BT_ISO_MAX_CHAN; chan++) { local 600 for (int chan = 0; chan < CONFIG_BT_ISO_MAX_CHAN; chan++) { local [all …]
|
/Zephyr-Core-3.7.0/tests/bluetooth/audio/mocks/src/ |
D | iso.c | 21 int bt_iso_chan_send(struct bt_iso_chan *chan, struct net_buf *buf, uint16_t seq_num) in bt_iso_chan_send() 30 int bt_iso_chan_send_ts(struct bt_iso_chan *chan, struct net_buf *buf, uint16_t seq_num, in bt_iso_chan_send_ts() 61 int bt_iso_chan_disconnect(struct bt_iso_chan *chan) in bt_iso_chan_disconnect() 78 struct bt_iso_chan *chan = iso->chan; in mock_bt_iso_connected() local 87 struct bt_iso_chan **chan) in mock_bt_iso_accept() 115 int mock_bt_iso_disconnected(struct bt_iso_chan *chan, uint8_t err) in mock_bt_iso_disconnected()
|
/Zephyr-Core-3.7.0/samples/sensor/sensor_shell/src/ |
D | fake_sensor.c | 22 static int attr_set(const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr, in attr_set() 31 static int attr_get(const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr, in attr_get() 42 static int sample_fetch(const struct device *dev, enum sensor_channel chan) in sample_fetch() 49 static int channel_get(const struct device *dev, enum sensor_channel chan, struct sensor_value *val) in channel_get()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/ecred/dut/src/ |
D | dut.c | 25 void sent_cb(struct bt_l2cap_chan *chan) in sent_cb() 30 int recv_cb(struct bt_l2cap_chan *chan, struct net_buf *buf) in recv_cb() 42 void l2cap_chan_disconnected_cb(struct bt_l2cap_chan *chan) in l2cap_chan_disconnected_cb()
|
/Zephyr-Core-3.7.0/samples/subsys/zbus/remote_mock/src/ |
D | mock_proxy.c | 41 static uint8_t encoder(const struct zbus_channel *chan) in encoder() 61 static void proxy_callback(const struct zbus_channel *chan) in proxy_callback() 105 const struct zbus_channel *chan = decoder(net_buf_simple_pull_u8(rx_buf)); in decode_sentence() local
|
/Zephyr-Core-3.7.0/tests/drivers/clock_control/nrf_clock_calibration/src/ |
D | mock_temp_nrf5.c | 23 enum sensor_channel chan) in mock_temp_nrf5_sample_fetch() 30 enum sensor_channel chan, in mock_temp_nrf5_channel_get()
|
/Zephyr-Core-3.7.0/tests/subsys/zbus/unittests/src/ |
D | main.c | 105 static void callback(const struct zbus_channel *chan) in callback() 190 static void busy_callback(const struct zbus_channel *chan) in busy_callback() 355 const struct zbus_channel *chan; in ZTEST() local 368 static bool always_true_chan_iterator(const struct zbus_channel *chan) in always_true_chan_iterator() 378 static bool always_false_chan_iterator(const struct zbus_channel *chan) in always_false_chan_iterator() 388 static bool check_chan_iterator(const struct zbus_channel *chan, void *user_data) in check_chan_iterator() 484 static bool count_false_chan_iterator(const struct zbus_channel *chan, void *user_data) in count_false_chan_iterator() 733 const struct zbus_channel *chan; in isr_sub_wait() local 745 const struct zbus_channel *chan; in ZTEST() local 760 const struct zbus_channel *chan; in isr_sub_wait_msg() local [all …]
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/misc/hfc_multilink/dut/src/ |
D | dut.c | 48 static void sent_cb(struct bt_l2cap_chan *chan) in sent_cb() 53 static int recv_cb(struct bt_l2cap_chan *chan, struct net_buf *buf) in recv_cb() 67 static void l2cap_chan_connected_cb(struct bt_l2cap_chan *chan) in l2cap_chan_connected_cb() 72 static void l2cap_chan_disconnected_cb(struct bt_l2cap_chan *chan) in l2cap_chan_disconnected_cb() 78 struct bt_l2cap_chan **chan) in server_accept_cb()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/iso/cis/src/ |
D | cis_peripheral.c | 63 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv() 73 static void iso_connected(struct bt_iso_chan *chan) in iso_connected() 78 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected() 83 static int iso_accept(const struct bt_iso_accept_info *info, struct bt_iso_chan **chan) in iso_accept()
|
/Zephyr-Core-3.7.0/tests/drivers/sensor/generic/src/ |
D | dummy_sensor.c | 24 enum sensor_channel chan) in dummy_sensor_sample_fetch() 34 enum sensor_channel chan, in dummy_sensor_channel_get() 106 enum sensor_channel chan, in dummy_sensor_attr_set() 123 enum sensor_channel chan, in dummy_sensor_attr_get()
|