Home
last modified time | relevance | path

Searched refs:dattr (Results 1 – 21 of 21) sorted by relevance

/drivers/input/mouse/
Dtrackpoint.c210 attr == &psmouse_attr_sensitivity.dattr.attr || in trackpoint_is_attr_available()
211 attr == &psmouse_attr_press_to_select.dattr.attr; in trackpoint_is_attr_available()
225 &psmouse_attr_sensitivity.dattr.attr,
226 &psmouse_attr_speed.dattr.attr,
227 &psmouse_attr_inertia.dattr.attr,
228 &psmouse_attr_reach.dattr.attr,
229 &psmouse_attr_draghys.dattr.attr,
230 &psmouse_attr_mindrag.dattr.attr,
231 &psmouse_attr_thresh.dattr.attr,
232 &psmouse_attr_upthresh.dattr.attr,
[all …]
Dhgpk.c902 &psmouse_attr_powered.dattr); in hgpk_disconnect()
904 &psmouse_attr_hgpk_mode.dattr); in hgpk_disconnect()
908 &psmouse_attr_recalibrate.dattr); in hgpk_disconnect()
943 &psmouse_attr_powered.dattr); in hgpk_register()
950 &psmouse_attr_hgpk_mode.dattr); in hgpk_register()
960 &psmouse_attr_recalibrate.dattr); in hgpk_register()
972 &psmouse_attr_hgpk_mode.dattr); in hgpk_register()
975 &psmouse_attr_powered.dattr); in hgpk_register()
Dsentelic.c621 &psmouse_attr_setreg.dattr.attr,
622 &psmouse_attr_getreg.dattr.attr,
623 &psmouse_attr_page.dattr.attr,
624 &psmouse_attr_vscroll.dattr.attr,
625 &psmouse_attr_hscroll.dattr.attr,
626 &psmouse_attr_flags.dattr.attr,
627 &psmouse_attr_ver.dattr.attr,
Dpsmouse.h148 struct device_attribute dattr; member
155 #define to_psmouse_attr(a) container_of((a), struct psmouse_attribute, dattr)
164 .dattr = { \
Delantech.c1353 &psmouse_attr_reg_07.dattr.attr,
1354 &psmouse_attr_reg_10.dattr.attr,
1355 &psmouse_attr_reg_11.dattr.attr,
1356 &psmouse_attr_reg_20.dattr.attr,
1357 &psmouse_attr_reg_21.dattr.attr,
1358 &psmouse_attr_reg_22.dattr.attr,
1359 &psmouse_attr_reg_23.dattr.attr,
1360 &psmouse_attr_reg_24.dattr.attr,
1361 &psmouse_attr_reg_25.dattr.attr,
1362 &psmouse_attr_reg_26.dattr.attr,
[all …]
Dpsmouse-base.c98 &psmouse_attr_protocol.dattr.attr,
99 &psmouse_attr_rate.dattr.attr,
100 &psmouse_attr_resolution.dattr.attr,
101 &psmouse_attr_resetafter.dattr.attr,
102 &psmouse_attr_resync_time.dattr.attr,
1814 devattr != &psmouse_attr_protocol.dattr) in psmouse_attr_show_helper()
1835 devattr != &psmouse_attr_protocol.dattr) { in psmouse_attr_set_helper()
Dlogips2pp.c204 &psmouse_attr_smartscroll.dattr); in ps2pp_disconnect()
339 &psmouse_attr_smartscroll.dattr); in ps2pp_setup_protocol()
Dsynaptics.c1413 &psmouse_attr_disable_gesture.dattr); in synaptics_disconnect()
1644 &psmouse_attr_disable_gesture.dattr); in synaptics_init_ps2()
/drivers/input/misc/
Dims-pcu.c1038 struct device_attribute dattr; member
1044 struct device_attribute *dattr, in ims_pcu_attribute_show() argument
1050 container_of(dattr, struct ims_pcu_attribute, dattr); in ims_pcu_attribute_show()
1057 struct device_attribute *dattr, in ims_pcu_attribute_store() argument
1064 container_of(dattr, struct ims_pcu_attribute, dattr); in ims_pcu_attribute_store()
1098 .dattr = __ATTR(_field, _mode, \
1119 struct device_attribute *dattr, in ims_pcu_reset_device() argument
1151 struct device_attribute *dattr, in ims_pcu_update_firmware_store() argument
1203 struct device_attribute *dattr, in ims_pcu_update_firmware_status_show() argument
1216 &ims_pcu_attr_part_number.dattr.attr,
[all …]
/drivers/input/touchscreen/
Dedt-ft5x06.c352 struct device_attribute dattr; member
364 .dattr = __ATTR(_field, _mode, \
376 struct device_attribute *dattr, in edt_ft5x06_setting_show() argument
382 container_of(dattr, struct edt_ft5x06_attribute, dattr); in edt_ft5x06_setting_show()
422 dattr->attr.name, error); in edt_ft5x06_setting_show()
432 dattr->attr.name, val, *field); in edt_ft5x06_setting_show()
443 struct device_attribute *dattr, in edt_ft5x06_setting_store() argument
449 container_of(dattr, struct edt_ft5x06_attribute, dattr); in edt_ft5x06_setting_store()
496 dattr->attr.name, error); in edt_ft5x06_setting_store()
527 &edt_ft5x06_attr_gain.dattr.attr,
[all …]
Delants_i2c.c1144 struct device_attribute dattr; member
1156 .dattr = __ATTR(_field, S_IRUGO, \
1163 struct device_attribute *dattr, in elants_version_attribute_show() argument
1169 container_of(dattr, struct elants_version_attribute, dattr); in elants_version_attribute_show()
1198 &elants_ver_attr_fw_version.dattr.attr,
1199 &elants_ver_attr_hw_version.dattr.attr,
1200 &elants_ver_attr_test_version.dattr.attr,
1201 &elants_ver_attr_solution_version.dattr.attr,
1202 &elants_ver_attr_bc_version.dattr.attr,
1203 &elants_ver_attr_iap_version.dattr.attr,
/drivers/infiniband/hw/qib/
Dqib_sysfs.c499 struct qib_diagc_attr *dattr = in def_write_per_cpu() local
505 if (!strncmp(dattr->attr.name, "rc_acks", 7)) in def_write_per_cpu()
507 else if (!strncmp(dattr->attr.name, "rc_qacks", 8)) in def_write_per_cpu()
509 else if (!strncmp(dattr->attr.name, "rc_delayed_comp", 15)) in def_write_per_cpu()
514 *(u32 *)((char *)qibp + dattr->counter)); in def_write_per_cpu()
520 struct qib_diagc_attr *dattr = in diagc_attr_store() local
532 if (!strncmp(dattr->attr.name, "rc_acks", 7)) in diagc_attr_store()
534 else if (!strncmp(dattr->attr.name, "rc_qacks", 8)) in diagc_attr_store()
536 else if (!strncmp(dattr->attr.name, "rc_delayed_comp", 15)) in diagc_attr_store()
539 *(u32 *)((char *)qibp + dattr->counter) = val; in diagc_attr_store()
/drivers/cpuidle/
Dsysfs.c562 struct cpuidle_driver_attr *dattr = attr_to_driver_attr(attr); in cpuidle_driver_show() local
564 if (dattr->show) in cpuidle_driver_show()
565 ret = dattr->show(driver_kobj->drv, buf); in cpuidle_driver_show()
575 struct cpuidle_driver_attr *dattr = attr_to_driver_attr(attr); in cpuidle_driver_store() local
577 if (dattr->store) in cpuidle_driver_store()
578 ret = dattr->store(driver_kobj->drv, buf, size); in cpuidle_driver_store()
/drivers/hwmon/
Dhwmon.c105 struct device_attribute *dattr = to_dev_attr(attrs[i]); in hwmon_free_attrs() local
106 struct hwmon_device_attribute *hattr = to_hwmon_attr(dattr); in hwmon_free_attrs()
343 struct device_attribute *dattr; in hwmon_genattr() local
380 dattr = &hattr->dev_attr; in hwmon_genattr()
381 dattr->show = is_string ? hwmon_attr_show_string : hwmon_attr_show; in hwmon_genattr()
382 dattr->store = hwmon_attr_store; in hwmon_genattr()
384 a = &dattr->attr; in hwmon_genattr()
Dda9052-hwmon.c304 struct device_attribute *dattr = container_of(attr, in da9052_channel_is_visible() local
306 struct sensor_device_attribute *sattr = to_sensor_dev_attr(dattr); in da9052_channel_is_visible()
/drivers/input/rmi4/
Drmi_f01.c262 struct device_attribute *dattr, in rmi_driver_manufacturer_id_show() argument
276 struct device_attribute *dattr, char *buf) in rmi_driver_dom_show() argument
287 struct device_attribute *dattr, in rmi_driver_product_id_show() argument
299 struct device_attribute *dattr, in rmi_driver_firmware_id_show() argument
311 struct device_attribute *dattr, in rmi_driver_package_id_show() argument
Drmi_f34.c313 struct device_attribute *dattr, in rmi_driver_bootloader_id_show() argument
339 struct device_attribute *dattr, in rmi_driver_configuration_id_show() argument
459 struct device_attribute *dattr, in rmi_driver_update_fw_store() argument
493 struct device_attribute *dattr, in rmi_driver_update_fw_status_show() argument
/drivers/nvme/host/
Dlightnvm.c985 struct device_attribute *dattr, char *page) in nvm_dev_attr_show() argument
995 attr = &dattr->attr; in nvm_dev_attr_show()
1032 struct device_attribute *dattr, char *page) in nvm_dev_attr_show_12() argument
1042 attr = &dattr->attr; in nvm_dev_attr_show_12()
1095 struct device_attribute *dattr, char *page) in nvm_dev_attr_show_20() argument
1105 attr = &dattr->attr; in nvm_dev_attr_show_20()
/drivers/firewire/
Dcore-device.c248 struct device_attribute *dattr, char *buf) in show_immediate() argument
251 container_of(dattr, struct config_rom_attribute, attr); in show_immediate()
280 struct device_attribute *dattr, char *buf) in show_text_leaf() argument
283 container_of(dattr, struct config_rom_attribute, attr); in show_text_leaf()
/drivers/mfd/
Dlm3533-core.c363 struct device_attribute *dattr = to_dev_attr(attr); in lm3533_attr_is_visible() local
364 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(dattr); in lm3533_attr_is_visible()
/drivers/hwtracing/coresight/
Dcoresight-etm-perf.c652 struct device_attribute *dattr, in etm_perf_sink_name_show() argument
657 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show()