/linux/drivers/input/touchscreen/ |
H A D | hycon-hy46xx.c | 147 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 …]
|
H A D | edt-ft5x06.c | 351 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 …]
|
H A D | elants_i2c.c | 1254 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/ |
H A D | trackpoint.c | 210 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 …]
|
H A D | hgpk.c | 902 &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()
|
H A D | psmouse.h | 150 struct device_attribute dattr; member 157 #define to_psmouse_attr(a) container_of((a), struct psmouse_attribute, dattr) 166 .dattr = { \
|
H A D | sentelic.c | 621 &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,
|
H A D | elantech.c | 1353 &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 …]
|
H A D | logips2pp.c | 204 &psmouse_attr_smartscroll.dattr); in ps2pp_disconnect() 339 &psmouse_attr_smartscroll.dattr); in ps2pp_setup_protocol()
|
H A D | psmouse-base.c | 98 &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()
|
H A D | synaptics.c | 1419 &psmouse_attr_disable_gesture.dattr); in synaptics_disconnect() 1650 &psmouse_attr_disable_gesture.dattr); in synaptics_init_ps2()
|
/linux/drivers/input/misc/ |
H A D | ims-pcu.c | 1032 struct device_attribute dattr; member 1038 struct device_attribute *dattr, in ims_pcu_attribute_show() argument 1044 container_of(dattr, struct ims_pcu_attribute, dattr); in ims_pcu_attribute_show() 1051 struct device_attribute *dattr, in ims_pcu_attribute_store() argument 1058 container_of(dattr, struct ims_pcu_attribute, dattr); in ims_pcu_attribute_store() 1091 .dattr = __ATTR(_field, _mode, \ 1112 struct device_attribute *dattr, in ims_pcu_reset_device() argument 1144 struct device_attribute *dattr, in ims_pcu_update_firmware_store() argument 1193 struct device_attribute *dattr, in ims_pcu_update_firmware_status_show() argument 1206 &ims_pcu_attr_part_number.dattr.attr, [all …]
|
/linux/drivers/cpuidle/ |
H A D | sysfs.c | 570 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/kernel/cgroup/ |
H A D | cpuset.c | 634 update_domain_attr(struct sched_domain_attr *dattr, struct cpuset *c) in update_domain_attr() argument 636 if (dattr->relax_domain_level < c->relax_domain_level) in update_domain_attr() 637 dattr->relax_domain_level = c->relax_domain_level; in update_domain_attr() 641 static void update_domain_attr_tree(struct sched_domain_attr *dattr, in update_domain_attr_tree() argument 656 update_domain_attr(dattr, cp); in update_domain_attr_tree() 726 struct sched_domain_attr *dattr; /* attributes for custom domains */ in generate_sched_domains() local 735 dattr = NULL; in generate_sched_domains() 746 dattr = kmalloc(sizeof(struct sched_domain_attr), GFP_KERNEL); in generate_sched_domains() 747 if (dattr) { in generate_sched_domains() 748 *dattr = SD_ATTR_INIT; in generate_sched_domains() [all …]
|
/linux/drivers/input/rmi4/ |
H A D | rmi_f01.c | 264 struct device_attribute *dattr, in rmi_driver_manufacturer_id_show() argument 277 struct device_attribute *dattr, char *buf) in rmi_driver_dom_show() argument 288 struct device_attribute *dattr, in rmi_driver_product_id_show() argument 300 struct device_attribute *dattr, in rmi_driver_firmware_id_show() argument 312 struct device_attribute *dattr, in rmi_driver_package_id_show() argument
|
H A D | rmi_f34.c | 313 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/hwmon/ |
H A D | hwmon.c | 121 struct device_attribute *dattr = to_dev_attr(attrs[i]); in hwmon_free_attrs() local 122 struct hwmon_device_attribute *hattr = to_hwmon_attr(dattr); in hwmon_free_attrs() 503 struct device_attribute *dattr; in hwmon_genattr() local 536 dattr = &hattr->dev_attr; in hwmon_genattr() 537 dattr->show = is_string ? hwmon_attr_show_string : hwmon_attr_show; in hwmon_genattr() 538 dattr->store = hwmon_attr_store; in hwmon_genattr() 540 a = &dattr->attr; in hwmon_genattr()
|
H A D | da9052-hwmon.c | 303 struct device_attribute *dattr = container_of(attr, in da9052_channel_is_visible() local 305 struct sensor_device_attribute *sattr = to_sensor_dev_attr(dattr); in da9052_channel_is_visible()
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.c | 772 struct device_attribute *dattr, in etm_perf_sink_name_show() argument 777 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_sink_name_show() 864 struct device_attribute *dattr, in etm_perf_cscfg_event_show() argument 869 ea = container_of(dattr, struct dev_ext_attribute, attr); in etm_perf_cscfg_event_show()
|
/linux/drivers/firewire/ |
H A D | core-device.c | 282 struct device_attribute *dattr, char *buf) in show_immediate() argument 285 container_of(dattr, struct config_rom_attribute, attr); in show_immediate() 330 struct device_attribute *dattr, char *buf) in show_text_leaf() argument 333 container_of(dattr, struct config_rom_attribute, attr); in show_text_leaf()
|
/linux/drivers/mfd/ |
H A D | lm3533-core.c | 361 struct device_attribute *dattr = to_dev_attr(attr); in lm3533_attr_is_visible() local 362 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(dattr); in lm3533_attr_is_visible()
|
/linux/arch/powerpc/sysdev/ |
H A D | fsl_rmu.c | 155 u32 dattr; member 687 desc->dattr = 0x28000000 | ((mport->index) << 20); in fsl_add_outb_message()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_res.h | 303 struct bnxt_qplib_dev_attr *dattr; member
|
H A D | qplib_sp.c | 671 if (_is_alloc_mr_unified(res->dattr->dev_cap_flags)) in bnxt_qplib_reg_mr() 682 if (_is_alloc_mr_unified(res->dattr->dev_cap_flags)) { in bnxt_qplib_reg_mr()
|
/linux/drivers/iio/ |
H A D | industrialio-buffer.c | 1478 struct device_attribute *dattr = to_dev_attr(attr); in iio_buffer_wrap_attr() local 1486 memcpy(&iio_attr->dev_attr, dattr, sizeof(iio_attr->dev_attr)); in iio_buffer_wrap_attr()
|