Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/
H A Dsony-laptop.c2346 lid_ctl->status = value; in sony_nc_lid_resume_store()
2360 (lid_ctl->status >> pos) & 0x01); in sony_nc_lid_resume_show()
2376 if (!lid_ctl) in sony_nc_lid_resume_setup()
2379 lid_ctl->status = result & 0x7; in sony_nc_lid_resume_setup()
2380 lid_ctl->handle = handle; in sony_nc_lid_resume_setup()
2414 kfree(lid_ctl); in sony_nc_lid_resume_setup()
2415 lid_ctl = NULL; in sony_nc_lid_resume_setup()
2424 if (lid_ctl) { in sony_nc_lid_resume_cleanup()
2426 if (!lid_ctl->attrs[i].attr.name) in sony_nc_lid_resume_cleanup()
2432 kfree(lid_ctl); in sony_nc_lid_resume_cleanup()
[all …]