Lines Matching refs:device_attribute

642 static ssize_t sony_nc_sysfs_show(struct device *, struct device_attribute *,
644 static ssize_t sony_nc_sysfs_store(struct device *, struct device_attribute *,
657 struct device_attribute devattr; /* sysfs attribute */
832 struct device_attribute devattr;
838 struct device_attribute *attr, char *buffer) in sony_nc_handles_show()
970 static ssize_t sony_nc_sysfs_show(struct device *dev, struct device_attribute *attr, in sony_nc_sysfs_show()
992 struct device_attribute *attr, in sony_nc_sysfs_store()
1776 struct device_attribute mode_attr;
1777 struct device_attribute timeout_attr;
1805 struct device_attribute *attr, in sony_nc_kbd_backlight_mode_store()
1825 struct device_attribute *attr, char *buffer) in sony_nc_kbd_backlight_mode_show()
1849 struct device_attribute *attr, in sony_nc_kbd_backlight_timeout_store()
1869 struct device_attribute *attr, char *buffer) in sony_nc_kbd_backlight_timeout_show()
1959 struct device_attribute attrs[2];
1965 struct device_attribute *attr, in sony_nc_battery_care_limit_store()
2022 struct device_attribute *attr, char *buffer) in sony_nc_battery_care_limit_show()
2049 struct device_attribute *attr, char *buffer) in sony_nc_battery_care_health_show()
2123 struct device_attribute mode_attr;
2124 struct device_attribute profiles_attr;
2167 struct device_attribute *attr, char *buffer) in sony_nc_thermal_profiles_show()
2183 struct device_attribute *attr, in sony_nc_thermal_mode_store()
2207 struct device_attribute *attr, char *buffer) in sony_nc_thermal_mode_show()
2295 struct device_attribute attrs[LID_RESUME_MAX];
2302 struct device_attribute *attr, in sony_nc_lid_resume_store()
2343 struct device_attribute *attr, in sony_nc_lid_resume_show()
2435 struct device_attribute attr;
2477 struct device_attribute *attr, in sony_nc_gfx_switch_status_show()
2531 static struct device_attribute *hsc_handle;
2534 struct device_attribute *attr, in sony_nc_highspeed_charging_store()
2553 struct device_attribute *attr, char *buffer) in sony_nc_highspeed_charging_show()
2575 hsc_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_highspeed_charging_setup()
2605 static struct device_attribute *lowbatt_handle;
2608 struct device_attribute *attr, in sony_nc_lowbatt_store()
2627 struct device_attribute *attr, char *buffer) in sony_nc_lowbatt_show()
2641 lowbatt_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_lowbatt_setup()
2671 static struct device_attribute *fan_handle, *hsf_handle;
2674 struct device_attribute *attr, in sony_nc_hsfan_store()
2693 struct device_attribute *attr, char *buffer) in sony_nc_hsfan_show()
2704 struct device_attribute *attr, char *buffer) in sony_nc_fanspeed_show()
2718 fan_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_fanspeed_setup()
2722 hsf_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_fanspeed_setup()
2778 static struct device_attribute *uc_handle;
2781 struct device_attribute *attr, in sony_nc_usb_charge_store()
2800 struct device_attribute *attr, char *buffer) in sony_nc_usb_charge_show()
2822 uc_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_usb_charge_setup()
2852 static struct device_attribute *panel_handle;
2855 struct device_attribute *attr, char *buffer) in sony_nc_panelid_show()
2869 panel_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_panelid_setup()
2899 static struct device_attribute *sc_handle;
2902 struct device_attribute *attr, in sony_nc_smart_conn_store()
2924 sc_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_smart_conn_setup()
2955 struct device_attribute attr;
2961 struct device_attribute *attr, const char *buffer, size_t count) in sony_nc_touchpad_store()
2983 struct device_attribute *attr, char *buffer) in sony_nc_touchpad_show()
3885 struct device_attribute *attr, in sony_pic_wwanpower_store()
3903 struct device_attribute *attr, char *buffer) in sony_pic_wwanpower_show()
3924 struct device_attribute *attr, in sony_pic_bluetoothpower_store()
3942 struct device_attribute *attr, char *buffer) in sony_pic_bluetoothpower_show()
3965 struct device_attribute *attr, in sony_pic_fanspeed_store()
3982 struct device_attribute *attr, char *buffer) in sony_pic_fanspeed_show()
3992 struct device_attribute spic_attr_##_name = __ATTR(_name, \