Home
last modified time | relevance | path

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

/Linux-v6.1/sound/soc/img/
Dimg-i2s-in.c59 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()
467 i2s->active_channels = 1; in img_i2s_in_probe()
Dimg-i2s-out.c60 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()
502 i2s->active_channels = 1; in img_i2s_out_probe()
/Linux-v6.1/drivers/pwm/
Dpwm-stm32.c46 static u32 active_channels(struct stm32_pwm *dev) in active_channels() function
181 if (active_channels(priv)) { in stm32_pwm_capture()
350 if (active_channels(priv) & ~(1 << ch * 4)) { in stm32_pwm_config()
437 if (!active_channels(priv)) in stm32_pwm_disable()
667 ccer = active_channels(priv); in stm32_pwm_suspend()
/Linux-v6.1/drivers/s390/net/
Dctcm_mpc.c693 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req()
694 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req()
932 grp->active_channels[CTCM_READ], in mpc_channel_action()
933 grp->active_channels[CTCM_WRITE]); in mpc_channel_action()
937 grp->active_channels[direction]++; in mpc_channel_action()
979 if ((grp->active_channels[CTCM_READ] > 0) && in mpc_channel_action()
980 (grp->active_channels[CTCM_WRITE] > 0) && in mpc_channel_action()
991 grp->active_channels[direction]--; in mpc_channel_action()
1000 if (((grp->active_channels[CTCM_READ] == 0) && in mpc_channel_action()
1001 (grp->active_channels[CTCM_WRITE] > 0)) in mpc_channel_action()
[all …]
Dctcm_mpc.h173 int active_channels[2]; member
Dctcm_main.c615 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-v6.1/drivers/iio/adc/
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-v6.1/drivers/net/can/usb/
Dgs_usb.c325 u8 active_channels; member
859 if (!parent->active_channels) { in gs_can_open()
950 parent->active_channels++; in gs_can_open()
970 parent->active_channels--; in gs_can_close()
971 if (!parent->active_channels) { in gs_can_close()
/Linux-v6.1/sound/pci/hda/
Dpatch_hdmi.c103 int ca, int active_channels, int conn_type);
681 int ca, int active_channels, in hdmi_pin_setup_infoframe() argument
702 hdmi_ai->CC02_CT47 = active_channels - 1; in hdmi_pin_setup_infoframe()
711 dp_ai->CC02_CT47 = active_channels - 1; in hdmi_pin_setup_infoframe()
728 __func__, pin_nid, active_channels, ca); in hdmi_pin_setup_infoframe()
745 int active_channels; in hdmi_setup_audio_infoframe() local
766 active_channels = snd_hdac_get_active_channels(ca); in hdmi_setup_audio_infoframe()
769 active_channels); in hdmi_setup_audio_infoframe()
780 ca, active_channels, eld->info.conn_type); in hdmi_setup_audio_infoframe()
4005 int active_channels, int conn_type) in atihdmi_pin_setup_infoframe() argument
/Linux-v6.1/drivers/dma/qcom/
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()