Home
last modified time | relevance | path

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

12

/linux/drivers/input/touchscreen/
A Dhycon-hy46xx.c147 struct device_attribute dattr; member
156 .dattr = __ATTR(_field, _mode, \
167 .dattr = __ATTR(_field, _mode, \
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()
263 &hycon_hy46xx_attr_threshold.dattr.attr,
[all …]
A Dedt-ft5x06.c356 struct device_attribute dattr; member
368 .dattr = __ATTR(_field, _mode, \
386 container_of(dattr, struct edt_ft5x06_attribute, dattr); in edt_ft5x06_setting_show()
426 dattr->attr.name, error); in edt_ft5x06_setting_show()
436 dattr->attr.name, val, *field); in edt_ft5x06_setting_show()
447 struct device_attribute *dattr, in edt_ft5x06_setting_store() argument
453 container_of(dattr, struct edt_ft5x06_attribute, dattr); in edt_ft5x06_setting_store()
500 dattr->attr.name, error); in edt_ft5x06_setting_store()
531 &edt_ft5x06_attr_gain.dattr.attr,
532 &edt_ft5x06_attr_offset.dattr.attr,
[all …]
A 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/drivers/input/mouse/
A Dtrackpoint.c226 &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,
233 &psmouse_attr_ztime.dattr.attr,
234 &psmouse_attr_jenks.dattr.attr,
237 &psmouse_attr_skipback.dattr.attr,
[all …]
A 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()
A 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,
A Dpsmouse.h148 struct device_attribute dattr; member
155 #define to_psmouse_attr(a) container_of((a), struct psmouse_attribute, dattr)
164 .dattr = { \
A Delantech.c1352 &psmouse_attr_reg_07.dattr.attr,
1353 &psmouse_attr_reg_10.dattr.attr,
1354 &psmouse_attr_reg_11.dattr.attr,
1355 &psmouse_attr_reg_20.dattr.attr,
1356 &psmouse_attr_reg_21.dattr.attr,
1357 &psmouse_attr_reg_22.dattr.attr,
1358 &psmouse_attr_reg_23.dattr.attr,
1359 &psmouse_attr_reg_24.dattr.attr,
1360 &psmouse_attr_reg_25.dattr.attr,
1361 &psmouse_attr_reg_26.dattr.attr,
[all …]
A 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()
A Dlogips2pp.c204 &psmouse_attr_smartscroll.dattr); in ps2pp_disconnect()
339 &psmouse_attr_smartscroll.dattr); in ps2pp_setup_protocol()
A Dsynaptics.c1416 &psmouse_attr_disable_gesture.dattr); in synaptics_disconnect()
1646 &psmouse_attr_disable_gesture.dattr); in synaptics_init_ps2()
/linux/drivers/input/misc/
A Dims-pcu.c1038 struct device_attribute dattr; member
1050 container_of(dattr, struct ims_pcu_attribute, dattr); in ims_pcu_attribute_show()
1064 container_of(dattr, struct ims_pcu_attribute, dattr); in ims_pcu_attribute_store()
1098 .dattr = __ATTR(_field, _mode, \
1219 &ims_pcu_attr_fw_version.dattr.attr,
1220 &ims_pcu_attr_bl_version.dattr.attr,
1297 struct device_attribute *dattr, in ims_pcu_ofn_reg_data_show() argument
1339 struct device_attribute *dattr, in ims_pcu_ofn_reg_addr_show() argument
1377 struct device_attribute dattr; member
1389 container_of(dattr, struct ims_pcu_ofn_bit_attribute, dattr); in ims_pcu_ofn_bit_show()
[all …]
/linux/drivers/cpuidle/
A 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()
/linux/kernel/cgroup/
A Dcpuset.c699 dattr->relax_domain_level = c->relax_domain_level; in update_domain_attr()
718 update_domain_attr(dattr, cp); in update_domain_attr_tree()
798 dattr = NULL; in generate_sched_domains()
809 if (dattr) { in generate_sched_domains()
810 *dattr = SD_ATTR_INIT; in generate_sched_domains()
811 update_domain_attr_tree(dattr, &top_cpuset); in generate_sched_domains()
926 if (dattr) in generate_sched_domains()
927 *(dattr + nslot) = SD_ATTR_INIT; in generate_sched_domains()
934 if (dattr) in generate_sched_domains()
935 update_domain_attr_tree(dattr + nslot, b); in generate_sched_domains()
[all …]
/linux/drivers/hwmon/
A 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()
377 struct device_attribute *dattr; in hwmon_genattr() local
414 dattr = &hattr->dev_attr; in hwmon_genattr()
415 dattr->show = is_string ? hwmon_attr_show_string : hwmon_attr_show; in hwmon_genattr()
416 dattr->store = hwmon_attr_store; in hwmon_genattr()
418 a = &dattr->attr; in hwmon_genattr()
A 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/drivers/input/rmi4/
A 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
A 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/drivers/hwtracing/coresight/
A Dcoresight-etm-perf.c721 struct device_attribute *dattr, in etm_perf_sink_name_show() argument
726 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show()
813 struct device_attribute *dattr, in etm_perf_cscfg_event_show() argument
818 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_cscfg_event_show()
/linux/drivers/infiniband/hw/qib/
A 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/drivers/firewire/
A 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/drivers/mfd/
A 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/drivers/infiniband/hw/bnxt_re/
A Dqplib_res.h256 struct bnxt_qplib_dev_attr *dattr; member
/linux/arch/powerpc/sysdev/
A Dfsl_rmu.c155 u32 dattr; member
687 desc->dattr = 0x28000000 | ((mport->index) << 20); in fsl_add_outb_message()
/linux/drivers/iio/
A Dindustrialio-buffer.c1427 struct device_attribute *dattr = to_dev_attr(attr); in iio_buffer_wrap_attr() local
1435 memcpy(&iio_attr->dev_attr, dattr, sizeof(iio_attr->dev_attr)); in iio_buffer_wrap_attr()

Completed in 76 milliseconds

12