Lines Matching refs:device_attribute
641 static ssize_t sony_nc_sysfs_show(struct device *, struct device_attribute *,
643 static ssize_t sony_nc_sysfs_store(struct device *, struct device_attribute *,
656 struct device_attribute devattr; /* sysfs attribute */
831 struct device_attribute devattr;
837 struct device_attribute *attr, char *buffer) in sony_nc_handles_show()
969 static ssize_t sony_nc_sysfs_show(struct device *dev, struct device_attribute *attr, in sony_nc_sysfs_show()
991 struct device_attribute *attr, in sony_nc_sysfs_store()
1774 struct device_attribute mode_attr;
1775 struct device_attribute timeout_attr;
1803 struct device_attribute *attr, in sony_nc_kbd_backlight_mode_store()
1823 struct device_attribute *attr, char *buffer) in sony_nc_kbd_backlight_mode_show()
1847 struct device_attribute *attr, in sony_nc_kbd_backlight_timeout_store()
1867 struct device_attribute *attr, char *buffer) in sony_nc_kbd_backlight_timeout_show()
1957 struct device_attribute attrs[2];
1963 struct device_attribute *attr, in sony_nc_battery_care_limit_store()
2020 struct device_attribute *attr, char *buffer) in sony_nc_battery_care_limit_show()
2047 struct device_attribute *attr, char *buffer) in sony_nc_battery_care_health_show()
2121 struct device_attribute mode_attr;
2122 struct device_attribute profiles_attr;
2165 struct device_attribute *attr, char *buffer) in sony_nc_thermal_profiles_show()
2181 struct device_attribute *attr, in sony_nc_thermal_mode_store()
2205 struct device_attribute *attr, char *buffer) in sony_nc_thermal_mode_show()
2293 struct device_attribute attrs[LID_RESUME_MAX];
2300 struct device_attribute *attr, in sony_nc_lid_resume_store()
2341 struct device_attribute *attr, in sony_nc_lid_resume_show()
2433 struct device_attribute attr;
2475 struct device_attribute *attr, in sony_nc_gfx_switch_status_show()
2529 static struct device_attribute *hsc_handle;
2532 struct device_attribute *attr, in sony_nc_highspeed_charging_store()
2551 struct device_attribute *attr, char *buffer) in sony_nc_highspeed_charging_show()
2573 hsc_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_highspeed_charging_setup()
2603 static struct device_attribute *lowbatt_handle;
2606 struct device_attribute *attr, in sony_nc_lowbatt_store()
2625 struct device_attribute *attr, char *buffer) in sony_nc_lowbatt_show()
2639 lowbatt_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_lowbatt_setup()
2669 static struct device_attribute *fan_handle, *hsf_handle;
2672 struct device_attribute *attr, in sony_nc_hsfan_store()
2691 struct device_attribute *attr, char *buffer) in sony_nc_hsfan_show()
2702 struct device_attribute *attr, char *buffer) in sony_nc_fanspeed_show()
2716 fan_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_fanspeed_setup()
2720 hsf_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_fanspeed_setup()
2776 static struct device_attribute *uc_handle;
2779 struct device_attribute *attr, in sony_nc_usb_charge_store()
2798 struct device_attribute *attr, char *buffer) in sony_nc_usb_charge_show()
2820 uc_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_usb_charge_setup()
2850 static struct device_attribute *panel_handle;
2853 struct device_attribute *attr, char *buffer) in sony_nc_panelid_show()
2867 panel_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_panelid_setup()
2897 static struct device_attribute *sc_handle;
2900 struct device_attribute *attr, in sony_nc_smart_conn_store()
2922 sc_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_smart_conn_setup()
2953 struct device_attribute attr;
2959 struct device_attribute *attr, const char *buffer, size_t count) in sony_nc_touchpad_store()
2981 struct device_attribute *attr, char *buffer) in sony_nc_touchpad_show()
3887 struct device_attribute *attr, in sony_pic_wwanpower_store()
3905 struct device_attribute *attr, char *buffer) in sony_pic_wwanpower_show()
3926 struct device_attribute *attr, in sony_pic_bluetoothpower_store()
3944 struct device_attribute *attr, char *buffer) in sony_pic_bluetoothpower_show()
3967 struct device_attribute *attr, in sony_pic_fanspeed_store()
3984 struct device_attribute *attr, char *buffer) in sony_pic_fanspeed_show()
3994 struct device_attribute spic_attr_##_name = __ATTR(_name, \