Home
last modified time | relevance | path

Searched refs:bcare_ctl (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/x86/
H A Dsony-laptop.c1973 static struct battery_care_control *bcare_ctl; variable
2020 if (bcare_ctl->handle != 0x013f) in sony_nc_battery_care_limit_store()
2026 if (sony_call_snc_handle(bcare_ctl->handle, cmd | 0x0100, &result)) in sony_nc_battery_care_limit_store()
2037 if (sony_call_snc_handle(bcare_ctl->handle, 0x0000, &result)) in sony_nc_battery_care_limit_show()
2064 if (sony_call_snc_handle(bcare_ctl->handle, 0x0200, &health)) in sony_nc_battery_care_health_show()
2075 bcare_ctl = kzalloc(sizeof(struct battery_care_control), GFP_KERNEL); in sony_nc_battery_care_setup()
2076 if (!bcare_ctl) in sony_nc_battery_care_setup()
2079 bcare_ctl->handle = handle; in sony_nc_battery_care_setup()
2081 sysfs_attr_init(&bcare_ctl->attrs[0].attr); in sony_nc_battery_care_setup()
2082 bcare_ctl->attrs[0].attr.name = "battery_care_limiter"; in sony_nc_battery_care_setup()
[all …]