Home
last modified time | relevance | path

Searched refs:active_channels (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/iio/adc/
H A Dpac1934.c289 * @active_channels: array of values, true means that channel is active
306 bool active_channels[PAC1934_MAX_NUM_CHANNELS]; member
1113 info->active_channels[idx] = (info->shunts[idx] != 0); in pac1934_acpi_parse_channel_config()
1132 info->active_channels[idx] = (info->shunts[idx] != 0); in pac1934_acpi_parse_channel_config()
1186 info->active_channels[idx] = true; in pac1934_fw_parse_channel_config()
1226 if (info->active_channels[cnt]) in pac1934_chip_configure()
1248 FIELD_PREP(PAC1934_CHAN_DIS_CH1_OFF_MASK, info->active_channels[0] ? 0 : 1) | in pac1934_chip_configure()
1249 FIELD_PREP(PAC1934_CHAN_DIS_CH2_OFF_MASK, info->active_channels[1] ? 0 : 1) | in pac1934_chip_configure()
1250 FIELD_PREP(PAC1934_CHAN_DIS_CH3_OFF_MASK, info->active_channels[2] ? 0 : 1) | in pac1934_chip_configure()
1251 FIELD_PREP(PAC1934_CHAN_DIS_CH4_OFF_MASK, info->active_channels[ in pac1934_chip_configure()
[all...]
H A Dti-ads131e08.c391 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/drivers/pwm/
H A Dpwm-stm32.c46 static u32 active_channels(struct stm32_pwm *dev) in active_channels() function
92 if (active_channels(priv) & ~TIM_CCER_CCxE(ch + 1)) { in stm32_pwm_round_waveform_tohw()
545 if (active_channels(priv)) { in stm32_pwm_capture()
905 ccer = active_channels(priv); in stm32_pwm_suspend()
/linux/drivers/s390/net/
H A Dctcm_mpc.h173 int active_channels[2]; member
/linux/drivers/net/can/usb/
H A Dgs_usb.c339 u8 active_channels; member
985 if (!parent->active_channels) { in gs_can_open()
1074 parent->active_channels++; in gs_can_open()
1085 if (!parent->active_channels) { in gs_can_open()
1142 parent->active_channels--; in gs_can_close()
1143 if (!parent->active_channels) { in gs_can_close()
/linux/sound/hda/codecs/hdmi/
H A Dhdmi.c473 int ca, int active_channels, in hdmi_pin_setup_infoframe() argument
494 hdmi_ai->CC02_CT47 = active_channels - 1; in hdmi_pin_setup_infoframe()
503 dp_ai->CC02_CT47 = active_channels - 1; in hdmi_pin_setup_infoframe()
520 __func__, pin_nid, active_channels, ca); in hdmi_pin_setup_infoframe()
537 int active_channels; in snd_hda_hdmi_setup_audio_infoframe() local
558 active_channels = snd_hdac_get_active_channels(ca); in snd_hda_hdmi_setup_audio_infoframe()
561 active_channels); in snd_hda_hdmi_setup_audio_infoframe()
572 ca, active_channels, eld->info.conn_type); in snd_hda_hdmi_setup_audio_infoframe()
H A Dhdmi_local.h67 int ca, int active_channels, int conn_type);
H A Datihdmi.c241 int active_channels, int conn_type) in atihdmi_pin_setup_infoframe() argument
/linux/drivers/dma/qcom/
H A Dbam_dma.c392 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()