/sound/firewire/dice/ |
D | dice-extension.c | 93 unsigned int cap; in detect_stream_formats() local 100 cap = CLOCK_CAP_RATE_176400 | CLOCK_CAP_RATE_192000; in detect_stream_formats() 102 cap = CLOCK_CAP_RATE_88200 | CLOCK_CAP_RATE_96000; in detect_stream_formats() 104 cap = CLOCK_CAP_RATE_32000 | CLOCK_CAP_RATE_44100 | in detect_stream_formats() 107 if (!(cap & dice->clock_caps)) in detect_stream_formats()
|
/sound/hda/ |
D | hdmi_chmap.c | 622 struct hdac_cea_channel_speaker_allocation *cap, int channels) in hdmi_chmap_cea_alloc_validate_get_type() argument 625 if (cap->channels != channels) in hdmi_chmap_cea_alloc_validate_get_type() 633 struct hdac_cea_channel_speaker_allocation *cap, in hdmi_cea_alloc_to_tlv_chmap() argument 640 int spk = cap->speakers[c]; in hdmi_cea_alloc_to_tlv_chmap() 690 struct hdac_cea_channel_speaker_allocation *cap; in hdmi_chmap_ctl_tlv() local 692 cap = channel_allocations; in hdmi_chmap_ctl_tlv() 693 for (i = 0; i < ARRAY_SIZE(channel_allocations); i++, cap++) { in hdmi_chmap_ctl_tlv() 697 if (cap->channels != chs) in hdmi_chmap_ctl_tlv() 700 if (!(cap->spk_mask == (spk_mask & cap->spk_mask))) in hdmi_chmap_ctl_tlv() 704 chmap, cap, chs); in hdmi_chmap_ctl_tlv() [all …]
|
/sound/soc/sof/intel/ |
D | hda-ctrl.c | 66 u32 cap, offset, feature; in hda_dsp_ctrl_get_caps() local 87 cap = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, offset); in hda_dsp_ctrl_get_caps() 89 if (cap == -1) { in hda_dsp_ctrl_get_caps() 94 feature = (cap & SOF_HDA_CAP_ID_MASK) >> SOF_HDA_CAP_ID_OFF; in hda_dsp_ctrl_get_caps() 131 offset = cap & SOF_HDA_CAP_NEXT_MASK; in hda_dsp_ctrl_get_caps()
|
/sound/synth/emux/ |
D | emux_seq.c | 131 int i, type, cap; in snd_emux_create_port() local 156 cap = SNDRV_SEQ_PORT_CAP_WRITE; in snd_emux_create_port() 161 cap |= SNDRV_SEQ_PORT_CAP_SUBS_WRITE; in snd_emux_create_port() 165 cap, type, max_channels, in snd_emux_create_port()
|
/sound/soc/ux500/ |
D | ux500_msp_dai.c | 584 unsigned int cap; in ux500_msp_dai_set_tdm_slot() local 588 cap = 0x01; in ux500_msp_dai_set_tdm_slot() 591 cap = 0x03; in ux500_msp_dai_set_tdm_slot() 594 cap = 0xFF; in ux500_msp_dai_set_tdm_slot() 597 cap = 0xFFFF; in ux500_msp_dai_set_tdm_slot() 613 drvdata->tx_mask = tx_mask & cap; in ux500_msp_dai_set_tdm_slot() 614 drvdata->rx_mask = rx_mask & cap; in ux500_msp_dai_set_tdm_slot()
|
/sound/firewire/oxfw/ |
D | oxfw-pcm.c | 432 unsigned int cap = 0; in snd_oxfw_create_pcm() local 436 cap = 1; in snd_oxfw_create_pcm() 438 err = snd_pcm_new(oxfw->card, oxfw->card->driver, 0, 1, cap, &pcm); in snd_oxfw_create_pcm() 445 if (cap > 0) in snd_oxfw_create_pcm()
|
/sound/pci/ctxfi/ |
D | ctmixer.c | 526 struct capabilities cap = atc->capabilities(atc); in do_switch() local 539 if (!cap.dedicated_mic && in do_switch() 544 } else if (cap.dedicated_mic && (MIXER_LINEIN_C_S == type)) in do_switch() 546 else if (cap.dedicated_mic && (MIXER_MIC_C_S == type)) in do_switch() 738 struct capabilities cap = atc->capabilities(atc); in ct_mixer_kcontrols_create() local 752 ct_kcontrol_init_table[MIXER_DIGITAL_IO_S].ctl = cap.digit_io_switch; in ct_mixer_kcontrols_create() 776 if (cap.output_switch) { in ct_mixer_kcontrols_create() 782 if (cap.mic_source_switch) { in ct_mixer_kcontrols_create() 798 if (cap.dedicated_mic) in ct_mixer_kcontrols_create()
|
D | cthw20k1.c | 1773 struct capabilities cap; in hw_capabilities() local 1776 cap.digit_io_switch = !(hw->model == CTSB073X || hw->model == CTUAA); in hw_capabilities() 1777 cap.dedicated_mic = 0; in hw_capabilities() 1778 cap.output_switch = 0; in hw_capabilities() 1779 cap.mic_source_switch = 0; in hw_capabilities() 1781 return cap; in hw_capabilities()
|
D | cthw20k2.c | 1910 struct capabilities cap; in hw_capabilities() local 1912 cap.digit_io_switch = 0; in hw_capabilities() 1913 cap.dedicated_mic = hw->model == CTSB1270; in hw_capabilities() 1914 cap.output_switch = hw->model == CTSB1270; in hw_capabilities() 1915 cap.mic_source_switch = hw->model == CTSB1270; in hw_capabilities() 1917 return cap; in hw_capabilities()
|
/sound/pci/hda/ |
D | hda_proc.c | 441 unsigned int cap = param_read(codec, nid, AC_PAR_VOL_KNB_CAP); in print_vol_knob() local 443 (cap >> 7) & 1, cap & 0x7f); in print_vol_knob() 444 cap = snd_hda_codec_read(codec, nid, 0, in print_vol_knob() 447 (cap >> 7) & 1, cap & 0x7f); in print_vol_knob()
|
D | patch_hdmi.c | 3746 struct hdac_cea_channel_speaker_allocation *cap, int channels) in nvhdmi_chmap_cea_alloc_validate_get_type() argument 3748 if (cap->ca_index == 0x00 && channels == 2) in nvhdmi_chmap_cea_alloc_validate_get_type() 3752 if (cap->channels != channels) in nvhdmi_chmap_cea_alloc_validate_get_type() 4169 struct hdac_cea_channel_speaker_allocation *cap; in atihdmi_paired_chmap_validate() local 4174 cap = snd_hdac_get_ch_alloc_from_ca(ca); in atihdmi_paired_chmap_validate() 4185 if (cap->speakers[chan_idx] == mask) { in atihdmi_paired_chmap_validate() 4193 int comp_mask_act = cap->speakers[comp_chan_idx]; in atihdmi_paired_chmap_validate() 4282 struct hdac_cea_channel_speaker_allocation *cap, in atihdmi_paired_chmap_cea_alloc_validate_get_type() argument 4300 if (cap->speakers[c] || cap->speakers[c+1]) in atihdmi_paired_chmap_cea_alloc_validate_get_type() 4311 struct hdac_cea_channel_speaker_allocation *cap, in atihdmi_paired_cea_alloc_to_tlv_chmap() argument [all …]
|
D | hda_codec.c | 3943 unsigned int cap; in snd_hda_correct_pin_ctl() local 3947 cap = snd_hda_query_pin_caps(codec, pin); in snd_hda_correct_pin_ctl() 3948 if (!cap) in snd_hda_correct_pin_ctl() 3952 if (!(cap & AC_PINCAP_OUT)) in snd_hda_correct_pin_ctl() 3954 else if ((val & AC_PINCTL_HP_EN) && !(cap & AC_PINCAP_HP_DRV)) in snd_hda_correct_pin_ctl() 3959 if (!(cap & AC_PINCAP_IN)) in snd_hda_correct_pin_ctl() 3964 vcap = (cap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in snd_hda_correct_pin_ctl()
|
D | patch_sigmatel.c | 3107 unsigned int cap; in stac92hd71bxx_fixup_hp_dv5() local 3116 cap = snd_hda_param_read(codec, 0x1, AC_PAR_GPIO_CAP); in stac92hd71bxx_fixup_hp_dv5() 3117 cap &= AC_GPIO_IO_COUNT; in stac92hd71bxx_fixup_hp_dv5() 3118 if (cap >= 6) in stac92hd71bxx_fixup_hp_dv5()
|
/sound/isa/ |
D | cmi8330.c | 150 struct pnp_dev *cap; member 329 acard->cap = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_cmi8330_pnp() 330 if (acard->cap == NULL) in snd_cmi8330_pnp() 341 pdev = acard->cap; in snd_cmi8330_pnp()
|
/sound/soc/codecs/ |
D | hdmi-codec.c | 347 const struct hdmi_codec_cea_spk_alloc *cap = hdmi_codec_channel_alloc; in hdmi_codec_get_ch_alloc_table_idx() local 352 for (i = 0; i < ARRAY_SIZE(hdmi_codec_channel_alloc); i++, cap++) { in hdmi_codec_get_ch_alloc_table_idx() 354 if (!spk_alloc && cap->ca_id == 0) in hdmi_codec_get_ch_alloc_table_idx() 356 if (cap->n_ch != channels) in hdmi_codec_get_ch_alloc_table_idx() 358 if (!(cap->mask == (spk_mask & cap->mask))) in hdmi_codec_get_ch_alloc_table_idx()
|
D | cros_ec_codec.c | 69 static int ec_codec_capable(struct cros_ec_codec_priv *priv, uint8_t cap) in ec_codec_capable() argument 71 return priv->ec_capabilities & BIT(cap); in ec_codec_capable()
|
/sound/core/seq/ |
D | seq_ports.c | 663 int cap, int type, int midi_channels, in snd_seq_event_port_attach() argument 675 portinfo.capability = cap; in snd_seq_event_port_attach()
|
/sound/soc/dwc/ |
D | dwc-i2s.c | 643 dev->capability = pdata->cap; in dw_i2s_probe()
|