Home
last modified time | relevance | path

Searched refs:cap (Results 1 – 12 of 12) sorted by relevance

/sound/soc/dwc/
Ddesignware_i2s.c347 unsigned int cap; in dw_i2s_probe() local
380 cap = pdata->cap; in dw_i2s_probe()
381 dev->capability = cap; in dw_i2s_probe()
412 if (cap & DWC_I2S_PLAY) { in dw_i2s_probe()
420 if (cap & DWC_I2S_RECORD) { in dw_i2s_probe()
/sound/synth/emux/
Demux_seq.c144 int i, type, cap; in snd_emux_create_port() local
169 cap = SNDRV_SEQ_PORT_CAP_WRITE; in snd_emux_create_port()
174 cap |= SNDRV_SEQ_PORT_CAP_SUBS_WRITE; in snd_emux_create_port()
178 cap, type, max_channels, in snd_emux_create_port()
/sound/soc/ux500/
Dux500_msp_dai.c587 unsigned int cap; in ux500_msp_dai_set_tdm_slot() local
591 cap = 0x01; in ux500_msp_dai_set_tdm_slot()
594 cap = 0x03; in ux500_msp_dai_set_tdm_slot()
597 cap = 0xFF; in ux500_msp_dai_set_tdm_slot()
600 cap = 0xFFFF; in ux500_msp_dai_set_tdm_slot()
616 drvdata->tx_mask = tx_mask & cap; in ux500_msp_dai_set_tdm_slot()
617 drvdata->rx_mask = rx_mask & cap; in ux500_msp_dai_set_tdm_slot()
/sound/pci/hda/
Dpatch_hdmi.c120 int (*chmap_cea_alloc_validate_get_type)(struct cea_channel_speaker_allocation *cap,
122 void (*cea_alloc_to_tlv_chmap)(struct cea_channel_speaker_allocation *cap,
1910 static int hdmi_chmap_cea_alloc_validate_get_type(struct cea_channel_speaker_allocation *cap, in hdmi_chmap_cea_alloc_validate_get_type() argument
1914 if (cap->channels != channels) in hdmi_chmap_cea_alloc_validate_get_type()
1921 static void hdmi_cea_alloc_to_tlv_chmap(struct cea_channel_speaker_allocation *cap, in hdmi_cea_alloc_to_tlv_chmap() argument
1928 int spk = cap->speakers[c]; in hdmi_cea_alloc_to_tlv_chmap()
1955 struct cea_channel_speaker_allocation *cap; in hdmi_chmap_ctl_tlv() local
1956 cap = channel_allocations; in hdmi_chmap_ctl_tlv()
1957 for (i = 0; i < ARRAY_SIZE(channel_allocations); i++, cap++) { in hdmi_chmap_ctl_tlv()
1959 int type = spec->ops.chmap_cea_alloc_validate_get_type(cap, chs); in hdmi_chmap_ctl_tlv()
[all …]
Dhda_proc.c404 unsigned int cap = snd_hda_param_read(codec, nid, in print_vol_knob() local
407 (cap >> 7) & 1, cap & 0x7f); in print_vol_knob()
408 cap = snd_hda_codec_read(codec, nid, 0, in print_vol_knob()
411 (cap >> 7) & 1, cap & 0x7f); in print_vol_knob()
Dhda_codec.c5533 unsigned int cap; in snd_hda_correct_pin_ctl() local
5537 cap = snd_hda_query_pin_caps(codec, pin); in snd_hda_correct_pin_ctl()
5538 if (!cap) in snd_hda_correct_pin_ctl()
5542 if (!(cap & AC_PINCAP_OUT)) in snd_hda_correct_pin_ctl()
5544 else if ((val & AC_PINCTL_HP_EN) && !(cap & AC_PINCAP_HP_DRV)) in snd_hda_correct_pin_ctl()
5549 if (!(cap & AC_PINCAP_IN)) in snd_hda_correct_pin_ctl()
5554 vcap = (cap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in snd_hda_correct_pin_ctl()
Dpatch_sigmatel.c3085 unsigned int cap; in stac92hd71bxx_fixup_hp_dv5() local
3094 cap = snd_hda_param_read(codec, 0x1, AC_PAR_GPIO_CAP); in stac92hd71bxx_fixup_hp_dv5()
3095 cap &= AC_GPIO_IO_COUNT; in stac92hd71bxx_fixup_hp_dv5()
3096 if (cap >= 6) in stac92hd71bxx_fixup_hp_dv5()
/sound/pci/ctxfi/
Dctmixer.c530 struct capabilities cap = atc->capabilities(atc); in do_switch() local
543 if (!cap.dedicated_mic && in do_switch()
548 } else if (cap.dedicated_mic && (MIXER_LINEIN_C_S == type)) in do_switch()
550 else if (cap.dedicated_mic && (MIXER_MIC_C_S == type)) in do_switch()
742 struct capabilities cap = atc->capabilities(atc); in ct_mixer_kcontrols_create() local
756 ct_kcontrol_init_table[MIXER_DIGITAL_IO_S].ctl = cap.digit_io_switch; in ct_mixer_kcontrols_create()
780 if (cap.output_switch) { in ct_mixer_kcontrols_create()
786 if (cap.mic_source_switch) { in ct_mixer_kcontrols_create()
802 if (cap.dedicated_mic) in ct_mixer_kcontrols_create()
Dcthw20k1.c1783 struct capabilities cap; in hw_capabilities() local
1786 cap.digit_io_switch = !(hw->model == CTSB073X || hw->model == CTUAA); in hw_capabilities()
1787 cap.dedicated_mic = 0; in hw_capabilities()
1788 cap.output_switch = 0; in hw_capabilities()
1789 cap.mic_source_switch = 0; in hw_capabilities()
1791 return cap; in hw_capabilities()
Dcthw20k2.c1920 struct capabilities cap; in hw_capabilities() local
1922 cap.digit_io_switch = 0; in hw_capabilities()
1923 cap.dedicated_mic = hw->model == CTSB1270; in hw_capabilities()
1924 cap.output_switch = hw->model == CTSB1270; in hw_capabilities()
1925 cap.mic_source_switch = hw->model == CTSB1270; in hw_capabilities()
1927 return cap; in hw_capabilities()
/sound/isa/
Dcmi8330.c165 struct pnp_dev *cap; member
342 acard->cap = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_cmi8330_pnp()
343 if (acard->cap == NULL) in snd_cmi8330_pnp()
354 pdev = acard->cap; in snd_cmi8330_pnp()
/sound/core/seq/
Dseq_ports.c666 int cap, int type, int midi_channels, in snd_seq_event_port_attach() argument
678 portinfo.capability = cap; in snd_seq_event_port_attach()