Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/input/touchscreen/
Dhycon-hy46xx.c147 struct device_attribute dattr; member
156 .dattr = __ATTR(_field, _mode, \
167 .dattr = __ATTR(_field, _mode, \
177 struct device_attribute *dattr, char *buf) in hycon_hy46xx_setting_show() argument
182 container_of(dattr, struct hycon_hy46xx_attribute, dattr); in hycon_hy46xx_setting_show()
194 dattr->attr.name, error); in hycon_hy46xx_setting_show()
201 dattr->attr.name, val, *field); in hycon_hy46xx_setting_show()
213 struct device_attribute *dattr, in hycon_hy46xx_setting_store() argument
219 container_of(dattr, struct hycon_hy46xx_attribute, dattr); in hycon_hy46xx_setting_store()
239 dattr->attr.name, error); in hycon_hy46xx_setting_store()
[all …]
Dedt-ft5x06.c351 struct device_attribute dattr; member
363 .dattr = __ATTR(_field, _mode, \
375 struct device_attribute *dattr, in edt_ft5x06_setting_show() argument
381 container_of(dattr, struct edt_ft5x06_attribute, dattr); in edt_ft5x06_setting_show()
420 dattr->attr.name, error); in edt_ft5x06_setting_show()
430 dattr->attr.name, val, *field); in edt_ft5x06_setting_show()
441 struct device_attribute *dattr, in edt_ft5x06_setting_store() argument
447 container_of(dattr, struct edt_ft5x06_attribute, dattr); in edt_ft5x06_setting_store()
494 dattr->attr.name, error); in edt_ft5x06_setting_store()
571 &edt_ft5x06_attr_gain.dattr.attr,
[all …]
Delants_i2c.c1254 struct device_attribute dattr; member
1266 .dattr = __ATTR(_field, S_IRUGO, \
1273 struct device_attribute *dattr, in elants_version_attribute_show() argument
1279 container_of(dattr, struct elants_version_attribute, dattr); in elants_version_attribute_show()
1308 &elants_ver_attr_fw_version.dattr.attr,
1309 &elants_ver_attr_hw_version.dattr.attr,
1310 &elants_ver_attr_test_version.dattr.attr,
1311 &elants_ver_attr_solution_version.dattr.attr,
1312 &elants_ver_attr_bc_version.dattr.attr,
1313 &elants_ver_attr_iap_version.dattr.attr,
/linux-6.6.21/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.h150 struct device_attribute dattr; member
157 #define to_psmouse_attr(a) container_of((a), struct psmouse_attribute, dattr)
166 .dattr = { \
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,
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 …]
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,
1798 devattr != &psmouse_attr_protocol.dattr) in psmouse_attr_show_helper()
1819 devattr != &psmouse_attr_protocol.dattr) { in psmouse_attr_set_helper()
Dsynaptics.c1418 &psmouse_attr_disable_gesture.dattr); in synaptics_disconnect()
1649 &psmouse_attr_disable_gesture.dattr); in synaptics_init_ps2()
/linux-6.6.21/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-6.6.21/drivers/cpuidle/
Dsysfs.c570 struct cpuidle_driver_attr *dattr = attr_to_driver_attr(attr); in cpuidle_driver_show() local
572 if (dattr->show) in cpuidle_driver_show()
573 ret = dattr->show(driver_kobj->drv, buf); in cpuidle_driver_show()
583 struct cpuidle_driver_attr *dattr = attr_to_driver_attr(attr); in cpuidle_driver_store() local
585 if (dattr->store) in cpuidle_driver_store()
586 ret = dattr->store(driver_kobj->drv, buf, size); in cpuidle_driver_store()
/linux-6.6.21/drivers/input/rmi4/
Drmi_f01.c264 struct device_attribute *dattr, in rmi_driver_manufacturer_id_show() argument
278 struct device_attribute *dattr, char *buf) in rmi_driver_dom_show() argument
289 struct device_attribute *dattr, in rmi_driver_product_id_show() argument
301 struct device_attribute *dattr, in rmi_driver_firmware_id_show() argument
313 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-6.6.21/drivers/hwmon/
Dhwmon.c120 struct device_attribute *dattr = to_dev_attr(attrs[i]); in hwmon_free_attrs() local
121 struct hwmon_device_attribute *hattr = to_hwmon_attr(dattr); in hwmon_free_attrs()
394 struct device_attribute *dattr; in hwmon_genattr() local
431 dattr = &hattr->dev_attr; in hwmon_genattr()
432 dattr->show = is_string ? hwmon_attr_show_string : hwmon_attr_show; in hwmon_genattr()
433 dattr->store = hwmon_attr_store; in hwmon_genattr()
435 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-6.6.21/kernel/cgroup/
Dcpuset.c805 update_domain_attr(struct sched_domain_attr *dattr, struct cpuset *c) in update_domain_attr() argument
807 if (dattr->relax_domain_level < c->relax_domain_level) in update_domain_attr()
808 dattr->relax_domain_level = c->relax_domain_level; in update_domain_attr()
812 static void update_domain_attr_tree(struct sched_domain_attr *dattr, in update_domain_attr_tree() argument
827 update_domain_attr(dattr, cp); in update_domain_attr_tree()
900 struct sched_domain_attr *dattr; /* attributes for custom domains */ in generate_sched_domains() local
907 dattr = NULL; in generate_sched_domains()
917 dattr = kmalloc(sizeof(struct sched_domain_attr), GFP_KERNEL); in generate_sched_domains()
918 if (dattr) { in generate_sched_domains()
919 *dattr = SD_ATTR_INIT; in generate_sched_domains()
[all …]
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-etm-perf.c755 struct device_attribute *dattr, in etm_perf_sink_name_show() argument
760 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show()
847 struct device_attribute *dattr, in etm_perf_cscfg_event_show() argument
852 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_cscfg_event_show()
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_sysfs.c379 struct qib_diagc_attr *dattr = in diagc_attr_show() local
384 return sysfs_emit(buf, "%llu\n", *((u64 *)qibp + dattr->counter)); in diagc_attr_show()
391 struct qib_diagc_attr *dattr = in diagc_attr_store() local
401 *((u64 *)qibp + dattr->counter) = val; in diagc_attr_store()
/linux-6.6.21/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()
/linux-6.6.21/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-6.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_res.h276 struct bnxt_qplib_dev_attr *dattr; member
/linux-6.6.21/arch/powerpc/sysdev/
Dfsl_rmu.c155 u32 dattr; member
687 desc->dattr = 0x28000000 | ((mport->index) << 20); in fsl_add_outb_message()
/linux-6.6.21/drivers/perf/hisilicon/
Dhns3_pmu.c894 struct device_attribute *dattr; in hns3_pmu_get_pmu_event() local
900 dattr = container_of(attr, struct device_attribute, attr); in hns3_pmu_get_pmu_event()
901 eattr = container_of(dattr, struct dev_ext_attribute, attr); in hns3_pmu_get_pmu_event()

12