Home
last modified time | relevance | path

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

12

/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.c129 int attr; in can_be_headset_mic() local
138 attr = snd_hda_get_input_pin_attr(def_conf); in can_be_headset_mic()
139 if (attr <= INPUT_PIN_ATTR_DOCK) in can_be_headset_mic()
488 int attr; in hda_get_input_pin_label() local
500 attr = snd_hda_get_input_pin_attr(def_conf); in hda_get_input_pin_label()
501 if (!attr) in hda_get_input_pin_label()
503 return mic_names[attr - 1]; in hda_get_input_pin_label()
507 attr = snd_hda_get_input_pin_attr(def_conf); in hda_get_input_pin_label()
508 if (!attr) in hda_get_input_pin_label()
510 if (attr == INPUT_PIN_ATTR_DOCK) in hda_get_input_pin_label()
[all …]
Dhda_generic.h60 unsigned int attr; /* pin attribute (INPUT_PIN_ATTR_*) */ member
Dcs35l41_hda.c359 u32 attr; in cs35l41_save_calibration() local
362 status = efi.get_variable(efi_name, &efi_guid, &attr, &data_size, data); in cs35l41_save_calibration()
370 status = efi.get_variable(efi_name, &efi_guid, &attr, &data_size, data); in cs35l41_save_calibration()
/sound/aoa/soundbus/
Dsysfs.c8 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() argument
24 struct device_attribute *attr, char *buf) in name_show() argument
34 struct device_attribute *attr, char *buf) in type_show() argument
44 &dev_attr_name.attr,
45 &dev_attr_type.attr,
46 &dev_attr_modalias.attr,
/sound/soc/intel/catpt/
Dsysfs.c12 struct device_attribute *attr, char *buf) in fw_version_show() argument
36 struct device_attribute *attr, char *buf) in fw_info_show() argument
45 &dev_attr_fw_version.attr,
46 &dev_attr_fw_info.attr,
/sound/core/
Dcontrol_led.c397 struct device_attribute *attr, char *buf) in mode_show() argument
412 struct device_attribute *attr, in mode_store() argument
442 struct device_attribute *attr, char *buf) in brightness_show() argument
453 &dev_attr_mode.attr,
454 &dev_attr_brightness.attr,
584 struct device_attribute *attr, in attach_store() argument
592 struct device_attribute *attr, in detach_store() argument
600 struct device_attribute *attr, in reset_store() argument
615 struct device_attribute *attr, char *buf) in list_show() argument
649 &dev_attr_attach.attr,
[all …]
Dinit.c784 struct device_attribute *attr, char *buf) in id_show() argument
790 static ssize_t id_store(struct device *dev, struct device_attribute *attr, in id_store() argument
822 struct device_attribute *attr, char *buf) in number_show() argument
831 &dev_attr_id.attr,
832 &dev_attr_number.attr,
/sound/soc/qcom/qdsp6/
Dq6dsp-lpass-clocks.c115 unsigned int attr = clkspec->args[1]; in q6dsp_of_clk_hw_get() local
117 if (idx >= Q6DSP_MAX_CLK_ID || attr > LPASS_CLK_ATTRIBUTE_COUPLE_DIVISOR) { in q6dsp_of_clk_hw_get()
118 dev_err(cc->dev, "Invalid clk specifier (%d, %d)\n", idx, attr); in q6dsp_of_clk_hw_get()
123 cc->clks[idx]->attributes = attr; in q6dsp_of_clk_hw_get()
Dq6dsp-lpass-clocks.h22 int (*lpass_set_clk)(struct device *dev, int clk_id, int attr,
/sound/usb/line6/
Dpod.c234 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,
Dpodhd.c144 struct device_attribute *attr, char *buf) in serial_number_show() argument
153 struct device_attribute *attr, char *buf) in firmware_version_show() argument
165 &dev_attr_firmware_version.attr,
166 &dev_attr_serial_number.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/usb/
Dpcm.c99 int cur_attr = 0, attr; in find_format() local
118 attr = fp->ep_attr & USB_ENDPOINT_SYNCTYPE; in find_format()
121 cur_attr = attr; in find_format()
129 if (subs && attr != cur_attr) { in find_format()
130 if ((attr == USB_ENDPOINT_SYNC_ASYNC && in find_format()
132 (attr == USB_ENDPOINT_SYNC_ADAPTIVE && in find_format()
140 cur_attr = attr; in find_format()
147 cur_attr = attr; in find_format()
320 unsigned int ep, attr, sync_attr; in snd_usb_audioformat_set_sync_ep() local
344 attr = fmt->ep_attr & USB_ENDPOINT_SYNCTYPE; in snd_usb_audioformat_set_sync_ep()
[all …]
Dimplicit.c297 unsigned int attr = fmt->ep_attr & USB_ENDPOINT_SYNCTYPE; in audioformat_implicit_fb_quirk() local
325 if (attr == USB_ENDPOINT_SYNC_ASYNC && in audioformat_implicit_fb_quirk()
Dcard.h232 int *cur_attr, int *attr);
/sound/soc/intel/skylake/
Dskl-nhlt.c51 struct device_attribute *attr, char *buf) in platform_id_show() argument
73 if (sysfs_create_file(&dev->kobj, &dev_attr_platform_id.attr)) in skl_nhlt_create_sysfs()
84 sysfs_remove_file(&dev->kobj, &dev_attr_platform_id.attr); in skl_nhlt_remove_sysfs()
/sound/soc/ti/
Domap-mcbsp-st.c238 struct device_attribute *attr, char *buf) in st_taps_show() argument
257 struct device_attribute *attr, in st_taps_store() argument
296 &dev_attr_st_taps.attr,
Domap-mcbsp.c518 struct device_attribute *attr, char *buf) \
526 struct device_attribute *attr, \
554 struct device_attribute *attr, char *buf) in dma_op_mode_show() argument
575 struct device_attribute *attr, const char *buf, in dma_op_mode_store() argument
601 &dev_attr_max_tx_thres.attr,
602 &dev_attr_max_rx_thres.attr,
603 &dev_attr_dma_op_mode.attr,
/sound/soc/codecs/
Dtlv320aic26.c264 struct device_attribute *attr, char *buf) in keyclick_show() argument
279 struct device_attribute *attr, in keyclick_store() argument
Dcs43130.c1675 struct device_attribute *attr, char *buf) in hpload_dc_l_show() argument
1681 struct device_attribute *attr, char *buf) in hpload_dc_r_show() argument
1722 struct device_attribute *attr, char *buf) in hpload_ac_l_show() argument
1728 struct device_attribute *attr, char *buf) in hpload_ac_r_show() 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,
/sound/soc/intel/avs/
Davs.h65 #define avs_platattr_test(adev, attr) \ argument
66 ((adev)->spec->attributes & AVS_PLATATTR_##attr)
/sound/soc/
Dsoc-core.c71 struct device_attribute *attr, char *buf) in pmdown_time_show() argument
79 struct device_attribute *attr, in pmdown_time_store() argument
95 &dev_attr_pmdown_time.attr,
100 struct attribute *attr, int idx) in soc_dev_attr_is_visible() argument
108 if (attr == &dev_attr_pmdown_time.attr) in soc_dev_attr_is_visible()
109 return attr->mode; /* always visible */ in soc_dev_attr_is_visible()
110 return rtd->dai_link->num_codecs ? attr->mode : 0; /* enabled only with codec */ in soc_dev_attr_is_visible()
/sound/soc/intel/atom/sst/
Dsst.c239 struct device_attribute *attr, char *buf) in firmware_version_show() argument
256 &dev_attr_firmware_version.attr,

12