Lines Matching refs:result

79 	unsigned long long result;  in memory_get_cur_bandwidth()  local
89 &arg_list, &result); in memory_get_cur_bandwidth()
93 *value = result; in memory_get_cur_bandwidth()
141 int result = -ENODEV; in intel_menlow_memory_add() local
156 result = PTR_ERR(cdev); in intel_menlow_memory_add()
161 result = sysfs_create_link(&device->dev.kobj, in intel_menlow_memory_add()
163 if (result) in intel_menlow_memory_add()
166 result = sysfs_create_link(&cdev->device.kobj, in intel_menlow_memory_add()
168 if (result) { in intel_menlow_memory_add()
174 return result; in intel_menlow_memory_add()
178 return result; in intel_menlow_memory_add()
303 int result; in aux_show() local
305 result = sensor_get_auxtrip(attr->handle, idx, &value); in aux_show()
306 if (result) in aux_show()
307 return result; in aux_show()
329 int result; in aux_store() local
338 result = sensor_set_auxtrip(attr->handle, idx, in aux_store()
340 return result ? result : count; in aux_store()
377 int result; in intel_menlow_add_one_attribute() local
391 result = device_create_file(dev, &attr->attr); in intel_menlow_add_one_attribute()
392 if (result) { in intel_menlow_add_one_attribute()
394 return result; in intel_menlow_add_one_attribute()
410 int result; in intel_menlow_register_sensor() local
412 result = acpi_bus_get_private_data(handle, (void **)&thermal); in intel_menlow_register_sensor()
413 if (result) in intel_menlow_register_sensor()
425 result = intel_menlow_add_one_attribute("aux0", 0644, in intel_menlow_register_sensor()
428 if (result) in intel_menlow_register_sensor()
439 result = intel_menlow_add_one_attribute("aux1", 0644, in intel_menlow_register_sensor()
442 if (result) { in intel_menlow_register_sensor()
452 result = intel_menlow_add_one_attribute("bios_enabled", 0444, in intel_menlow_register_sensor()
455 if (result) { in intel_menlow_register_sensor()
487 int result = -ENODEV; in intel_menlow_module_init() local
492 return result; in intel_menlow_module_init()
500 result = acpi_bus_register_driver(&intel_menlow_memory_driver); in intel_menlow_module_init()
501 if (result) in intel_menlow_module_init()
502 return result; in intel_menlow_module_init()