Lines Matching refs:rv
278 int rv, value; in store_sys_acpi() local
280 rv = parse_arg(buf, &value); in store_sys_acpi()
281 if (rv < 0) in store_sys_acpi()
282 return rv; in store_sys_acpi()
283 rv = set_acpi(eeepc, cm, value); in store_sys_acpi()
284 if (rv < 0) in store_sys_acpi()
381 int rv, value; in cpufv_store() local
387 rv = parse_arg(buf, &value); in cpufv_store()
388 if (rv < 0) in cpufv_store()
389 return rv; in cpufv_store()
392 rv = set_acpi(eeepc, CM_ASL_CPUFV, value); in cpufv_store()
393 if (rv) in cpufv_store()
394 return rv; in cpufv_store()
412 int rv, value; in cpufv_disabled_store() local
414 rv = parse_arg(buf, &value); in cpufv_disabled_store()
415 if (rv < 0) in cpufv_disabled_store()
416 return rv; in cpufv_disabled_store()
523 int rv; in eeepc_led_init() local
539 rv = led_classdev_register(&eeepc->platform_device->dev, in eeepc_led_init()
541 if (rv) { in eeepc_led_init()
543 return rv; in eeepc_led_init()
1048 int rv, value; in store_sys_hwmon() local
1050 rv = parse_arg(buf, &value); in store_sys_hwmon()
1051 if (rv < 0) in store_sys_hwmon()
1052 return rv; in store_sys_hwmon()