Home
last modified time | relevance | path

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

/Linux-v5.10/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()
Dpsmouse.h148 struct device_attribute dattr; member
155 #define to_psmouse_attr(a) container_of((a), struct psmouse_attribute, dattr)
164 .dattr = { \
Delantech.c1298 &psmouse_attr_reg_07.dattr.attr,
1299 &psmouse_attr_reg_10.dattr.attr,
1300 &psmouse_attr_reg_11.dattr.attr,
1301 &psmouse_attr_reg_20.dattr.attr,
1302 &psmouse_attr_reg_21.dattr.attr,
1303 &psmouse_attr_reg_22.dattr.attr,
1304 &psmouse_attr_reg_23.dattr.attr,
1305 &psmouse_attr_reg_24.dattr.attr,
1306 &psmouse_attr_reg_25.dattr.attr,
1307 &psmouse_attr_reg_26.dattr.attr,
[all …]
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,
Dlogips2pp.c204 &psmouse_attr_smartscroll.dattr); in ps2pp_disconnect()
339 &psmouse_attr_smartscroll.dattr); in ps2pp_setup_protocol()
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()
Dsynaptics.c1413 &psmouse_attr_disable_gesture.dattr); in synaptics_disconnect()
1643 &psmouse_attr_disable_gesture.dattr); in synaptics_init_ps2()
/Linux-v5.10/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 …]
/Linux-v5.10/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.c1099 struct device_attribute dattr; member
1111 .dattr = __ATTR(_field, S_IRUGO, \
1118 struct device_attribute *dattr, in elants_version_attribute_show() argument
1124 container_of(dattr, struct elants_version_attribute, dattr); in elants_version_attribute_show()
1153 &elants_ver_attr_fw_version.dattr.attr,
1154 &elants_ver_attr_hw_version.dattr.attr,
1155 &elants_ver_attr_test_version.dattr.attr,
1156 &elants_ver_attr_solution_version.dattr.attr,
1157 &elants_ver_attr_bc_version.dattr.attr,
1158 &elants_ver_attr_iap_version.dattr.attr,
/Linux-v5.10/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()
/Linux-v5.10/drivers/cpuidle/
Dsysfs.c561 struct cpuidle_driver_attr *dattr = attr_to_driver_attr(attr); in cpuidle_driver_show() local
563 if (dattr->show) in cpuidle_driver_show()
564 ret = dattr->show(driver_kobj->drv, buf); in cpuidle_driver_show()
574 struct cpuidle_driver_attr *dattr = attr_to_driver_attr(attr); in cpuidle_driver_store() local
576 if (dattr->store) in cpuidle_driver_store()
577 ret = dattr->store(driver_kobj->drv, buf, size); in cpuidle_driver_store()
/Linux-v5.10/kernel/cgroup/
Dcpuset.c650 update_domain_attr(struct sched_domain_attr *dattr, struct cpuset *c) in update_domain_attr() argument
652 if (dattr->relax_domain_level < c->relax_domain_level) in update_domain_attr()
653 dattr->relax_domain_level = c->relax_domain_level; in update_domain_attr()
657 static void update_domain_attr_tree(struct sched_domain_attr *dattr, in update_domain_attr_tree() argument
672 update_domain_attr(dattr, cp); in update_domain_attr_tree()
745 struct sched_domain_attr *dattr; /* attributes for custom domains */ in generate_sched_domains() local
752 dattr = NULL; in generate_sched_domains()
762 dattr = kmalloc(sizeof(struct sched_domain_attr), GFP_KERNEL); in generate_sched_domains()
763 if (dattr) { in generate_sched_domains()
764 *dattr = SD_ATTR_INIT; in generate_sched_domains()
[all …]
/Linux-v5.10/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()
341 struct device_attribute *dattr; in hwmon_genattr() local
378 dattr = &hattr->dev_attr; in hwmon_genattr()
379 dattr->show = is_string ? hwmon_attr_show_string : hwmon_attr_show; in hwmon_genattr()
380 dattr->store = hwmon_attr_store; in hwmon_genattr()
382 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()
/Linux-v5.10/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
/Linux-v5.10/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()
/Linux-v5.10/drivers/firewire/
Dcore-device.c249 struct device_attribute *dattr, char *buf) in show_immediate() argument
252 container_of(dattr, struct config_rom_attribute, attr); in show_immediate()
281 struct device_attribute *dattr, char *buf) in show_text_leaf() argument
284 container_of(dattr, struct config_rom_attribute, attr); in show_text_leaf()
/Linux-v5.10/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()
/Linux-v5.10/drivers/hwtracing/coresight/
Dcoresight-etm-perf.c531 struct device_attribute *dattr, in etm_perf_sink_name_show() argument
536 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show()
/Linux-v5.10/arch/powerpc/sysdev/
Dfsl_rmu.c155 u32 dattr; member
687 desc->dattr = 0x28000000 | ((mport->index) << 20); in fsl_add_outb_message()