Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/platform/x86/
Dsony-laptop.c2956 static struct touchpad_control *tp_ctl; variable
2973 if (sony_call_snc_handle(tp_ctl->handle, in sony_nc_touchpad_store()
2985 if (sony_call_snc_handle(tp_ctl->handle, 0x000, &result)) in sony_nc_touchpad_show()
2996 tp_ctl = kzalloc(sizeof(struct touchpad_control), GFP_KERNEL); in sony_nc_touchpad_setup()
2997 if (!tp_ctl) in sony_nc_touchpad_setup()
3000 tp_ctl->handle = handle; in sony_nc_touchpad_setup()
3002 sysfs_attr_init(&tp_ctl->attr.attr); in sony_nc_touchpad_setup()
3003 tp_ctl->attr.attr.name = "touchpad"; in sony_nc_touchpad_setup()
3004 tp_ctl->attr.attr.mode = S_IRUGO | S_IWUSR; in sony_nc_touchpad_setup()
3005 tp_ctl->attr.show = sony_nc_touchpad_show; in sony_nc_touchpad_setup()
[all …]