Lines Matching refs:handle
67 acpi_handle handle = device->handle; in memory_get_max_bandwidth() local
77 status = acpi_evaluate_integer(handle, MEMORY_GET_BANDWIDTH, in memory_get_max_bandwidth()
93 acpi_handle handle = device->handle; in memory_get_cur_bandwidth() local
103 status = acpi_evaluate_integer(handle, MEMORY_GET_BANDWIDTH, in memory_get_cur_bandwidth()
116 acpi_handle handle = device->handle; in memory_set_cur_bandwidth() local
135 acpi_evaluate_integer(handle, MEMORY_SET_BANDWIDTH, &arg_list, in memory_set_cur_bandwidth()
162 if (!acpi_has_method(device->handle, MEMORY_GET_BANDWIDTH)) in intel_menlow_memory_add()
165 if (!acpi_has_method(device->handle, MEMORY_SET_BANDWIDTH)) in intel_menlow_memory_add()
239 acpi_handle handle; member
252 static int sensor_get_auxtrip(acpi_handle handle, int index, in sensor_get_auxtrip() argument
260 status = acpi_evaluate_integer(handle, index ? GET_AUX1 : GET_AUX0, in sensor_get_auxtrip()
274 static int sensor_set_auxtrip(acpi_handle handle, int index, int value) in sensor_set_auxtrip() argument
288 status = acpi_evaluate_integer(handle, index ? GET_AUX0 : GET_AUX1, in sensor_set_auxtrip()
296 status = acpi_evaluate_integer(handle, index ? SET_AUX1 : SET_AUX0, in sensor_set_auxtrip()
316 result = sensor_get_auxtrip(attr->handle, 0, &value); in aux0_show()
328 result = sensor_get_auxtrip(attr->handle, 1, &value); in aux1_show()
348 result = sensor_set_auxtrip(attr->handle, 0, CELSIUS_TO_DECI_KELVIN(value)); in aux0_store()
367 result = sensor_set_auxtrip(attr->handle, 1, CELSIUS_TO_DECI_KELVIN(value)); in aux1_store()
388 acpi_handle handle) in intel_menlow_add_one_attribute() argument
403 attr->handle = handle; in intel_menlow_add_one_attribute()
418 static acpi_status intel_menlow_register_sensor(acpi_handle handle, u32 lvl, in intel_menlow_register_sensor() argument
426 result = acpi_bus_get_private_data(handle, (void **)&thermal); in intel_menlow_register_sensor()
431 status = acpi_get_handle(handle, GET_AUX0, &dummy); in intel_menlow_register_sensor()
435 status = acpi_get_handle(handle, SET_AUX0, &dummy); in intel_menlow_register_sensor()
441 &thermal->device, handle); in intel_menlow_register_sensor()
445 status = acpi_get_handle(handle, GET_AUX1, &dummy); in intel_menlow_register_sensor()
449 status = acpi_get_handle(handle, SET_AUX1, &dummy); in intel_menlow_register_sensor()
455 &thermal->device, handle); in intel_menlow_register_sensor()
468 &thermal->device, handle); in intel_menlow_register_sensor()