Searched refs:active_channels (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/iio/adc/ |
D | pac1934.c | 305 bool active_channels[PAC1934_MAX_NUM_CHANNELS]; member 1112 info->active_channels[idx] = (info->shunts[idx] != 0); in pac1934_acpi_parse_channel_config() 1131 info->active_channels[idx] = (info->shunts[idx] != 0); in pac1934_acpi_parse_channel_config() 1185 info->active_channels[idx] = true; in pac1934_fw_parse_channel_config() 1225 if (info->active_channels[cnt]) in pac1934_chip_configure() 1247 FIELD_PREP(PAC1934_CHAN_DIS_CH1_OFF_MASK, info->active_channels[0] ? 0 : 1) | in pac1934_chip_configure() 1248 FIELD_PREP(PAC1934_CHAN_DIS_CH2_OFF_MASK, info->active_channels[1] ? 0 : 1) | in pac1934_chip_configure() 1249 FIELD_PREP(PAC1934_CHAN_DIS_CH3_OFF_MASK, info->active_channels[2] ? 0 : 1) | in pac1934_chip_configure() 1250 FIELD_PREP(PAC1934_CHAN_DIS_CH4_OFF_MASK, info->active_channels[3] ? 0 : 1) | in pac1934_chip_configure() 1326 if (!info->active_channels[cnt]) in pac1934_prep_iio_channels() [all …]
|
D | ti-ads131e08.c | 391 unsigned long active_channels = 0; in ads131e08_initial_config() local 424 active_channels |= BIT(channel->channel); in ads131e08_initial_config() 429 for_each_clear_bit(i, &active_channels, st->info->max_channels) { in ads131e08_initial_config()
|
/linux-6.12.1/sound/soc/img/ |
D | img-i2s-in.c | 59 unsigned int active_channels; member 151 for (i = 0; i < i2s->active_channels; i++) { in img_i2s_in_flush() 283 for (i = 0; i < i2s->active_channels; i++) in img_i2s_in_hw_params() 292 i2s->active_channels = i2s_channels; in img_i2s_in_hw_params() 296 for (i = 0; i < i2s->active_channels; i++) in img_i2s_in_hw_params() 349 for (i = 0; i < i2s->active_channels; i++) in img_i2s_in_set_fmt() 365 for (i = 0; i < i2s->active_channels; i++) in img_i2s_in_set_fmt() 468 i2s->active_channels = 1; in img_i2s_in_probe()
|
D | img-i2s-out.c | 60 unsigned int active_channels; member 178 for (i = 0; i < i2s->active_channels; i++) in img_i2s_out_reset() 286 i2s->active_channels = i2s_channels; in img_i2s_out_hw_params() 359 for (i = 0; i < i2s->active_channels; i++) in img_i2s_out_set_fmt() 368 for (i = 0; i < i2s->active_channels; i++) in img_i2s_out_set_fmt() 503 i2s->active_channels = 1; in img_i2s_out_probe()
|
/linux-6.12.1/drivers/s390/net/ |
D | ctcm_mpc.c | 695 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req() 696 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req() 935 grp->active_channels[CTCM_READ], in mpc_channel_action() 936 grp->active_channels[CTCM_WRITE]); in mpc_channel_action() 940 grp->active_channels[direction]++; in mpc_channel_action() 982 if ((grp->active_channels[CTCM_READ] > 0) && in mpc_channel_action() 983 (grp->active_channels[CTCM_WRITE] > 0) && in mpc_channel_action() 994 grp->active_channels[direction]--; in mpc_channel_action() 1003 if (((grp->active_channels[CTCM_READ] == 0) && in mpc_channel_action() 1004 (grp->active_channels[CTCM_WRITE] > 0)) in mpc_channel_action() [all …]
|
D | ctcm_mpc.h | 173 int active_channels[2]; member
|
D | ctcm_main.c | 615 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req() 616 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
|
/linux-6.12.1/drivers/pwm/ |
D | pwm-stm32.c | 45 static u32 active_channels(struct stm32_pwm *dev) in active_channels() function 166 if (active_channels(priv)) { in stm32_pwm_capture() 353 if (active_channels(priv) & ~(1 << ch * 4)) { in stm32_pwm_config() 440 if (!active_channels(priv)) in stm32_pwm_disable() 712 ccer = active_channels(priv); in stm32_pwm_suspend()
|
/linux-6.12.1/drivers/net/can/usb/ |
D | gs_usb.c | 338 u8 active_channels; member 903 if (!parent->active_channels) { in gs_can_open() 993 parent->active_channels++; in gs_can_open() 1004 if (!parent->active_channels) { in gs_can_open() 1061 parent->active_channels--; in gs_can_close() 1062 if (!parent->active_channels) { in gs_can_close()
|
/linux-6.12.1/sound/pci/hda/ |
D | patch_hdmi.c | 104 int ca, int active_channels, int conn_type); 683 int ca, int active_channels, in hdmi_pin_setup_infoframe() argument 704 hdmi_ai->CC02_CT47 = active_channels - 1; in hdmi_pin_setup_infoframe() 713 dp_ai->CC02_CT47 = active_channels - 1; in hdmi_pin_setup_infoframe() 730 __func__, pin_nid, active_channels, ca); in hdmi_pin_setup_infoframe() 747 int active_channels; in hdmi_setup_audio_infoframe() local 768 active_channels = snd_hdac_get_active_channels(ca); in hdmi_setup_audio_infoframe() 771 active_channels); in hdmi_setup_audio_infoframe() 782 ca, active_channels, eld->info.conn_type); in hdmi_setup_audio_infoframe() 4139 int active_channels, int conn_type) in atihdmi_pin_setup_infoframe() argument
|
/linux-6.12.1/drivers/dma/qcom/ |
D | bam_dma.c | 392 u32 active_channels; member 555 if (bdev->active_channels++ == 0 && bdev->powered_remotely) in bam_alloc_chan() 603 if (--bdev->active_channels == 0 && bdev->powered_remotely) { in bam_free_chan()
|