/Zephyr-latest/drivers/input/ |
D | input_adc_keys.c | 31 struct adc_dt_spec channel; member 58 ret = adc_read(cfg->channel.dev, &data->seq); in adc_keys_read() 65 adc_raw_to_millivolts_dt(&cfg->channel, &sample_mv); in adc_keys_read() 162 if (!adc_is_ready_dt(&cfg->channel)) { in adc_keys_init() 163 LOG_ERR("ADC controller device %s not ready", cfg->channel.dev->name); in adc_keys_init() 167 ret = adc_channel_setup_dt(&cfg->channel); in adc_keys_init() 173 ret = adc_sequence_init_dt(&cfg->channel, &data->seq); in adc_keys_init() 219 .channel = ADC_DT_SPEC_INST_GET(n), \
|
D | Kconfig.cap12xx | 5 bool "Microchip CAP12xx multi-channel capacitive touch sensor driver" 10 Enable driver for Microchip CAP12xx multi-channel capacitive
|
D | input_analog_axis.c | 67 int channel, in analog_axis_calibration_get() argument 72 struct analog_axis_calibration *cal = &cfg->calibration[channel]; in analog_axis_calibration_get() 74 if (channel >= cfg->num_channels) { in analog_axis_calibration_get() 95 int channel, in analog_axis_calibration_set() argument 100 struct analog_axis_calibration *cal = &cfg->calibration[channel]; in analog_axis_calibration_set() 102 if (channel >= cfg->num_channels) { in analog_axis_calibration_set() 114 int channel, in analog_axis_out_deadzone() argument 118 const struct analog_axis_channel_config *axis_cfg = &cfg->channel_cfg[channel]; in analog_axis_out_deadzone() 119 struct analog_axis_calibration *cal = &cfg->calibration[channel]; in analog_axis_out_deadzone() 142 int channel, in analog_axis_out_linear() argument [all …]
|
/Zephyr-latest/samples/drivers/adc/adc_sequence/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 23 channel@0 { 32 channel@1 { 42 channel@7 {
|
/Zephyr-latest/drivers/mbox/ |
D | mbox_stm32_hsem.c | 130 static int mbox_stm32_hsem_send(const struct device *dev, uint32_t channel, in mbox_stm32_hsem_send() argument 138 if (!is_tx_channel_valid(dev, channel)) { in mbox_stm32_hsem_send() 152 static int mbox_stm32_hsem_register_callback(const struct device *dev, uint32_t channel, in mbox_stm32_hsem_register_callback() argument 157 if (!(is_rx_channel_valid(dev, channel))) { in mbox_stm32_hsem_register_callback() 183 static int mbox_stm32_hsem_set_enabled(const struct device *dev, uint32_t channel, bool enable) in mbox_stm32_hsem_set_enabled() argument 185 if (!is_rx_channel_valid(dev, channel)) { in mbox_stm32_hsem_set_enabled()
|
/Zephyr-latest/tests/drivers/counter/counter_basic_api/boards/ |
D | mimxrt1060_evk_mimxrt1062_qspi.overlay | 15 /* channel 2 disabled to test disabled channel not breaking things */
|
/Zephyr-latest/tests/drivers/mipi_dsi/api/ |
D | Kconfig | 12 int "MIPI-DSI device channel number" 15 MIPI device channel number used for testing.
|
/Zephyr-latest/samples/subsys/zbus/uart_bridge/ |
D | README.rst | 5 Redirect channel events to the host over UART. 10 This simple application demonstrates a UART redirection of all channel events to the host. 35 D: START processing channel start_measurement change 36 D: FINISH processing channel start_measurement change 38 D: START processing channel sensor_data change 39 D: FINISH processing channel sensor_data change 48 D: START processing channel start_measurement change 49 D: FINISH processing channel start_measurement change 54 D: START processing channel sensor_data change 55 D: FINISH processing channel sensor_data change
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_nxp_flexio.c | 94 uint32_t channel, uint32_t period_cycles, in pwm_nxp_flexio_set_cycles() argument 106 if (channel >= config->pulse_info->pwm_pulse_channels) { in pwm_nxp_flexio_set_cycles() 131 pwm_info = &config->pulse_info->pwm_info[channel]; in pwm_nxp_flexio_set_cycles() 148 data->period_cycles[channel] = period_cycles; in pwm_nxp_flexio_set_cycles() 151 ((uint8_t)(data->period_cycles[channel] - pulse_cycles - 1U) in pwm_nxp_flexio_set_cycles() 169 FLEXIO_SetTimerConfig(flexio_base, child->res.timer_index[channel], &timerConfig); in pwm_nxp_flexio_set_cycles() 181 uint32_t channel, in pwm_nxp_flexio_get_cycles_per_sec() argument 189 if (data->period_cycles[channel] == 0) { in pwm_nxp_flexio_get_cycles_per_sec() 194 pwm_info = &config->pulse_info->pwm_info[channel]; in pwm_nxp_flexio_get_cycles_per_sec() 196 ((data->period_cycles[channel]) * (pwm_info->prescaler_div))); in pwm_nxp_flexio_get_cycles_per_sec()
|
D | Kconfig.max31790 | 8 bool "MAX31790 6-channel I2C-bus PWM controller" 13 Enable driver for MAX31790 6-channel I2C-bus PWM controller.
|
/Zephyr-latest/drivers/audio/ |
D | dmic_nrfx_pdm.c | 370 struct pdm_chan_cfg *channel = &config->channel; in dmic_nrfx_pdm_configure() local 390 if (channel->req_num_chan == 1) { in dmic_nrfx_pdm_configure() 394 channel->act_num_chan = 1; in dmic_nrfx_pdm_configure() 401 channel->act_num_chan = 2; in dmic_nrfx_pdm_configure() 404 channel->act_num_streams = 1; in dmic_nrfx_pdm_configure() 405 channel->act_chan_map_hi = 0; in dmic_nrfx_pdm_configure() 406 channel->act_chan_map_lo = def_map; in dmic_nrfx_pdm_configure() 408 if (channel->req_num_streams != 1 || in dmic_nrfx_pdm_configure() 409 channel->req_num_chan > 2 || in dmic_nrfx_pdm_configure() 410 channel->req_num_chan < 1 || in dmic_nrfx_pdm_configure() [all …]
|
/Zephyr-latest/dts/arm/renesas/ra/ra6/ |
D | r7fa6m4ax.dtsi | 27 channel = <1>; 41 channel = <2>; 55 channel = <3>; 69 channel = <4>; 83 channel = <5>; 97 channel = <6>; 111 channel = <7>; 125 channel = <8>; 131 channel-count = <12>; 132 channel-available-mask = <0x33ff>; [all …]
|
/Zephyr-latest/dts/arm/nordic/ |
D | nrf54h20_cpurad.dtsi | 87 sink-channel-links = <2 NRF_DOMAIN_ID_RADIOCORE 2>; 88 source-channel-links = <0 NRF_DOMAIN_ID_RADIOCORE 0>, 94 sink-channel-links = <0 NRF_DOMAIN_ID_GLOBALSLOW 0>, 96 source-channel-links = <2 NRF_DOMAIN_ID_GLOBALSLOW 2>;
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_rw6xx_common.dtsi | 390 compatible = "nxp,mrt-channel"; 395 compatible = "nxp,mrt-channel"; 400 compatible = "nxp,mrt-channel"; 405 compatible = "nxp,mrt-channel"; 423 compatible = "nxp,mrt-channel"; 428 compatible = "nxp,mrt-channel"; 433 compatible = "nxp,mrt-channel"; 438 compatible = "nxp,mrt-channel"; 453 pdmc0: dmic-channel@0 { 455 compatible = "nxp,dmic-channel"; [all …]
|
D | nxp_rt6xx_common.dtsi | 347 pdmc0: dmic-channel@0 { 348 compatible = "nxp,dmic-channel"; 354 pdmc1: dmic-channel@1 { 355 compatible = "nxp,dmic-channel"; 361 pdmc2: dmic-channel@2 { 362 compatible = "nxp,dmic-channel"; 368 pdmc3: dmic-channel@3 { 369 compatible = "nxp,dmic-channel"; 375 pdmc4: dmic-channel@4 { 376 compatible = "nxp,dmic-channel"; [all …]
|
D | nxp_s32z27x_rtu0_r52.dtsi | 113 compatible = "nxp,pit-channel"; 119 compatible = "nxp,pit-channel"; 125 compatible = "nxp,pit-channel"; 131 compatible = "nxp,pit-channel"; 137 compatible = "nxp,pit-channel"; 143 compatible = "nxp,pit-channel";
|
D | nxp_s32z27x_rtu1_r52.dtsi | 113 compatible = "nxp,pit-channel"; 119 compatible = "nxp,pit-channel"; 125 compatible = "nxp,pit-channel"; 131 compatible = "nxp,pit-channel"; 137 compatible = "nxp,pit-channel"; 143 compatible = "nxp,pit-channel";
|
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/ |
D | beagleconnect_freedom.overlay | 11 io-channel-names = "MB1_AN"; 15 * io-channel-names = "MB2_AN";
|
D | longan_nano.overlay | 7 /* adjust channel number according to pinmux in board.dts */ 16 channel@0 {
|
D | longan_nano_gd32vf103_lite.overlay | 7 /* adjust channel number according to pinmux in board.dts */ 16 channel@0 {
|
D | stm32h573i_dk.overlay | 9 /* adjust channel number according to pinmux in board.dts */ 18 channel@6 {
|
/Zephyr-latest/tests/drivers/adc/adc_api/boards/ |
D | nucleo_h743zi.overlay | 11 /* adjust channel number according to pinmux in board.dts */ 28 channel@c { 36 channel@f {
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/ |
D | main_l2cap_send_on_connect.c | 76 static struct bt_l2cap_le_chan channel; variable 81 channel.chan.ops = &l2cap_ops; in accept() 82 *l2cap_chan = &channel.chan; in accept() 95 struct bt_l2cap_chan *chans[] = {&channel.chan, NULL}; in connect_l2cap_channel() 98 channel.chan.ops = &l2cap_ops; in connect_l2cap_channel() 106 err = bt_l2cap_chan_connect(default_conn, &channel.chan, server.psm); in connect_l2cap_channel()
|
/Zephyr-latest/drivers/dac/ |
D | dac_handlers.c | 27 uint8_t channel, uint32_t value) in z_vrfy_dac_write_value() argument 31 return z_impl_dac_write_value((const struct device *)dev, channel, in z_vrfy_dac_write_value()
|
/Zephyr-latest/drivers/sensor/apds9306/ |
D | apds9306.c | 135 static int apds9306_attr_set(const struct device *dev, enum sensor_channel channel, in apds9306_attr_set() argument 143 if (channel != SENSOR_CHAN_LIGHT) { in apds9306_attr_set() 171 static int apds9306_attr_get(const struct device *dev, enum sensor_channel channel, in apds9306_attr_get() argument 179 if (channel != SENSOR_CHAN_LIGHT) { in apds9306_attr_get() 207 static int apds9306_sample_fetch(const struct device *dev, enum sensor_channel channel) in apds9306_sample_fetch() argument 214 if ((channel != SENSOR_CHAN_ALL) && (channel != SENSOR_CHAN_LIGHT)) { in apds9306_sample_fetch() 250 static int apds9306_channel_get(const struct device *dev, enum sensor_channel channel, in apds9306_channel_get() argument 255 if (channel != SENSOR_CHAN_LIGHT) { in apds9306_channel_get()
|