/sound/hda/ |
D | hdac_sysfs.c | 21 struct device_attribute *attr, \ 31 struct device_attribute *attr, \ 49 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() argument 57 &dev_attr_type.attr, 58 &dev_attr_vendor_id.attr, 59 &dev_attr_subsystem_id.attr, 60 &dev_attr_revision_id.attr, 61 &dev_attr_afg.attr, 62 &dev_attr_mfg.attr, 63 &dev_attr_vendor_name.attr, [all …]
|
/sound/pci/hda/ |
D | hda_sysfs.c | 31 struct device_attribute *attr, in power_on_acct_show() argument 40 struct device_attribute *attr, in power_off_acct_show() argument 54 struct device_attribute *attr, \ 63 struct device_attribute *attr, \ 96 struct device_attribute *attr, in init_pin_configs_show() argument 104 struct device_attribute *attr, in driver_pin_configs_show() argument 168 struct device_attribute *attr, \ 182 struct device_attribute *attr, \ 203 struct device_attribute *attr, \ 217 struct device_attribute *attr, in init_verbs_show() argument [all …]
|
D | hda_auto_parser.c | 133 int attr; in can_be_headset_mic() local 142 attr = snd_hda_get_input_pin_attr(def_conf); in can_be_headset_mic() 143 if (attr <= INPUT_PIN_ATTR_DOCK) in can_be_headset_mic() 492 int attr; in hda_get_input_pin_label() local 504 attr = snd_hda_get_input_pin_attr(def_conf); in hda_get_input_pin_label() 505 if (!attr) in hda_get_input_pin_label() 507 return mic_names[attr - 1]; in hda_get_input_pin_label() 511 attr = snd_hda_get_input_pin_attr(def_conf); in hda_get_input_pin_label() 512 if (!attr) in hda_get_input_pin_label() 514 if (attr == INPUT_PIN_ATTR_DOCK) in hda_get_input_pin_label() [all …]
|
D | hda_generic.h | 58 unsigned int attr; /* pin attribute (INPUT_PIN_ATTR_*) */ member
|
D | hda_generic.c | 4874 return (int)(a->attr - b->attr); in compare_attr() 4895 unsigned int attr; in check_auto_mic_availability() local 4896 attr = snd_hda_codec_get_pincfg(codec, nid); in check_auto_mic_availability() 4897 attr = snd_hda_get_input_pin_attr(attr); in check_auto_mic_availability() 4898 if (types & (1 << attr)) in check_auto_mic_availability() 4900 switch (attr) { in check_auto_mic_availability() 4919 types |= (1 << attr); in check_auto_mic_availability() 4921 spec->am_entry[num_pins].attr = attr; in check_auto_mic_availability()
|
/sound/aoa/soundbus/ |
D | sysfs.c | 8 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() argument 30 struct device_attribute *attr, char *buf) in name_show() argument 40 struct device_attribute *attr, char *buf) in type_show() argument 50 &dev_attr_name.attr, 51 &dev_attr_type.attr, 52 &dev_attr_modalias.attr,
|
/sound/usb/ |
D | pcm.c | 88 int cur_attr = 0, attr; in find_format() local 106 attr = fp->ep_attr & USB_ENDPOINT_SYNCTYPE; in find_format() 109 cur_attr = attr; in find_format() 117 if (attr != cur_attr) { in find_format() 118 if ((attr == USB_ENDPOINT_SYNC_ASYNC && in find_format() 120 (attr == USB_ENDPOINT_SYNC_ADAPTIVE && in find_format() 128 cur_attr = attr; in find_format() 135 cur_attr = attr; in find_format() 138 snd_vendor_set_pcm_binterval(fp, found, &cur_attr, &attr); in find_format() 152 int cur_attr = 0, attr; in find_format_and_si() local [all …]
|
D | usbaudio.h | 172 int *cur_attr, int *attr);
|
D | card.h | 206 int *cur_attr, int *attr);
|
D | card.c | 204 int *cur_attr, int *attr) in snd_vendor_set_pcm_binterval() argument 209 return ops->set_pcm_binterval(fp, found, cur_attr, attr); in snd_vendor_set_pcm_binterval()
|
/sound/usb/line6/ |
D | pod.c | 234 struct device_attribute *attr, char *buf) in serial_number_show() argument 246 struct device_attribute *attr, char *buf) in firmware_version_show() argument 259 struct device_attribute *attr, char *buf) in device_id_show() argument 303 &dev_attr_device_id.attr, 304 &dev_attr_firmware_version.attr, 305 &dev_attr_serial_number.attr,
|
D | podhd.c | 140 struct device_attribute *attr, char *buf) in serial_number_show() argument 149 struct device_attribute *attr, char *buf) in firmware_version_show() argument 161 &dev_attr_firmware_version.attr, 162 &dev_attr_serial_number.attr,
|
D | driver.h | 191 extern ssize_t line6_set_raw(struct device *dev, struct device_attribute *attr,
|
/sound/ac97/ |
D | bus.c | 240 struct device_attribute *attr, const char *buf, in cold_reset_store() argument 254 struct device_attribute *attr, const char *buf, in warm_reset_store() argument 271 &dev_attr_cold_reset.attr, 272 &dev_attr_warm_reset.attr, 459 struct device_attribute *attr, char *buf) in vendor_id_show() argument 468 &dev_attr_vendor_id.attr,
|
/sound/soc/intel/skylake/ |
D | skl-nhlt.c | 153 struct device_attribute *attr, char *buf) in skl_nhlt_platform_id_show() argument 175 if (sysfs_create_file(&dev->kobj, &dev_attr_platform_id.attr)) in skl_nhlt_create_sysfs() 186 sysfs_remove_file(&dev->kobj, &dev_attr_platform_id.attr); in skl_nhlt_remove_sysfs()
|
/sound/core/ |
D | init.c | 646 struct device_attribute *attr, char *buf) in card_id_show_attr() argument 653 card_id_store_attr(struct device *dev, struct device_attribute *attr, in card_id_store_attr() argument 686 struct device_attribute *attr, char *buf) in card_number_show_attr() argument 695 &dev_attr_id.attr, 696 &dev_attr_number.attr,
|
D | pcm.c | 1014 struct device_attribute *attr, char *buf) in show_pcm_class() argument 1035 &dev_attr_pcm_class.attr,
|
/sound/soc/ti/ |
D | omap-mcbsp.c | 522 struct device_attribute *attr, char *buf) \ 530 struct device_attribute *attr, \ 558 struct device_attribute *attr, char *buf) in dma_op_mode_show() argument 579 struct device_attribute *attr, const char *buf, in dma_op_mode_store() argument 605 &dev_attr_max_tx_thres.attr, 606 &dev_attr_max_rx_thres.attr, 607 &dev_attr_dma_op_mode.attr,
|
D | omap-mcbsp-st.c | 241 struct device_attribute *attr, char *buf) in st_taps_show() argument 260 struct device_attribute *attr, in st_taps_store() argument 299 &dev_attr_st_taps.attr,
|
/sound/soc/codecs/ |
D | tlv320aic26.c | 264 struct device_attribute *attr, char *buf) in aic26_keyclick_show() argument 279 struct device_attribute *attr, in aic26_keyclick_set() argument
|
D | cs43130.c | 1675 struct device_attribute *attr, char *buf) in cs43130_show_dc_l() argument 1681 struct device_attribute *attr, char *buf) in cs43130_show_dc_r() argument 1722 struct device_attribute *attr, char *buf) in cs43130_show_ac_l() argument 1728 struct device_attribute *attr, char *buf) in cs43130_show_ac_r() argument 1739 &dev_attr_hpload_dc_l.attr, 1740 &dev_attr_hpload_dc_r.attr, 1741 &dev_attr_hpload_ac_l.attr, 1742 &dev_attr_hpload_ac_r.attr,
|
D | cs42l56.c | 1023 struct device_attribute *attr, in cs42l56_beep_set() argument
|
D | cs42l52.c | 961 struct device_attribute *attr, in cs42l52_beep_set() argument
|
/sound/soc/ |
D | soc-core.c | 94 struct device_attribute *attr, char *buf) in pmdown_time_show() argument 102 struct device_attribute *attr, in pmdown_time_set() argument 118 &dev_attr_pmdown_time.attr, 123 struct attribute *attr, int idx) in soc_dev_attr_is_visible() argument 128 if (attr == &dev_attr_pmdown_time.attr) in soc_dev_attr_is_visible() 129 return attr->mode; /* always visible */ in soc_dev_attr_is_visible() 130 return rtd->num_codecs ? attr->mode : 0; /* enabled only with codec */ in soc_dev_attr_is_visible()
|
/sound/soc/intel/atom/sst/ |
D | sst.c | 239 struct device_attribute *attr, char *buf) in firmware_version_show() argument 256 &dev_attr_firmware_version.attr,
|