Searched refs:active_channels (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/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() 469 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() 508 i2s->active_channels = 1; in img_i2s_out_probe()
|
/Linux-v5.4/drivers/s390/net/ |
D | ctcm_mpc.c | 709 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req() 710 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req() 948 grp->active_channels[CTCM_READ], in mpc_channel_action() 949 grp->active_channels[CTCM_WRITE]); in mpc_channel_action() 953 grp->active_channels[direction]++; in mpc_channel_action() 995 if ((grp->active_channels[CTCM_READ] > 0) && in mpc_channel_action() 996 (grp->active_channels[CTCM_WRITE] > 0) && in mpc_channel_action() 1007 grp->active_channels[direction]--; in mpc_channel_action() 1016 if (((grp->active_channels[CTCM_READ] == 0) && in mpc_channel_action() 1017 (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-v5.4/drivers/pwm/ |
D | pwm-stm32.c | 43 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-v5.4/drivers/net/can/usb/ |
D | gs_usb.c | 187 atomic_t active_channels; member 581 if (atomic_add_return(1, &parent->active_channels) == 1) { in gs_can_open() 697 if (atomic_dec_and_test(&parent->active_channels)) in gs_can_close() 974 atomic_set(&dev->active_channels, 0); in gs_usb_probe()
|
/Linux-v5.4/sound/pci/hda/ |
D | patch_hdmi.c | 105 int ca, int active_channels, int conn_type); 659 int ca, int active_channels, in hdmi_pin_setup_infoframe() argument 671 hdmi_ai->CC02_CT47 = active_channels - 1; in hdmi_pin_setup_infoframe() 680 dp_ai->CC02_CT47 = active_channels - 1; in hdmi_pin_setup_infoframe() 698 active_channels, ca); in hdmi_pin_setup_infoframe() 714 int active_channels; in hdmi_setup_audio_infoframe() local 733 active_channels = snd_hdac_get_active_channels(ca); in hdmi_setup_audio_infoframe() 736 active_channels); in hdmi_setup_audio_infoframe() 746 spec->ops.pin_setup_infoframe(codec, pin_nid, ca, active_channels, in hdmi_setup_audio_infoframe() 3721 int active_channels, int conn_type) in atihdmi_pin_setup_infoframe() argument
|