Home
last modified time | relevance | path

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

/hardware/intel/common/libva/va/drm/
Dva_drm_auth_x11.c82 drm_auth_x11_init(DRMAuthX11 *auth) in drm_auth_x11_init() argument
95 auth->handle = dlopen(libva_x11_name, RTLD_LAZY | RTLD_GLOBAL); in drm_auth_x11_init()
96 if (!auth->handle) { in drm_auth_x11_init()
101 vtable = &auth->vtable; in drm_auth_x11_init()
106 if (!get_symbol(auth->handle, &vtable->va_dri2_query_extension, in drm_auth_x11_init()
109 if (!get_symbol(auth->handle, &vtable->va_dri2_query_version, in drm_auth_x11_init()
112 if (!get_symbol(auth->handle, &vtable->va_dri2_authenticate, in drm_auth_x11_init()
116 auth->display = vtable->x11_open_display(NULL); in drm_auth_x11_init()
117 if (!auth->display) in drm_auth_x11_init()
120 auth->window = DefaultRootWindow(auth->display); in drm_auth_x11_init()
[all …]
Dva_drm_auth.c53 int i, auth, pid, uid; in va_drm_is_authenticated() local
59 if (drmGetClient(fd, i, &auth, &pid, &uid, &magic, &iocs) != 0) in va_drm_is_authenticated()
61 is_authenticated = auth && (pid == client_pid || is_local_tid(pid)); in va_drm_is_authenticated()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dwlioctl.h3959 int32 auth; /* Open Vs Closed */ member