Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/x86/
Dsony-laptop.c2468 static struct snc_gfx_switch_control *gfxs_ctl; variable
2475 if (sony_call_snc_handle(gfxs_ctl->handle, in __sony_nc_gfx_switch_status_get()
2476 gfxs_ctl->handle == 0x015B ? 0x0000 : 0x0100, in __sony_nc_gfx_switch_status_get()
2480 switch (gfxs_ctl->handle) { in __sony_nc_gfx_switch_status_get()
2526 gfxs_ctl = kzalloc(sizeof(struct snc_gfx_switch_control), GFP_KERNEL); in sony_nc_gfx_switch_setup()
2527 if (!gfxs_ctl) in sony_nc_gfx_switch_setup()
2530 gfxs_ctl->handle = handle; in sony_nc_gfx_switch_setup()
2532 sysfs_attr_init(&gfxs_ctl->attr.attr); in sony_nc_gfx_switch_setup()
2533 gfxs_ctl->attr.attr.name = "gfx_switch_status"; in sony_nc_gfx_switch_setup()
2534 gfxs_ctl->attr.attr.mode = S_IRUGO; in sony_nc_gfx_switch_setup()
[all …]