/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_event.c | 141 static void mlme_event_auth(struct wpa_driver_nl80211_data *drv, 147 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) && 148 drv->force_connect_cmd) { 166 os_memcpy(drv->auth_bssid, mgmt->sa, ETH_ALEN); 167 os_memset(drv->auth_attempt_bssid, 0, ETH_ALEN); 179 wpa_supplicant_event(drv->ctx, EVENT_AUTH, &event); 203 static void mlme_event_assoc(struct wpa_driver_nl80211_data *drv, 211 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) && 212 drv->force_connect_cmd) { 242 wpa_supplicant_event(drv->ctx, EVENT_ASSOC_REJECT, &event) 601 struct wpa_driver_nl80211_data *drv = bss->drv; local 850 struct wpa_driver_nl80211_data *drv = bss->drv; local 1582 struct wpa_driver_nl80211_data *drv = bss->drv; local 2156 struct wpa_driver_nl80211_data *drv = bss->drv; local 2359 struct wpa_driver_nl80211_data *drv, *tmp; local [all...] |
driver_atheros.c | 182 set80211priv(struct atheros_driver_data *drv, int op, void *data, int len) 193 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); 209 if (ioctl(drv->ioctl_sock, op, &iwr) < 0) { 212 __func__, drv->iface, op, 221 set80211param(struct atheros_driver_data *drv, int op, int arg) 226 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); 230 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_SETPARAM, &iwr) < 0) { 233 __func__, drv->iface, op, athr_get_param_name(op), 258 atheros_configure_wpa(struct atheros_driver_data *drv, 296 if (set80211param(drv, IEEE80211_PARAM_MCASTCIPHER, v)) 371 struct atheros_driver_data *drv = priv; local 403 struct atheros_driver_data *drv = priv; local 413 struct atheros_driver_data *drv = priv; local 451 struct atheros_driver_data *drv = priv; local 481 struct atheros_driver_data *drv = priv; local 572 struct atheros_driver_data *drv = priv; local 629 struct atheros_driver_data *drv = priv; local 664 struct atheros_driver_data *drv = priv; local 686 struct atheros_driver_data *drv = priv; local 738 struct atheros_driver_data *drv = priv; local 762 struct atheros_driver_data *drv = priv; local 786 struct atheros_driver_data *drv = ctx; local 835 struct atheros_driver_data *drv = ctx; local 973 struct atheros_driver_data *drv = priv; local 1009 struct atheros_driver_data *drv = priv; local 1042 struct atheros_driver_data *drv = priv; local 1079 struct atheros_driver_data *drv = priv; local 1465 struct atheros_driver_data *drv = ctx; local 1560 struct atheros_driver_data *drv = priv; local 1601 struct atheros_driver_data *drv = ctx; local 1609 struct atheros_driver_data *drv; local 1705 struct atheros_driver_data *drv = priv; local 1731 struct atheros_driver_data *drv = priv; local 1751 struct atheros_driver_data *drv = priv; local 1774 struct atheros_driver_data *drv = priv; local 1782 struct atheros_driver_data *drv = priv; local 1857 struct atheros_driver_data *drv = priv; local 1885 struct atheros_driver_data *drv = priv; local 1908 struct atheros_driver_data *drv = priv; local 1956 struct atheros_driver_data *drv = priv; local 2116 struct atheros_driver_data *drv = priv; local [all...] |
driver_nl80211.h | 54 struct wpa_driver_nl80211_data *drv; member in struct:i802_bss 219 void * nl80211_cmd(struct wpa_driver_nl80211_data *drv, 222 struct nl_msg * nl80211_drv_msg(struct wpa_driver_nl80211_data *drv, int flags, 225 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg, 228 int nl80211_create_iface(struct wpa_driver_nl80211_data *drv, 233 void nl80211_remove_iface(struct wpa_driver_nl80211_data *drv, int ifidx); 234 unsigned int nl80211_get_assoc_freq(struct wpa_driver_nl80211_data *drv); 235 int nl80211_get_assoc_ssid(struct wpa_driver_nl80211_data *drv, u8 *ssid); 237 void nl80211_mark_disconnected(struct wpa_driver_nl80211_data *drv); 238 struct i802_bss * get_bss_ifindex(struct wpa_driver_nl80211_data *drv, [all...] |
driver_nl80211_capa.c | 38 static u32 get_nl80211_protocol_features(struct wpa_driver_nl80211_data *drv) 47 if (!nl80211_cmd(drv, msg, 0, NL80211_CMD_GET_PROTOCOL_FEATURES)) { 52 if (send_and_recv_msgs(drv, msg, protocol_feature_handler, &feat) == 0) 60 struct wpa_driver_nl80211_data *drv; member in struct:wiphy_info_data 521 static void wiphy_info_extended_capab(struct wpa_driver_nl80211_data *drv, 527 if (!tb || drv->num_iface_ext_capa == NL80211_IFTYPE_MAX) 542 capa = &drv->iface_ext_capa[drv->num_iface_ext_capa]; 569 drv->num_iface_ext_capa++; 570 if (drv->num_iface_ext_capa == NL80211_IFTYPE_MAX 595 struct wpa_driver_nl80211_data *drv = info->drv; local 1861 struct wpa_driver_nl80211_data *drv = bss->drv; local [all...] |
driver_nl80211_android.c | 32 static void wpa_driver_send_hang_msg(struct wpa_driver_nl80211_data *drv) 37 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); 44 struct wpa_driver_nl80211_data *drv = bss->drv; local 62 ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr); 66 wpa_driver_send_hang_msg(drv); 78 struct wpa_driver_nl80211_data *drv = bss->drv; local 132 ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr); 137 wpa_driver_send_hang_msg(drv); [all...] |
/external/syslinux/gnu-efi/gnu-efi-3.0/apps/ |
drv0_use.c | 20 GNU_EFI_APPS_DRV0_PROTOCOL *drv = NULL; local 26 &drv, 35 Status = uefi_call_wrapper(drv->SayHello, 2, drv, L"Sample UEFI Driver"); 40 Status = uefi_call_wrapper(drv->GetNumberOfHello, 2, drv, &NumberOfHello);
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_wext.c | 49 struct wpa_driver_wext_data *drv = priv; local 54 if (drv->scan_complete_events) { 64 eloop_cancel_timeout(wpa_driver_wext_scan_timeout, drv, drv->ctx); 65 eloop_register_timeout(timeout, 0, wpa_driver_wext_scan_timeout, drv, 66 drv->ctx); 78 struct wpa_driver_wext_data *drv = priv; local 83 if (!drv->driver_is_started) { 118 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); 122 if ((ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr)) < 0) 204 struct wpa_driver_wext_data *drv = priv; local 283 struct wpa_driver_wext_data *drv = priv; local 375 struct wpa_driver_wext_data *drv = priv; local [all...] |
driver_cmd_nl80211.c | 39 static void wpa_driver_send_hang_msg(struct wpa_driver_nl80211_data *drv) 44 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); 73 struct wpa_driver_nl80211_data *drv = bss->drv; local 83 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); 89 drv = bss->drv; 96 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0); 97 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STOPPED"); 99 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1) [all...] |
/external/mesa3d/src/gallium/state_trackers/va/ |
config.c | 168 vlVaDriver *drv; local 176 drv = VL_VA_DRIVER(ctx); 178 if (!drv) 203 pipe_mutex_lock(drv->mutex); 204 *config_id = handle_table_add(drv->htab, config); 205 pipe_mutex_unlock(drv->mutex); 268 pipe_mutex_lock(drv->mutex); 269 *config_id = handle_table_add(drv->htab, config); 270 pipe_mutex_unlock(drv->mutex); 278 vlVaDriver *drv; local 306 vlVaDriver *drv; local [all...] |
image.c | 102 vlVaDriver *drv; local 112 drv = VL_VA_DRIVER(ctx); 117 pipe_mutex_lock(drv->mutex); 118 img->image_id = handle_table_add(drv->htab, img); 119 pipe_mutex_unlock(drv->mutex); 184 vlVaDriver *drv; local 196 drv = VL_VA_DRIVER(ctx); 198 if (!drv) 201 surf = handle_table_get(drv->htab, surface); 261 pipe_mutex_lock(drv->mutex) 281 vlVaDriver *drv; local 316 vlVaDriver *drv; local 428 vlVaDriver *drv; local [all...] |
postproc.c | 52 vlVaPostProcCompositor(vlVaDriver *drv, vlVaContext *context, 77 vl_compositor_clear_layers(&drv->cstate); 78 vl_compositor_set_buffer_layer(&drv->cstate, &drv->compositor, 0, src, 80 vl_compositor_set_layer_dst_area(&drv->cstate, 0, &dst_rect); 81 vl_compositor_render(&drv->cstate, &drv->compositor, surfaces[0], NULL, false); 83 drv->pipe->flush(drv->pipe, NULL, 0); 109 static VAStatus vlVaPostProcBlit(vlVaDriver *drv, vlVaContext *context [all...] |
picture.c | 42 vlVaDriver *drv; local 49 drv = VL_VA_DRIVER(ctx); 50 if (!drv) 53 pipe_mutex_lock(drv->mutex); 54 context = handle_table_get(drv->htab, context_id); 56 pipe_mutex_unlock(drv->mutex); 60 surf = handle_table_get(drv->htab, render_target); 61 pipe_mutex_unlock(drv->mutex); 90 vlVaGetReferenceFrame(vlVaDriver *drv, VASurfaceID surface_id, 93 vlVaSurface *surf = handle_table_get(drv->htab, surface_id) 471 vlVaDriver *drv; local 546 vlVaDriver *drv; local [all...] |
surface.c | 66 vlVaDriver *drv; local 72 drv = VL_VA_DRIVER(ctx); 73 pipe_mutex_lock(drv->mutex); 75 vlVaSurface *surf = handle_table_get(drv->htab, surface_list[i]); 77 pipe_mutex_unlock(drv->mutex); 84 handle_table_remove(drv->htab, surface_list[i]); 86 pipe_mutex_unlock(drv->mutex); 94 vlVaDriver *drv; local 101 drv = VL_VA_DRIVER(ctx); 102 if (!drv) 277 vlVaDriver *drv; local 375 vlVaDriver *drv; local 494 vlVaDriver *drv; local 574 vlVaDriver *drv; local [all...] |
/external/mesa3d/src/egl/main/ |
eglapi.c | 133 #define _EGL_CHECK_DISPLAY(disp, ret, drv) \ 135 drv = _eglCheckDisplay(disp, __func__); \ 136 if (!drv) \ 140 #define _EGL_CHECK_OBJECT(disp, type, obj, ret, drv) \ 142 drv = _eglCheck ## type(disp, obj, __func__); \ 143 if (!drv) \ 147 #define _EGL_CHECK_SURFACE(disp, surf, ret, drv) \ 148 _EGL_CHECK_OBJECT(disp, Surface, surf, ret, drv) 150 #define _EGL_CHECK_CONTEXT(disp, context, ret, drv) \ 151 _EGL_CHECK_OBJECT(disp, Context, context, ret, drv) 178 _EGLDriver *drv = _eglCheckDisplay(disp, msg); local 192 _EGLDriver *drv = _eglCheckDisplay(disp, msg); local 206 _EGLDriver *drv = _eglCheckDisplay(disp, msg); local 220 _EGLDriver *drv = _eglCheckDisplay(disp, msg); local 635 _EGLDriver *drv = disp->Driver; local 651 _EGLDriver *drv; local 681 _EGLDriver *drv; local 698 _EGLDriver *drv; local 717 _EGLDriver *drv; local 736 _EGLDriver *drv; local 764 _EGLDriver *drv; local 785 _EGLDriver *drv; local 833 _EGLDriver *drv; local 850 _EGLDriver *drv; local 978 _EGLDriver *drv; local 1066 _EGLDriver *drv; local 1088 _EGLDriver *drv; local 1105 _EGLDriver *drv; local 1121 _EGLDriver *drv; local 1137 _EGLDriver *drv; local 1153 _EGLDriver *drv; local 1170 _EGLDriver *drv; local 1195 _EGLDriver *drv; local 1219 _EGLDriver *drv; local 1262 _EGLDriver *drv; local 1284 _EGLDriver *drv; local 1327 _EGLDriver *drv; local 1477 _EGLDriver *drv; local 1505 _EGLDriver *drv; local 1525 _EGLDriver *drv; local 1582 _EGLDriver *drv; local 1606 _EGLDriver *drv; local 1720 _EGLDriver *drv; local 1742 _EGLDriver *drv; local 1780 _EGLDriver *drv; local 1828 _EGLDriver *drv; local 1844 _EGLDriver *drv; local 1898 _EGLDriver *drv; local 1924 _EGLDriver *drv; local 1949 _EGLDriver *drv; local 1971 _EGLDriver *drv; local 1994 _EGLDriver *drv; local 2014 _EGLDriver *drv; local 2035 _EGLDriver *drv; local 2057 _EGLDriver *drv; local 2081 _EGLDriver *drv; local 2103 _EGLDriver *drv; local 2127 _EGLDriver *drv; local 2150 _EGLDriver *drv; local 2448 _EGLDriver *drv; local 2471 _EGLDriver *drv; local [all...] |
egldriver.c | 75 _EGLDriver *drv; local 83 drv = mod->BuiltIn(NULL); 84 if (!drv || !drv->Name) 87 mod->Driver = drv; 236 _EGLDriver *drv = NULL; local 245 drv = dpy->Driver; 247 if (!drv->API.Initialize(drv, dpy)) 248 drv = NULL [all...] |
egldriver.h | 88 void (*Unload)(_EGLDriver *drv); 116 _eglInitDriverFallbacks(_EGLDriver *drv);
|
/frameworks/rs/driver/ |
rsdAllocation.cpp | 102 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 104 rsAssert(drv->textureID); 105 RSD_CALL_GL(glBindTexture, drv->glTarget, drv->textureID); 111 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); 118 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 120 RSD_CALL_GL(glBindTexture, drv->glTarget, drv->textureID) 161 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 199 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 224 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 372 DrvAllocation *drv = (DrvAllocation *)calloc(1, sizeof(DrvAllocation)); local 522 DrvAllocation *drv = (DrvAllocation *)calloc(1, sizeof(DrvAllocation)); local 535 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 630 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 657 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 701 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 707 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 735 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 777 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 821 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 841 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 905 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 1105 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local 1124 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local [all...] |
rsdFrameBuffer.cpp | 33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; 37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv; 48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; 53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv; 69 fb->mHal.drv = fbo; 71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 81 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; 94 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; 96 fb->mHal.drv = nullptr;
|
rsdScriptGroup.cpp | 36 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 38 sg->mHal.drv = dc->mCpuRef->createScriptGroup(sg); 39 return sg->mHal.drv != nullptr; 52 (RsdCpuReference::CpuScriptGroupBase *)sg->mHal.drv; 58 (RsdCpuReference::CpuScriptGroupBase *)sg->mHal.drv;
|
rsdBcc.cpp | 44 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 51 script->mHal.drv = cs; 58 RsdHal *dc = (RsdHal *)rsc->mHal.drv; 63 s->mHal.drv = cs; 98 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; 104 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; 109 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; 114 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; 122 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; 131 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; [all...] |
/frameworks/rs/rsov/driver/ |
rsovScriptGroup.cpp | 35 RSoVHal *dc = (RSoVHal *)rsc->mHal.drv; 37 sg->mHal.drv = dc->mCpuRef->createScriptGroup(sg); 38 return sg->mHal.drv != nullptr; 49 (RsdCpuReference::CpuScriptGroupBase *)sg->mHal.drv; 55 (RsdCpuReference::CpuScriptGroupBase *)sg->mHal.drv;
|
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 71 struct wpa_driver_nl80211_data *drv = bss->drv; local 78 dl_list_for_each(driver, &drv->global->interfaces, struct wpa_driver_nl80211_data, list) { 79 linux_set_iface_flags(drv->global->ioctl_sock, driver->first_bss->ifname, 1); 80 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STARTED"); 85 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); 100 if ((ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr)) < 0) { 123 dl_list_for_each(driver, &drv->global->interfaces, struct wpa_driver_nl80211_data, list) { 124 linux_set_iface_flags(drv->global->ioctl_sock, driver->first_bss->ifname, 0); 125 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STOPPED") [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
egl_dri2.h | 91 _EGLSurface* (*create_window_surface)(_EGLDriver *drv, _EGLDisplay *dpy, 96 _EGLSurface* (*create_pixmap_surface)(_EGLDriver *drv, _EGLDisplay *dpy, 101 _EGLSurface* (*create_pbuffer_surface)(_EGLDriver *drv, _EGLDisplay *dpy, 105 EGLBoolean (*destroy_surface)(_EGLDriver *drv, _EGLDisplay *dpy, 108 EGLBoolean (*swap_interval)(_EGLDriver *drv, _EGLDisplay *dpy, 111 _EGLImage* (*create_image)(_EGLDriver *drv, _EGLDisplay *dpy, 116 EGLBoolean (*swap_buffers)(_EGLDriver *drv, _EGLDisplay *dpy, 119 EGLBoolean (*swap_buffers_with_damage)(_EGLDriver *drv, _EGLDisplay *dpy, 123 EGLBoolean (*swap_buffers_region)(_EGLDriver *drv, _EGLDisplay *dpy, 127 EGLBoolean (*post_sub_buffer)(_EGLDriver *drv, _EGLDisplay *dpy [all...] |
/frameworks/rs/driver/runtime/ |
rs_structs.h | 37 void * drv; member in struct:Allocation::__anon41615 140 void * drv; member in struct:ProgramRaster::__anon41619 173 void *drv; member in struct:Sampler::__anon41621 209 void *drv; member in struct:Element::__anon41623 251 void *drv; member in struct:Type::__anon41625 290 void *drv; member in struct:Mesh::__anon41627
|
/external/ltp/testcases/kernel/device-drivers/base/tbase/ |
tbase.c | 100 static int test_device_match(struct device *dev, struct device_driver *drv) 103 printk("tbase: driver is %s\n", drv->name); 106 if (drv == &test_driver && dev == &test_device) { 415 struct device_driver *drv = dev->driver; local 424 driver_unregister(drv); 427 if (driver_register(drv)) { 488 struct device_driver *drv = &test_driver, *tmp = NULL; local 491 a = atomic_read(&drv->kobj.refcount); 494 if ((tmp = get_driver(drv))) { 503 if ((a == (atomic_read(&drv->kobj.refcount) - 1))) 548 struct device_driver *drv = &test_driver; local 609 struct device_driver *drv = &test_driver; local [all...] |