Home
last modified time | relevance | path

Searched refs:num_channels (Results 26 – 50 of 58) sorted by relevance

123

/Zephyr-latest/drivers/counter/
Dcounter_nxp_pit.c42 int num_channels; member
166 channel_index < config->num_channels; in nxp_pit_isr()
218 channel_index < config->num_channels; in nxp_pit_init()
225 channel_index < config->num_channels; in nxp_pit_init()
359 .num_channels = DT_INST_FOREACH_CHILD_SEP_VARGS( \
/Zephyr-latest/drivers/sensor/maxim/max30101/
Dmax30101.c27 num_bytes = data->num_channels * MAX30101_BYTES_PER_CHANNEL; in max30101_sample_fetch()
187 data->num_channels = 0U; in max30101_init()
200 data->num_channels++; in max30101_init()
Dmax30101.h100 uint8_t num_channels; member
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_decoder.h40 const size_t num_channels, uint8_t *buf);
Dicm42688_decoder.c182 const size_t num_channels, uint8_t *buf) in icm42688_encode() argument
189 for (int i = 0; i < num_channels; i++) { in icm42688_encode()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_rtio.c22 const size_t num_channels = cfg->count; in lsm6dsv16x_submit_sample() local
46 for (int i = 0; i < num_channels; i++) { in lsm6dsv16x_submit_sample()
Dlsm6dsv16x_decoder.h51 const size_t num_channels, uint8_t *buf);
/Zephyr-latest/drivers/dma/
Ddma_emul.c45 size_t num_channels; member
105 __ASSERT_NO_MSG(channel < config->num_channels); in dma_emul_get_channel_state()
117 __ASSERT_NO_MSG(channel < config->num_channels); in dma_emul_set_channel_state()
311 if (channel >= config->num_channels) { in dma_emul_config_valid()
422 if (channel >= config->num_channels) { in dma_emul_start()
545 data->dma_ctx.dma_channels = config->num_channels; in dma_emul_init()
592 .num_channels = DMA_EMUL_INST_NUM_CHANNELS(_inst), \
/Zephyr-latest/drivers/adc/
Dadc_renesas_ra.c40 uint8_t num_channels; member
163 for (mask = BIT(config->num_channels - 1); mask != 0; mask >>= 1) { in adc_ra_check_buffer_size()
205 if (find_msb_set(sequence->channels) > config->num_channels) { in adc_ra_start_read()
357 .num_channels = DT_INST_PROP(idx, channel_count), \
Dadc_nxp_s32_adc_sar.c42 uint8_t num_channels; member
54 data->num_channels = map_chan_group[config->instance][config->group_channel]; in adc_nxp_s32_init()
92 if (channel_cfg->channel_id >= data->num_channels) { in adc_nxp_s32_channel_setup()
211 if (find_msb_set(sequence->channels) > data->num_channels) { in adc_nxp_s32_start_read_async()
259 for (int i = 0; i < data->num_channels; i++) { in adc_nxp_s32_start_read_async()
Dadc_ambiq.c32 uint8_t num_channels; member
157 if (sequence->channels & ~BIT_MASK(cfg->num_channels)) { in adc_ambiq_start_read()
228 if (chan_cfg->channel_id >= cfg->num_channels) { in adc_ambiq_channel_setup()
429 .num_channels = DT_PROP(DT_DRV_INST(n), channel_count), \
/Zephyr-latest/include/zephyr/bluetooth/
Datt.h154 int bt_eatt_connect(struct bt_conn *conn, size_t num_channels);
Dcs.h392 uint8_t num_channels; member
/Zephyr-latest/drivers/led/
Dlp50xx.c182 uint32_t num_channels, const uint8_t *buf) in lp50xx_write_channels() argument
189 end_channel = base_channel + start_channel + num_channels; in lp50xx_write_channels()
201 memcpy(data->chan_buf + 1, buf, num_channels); in lp50xx_write_channels()
203 return i2c_write_dt(&config->bus, data->chan_buf, num_channels + 1); in lp50xx_write_channels()
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h926 uint32_t num_channels; member
1020 size_t num_channels);
1025 size_t num_channels) in z_impl_sensor_reconfigure_read_iodev() argument
1029 if (cfg->max < num_channels || cfg->is_streaming) { in z_impl_sensor_reconfigure_read_iodev()
1034 memcpy(cfg->channels, channels, num_channels * sizeof(struct sensor_chan_spec)); in z_impl_sensor_reconfigure_read_iodev()
1035 cfg->count = num_channels; in z_impl_sensor_reconfigure_read_iodev()
/Zephyr-latest/drivers/input/
Dinput_sbus.c37 uint8_t num_channels; member
305 for (i = 0; i < config->num_channels; i++) { in input_sbus_init()
368 .num_channels = ARRAY_SIZE(input_##n), \
/Zephyr-latest/drivers/watchdog/
Dwdt_counter.c11 #define WDT_CHANNEL_COUNT DT_PROP(DT_WDT_COUNTER, num_channels)
/Zephyr-latest/tests/drivers/adc/adc_emul/src/
Dmain.c85 int num_channels, int channel_id, int32_t ref_mv, in check_samples() argument
91 for (i = channel_id; i < expected_count; i += num_channels) { in check_samples()
92 expected = start_mv_value + i / num_channels * step; in check_samples()
/Zephyr-latest/drivers/sensor/nxp/fxos8700/
Dfxos8700.h175 uint8_t num_channels; member
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/
Dfdc2x1x.h192 uint8_t num_channels; member
/Zephyr-latest/subsys/bluetooth/host/
Dcs.c532 const uint8_t num_channels = params->override_config_0.set.num_channels; in bt_le_cs_start_test() local
534 net_buf_add_u8(buf, num_channels); in bt_le_cs_start_test()
536 net_buf_add_mem(buf, params->override_config_0.set.channels, num_channels); in bt_le_cs_start_test()
537 override_parameters_length += num_channels; in bt_le_cs_start_test()
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx.c349 const size_t num_channels = cfg->count; in bma4xx_submit_one_shot() local
374 for (int i = 0; i < num_channels; i++) { in bma4xx_submit_one_shot()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/general/src/
Dmain_l2cap_ecred.c426 static int change_mtu_on_channels(int num_channels, int new_mtu) in change_mtu_on_channels() argument
430 for (int i = 0; i < num_channels; i++) { in change_mtu_on_channels()
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_gatt.h336 uint8_t num_channels; member
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dfmac_main.c299 fmac_dev_ctx->reg_chan_count = get_reg_event->num_channels; in nrf_wifi_event_get_reg_zep()
378 reg_domain->num_channels = reg_domain_info.reg_chan_count; in nrf_wifi_reg_domain()

123