Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/img/
Dimg-i2s-in.c62 unsigned int active_channels; member
154 for (i = 0; i < i2s->active_channels; i++) { in img_i2s_in_flush()
286 for (i = 0; i < i2s->active_channels; i++) in img_i2s_in_hw_params()
295 i2s->active_channels = i2s_channels; in img_i2s_in_hw_params()
299 for (i = 0; i < i2s->active_channels; i++) in img_i2s_in_hw_params()
352 for (i = 0; i < i2s->active_channels; i++) in img_i2s_in_set_fmt()
368 for (i = 0; i < i2s->active_channels; i++) in img_i2s_in_set_fmt()
472 i2s->active_channels = 1; in img_i2s_in_probe()
Dimg-i2s-out.c63 unsigned int active_channels; member
181 for (i = 0; i < i2s->active_channels; i++) in img_i2s_out_reset()
289 i2s->active_channels = i2s_channels; in img_i2s_out_hw_params()
362 for (i = 0; i < i2s->active_channels; i++) in img_i2s_out_set_fmt()
371 for (i = 0; i < i2s->active_channels; i++) in img_i2s_out_set_fmt()
511 i2s->active_channels = 1; in img_i2s_out_probe()
/Linux-v4.19/drivers/s390/net/
Dctcm_mpc.c708 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req()
709 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req()
947 grp->active_channels[CTCM_READ], in mpc_channel_action()
948 grp->active_channels[CTCM_WRITE]); in mpc_channel_action()
952 grp->active_channels[direction]++; in mpc_channel_action()
994 if ((grp->active_channels[CTCM_READ] > 0) && in mpc_channel_action()
995 (grp->active_channels[CTCM_WRITE] > 0) && in mpc_channel_action()
1006 grp->active_channels[direction]--; in mpc_channel_action()
1015 if (((grp->active_channels[CTCM_READ] == 0) && in mpc_channel_action()
1016 (grp->active_channels[CTCM_WRITE] > 0)) in mpc_channel_action()
[all …]
Dctcm_mpc.h173 int active_channels[2]; member
Dctcm_main.c616 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
617 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
/Linux-v4.19/drivers/pwm/
Dpwm-stm32.c43 static u32 active_channels(struct stm32_pwm *dev) in active_channels() function
178 if (active_channels(priv)) { in stm32_pwm_capture()
347 if (active_channels(priv) & ~(1 << ch * 4)) { in stm32_pwm_config()
436 if (!active_channels(priv)) in stm32_pwm_disable()
/Linux-v4.19/drivers/net/can/usb/
Dgs_usb.c195 atomic_t active_channels; member
589 if (atomic_add_return(1, &parent->active_channels) == 1) { in gs_can_open()
704 if (atomic_dec_and_test(&parent->active_channels)) in gs_can_close()
981 atomic_set(&dev->active_channels, 0); in gs_usb_probe()
/Linux-v4.19/sound/pci/hda/
Dpatch_hdmi.c114 int ca, int active_channels, int conn_type);
662 int ca, int active_channels, in hdmi_pin_setup_infoframe() argument
674 hdmi_ai->CC02_CT47 = active_channels - 1; in hdmi_pin_setup_infoframe()
683 dp_ai->CC02_CT47 = active_channels - 1; in hdmi_pin_setup_infoframe()
701 active_channels, ca); in hdmi_pin_setup_infoframe()
717 int active_channels; in hdmi_setup_audio_infoframe() local
736 active_channels = snd_hdac_get_active_channels(ca); in hdmi_setup_audio_infoframe()
739 active_channels); in hdmi_setup_audio_infoframe()
749 spec->ops.pin_setup_infoframe(codec, pin_nid, ca, active_channels, in hdmi_setup_audio_infoframe()
3473 int active_channels, int conn_type) in atihdmi_pin_setup_infoframe() argument