/Zephyr-latest/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-latest/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 | 73 #define IS_CHANNEL_ALLOWED_ASSERT(chan) \ argument 89 static inline int get_comparator(uint32_t chan, uint64_t *cc) in get_comparator() 126 static bool compare_int_lock(int32_t chan) in compare_int_lock() 135 static void compare_int_unlock(int32_t chan, bool key) in compare_int_unlock() 170 uint8_t chan; in z_nrf_grtc_timer_chan_alloc() local 185 void z_nrf_grtc_timer_chan_free(int32_t chan) in z_nrf_grtc_timer_chan_free() 195 bool z_nrf_grtc_timer_compare_evt_check(int32_t chan) in z_nrf_grtc_timer_compare_evt_check() 204 uint32_t z_nrf_grtc_timer_compare_evt_address_get(int32_t chan) in z_nrf_grtc_timer_compare_evt_address_get() 211 uint32_t z_nrf_grtc_timer_capture_task_address_get(int32_t chan) in z_nrf_grtc_timer_capture_task_address_get() 223 bool z_nrf_grtc_timer_compare_int_lock(int32_t chan) in z_nrf_grtc_timer_compare_int_lock() [all …]
|
/Zephyr-latest/samples/bluetooth/iso_broadcast/src/ |
D | main.c | 32 static void iso_connected(struct bt_iso_chan *chan) in iso_connected() 41 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected() 48 static void iso_sent(struct bt_iso_chan *chan) in iso_sent() 170 for (uint8_t chan = 0U; chan < BIS_ISO_CHAN_COUNT; chan++) { in main() local 181 for (uint8_t chan = 0U; chan < BIS_ISO_CHAN_COUNT; chan++) { in main() local 231 for (uint8_t chan = 0U; chan < BIS_ISO_CHAN_COUNT; in main() local 252 for (uint8_t chan = 0U; chan < BIS_ISO_CHAN_COUNT; in main() local
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | att.c | 107 struct bt_l2cap_le_chan chan; member 115 static bool bt_att_is_enhanced(struct bt_att_chan *chan) in bt_att_is_enhanced() 125 static uint16_t bt_att_mtu(struct bt_att_chan *chan) in bt_att_mtu() 300 static void att_disconnect(struct bt_att_chan *chan) in att_disconnect() 327 struct bt_l2cap_chan *chan = &att_chan->chan.chan; in att_sent() local 349 static int chan_send(struct bt_att_chan *chan, struct net_buf *buf) in chan_send() 449 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() 464 static struct net_buf *get_first_buf_matching_chan(struct k_fifo *fifo, struct bt_att_chan *chan) in get_first_buf_matching_chan() 498 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() 531 static int process_queue(struct bt_att_chan *chan, struct k_fifo *queue) in process_queue() [all …]
|
D | l2cap.c | 90 struct bt_l2cap_le_chan chan; member 116 struct bt_l2cap_chan *chan) in l2cap_chan_alloc_cid() 142 struct bt_l2cap_chan *chan; in __l2cap_lookup_ident() local 163 struct bt_l2cap_chan *chan; in bt_l2cap_chan_remove() local 196 void bt_l2cap_chan_set_state_debug(struct bt_l2cap_chan *chan, in bt_l2cap_chan_set_state_debug() 240 void bt_l2cap_chan_set_state(struct bt_l2cap_chan *chan, in bt_l2cap_chan_set_state() 250 void bt_l2cap_chan_del(struct bt_l2cap_chan *chan) in bt_l2cap_chan_del() 296 struct bt_l2cap_le_chan *chan = LE_CHAN_RTX(work); in l2cap_rtx_timeout() local 326 void bt_l2cap_chan_add(struct bt_conn *conn, struct bt_l2cap_chan *chan, in bt_l2cap_chan_add() 354 static bool l2cap_chan_add(struct bt_conn *conn, struct bt_l2cap_chan *chan, in l2cap_chan_add() [all …]
|
/Zephyr-latest/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-latest/subsys/bluetooth/host/classic/ |
D | l2cap_br.c | 93 struct bt_l2cap_br_chan chan; member 111 struct bt_l2cap_chan *chan; in bt_l2cap_br_lookup_rx_cid() local 125 struct bt_l2cap_chan *chan; in bt_l2cap_br_lookup_tx_cid() local 152 l2cap_br_chan_alloc_cid(struct bt_conn *conn, struct bt_l2cap_chan *chan) in l2cap_br_chan_alloc_cid() 179 static void l2cap_br_chan_cleanup(struct bt_l2cap_chan *chan) in l2cap_br_chan_cleanup() 185 static void l2cap_br_chan_destroy(struct bt_l2cap_chan *chan) in l2cap_br_chan_destroy() 211 struct bt_l2cap_br_chan *chan = BR_CHAN_RTX(work); in l2cap_br_rtx_timeout() local 236 static bool l2cap_br_chan_add(struct bt_conn *conn, struct bt_l2cap_chan *chan, in l2cap_br_chan_add() 357 static void l2cap_br_chan_send_req(struct bt_l2cap_br_chan *chan, in l2cap_br_chan_send_req() 476 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-latest/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-latest/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-latest/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-latest/subsys/zbus/ |
D | zbus.c | 125 static inline int _zbus_notify_observer(const struct zbus_channel *chan, in _zbus_notify_observer() 157 static inline int _zbus_vded_exec(const struct zbus_channel *chan, k_timepoint_t end_time) in _zbus_vded_exec() 242 static inline void chan_update_hop(const struct zbus_channel *chan) in chan_update_hop() 323 static inline int chan_lock(const struct zbus_channel *chan, k_timeout_t timeout, int *prio) in chan_lock() 363 static inline void chan_unlock(const struct zbus_channel *chan, int prio) in chan_unlock() 377 int zbus_chan_pub(const struct zbus_channel *chan, const void *msg, k_timeout_t timeout) in zbus_chan_pub() 417 int zbus_chan_read(const struct zbus_channel *chan, void *msg, k_timeout_t timeout) in zbus_chan_read() 440 int zbus_chan_notify(const struct zbus_channel *chan, k_timeout_t timeout) in zbus_chan_notify() 468 int zbus_chan_claim(const struct zbus_channel *chan, k_timeout_t timeout) in zbus_chan_claim() 487 int zbus_chan_finish(const struct zbus_channel *chan) in zbus_chan_finish() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/src/ |
D | main.c | 272 static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *info, in iso_recv() 308 void iso_sent(struct bt_iso_chan *chan) in iso_sent() 313 static void iso_connected(struct bt_iso_chan *chan) in iso_connected() 320 static void iso_disconnected(struct bt_iso_chan *chan, uint8_t reason) in iso_disconnected() 425 for (int chan = 0; chan < CONFIG_BT_ISO_MAX_CHAN; chan++) { local 438 int chan; local 488 for (int chan = 0, conn_index = 0; local 521 for (int chan = 0; chan < CONFIG_BT_ISO_MAX_CHAN; chan++) { local 561 for (int chan = 0; chan < CONFIG_BT_ISO_MAX_CHAN; chan++) { local 598 for (int chan = 0; chan < CONFIG_BT_ISO_MAX_CHAN; chan++) { local [all …]
|
/Zephyr-latest/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-latest/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-latest/tests/bluetooth/audio/mocks/src/ |
D | iso.c | 30 int bt_iso_chan_send(struct bt_iso_chan *chan, struct net_buf *buf, uint16_t seq_num) in bt_iso_chan_send() 39 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() 70 int bt_iso_chan_disconnect(struct bt_iso_chan *chan) in bt_iso_chan_disconnect() 87 struct bt_iso_chan *chan = iso->chan; in mock_bt_iso_connected() local 96 struct bt_iso_chan **chan) in mock_bt_iso_accept() 124 int mock_bt_iso_disconnected(struct bt_iso_chan *chan, uint8_t err) in mock_bt_iso_disconnected()
|
/Zephyr-latest/drivers/firmware/scmi/ |
D | mailbox.c | 25 struct scmi_channel *chan, in scmi_mbox_send_message() 49 struct scmi_channel *chan, in scmi_mbox_read_message() 60 struct scmi_channel *chan) in scmi_mbox_channel_is_free() 69 struct scmi_channel *chan, in scmi_mbox_setup_chan()
|
/Zephyr-latest/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-latest/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-latest/drivers/dma/ |
D | dma_nxp_edma.c | 25 struct edma_channel *chan; in edma_isr() local 113 struct edma_channel *chan; in edma_config() local 354 struct edma_channel *chan; in edma_get_status() local 400 struct edma_channel *chan; in edma_suspend() local 436 struct edma_channel *chan; in edma_stop() local 501 struct edma_channel *chan; in edma_start() local 535 struct edma_channel *chan; in edma_reload() local 588 struct edma_channel *chan; in edma_channel_filter() local 620 struct edma_channel *chan; in edma_channel_release() local
|
D | dma_dw_axi.c | 45 #define CH_EN(chan) (BIT64(8 + chan) | BIT64(chan)) argument 47 #define CH_SUSP(chan) (BIT64(24 + chan) | BIT64(16 + chan)) argument 49 #define CH_ABORT(chan) (BIT64(40 + chan) | BIT64(32 + chan)) argument 52 #define CH_RESUME_WE(chan) (BIT64(24 + chan)) argument 54 #define CH_RESUME(chan) (BIT64(16 + chan)) argument 56 #define DMA_DW_AXI_CHAN_OFFSET(chan) (0x100 * chan) argument 59 #define DMA_DW_AXI_CH_SAR(chan) (0x100 + DMA_DW_AXI_CHAN_OFFSET(chan)) argument 61 #define DMA_DW_AXI_CH_DAR(chan) (0x108 + DMA_DW_AXI_CHAN_OFFSET(chan)) argument 63 #define DMA_DW_AXI_CH_BLOCK_TS(chan) (0x110 + DMA_DW_AXI_CHAN_OFFSET(chan)) argument 65 #define DMA_DW_AXI_CH_CTL(chan) (0x118 + DMA_DW_AXI_CHAN_OFFSET(chan)) argument [all …]
|
/Zephyr-latest/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-latest/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()
|
/Zephyr-latest/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 …]
|