Lines Matching +defs:val +defs:buf
115 struct acpi_buffer buf = { ACPI_ALLOCATE_BUFFER, NULL }; in system76_get_object() local
165 static ssize_t battery_get_threshold(int which, char *buf) in battery_get_threshold()
192 static ssize_t battery_set_threshold(int which, const char *buf, size_t count) in battery_set_threshold()
229 struct device_attribute *attr, char *buf) in charge_control_start_threshold_show()
235 struct device_attribute *attr, const char *buf, size_t count) in charge_control_start_threshold_store()
243 struct device_attribute *attr, char *buf) in charge_control_end_threshold_show()
249 struct device_attribute *attr, const char *buf, size_t count) in charge_control_end_threshold_store()
348 char *buf) in kb_led_color_show()
362 const char *buf, in kb_led_color_store()
367 unsigned int val; in kb_led_color_store() local
522 int channel, long *val) in thermal_read()