Searched refs:gfxs_ctl (Results 1 – 1 of 1) sorted by relevance
2459 static struct snc_gfx_switch_control *gfxs_ctl; variable2466 if (sony_call_snc_handle(gfxs_ctl->handle, in __sony_nc_gfx_switch_status_get()2467 gfxs_ctl->handle == 0x015B ? 0x0000 : 0x0100, in __sony_nc_gfx_switch_status_get()2471 switch (gfxs_ctl->handle) { in __sony_nc_gfx_switch_status_get()2517 gfxs_ctl = kzalloc(sizeof(struct snc_gfx_switch_control), GFP_KERNEL); in sony_nc_gfx_switch_setup()2518 if (!gfxs_ctl) in sony_nc_gfx_switch_setup()2521 gfxs_ctl->handle = handle; in sony_nc_gfx_switch_setup()2523 sysfs_attr_init(&gfxs_ctl->attr.attr); in sony_nc_gfx_switch_setup()2524 gfxs_ctl->attr.attr.name = "gfx_switch_status"; in sony_nc_gfx_switch_setup()2525 gfxs_ctl->attr.attr.mode = S_IRUGO; in sony_nc_gfx_switch_setup()[all …]