/external/wpa_supplicant_8/src/drivers/ |
D | driver_roboswitch.c | 86 struct wpa_driver_roboswitch_data *drv, u8 reg) in wpa_driver_roboswitch_mdio_read() argument 88 struct mii_ioctl_data *mii = if_mii(&drv->ifr); in wpa_driver_roboswitch_mdio_read() 93 if (ioctl(drv->fd, SIOCGMIIREG, &drv->ifr) < 0) { in wpa_driver_roboswitch_mdio_read() 102 struct wpa_driver_roboswitch_data *drv, u8 reg, u16 val) in wpa_driver_roboswitch_mdio_write() argument 104 struct mii_ioctl_data *mii = if_mii(&drv->ifr); in wpa_driver_roboswitch_mdio_write() 110 if (ioctl(drv->fd, SIOCSMIIREG, &drv->ifr) < 0) { in wpa_driver_roboswitch_mdio_write() 116 static int wpa_driver_roboswitch_reg(struct wpa_driver_roboswitch_data *drv, in wpa_driver_roboswitch_reg() argument 122 wpa_driver_roboswitch_mdio_write(drv, ROBO_MII_PAGE, in wpa_driver_roboswitch_reg() 125 wpa_driver_roboswitch_mdio_write(drv, ROBO_MII_ADDR, (reg << 8) | op); in wpa_driver_roboswitch_reg() 129 if ((wpa_driver_roboswitch_mdio_read(drv, ROBO_MII_ADDR) & 3) in wpa_driver_roboswitch_reg() [all …]
|
D | driver_test.c | 44 struct wpa_driver_test_data *drv; member 108 static int wpa_driver_test_attach(struct wpa_driver_test_data *drv, 111 struct wpa_driver_test_data *drv); 124 static void test_driver_free_bsses(struct wpa_driver_test_data *drv) in test_driver_free_bsses() argument 128 dl_list_for_each_safe(bss, tmp, &drv->bss, struct test_driver_bss, in test_driver_free_bsses() 137 test_driver_get_cli(struct wpa_driver_test_data *drv, struct sockaddr_un *from, in test_driver_get_cli() argument 140 struct test_client_socket *cli = drv->cli; in test_driver_get_cli() 159 struct wpa_driver_test_data *drv = dbss->drv; in test_driver_send_eapol() local 165 if (drv->test_socket < 0) in test_driver_send_eapol() 168 cli = drv->cli; in test_driver_send_eapol() [all …]
|
D | driver_wext.c | 36 static int wpa_driver_wext_finish_drv_init(struct wpa_driver_wext_data *drv); 37 static void wpa_driver_wext_disconnect(struct wpa_driver_wext_data *drv); 41 int wpa_driver_wext_set_auth_param(struct wpa_driver_wext_data *drv, in wpa_driver_wext_set_auth_param() argument 48 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_auth_param() 52 if (ioctl(drv->ioctl_sock, SIOCSIWAUTH, &iwr) < 0) { in wpa_driver_wext_set_auth_param() 73 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_get_bssid() local 78 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_bssid() 80 if (ioctl(drv->ioctl_sock, SIOCGIWAP, &iwr) < 0) { in wpa_driver_wext_get_bssid() 98 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_set_bssid() local 103 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_bssid() [all …]
|
D | driver_macsec_qca.c | 257 static void __macsec_drv_init(struct macsec_qca_data *drv) in __macsec_drv_init() argument 263 wpa_printf(MSG_INFO, "%s: secy_id=%d", __func__, drv->secy_id); in __macsec_drv_init() 266 ret = nss_macsec_secy_en_set(drv->secy_id, TRUE); in __macsec_drv_init() 270 ret = nss_macsec_secy_sc_sa_mapping_mode_set(drv->secy_id, in __macsec_drv_init() 281 ret = nss_macsec_secy_rx_ctl_filt_set(drv->secy_id, 0, &rx_ctl_filt); in __macsec_drv_init() 290 ret = nss_macsec_secy_tx_ctl_filt_set(drv->secy_id, 0, &tx_ctl_filt); in __macsec_drv_init() 296 static void __macsec_drv_deinit(struct macsec_qca_data *drv) in __macsec_drv_deinit() argument 298 nss_macsec_secy_en_set(drv->secy_id, FALSE); in __macsec_drv_deinit() 299 nss_macsec_secy_rx_sc_del_all(drv->secy_id); in __macsec_drv_deinit() 300 nss_macsec_secy_tx_sc_del_all(drv->secy_id); in __macsec_drv_deinit() [all …]
|
D | driver_ndis.c | 40 int wpa_driver_register_event_cb(struct wpa_driver_ndis_data *drv); 46 static void wpa_driver_ndis_poll(void *drv); 48 static int wpa_driver_ndis_adapter_init(struct wpa_driver_ndis_data *drv); 49 static int wpa_driver_ndis_adapter_open(struct wpa_driver_ndis_data *drv); 50 static void wpa_driver_ndis_adapter_close(struct wpa_driver_ndis_data *drv); 450 static int ndis_get_oid(struct wpa_driver_ndis_data *drv, unsigned int oid, in ndis_get_oid() argument 465 o->ptcDeviceName = drv->adapter_name; in ndis_get_oid() 467 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_QUERY_OID_VALUE, in ndis_get_oid() 505 if (!PacketRequest(drv->adapter, FALSE, o)) { in ndis_get_oid() 525 static int ndis_set_oid(struct wpa_driver_ndis_data *drv, unsigned int oid, in ndis_set_oid() argument [all …]
|
D | driver_privsep.c | 30 static int wpa_priv_reg_cmd(struct wpa_driver_privsep_data *drv, int cmd) in wpa_priv_reg_cmd() argument 34 res = sendto(drv->priv_socket, &cmd, sizeof(cmd), 0, in wpa_priv_reg_cmd() 35 (struct sockaddr *) &drv->priv_addr, in wpa_priv_reg_cmd() 36 sizeof(drv->priv_addr)); in wpa_priv_reg_cmd() 43 static int wpa_priv_cmd(struct wpa_driver_privsep_data *drv, int cmd, in wpa_priv_cmd() argument 58 msg.msg_name = &drv->priv_addr; in wpa_priv_cmd() 59 msg.msg_namelen = sizeof(drv->priv_addr); in wpa_priv_cmd() 61 if (sendmsg(drv->cmd_socket, &msg, 0) < 0) { in wpa_priv_cmd() 72 FD_SET(drv->cmd_socket, &rfds); in wpa_priv_cmd() 75 res = select(drv->cmd_socket + 1, &rfds, NULL, NULL, &tv); in wpa_priv_cmd() [all …]
|
D | driver_bsd.c | 74 struct bsd_driver_data *drv = priv; in bsd_set80211() local 78 os_strlcpy(ireq.i_name, drv->ifname, sizeof(ireq.i_name)); in bsd_set80211() 84 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) { in bsd_set80211() 97 struct bsd_driver_data *drv = priv; in bsd_get80211() local 100 os_strlcpy(ireq->i_name, drv->ifname, sizeof(ireq->i_name)); in bsd_get80211() 105 if (ioctl(drv->sock, SIOCG80211, ireq) < 0) { in bsd_get80211() 114 get80211var(struct bsd_driver_data *drv, int op, void *arg, int arg_len) in get80211var() argument 118 if (bsd_get80211(drv, &ireq, op, arg, arg_len) < 0) in get80211var() 124 set80211var(struct bsd_driver_data *drv, int op, const void *arg, int arg_len) in set80211var() argument 126 return bsd_set80211(drv, op, 0, arg, arg_len); in set80211var() [all …]
|
D | driver_madwifi.c | 93 set80211priv(struct madwifi_driver_data *drv, int op, void *data, int len) in set80211priv() argument 99 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211priv() 122 if (ioctl(drv->ioctl_sock, op, &iwr) < 0) { in set80211priv() 195 set80211param(struct madwifi_driver_data *drv, int op, int arg) in set80211param() argument 200 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211param() 204 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_SETPARAM, &iwr) < 0) { in set80211param() 231 madwifi_configure_wpa(struct madwifi_driver_data *drv, in madwifi_configure_wpa() argument 258 if (set80211param(drv, IEEE80211_PARAM_MCASTCIPHER, v)) { in madwifi_configure_wpa() 265 if (set80211param(drv, IEEE80211_PARAM_MCASTKEYLEN, v)) { in madwifi_configure_wpa() 279 if (set80211param(drv, IEEE80211_PARAM_UCASTCIPHERS, v)) { in madwifi_configure_wpa() [all …]
|
D | driver_hostap.c | 58 static void handle_data(struct hostap_driver_data *drv, u8 *buf, size_t len, in handle_data() argument 82 wpa_supplicant_event(drv->hapd, EVENT_RX_FROM_UNKNOWN, &event); in handle_data() 109 drv_event_eapol_rx(drv->hapd, sa, pos, left); in handle_data() 119 static void handle_tx_callback(struct hostap_driver_data *drv, u8 *buf, in handle_tx_callback() argument 136 wpa_supplicant_event(drv->hapd, EVENT_TX_STATUS, &event); in handle_tx_callback() 140 static void handle_frame(struct hostap_driver_data *drv, u8 *buf, size_t len) in handle_frame() argument 181 handle_tx_callback(drv, buf, data_len, ver == 2 ? 1 : 0); in handle_frame() 193 wpa_supplicant_event(drv->hapd, EVENT_RX_MGMT, &event); in handle_frame() 200 handle_data(drv, buf, data_len, stype); in handle_frame() 211 struct hostap_driver_data *drv = eloop_ctx; in handle_read() local [all …]
|
D | driver_nl80211.c | 226 struct wpa_driver_nl80211_data *drv; member 365 wpa_driver_nl80211_finish_drv_init(struct wpa_driver_nl80211_data *drv, 367 static int wpa_driver_nl80211_mlme(struct wpa_driver_nl80211_data *drv, 371 struct wpa_driver_nl80211_data *drv); 414 static void add_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx); 415 static void del_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx); 416 static int have_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx); 423 static int nl80211_disable_11b_rates(struct wpa_driver_nl80211_data *drv, 426 static int nl80211_leave_ibss(struct wpa_driver_nl80211_data *drv); 428 struct wpa_driver_nl80211_data *drv); [all …]
|
D | driver_wired.c | 202 static int wired_init_sockets(struct wpa_driver_wired_data *drv, u8 *own_addr) in wired_init_sockets() argument 210 drv->sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_PAE)); in wired_init_sockets() 211 if (drv->sock < 0) { in wired_init_sockets() 216 if (eloop_register_read_sock(drv->sock, handle_read, drv->ctx, NULL)) { in wired_init_sockets() 222 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wired_init_sockets() 223 if (ioctl(drv->sock, SIOCGIFINDEX, &ifr) != 0) { in wired_init_sockets() 234 if (bind(drv->sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) { in wired_init_sockets() 240 if (wired_multicast_membership(drv->sock, ifr.ifr_ifindex, in wired_init_sockets() 248 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wired_init_sockets() 249 if (ioctl(drv->sock, SIOCGIFHWADDR, &ifr) != 0) { in wired_init_sockets() [all …]
|
D | driver_atheros.c | 178 set80211priv(struct atheros_driver_data *drv, int op, void *data, int len) in set80211priv() argument 189 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211priv() 205 if (ioctl(drv->ioctl_sock, op, &iwr) < 0) { in set80211priv() 208 __func__, drv->iface, op, in set80211priv() 217 set80211param(struct atheros_driver_data *drv, int op, int arg) in set80211param() argument 222 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211param() 226 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_SETPARAM, &iwr) < 0) { in set80211param() 229 "(%s) arg %d)", __func__, drv->iface, op, in set80211param() 254 atheros_configure_wpa(struct atheros_driver_data *drv, in atheros_configure_wpa() argument 292 if (set80211param(drv, IEEE80211_PARAM_MCASTCIPHER, v)) { in atheros_configure_wpa() [all …]
|
D | driver_openbsd.c | 31 struct openbsd_driver_data *drv = priv; in wpa_driver_openbsd_get_ssid() local 36 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wpa_driver_openbsd_get_ssid() 38 if (ioctl(drv->sock, SIOCG80211NWID, &ifr) < 0 || in wpa_driver_openbsd_get_ssid() 49 struct openbsd_driver_data *drv = priv; in wpa_driver_openbsd_get_bssid() local 52 os_strlcpy(id.i_name, drv->ifname, sizeof(id.i_name)); in wpa_driver_openbsd_get_bssid() 53 if (ioctl(drv->sock, SIOCG80211BSSID, &id) < 0) in wpa_driver_openbsd_get_bssid() 75 struct openbsd_driver_data *drv = priv; in wpa_driver_openbsd_set_key() local 82 os_strlcpy(keyavail.i_name, drv->ifname, sizeof(keyavail.i_name)); in wpa_driver_openbsd_set_key() 87 if (ioctl(drv->sock, SIOCS80211KEYAVAIL, &keyavail) < 0) in wpa_driver_openbsd_set_key() 96 struct openbsd_driver_data *drv; in wpa_driver_openbsd_init() local [all …]
|
D | driver_none.c | 24 struct none_driver_data *drv; in none_driver_hapd_init() local 26 drv = os_zalloc(sizeof(struct none_driver_data)); in none_driver_hapd_init() 27 if (drv == NULL) { in none_driver_hapd_init() 32 drv->hapd = hapd; in none_driver_hapd_init() 34 return drv; in none_driver_hapd_init() 40 struct none_driver_data *drv = priv; in none_driver_hapd_deinit() local 42 os_free(drv); in none_driver_hapd_deinit() 55 struct none_driver_data *drv; in none_driver_init() local 57 drv = os_zalloc(sizeof(struct none_driver_data)); in none_driver_init() 58 if (drv == NULL) { in none_driver_init() [all …]
|
D | driver_ndis_.c | 22 void wpa_driver_ndis_event_connect(struct wpa_driver_ndis_data *drv); 23 void wpa_driver_ndis_event_disconnect(struct wpa_driver_ndis_data *drv); 24 void wpa_driver_ndis_event_media_specific(struct wpa_driver_ndis_data *drv, 26 void wpa_driver_ndis_event_adapter_arrival(struct wpa_driver_ndis_data *drv); 27 void wpa_driver_ndis_event_adapter_removal(struct wpa_driver_ndis_data *drv); 41 static void wpa_driver_ndis_event_process(struct wpa_driver_ndis_data *drv, in wpa_driver_ndis_event_process() argument 68 wpa_driver_ndis_event_connect(drv); in wpa_driver_ndis_event_process() 71 wpa_driver_ndis_event_disconnect(drv); in wpa_driver_ndis_event_process() 74 wpa_driver_ndis_event_media_specific(drv, data, data_len); in wpa_driver_ndis_event_process() 77 wpa_driver_ndis_event_adapter_arrival(drv); in wpa_driver_ndis_event_process() [all …]
|
/external/mesa3d/src/egl/main/ |
D | eglfallbacks.c | 53 _eglInitDriverFallbacks(_EGLDriver *drv) in _eglInitDriverFallbacks() argument 55 memset(&drv->API, 0, sizeof(drv->API)); in _eglInitDriverFallbacks() 58 drv->API.Initialize = NULL; in _eglInitDriverFallbacks() 59 drv->API.Terminate = NULL; in _eglInitDriverFallbacks() 61 drv->API.GetConfigs = _eglGetConfigs; in _eglInitDriverFallbacks() 62 drv->API.ChooseConfig = _eglChooseConfig; in _eglInitDriverFallbacks() 63 drv->API.GetConfigAttrib = _eglGetConfigAttrib; in _eglInitDriverFallbacks() 65 drv->API.CreateContext = (CreateContext_t) _eglReturnFalse; in _eglInitDriverFallbacks() 66 drv->API.DestroyContext = (DestroyContext_t) _eglReturnFalse; in _eglInitDriverFallbacks() 67 drv->API.MakeCurrent = (MakeCurrent_t) _eglReturnFalse; in _eglInitDriverFallbacks() [all …]
|
D | eglapi.c | 130 #define _EGL_CHECK_DISPLAY(disp, ret, drv) \ argument 132 drv = _eglCheckDisplay(disp, __FUNCTION__); \ 133 if (!drv) \ 137 #define _EGL_CHECK_OBJECT(disp, type, obj, ret, drv) \ argument 139 drv = _eglCheck ## type(disp, obj, __FUNCTION__); \ 140 if (!drv) \ 144 #define _EGL_CHECK_SURFACE(disp, surf, ret, drv) \ argument 145 _EGL_CHECK_OBJECT(disp, Surface, surf, ret, drv) 147 #define _EGL_CHECK_CONTEXT(disp, context, ret, drv) \ argument 148 _EGL_CHECK_OBJECT(disp, Context, context, ret, drv) [all …]
|
D | eglapi.h | 49 typedef EGLBoolean (*GetConfigs_t)(_EGLDriver *drv, _EGLDisplay *dpy, EGLConfig *configs, EGLint co… 50 typedef EGLBoolean (*ChooseConfig_t)(_EGLDriver *drv, _EGLDisplay *dpy, const EGLint *attrib_list, … 51 typedef EGLBoolean (*GetConfigAttrib_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *config, EGLi… 54 typedef _EGLContext *(*CreateContext_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *config, _EGL… 55 typedef EGLBoolean (*DestroyContext_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLContext *ctx); 57 typedef EGLBoolean (*MakeCurrent_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *draw, _EGLSurfa… 58 typedef EGLBoolean (*QueryContext_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLContext *ctx, EGLint at… 61 typedef _EGLSurface *(*CreateWindowSurface_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *config… 62 typedef _EGLSurface *(*CreatePixmapSurface_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *config… 63 typedef _EGLSurface *(*CreatePbufferSurface_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *confi… [all …]
|
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
D | eglfallbacks.c | 53 _eglInitDriverFallbacks(_EGLDriver *drv) in _eglInitDriverFallbacks() argument 55 memset(&drv->API, 0, sizeof(drv->API)); in _eglInitDriverFallbacks() 58 drv->API.Initialize = NULL; in _eglInitDriverFallbacks() 59 drv->API.Terminate = NULL; in _eglInitDriverFallbacks() 61 drv->API.GetConfigs = _eglGetConfigs; in _eglInitDriverFallbacks() 62 drv->API.ChooseConfig = _eglChooseConfig; in _eglInitDriverFallbacks() 63 drv->API.GetConfigAttrib = _eglGetConfigAttrib; in _eglInitDriverFallbacks() 65 drv->API.CreateContext = (CreateContext_t) _eglReturnFalse; in _eglInitDriverFallbacks() 66 drv->API.DestroyContext = (DestroyContext_t) _eglReturnFalse; in _eglInitDriverFallbacks() 67 drv->API.MakeCurrent = (MakeCurrent_t) _eglReturnFalse; in _eglInitDriverFallbacks() [all …]
|
D | eglapi.c | 130 #define _EGL_CHECK_DISPLAY(disp, ret, drv) \ argument 132 drv = _eglCheckDisplay(disp, __FUNCTION__); \ 133 if (!drv) \ 137 #define _EGL_CHECK_OBJECT(disp, type, obj, ret, drv) \ argument 139 drv = _eglCheck ## type(disp, obj, __FUNCTION__); \ 140 if (!drv) \ 144 #define _EGL_CHECK_SURFACE(disp, surf, ret, drv) \ argument 145 _EGL_CHECK_OBJECT(disp, Surface, surf, ret, drv) 147 #define _EGL_CHECK_CONTEXT(disp, context, ret, drv) \ argument 148 _EGL_CHECK_OBJECT(disp, Context, context, ret, drv) [all …]
|
D | eglapi.h | 49 typedef EGLBoolean (*GetConfigs_t)(_EGLDriver *drv, _EGLDisplay *dpy, EGLConfig *configs, EGLint co… 50 typedef EGLBoolean (*ChooseConfig_t)(_EGLDriver *drv, _EGLDisplay *dpy, const EGLint *attrib_list, … 51 typedef EGLBoolean (*GetConfigAttrib_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *config, EGLi… 54 typedef _EGLContext *(*CreateContext_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *config, _EGL… 55 typedef EGLBoolean (*DestroyContext_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLContext *ctx); 57 typedef EGLBoolean (*MakeCurrent_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *draw, _EGLSurfa… 58 typedef EGLBoolean (*QueryContext_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLContext *ctx, EGLint at… 61 typedef _EGLSurface *(*CreateWindowSurface_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *config… 62 typedef _EGLSurface *(*CreatePixmapSurface_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *config… 63 typedef _EGLSurface *(*CreatePbufferSurface_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *confi… [all …]
|
/external/qemu/ |
D | block.c | 180 static int bdrv_is_whitelisted(BlockDriver *drv) in bdrv_is_whitelisted() argument 191 if (!strcmp(drv->format_name, *p)) { in bdrv_is_whitelisted() 200 BlockDriver *drv = bdrv_find_format(format_name); in bdrv_find_whitelisted_format() local 201 return drv && bdrv_is_whitelisted(drv) ? drv : NULL; in bdrv_find_whitelisted_format() 204 int bdrv_create(BlockDriver *drv, const char* filename, in bdrv_create() argument 207 if (!drv->bdrv_create) in bdrv_create() 210 return drv->bdrv_create(filename, options); in bdrv_create() 215 BlockDriver *drv; in bdrv_create_file() local 217 drv = bdrv_find_protocol(filename); in bdrv_create_file() 218 if (drv == NULL) { in bdrv_create_file() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
D | egl_g3d_api.c | 46 egl_g3d_choose_st(_EGLDriver *drv, _EGLContext *ctx, in egl_g3d_choose_st() argument 82 stapi = egl_g3d_get_st_api(drv, api); in egl_g3d_choose_st() 121 egl_g3d_choose_config(_EGLDriver *drv, _EGLDisplay *dpy, const EGLint *attribs, in egl_g3d_choose_config() argument 145 egl_g3d_create_context(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *conf, in egl_g3d_create_context() argument 170 gctx->stapi = egl_g3d_choose_st(drv, &gctx->base, &stattribs.profile); in egl_g3d_create_context() 206 egl_g3d_destroy_context(_EGLDriver *drv, _EGLDisplay *dpy, _EGLContext *ctx) in egl_g3d_destroy_context() argument 222 egl_g3d_create_surface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *conf, in egl_g3d_create_surface() argument 318 egl_g3d_create_window_surface(_EGLDriver *drv, _EGLDisplay *dpy, in egl_g3d_create_window_surface() argument 328 return egl_g3d_create_surface(drv, dpy, conf, &arg, attribs); in egl_g3d_create_window_surface() 332 egl_g3d_create_pixmap_surface(_EGLDriver *drv, _EGLDisplay *dpy, in egl_g3d_create_pixmap_surface() argument [all …]
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
D | egl_g3d_api.c | 46 egl_g3d_choose_st(_EGLDriver *drv, _EGLContext *ctx, in egl_g3d_choose_st() argument 82 stapi = egl_g3d_get_st_api(drv, api); in egl_g3d_choose_st() 121 egl_g3d_choose_config(_EGLDriver *drv, _EGLDisplay *dpy, const EGLint *attribs, in egl_g3d_choose_config() argument 145 egl_g3d_create_context(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *conf, in egl_g3d_create_context() argument 170 gctx->stapi = egl_g3d_choose_st(drv, &gctx->base, &stattribs.profile); in egl_g3d_create_context() 206 egl_g3d_destroy_context(_EGLDriver *drv, _EGLDisplay *dpy, _EGLContext *ctx) in egl_g3d_destroy_context() argument 222 egl_g3d_create_surface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *conf, in egl_g3d_create_surface() argument 318 egl_g3d_create_window_surface(_EGLDriver *drv, _EGLDisplay *dpy, in egl_g3d_create_window_surface() argument 328 return egl_g3d_create_surface(drv, dpy, conf, &arg, attribs); in egl_g3d_create_window_surface() 332 egl_g3d_create_pixmap_surface(_EGLDriver *drv, _EGLDisplay *dpy, in egl_g3d_create_pixmap_surface() argument [all …]
|
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
D | platform_x11.c | 177 dri2_create_surface(_EGLDriver *drv, _EGLDisplay *disp, EGLint type, in dri2_create_surface() argument 189 (void) drv; in dri2_create_surface() 271 dri2_create_window_surface(_EGLDriver *drv, _EGLDisplay *disp, in dri2_create_window_surface() argument 275 return dri2_create_surface(drv, disp, EGL_WINDOW_BIT, conf, in dri2_create_window_surface() 280 dri2_create_pixmap_surface(_EGLDriver *drv, _EGLDisplay *disp, in dri2_create_pixmap_surface() argument 284 return dri2_create_surface(drv, disp, EGL_PIXMAP_BIT, conf, in dri2_create_pixmap_surface() 289 dri2_create_pbuffer_surface(_EGLDriver *drv, _EGLDisplay *disp, in dri2_create_pbuffer_surface() argument 292 return dri2_create_surface(drv, disp, EGL_PBUFFER_BIT, conf, in dri2_create_pbuffer_surface() 297 dri2_destroy_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surf) in dri2_destroy_surface() argument 302 (void) drv; in dri2_destroy_surface() [all …]
|