Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 24 of 24) sorted by relevance

/sound/hda/
Dhdac_sysfs.c21 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/
Dhda_sysfs.c31 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 …]
Dhda_auto_parser.c127 int attr; in can_be_headset_mic() local
136 attr = snd_hda_get_input_pin_attr(def_conf); in can_be_headset_mic()
137 if (attr <= INPUT_PIN_ATTR_DOCK) in can_be_headset_mic()
486 int attr; in hda_get_input_pin_label() local
498 attr = snd_hda_get_input_pin_attr(def_conf); in hda_get_input_pin_label()
499 if (!attr) in hda_get_input_pin_label()
501 return mic_names[attr - 1]; in hda_get_input_pin_label()
505 attr = snd_hda_get_input_pin_attr(def_conf); in hda_get_input_pin_label()
506 if (!attr) in hda_get_input_pin_label()
508 if (attr == INPUT_PIN_ATTR_DOCK) in hda_get_input_pin_label()
[all …]
Dhda_generic.h58 unsigned int attr; /* pin attribute (INPUT_PIN_ATTR_*) */ member
Dhda_generic.c4859 return (int)(a->attr - b->attr); in compare_attr()
4880 unsigned int attr; in check_auto_mic_availability() local
4881 attr = snd_hda_codec_get_pincfg(codec, nid); in check_auto_mic_availability()
4882 attr = snd_hda_get_input_pin_attr(attr); in check_auto_mic_availability()
4883 if (types & (1 << attr)) in check_auto_mic_availability()
4885 switch (attr) { in check_auto_mic_availability()
4904 types |= (1 << attr); in check_auto_mic_availability()
4906 spec->am_entry[num_pins].attr = attr; in check_auto_mic_availability()
/sound/aoa/soundbus/
Dsysfs.c8 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/
Dpcm.c88 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()
150 int cur_attr = 0, attr; in find_format_and_si() local
169 attr = fp->ep_attr & USB_ENDPOINT_SYNCTYPE; in find_format_and_si()
[all …]
/sound/usb/line6/
Dpod.c233 struct device_attribute *attr, char *buf) in serial_number_show() argument
245 struct device_attribute *attr, char *buf) in firmware_version_show() argument
258 struct device_attribute *attr, char *buf) in device_id_show() argument
302 &dev_attr_device_id.attr,
303 &dev_attr_firmware_version.attr,
304 &dev_attr_serial_number.attr,
Dpodhd.c141 struct device_attribute *attr, char *buf) in serial_number_show() argument
150 struct device_attribute *attr, char *buf) in firmware_version_show() argument
162 &dev_attr_firmware_version.attr,
163 &dev_attr_serial_number.attr,
Ddriver.h191 extern ssize_t line6_set_raw(struct device *dev, struct device_attribute *attr,
/sound/ac97/
Dbus.c240 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/
Dskl-nhlt.c153 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()
185 sysfs_remove_file(&dev->kobj, &dev_attr_platform_id.attr); in skl_nhlt_remove_sysfs()
/sound/core/
Dinit.c648 struct device_attribute *attr, char *buf) in card_id_show_attr() argument
655 card_id_store_attr(struct device *dev, struct device_attribute *attr, in card_id_store_attr() argument
688 struct device_attribute *attr, char *buf) in card_number_show_attr() argument
697 &dev_attr_id.attr,
698 &dev_attr_number.attr,
Dpcm.c1006 struct device_attribute *attr, char *buf) in show_pcm_class() argument
1027 &dev_attr_pcm_class.attr,
/sound/soc/ti/
Domap-mcbsp.c520 struct device_attribute *attr, char *buf) \
528 struct device_attribute *attr, \
556 struct device_attribute *attr, char *buf) in dma_op_mode_show() argument
577 struct device_attribute *attr, const char *buf, in dma_op_mode_store() argument
603 &dev_attr_max_tx_thres.attr,
604 &dev_attr_max_rx_thres.attr,
605 &dev_attr_dma_op_mode.attr,
Domap-mcbsp-st.c241 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/
Dtlv320aic26.c264 struct device_attribute *attr, char *buf) in aic26_keyclick_show() argument
279 struct device_attribute *attr, in aic26_keyclick_set() argument
Dcs43130.c1675 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
Dcs42l52.c959 struct device_attribute *attr, in cs42l52_beep_set() argument
Dcs42l56.c1023 struct device_attribute *attr, in cs42l56_beep_set() argument
Dwm8962.c3215 struct device_attribute *attr, in wm8962_beep_set() argument
/sound/soc/
Dsoc-core.c94 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()
Dsoc-dapm.c2426 struct device_attribute *attr, char *buf) in dapm_widget_show() argument
2448 &dev_attr_dapm_widget.attr,
/sound/soc/intel/atom/sst/
Dsst.c239 struct device_attribute *attr, char *buf) in firmware_version_show() argument
256 &dev_attr_firmware_version.attr,