Home
last modified time | relevance | path

Searched refs:start_channel (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.7.0/drivers/sensor/nxp/fxos8700/
Dfxos8700.c298 __ASSERT(config->start_channel + config->num_channels in fxos8700_sample_fetch()
302 raw = &data->raw[config->start_channel]; in fxos8700_sample_fetch()
384 int start_channel; in fxos8700_channel_get() local
404 start_channel = FXOS8700_CHANNEL_ACCEL_X; in fxos8700_channel_get()
408 start_channel = FXOS8700_CHANNEL_ACCEL_Y; in fxos8700_channel_get()
412 start_channel = FXOS8700_CHANNEL_ACCEL_Z; in fxos8700_channel_get()
416 start_channel = FXOS8700_CHANNEL_ACCEL_X; in fxos8700_channel_get()
420 start_channel = 0; in fxos8700_channel_get()
425 raw = &data->raw[start_channel]; in fxos8700_channel_get()
441 start_channel = FXOS8700_CHANNEL_MAGN_X; in fxos8700_channel_get()
[all …]
Dfxos8700.h174 uint8_t start_channel; member
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dled.h107 uint32_t start_channel,
227 uint32_t start_channel,
231 z_impl_led_write_channels(const struct device *dev, uint32_t start_channel, in z_impl_led_write_channels() argument
240 return api->write_channels(dev, start_channel, num_channels, buf); in z_impl_led_write_channels()
/Zephyr-Core-3.7.0/drivers/sensor/nxp/fxas21002/
Dfxas21002.c209 int start_channel; in fxas21002_channel_get() local
225 start_channel = FXAS21002_CHANNEL_GYRO_X; in fxas21002_channel_get()
229 start_channel = FXAS21002_CHANNEL_GYRO_Y; in fxas21002_channel_get()
233 start_channel = FXAS21002_CHANNEL_GYRO_Z; in fxas21002_channel_get()
237 start_channel = FXAS21002_CHANNEL_GYRO_X; in fxas21002_channel_get()
241 start_channel = 0; in fxas21002_channel_get()
246 raw = &data->raw[start_channel]; in fxas21002_channel_get()
/Zephyr-Core-3.7.0/drivers/led/
Dled_handlers.c39 z_vrfy_led_write_channels(const struct device *dev, uint32_t start_channel, in z_vrfy_led_write_channels() argument
44 return z_impl_led_write_channels(dev, start_channel, num_channels, buf); in z_vrfy_led_write_channels()
Dis31fl3733.c126 static int is31fl3733_led_write_channels(const struct device *dev, uint32_t start_channel, in is31fl3733_led_write_channels() argument
134 if ((start_channel + num_channels) > IS31FL3733_MAX_LED) { in is31fl3733_led_write_channels()
137 pwm_start = data->scratch_buf + start_channel; in is31fl3733_led_write_channels()
139 *pwm_start = start_channel; in is31fl3733_led_write_channels()
Dis31fl3216a.c69 uint32_t start_channel, in is31fl3216a_led_write_channels() argument
82 if (start_channel + num_channels > IS31FL3216A_MAX_LEDS) { in is31fl3216a_led_write_channels()
87 i2c_buffer[0] = IS31FL3216A_REG_PWM_LAST - start_channel - in is31fl3216a_led_write_channels()
Dled_shell.c280 uint32_t start_channel; in cmd_write_channels() local
286 err = parse_common_args(sh, argv, &dev, &start_channel); in cmd_write_channels()
319 dev->name, start_channel, value[0]); in cmd_write_channels()
325 err = led_write_channels(dev, start_channel, num_channels, value); in cmd_write_channels()
Dlp50xx.c181 uint32_t start_channel, in lp50xx_write_channels() argument
189 end_channel = base_channel + start_channel + num_channels; in lp50xx_write_channels()
200 data->chan_buf[0] = base_channel + start_channel; in lp50xx_write_channels()
/Zephyr-Core-3.7.0/drivers/i2s/
Di2s_mcux_sai.c70 uint32_t start_channel; member
240 (uint32_t)&base->TDR[strm->start_channel], in i2s_tx_reload_multiple_dma_blocks()
390 uint32_t data_path = strm->start_channel; in i2s_dma_rx_callback()
690 dev_data->tx.start_channel = config.startChannel; in i2s_mcux_config()
697 LOG_DBG("tx start_channel = %d", dev_data->tx.start_channel); in i2s_mcux_config()
723 dev_data->rx.start_channel = config.startChannel; in i2s_mcux_config()
728 LOG_DBG("rx start_channel = %d", dev_data->rx.start_channel); in i2s_mcux_config()
782 uint32_t data_path = strm->start_channel; in i2s_tx_stream_start()
823 base->TCR3 |= I2S_TCR3_TCE(1UL << strm->start_channel); in i2s_tx_stream_start()
865 uint32_t data_path = strm->start_channel; in i2s_rx_stream_start()
[all …]