Home
last modified time | relevance | path

Searched refs:chan_idx (Results 1 – 25 of 42) sorted by relevance

12

/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_utils.c127 uint8_t *chan_idx) in wifi_utils_get_all_chans_in_range() argument
153 idx = *chan_idx; in wifi_utils_get_all_chans_in_range()
161 *chan_idx = idx; in wifi_utils_get_all_chans_in_range()
165 idx = *chan_idx; in wifi_utils_get_all_chans_in_range()
184 *chan_idx = idx; in wifi_utils_get_all_chans_in_range()
191 idx = *chan_idx; in wifi_utils_get_all_chans_in_range()
203 *chan_idx = idx; in wifi_utils_get_all_chans_in_range()
318 uint8_t chan_idx = 0; in wifi_utils_parse_scan_chan() local
387 &chan_idx)) { in wifi_utils_parse_scan_chan()
392 if (chan_idx > max_channels) { in wifi_utils_parse_scan_chan()
[all …]
/Zephyr-latest/tests/drivers/sensor/bmi160/src/
Di2c.c47 for (int chan_idx = 0; chan_idx < ARRAY_SIZE(channels); ++chan_idx) { in ZTEST_USER_F() local
48 zassert_equal(-EIO, sensor_attr_get(fixture->dev_i2c, channels[chan_idx], in ZTEST_USER_F()
Dspi.c47 for (int chan_idx = 0; chan_idx < ARRAY_SIZE(channels); ++chan_idx) { in ZTEST_USER_F() local
48 zassert_equal(-EIO, sensor_attr_get(fixture->dev_spi, channels[chan_idx], in ZTEST_USER_F()
Dfixture.c36 struct sensor_chan_spec chan_spec = {.chan_type = values[i].channel, .chan_idx = 0}; in sensor_bmi160_setup_emulator()
/Zephyr-latest/samples/subsys/zbus/remote_mock/src/
Dmock_proxy.c51 static const struct zbus_channel *decoder(uint8_t chan_idx) in decoder() argument
53 if (chan_idx == 1) { in decoder()
55 } else if (chan_idx == 2) { in decoder()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/general/src/
Dmain_l2cap_ecred.c357 static void send_sdu(int iteration, int chan_idx, int bytes) in send_sdu() argument
359 struct bt_l2cap_chan *chan = &channels[chan_idx].le.chan; in send_sdu()
363 sys_put_le32(iteration, channels[chan_idx].payload); in send_sdu()
365 if (channels[chan_idx].buf != 0) { in send_sdu()
370 if (chan_idx == 0) { in send_sdu()
377 FAIL("Failed to get buff on ch %i, iteration %i should never happen", chan_idx, in send_sdu()
378 chan_idx); in send_sdu()
381 channels[chan_idx].buf = buf; in send_sdu()
383 net_buf_add_mem(buf, channels[chan_idx].payload, bytes); in send_sdu()
385 LOG_DBG("bt_l2cap_chan_sending ch: %i bytes: %i iteration: %i", chan_idx, bytes, iteration); in send_sdu()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_df.c221 uint8_t chan_idx, bool cte_info_in_s1, uint8_t phy) in lll_df_conf_cte_rx_enable() argument
248 node_rx->chan_idx = chan_idx; in lll_df_conf_cte_rx_enable()
Dlll_adv_sync.c376 lll_chan_set(aux_ptr->chan_idx);
507 uint8_t chan_idx; local
515 chan_idx = lll_chan_sel_2(lll->data_chan_counter, lll->data_chan_id,
523 aux_ptr->chan_idx = chan_idx;
Dlll_adv_aux.c132 uint8_t chan_idx; in prepare_cb() local
155 chan_idx = lll_chan_sel_2(lll->data_chan_counter, aux->data_chan_id, in prepare_cb()
183 chan_idx = aux_ptr->chan_idx; in prepare_cb()
212 lll_chan_set(chan_idx); in prepare_cb()
468 lll_chan_set(aux_ptr->chan_idx); in isr_tx_chain()
550 uint8_t chan_idx; in aux_ptr_chan_idx_set() local
559 chan_idx = lll_chan_sel_2(lll->data_chan_counter, aux->data_chan_id, in aux_ptr_chan_idx_set()
567 aux_ptr->chan_idx = chan_idx; in aux_ptr_chan_idx_set()
Dlll_sync.c52 static int prepare_cb_common(struct lll_prepare_param *p, uint8_t chan_idx);
269 uint8_t chan_idx; in create_prepare_cb() local
285 chan_idx = data_channel_calc(lll); in create_prepare_cb()
290 err = prepare_cb_common(p, chan_idx); in create_prepare_cb()
315 cfg->ant_ids, chan_idx, in create_prepare_cb()
357 uint8_t chan_idx; in prepare_cb() local
373 chan_idx = data_channel_calc(lll); in prepare_cb()
378 err = prepare_cb_common(p, chan_idx); in prepare_cb()
400 cfg->ant_ids, chan_idx, in prepare_cb()
431 static int prepare_cb_common(struct lll_prepare_param *p, uint8_t chan_idx) in prepare_cb_common() argument
[all …]
Dlll_df_internal.h59 uint8_t chan_idx, bool cte_info_in_s1, uint8_t phy);
Dlll_df_types.h109 uint8_t chan_idx; member
/Zephyr-latest/include/zephyr/bluetooth/
Ddirection.h117 uint8_t chan_idx; member
171 uint8_t chan_idx; member
/Zephyr-latest/drivers/sensor/amd_sb_tsi/
Dsb_tsi_emul.c110 if (ch.chan_type != SENSOR_CHAN_AMBIENT_TEMP && ch.chan_idx != 0) { in sb_tsi_emul_set_channel()
127 if (ch.chan_type != SENSOR_CHAN_AMBIENT_TEMP || ch.chan_idx != 0) { in sb_tsi_emul_get_sample_range()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_chan.c103 uint8_t chan_idx; in lll_chan_iso_event() local
108 chan_idx = prn_e % 37; in lll_chan_iso_event()
110 if ((chan_map[chan_idx >> 3] & (1 << (chan_idx % 8))) == 0U) { in lll_chan_iso_event()
112 chan_idx = chan_sel_remap(chan_map, *remap_idx); in lll_chan_iso_event()
115 *remap_idx = chan_sel_remap_index(chan_map, chan_idx); in lll_chan_iso_event()
118 return chan_idx; in lll_chan_iso_event()
/Zephyr-latest/drivers/sensor/
Ddefault_rtio_sensor.c181 channels[i].chan_type, channels[i].chan_idx); in sensor_submit_fallback_sync()
489 chan_spec.chan_idx); in decode()
497 chan_spec.chan_idx); in decode()
505 chan_spec.chan_idx); in decode()
513 chan_spec.chan_idx); in decode()
Dsensor_shell.c382 sensor_channel_name[ch.chan_type], ch.chan_idx); in sensor_shell_processing_callback()
391 ch.chan_type, ch.chan_idx, base_size, in sensor_shell_processing_callback()
398 frame_count, sensor_channel_name[ch.chan_type], ch.chan_idx); in sensor_shell_processing_callback()
481 ch.chan_idx, data->shift, accumulator_buffer.count, in sensor_shell_processing_callback()
502 ch.chan_idx, accumulator_buffer.count, in sensor_shell_processing_callback()
527 ch.chan_idx, in sensor_shell_processing_callback()
532 ++ch.chan_idx; in sensor_shell_processing_callback()
534 ch.chan_idx = 0; in sensor_shell_processing_callback()
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx.c375 if (channels[i].chan_idx != 0) { in bma4xx_submit_one_shot()
400 channels[i].chan_type, channels[i].chan_idx); in bma4xx_submit_one_shot()
467 if (ch.chan_idx != 0) { in bma4xx_decoder_get_frame_count()
597 if (max_count == 0 || ch.chan_idx != 0) { in bma4xx_one_shot_decode()
615 .chan_idx = 0}, in bma4xx_one_shot_decode()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dfmac_main.c318 int chan_idx = 0; in nrf_wifi_reg_domain() local
380 for (chan_idx = 0; chan_idx < reg_domain_info.reg_chan_count; chan_idx++) { in nrf_wifi_reg_domain()
381 chan_info = &(reg_domain->chan_info[chan_idx]); in nrf_wifi_reg_domain()
382 reg_domain_chan_info = &(reg_domain_info.reg_chan_info[chan_idx]); in nrf_wifi_reg_domain()
/Zephyr-latest/tests/subsys/zbus/unittests/src/
Dmain.c390 int *chan_idx = user_data; in check_chan_iterator() local
392 LOG_DBG("Idx %d - Channel %s", *chan_idx, chan->name); in check_chan_iterator()
394 switch (*chan_idx) { in check_chan_iterator()
428 ++(*chan_idx); in check_chan_iterator()
519 int chan_idx = 0; in ZTEST() local
522 zbus_iterate_over_channels_with_user_data(check_chan_iterator, &chan_idx), in ZTEST()
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_decoder.c97 if ((uintptr_t)buffer_end <= *fit || chan_spec.chan_idx != 0) { in adxl345_decode_stream()
163 if (chan_spec.chan_idx != 0) { in adxl345_decoder_get_frame_count()
/Zephyr-latest/subsys/bluetooth/host/
Ddirection.c404 report->chan_idx = evt->chan_idx; in hci_df_prepare_connectionless_iq_report()
452 report->chan_idx = evt->chan_idx; in hci_df_vs_prepare_connectionless_iq_report()
703 report->chan_idx = evt->data_chan_idx; in hci_df_prepare_connection_iq_report()
705 report->chan_idx = evt->data_chan_idx; in hci_df_prepare_connection_iq_report()
755 report->chan_idx = evt->data_chan_idx; in hci_df_vs_prepare_connection_iq_report()
757 report->chan_idx = evt->data_chan_idx; in hci_df_vs_prepare_connection_iq_report()
/Zephyr-latest/drivers/sensor/bosch/bme280/
Dbme280_decoder.c15 if (chan_spec.chan_idx != 0) { in bme280_decoder_get_frame_count()
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_decoder.c44 if ((uintptr_t)buffer_end <= *fit || chan_spec.chan_idx != 0) { in adxl372_decode_stream()
154 if (chan_spec.chan_idx != 0) { in adxl372_decoder_get_frame_count()
/Zephyr-latest/tests/drivers/build_all/sensor/src/
Dgeneric_test.c114 struct sensor_chan_spec ch_spec = {.chan_type = ch, .chan_idx = 0}; in run_generic_test()
170 ch_spec.chan_idx, rv, iteration + 1, in run_generic_test()

12