Home
last modified time | relevance | path

Searched refs:drv (Results 1 – 25 of 70) sorted by relevance

123

/external/wpa_supplicant_8/src/drivers/
Ddriver_roboswitch.c86 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()
103 struct wpa_driver_roboswitch_data *drv, u8 reg, u16 val) in wpa_driver_roboswitch_mdio_write() argument
105 struct mii_ioctl_data *mii = if_mii(&drv->ifr); in wpa_driver_roboswitch_mdio_write()
111 if (ioctl(drv->fd, SIOCSMIIREG, &drv->ifr) < 0) { in wpa_driver_roboswitch_mdio_write()
118 static int wpa_driver_roboswitch_reg(struct wpa_driver_roboswitch_data *drv, in wpa_driver_roboswitch_reg() argument
124 wpa_driver_roboswitch_mdio_write(drv, ROBO_MII_PAGE, in wpa_driver_roboswitch_reg()
127 wpa_driver_roboswitch_mdio_write(drv, ROBO_MII_ADDR, (reg << 8) | op); in wpa_driver_roboswitch_reg()
131 if ((wpa_driver_roboswitch_mdio_read(drv, ROBO_MII_ADDR) & 3) in wpa_driver_roboswitch_reg()
[all …]
Ddriver_wext.c37 static int wpa_driver_wext_finish_drv_init(struct wpa_driver_wext_data *drv);
38 static void wpa_driver_wext_disconnect(struct wpa_driver_wext_data *drv);
42 int wpa_driver_wext_set_auth_param(struct wpa_driver_wext_data *drv, in wpa_driver_wext_set_auth_param() argument
49 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_auth_param()
53 if (ioctl(drv->ioctl_sock, SIOCSIWAUTH, &iwr) < 0) { in wpa_driver_wext_set_auth_param()
74 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_get_bssid() local
79 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_bssid()
81 if (ioctl(drv->ioctl_sock, SIOCGIWAP, &iwr) < 0) { in wpa_driver_wext_get_bssid()
99 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_set_bssid() local
104 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_bssid()
[all …]
Ddriver_macsec_qca.c261 static void __macsec_drv_init(struct macsec_qca_data *drv) in __macsec_drv_init() argument
267 wpa_printf(MSG_INFO, "%s: secy_id=%d", __func__, drv->secy_id); in __macsec_drv_init()
270 ret = nss_macsec_secy_en_set(drv->secy_id, TRUE); in __macsec_drv_init()
274 ret = nss_macsec_secy_sc_sa_mapping_mode_set(drv->secy_id, in __macsec_drv_init()
285 ret = nss_macsec_secy_rx_ctl_filt_set(drv->secy_id, 0, &rx_ctl_filt); in __macsec_drv_init()
294 ret = nss_macsec_secy_tx_ctl_filt_set(drv->secy_id, 0, &tx_ctl_filt); in __macsec_drv_init()
300 static void __macsec_drv_deinit(struct macsec_qca_data *drv) in __macsec_drv_deinit() argument
302 nss_macsec_secy_en_set(drv->secy_id, FALSE); in __macsec_drv_deinit()
303 nss_macsec_secy_rx_sc_del_all(drv->secy_id); in __macsec_drv_deinit()
304 nss_macsec_secy_tx_sc_del_all(drv->secy_id); in __macsec_drv_deinit()
[all …]
Ddriver_bsd.c84 struct bsd_driver_data *drv; in bsd_get_drvindex() local
86 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { in bsd_get_drvindex()
87 if (drv->ifindex == ifindex) in bsd_get_drvindex()
88 return drv; in bsd_get_drvindex()
98 struct bsd_driver_data *drv; in bsd_get_drvname() local
100 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { in bsd_get_drvname()
101 if (os_strcmp(drv->ifname, ifname) == 0) in bsd_get_drvname()
102 return drv; in bsd_get_drvname()
111 struct bsd_driver_data *drv = priv; in bsd_set80211() local
114 if (drv->ifindex == 0 || drv->if_removed) in bsd_set80211()
[all …]
Ddriver_ndis.c41 int wpa_driver_register_event_cb(struct wpa_driver_ndis_data *drv);
47 static void wpa_driver_ndis_poll(void *drv);
49 static int wpa_driver_ndis_adapter_init(struct wpa_driver_ndis_data *drv);
50 static int wpa_driver_ndis_adapter_open(struct wpa_driver_ndis_data *drv);
51 static void wpa_driver_ndis_adapter_close(struct wpa_driver_ndis_data *drv);
451 static int ndis_get_oid(struct wpa_driver_ndis_data *drv, unsigned int oid, in ndis_get_oid() argument
466 o->ptcDeviceName = drv->adapter_name; in ndis_get_oid()
468 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_QUERY_OID_VALUE, in ndis_get_oid()
506 if (!PacketRequest(drv->adapter, FALSE, o)) { in ndis_get_oid()
526 static int ndis_set_oid(struct wpa_driver_ndis_data *drv, unsigned int oid, in ndis_set_oid() argument
[all …]
Ddriver_nl80211.c173 wpa_driver_nl80211_finish_drv_init(struct wpa_driver_nl80211_data *drv,
186 static void add_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx,
188 static void del_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx,
190 static int have_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx,
195 static int nl80211_disable_11b_rates(struct wpa_driver_nl80211_data *drv,
198 static int nl80211_leave_ibss(struct wpa_driver_nl80211_data *drv,
247 struct i802_bss * get_bss_ifindex(struct wpa_driver_nl80211_data *drv, in get_bss_ifindex() argument
252 for (bss = drv->first_bss; bss; bss = bss->next) { in get_bss_ifindex()
267 void nl80211_mark_disconnected(struct wpa_driver_nl80211_data *drv) in nl80211_mark_disconnected() argument
269 if (drv->associated) in nl80211_mark_disconnected()
[all …]
Ddriver_hostap.c58 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
172 handle_tx_callback(drv, buf, data_len, ver == 2 ? 1 : 0); in handle_frame()
184 wpa_supplicant_event(drv->hapd, EVENT_RX_MGMT, &event); in handle_frame()
191 handle_data(drv, buf, data_len, stype); in handle_frame()
202 struct hostap_driver_data *drv = eloop_ctx; in handle_read() local
[all …]
Ddriver_privsep.c30 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()
73 FD_SET(drv->cmd_socket, &rfds); in wpa_priv_cmd()
76 res = select(drv->cmd_socket + 1, &rfds, NULL, NULL, &tv); in wpa_priv_cmd()
[all …]
Ddriver_atheros.c182 set80211priv(struct atheros_driver_data *drv, int op, void *data, int len) in set80211priv() argument
193 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211priv()
209 if (ioctl(drv->ioctl_sock, op, &iwr) < 0) { in set80211priv()
212 __func__, drv->iface, op, in set80211priv()
221 set80211param(struct atheros_driver_data *drv, int op, int arg) in set80211param() argument
226 os_strlcpy(iwr.ifr_name, drv->iface, IFNAMSIZ); in set80211param()
230 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_SETPARAM, &iwr) < 0) { in set80211param()
233 __func__, drv->iface, op, athr_get_param_name(op), in set80211param()
258 atheros_configure_wpa(struct atheros_driver_data *drv, in atheros_configure_wpa() argument
296 if (set80211param(drv, IEEE80211_PARAM_MCASTCIPHER, v)) { in atheros_configure_wpa()
[all …]
Ddriver_wired.c203 static int wired_init_sockets(struct wpa_driver_wired_data *drv, u8 *own_addr) in wired_init_sockets() argument
211 drv->sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_PAE)); in wired_init_sockets()
212 if (drv->sock < 0) { in wired_init_sockets()
218 if (eloop_register_read_sock(drv->sock, handle_read, drv->ctx, NULL)) { in wired_init_sockets()
224 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wired_init_sockets()
225 if (ioctl(drv->sock, SIOCGIFINDEX, &ifr) != 0) { in wired_init_sockets()
237 if (bind(drv->sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) { in wired_init_sockets()
243 if (wired_multicast_membership(drv->sock, ifr.ifr_ifindex, in wired_init_sockets()
251 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wired_init_sockets()
252 if (ioctl(drv->sock, SIOCGIFHWADDR, &ifr) != 0) { in wired_init_sockets()
[all …]
Ddriver_nl80211_event.c141 static void mlme_event_auth(struct wpa_driver_nl80211_data *drv, in mlme_event_auth() argument
147 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) && in mlme_event_auth()
148 drv->force_connect_cmd) { in mlme_event_auth()
166 os_memcpy(drv->auth_bssid, mgmt->sa, ETH_ALEN); in mlme_event_auth()
167 os_memset(drv->auth_attempt_bssid, 0, ETH_ALEN); in mlme_event_auth()
179 wpa_supplicant_event(drv->ctx, EVENT_AUTH, &event); in mlme_event_auth()
203 static void mlme_event_assoc(struct wpa_driver_nl80211_data *drv, in mlme_event_assoc() argument
210 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) && in mlme_event_assoc()
211 drv->force_connect_cmd) { in mlme_event_assoc()
241 wpa_supplicant_event(drv->ctx, EVENT_ASSOC_REJECT, &event); in mlme_event_assoc()
[all …]
Ddriver_nl80211_scan.c77 struct wpa_driver_nl80211_data *drv, in nl80211_get_noise_for_scan_results() argument
82 msg = nl80211_drv_msg(drv, NLM_F_DUMP, NL80211_CMD_GET_SURVEY); in nl80211_get_noise_for_scan_results()
83 return send_and_recv_msgs(drv, msg, get_noise_for_scan_results, in nl80211_get_noise_for_scan_results()
98 struct wpa_driver_nl80211_data *drv = eloop_ctx; in wpa_driver_nl80211_scan_timeout() local
101 if (!wpa_driver_nl80211_abort_scan(drv->first_bss)) in wpa_driver_nl80211_scan_timeout()
106 if (drv->ap_scan_as_station != NL80211_IFTYPE_UNSPECIFIED) { in wpa_driver_nl80211_scan_timeout()
107 wpa_driver_nl80211_set_mode(drv->first_bss, in wpa_driver_nl80211_scan_timeout()
108 drv->ap_scan_as_station); in wpa_driver_nl80211_scan_timeout()
109 drv->ap_scan_as_station = NL80211_IFTYPE_UNSPECIFIED; in wpa_driver_nl80211_scan_timeout()
121 struct wpa_driver_nl80211_data *drv = bss->drv; in nl80211_scan_common() local
[all …]
Ddriver_openbsd.c31 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 …]
Ddriver_nl80211_monitor.c46 static void from_unknown_sta(struct wpa_driver_nl80211_data *drv, in from_unknown_sta() argument
63 wpa_supplicant_event(drv->ctx, EVENT_RX_FROM_UNKNOWN, &event); in from_unknown_sta()
67 static void handle_frame(struct wpa_driver_nl80211_data *drv, in handle_frame() argument
84 wpa_supplicant_event(drv->ctx, EVENT_RX_MGMT, &event); in handle_frame()
89 from_unknown_sta(drv, buf, len); in handle_frame()
92 from_unknown_sta(drv, buf, len); in handle_frame()
100 struct wpa_driver_nl80211_data *drv = eloop_ctx; in handle_monitor_read() local
160 handle_frame(drv, buf + iter._max_length, in handle_monitor_read()
163 handle_tx_callback(drv->ctx, buf + iter._max_length, in handle_monitor_read()
320 void nl80211_remove_monitor_interface(struct wpa_driver_nl80211_data *drv) in nl80211_remove_monitor_interface() argument
[all …]
Ddriver_none.c24 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 …]
Ddriver_ndis_.c22 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 …]
Ddriver_nl80211_capa.c38 static u32 get_nl80211_protocol_features(struct wpa_driver_nl80211_data *drv) in get_nl80211_protocol_features() argument
47 if (!nl80211_cmd(drv, msg, 0, NL80211_CMD_GET_PROTOCOL_FEATURES)) { in get_nl80211_protocol_features()
52 if (send_and_recv_msgs(drv, msg, protocol_feature_handler, &feat) == 0) in get_nl80211_protocol_features()
60 struct wpa_driver_nl80211_data *drv; member
488 struct wpa_driver_nl80211_data *drv = info->drv; in wiphy_info_handler() local
494 drv->wiphy_idx = nla_get_u32(tb[NL80211_ATTR_WIPHY]); in wiphy_info_handler()
497 os_strlcpy(drv->phyname, in wiphy_info_handler()
499 sizeof(drv->phyname)); in wiphy_info_handler()
563 drv->extended_capa == NULL) { in wiphy_info_handler()
564 drv->extended_capa = in wiphy_info_handler()
[all …]
Ddriver_nl80211.h54 struct wpa_driver_nl80211_data *drv; member
207 void * nl80211_cmd(struct wpa_driver_nl80211_data *drv,
210 struct nl_msg * nl80211_drv_msg(struct wpa_driver_nl80211_data *drv, int flags,
213 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
216 int nl80211_create_iface(struct wpa_driver_nl80211_data *drv,
221 void nl80211_remove_iface(struct wpa_driver_nl80211_data *drv, int ifidx);
222 unsigned int nl80211_get_assoc_freq(struct wpa_driver_nl80211_data *drv);
224 void nl80211_mark_disconnected(struct wpa_driver_nl80211_data *drv);
225 struct i802_bss * get_bss_ifindex(struct wpa_driver_nl80211_data *drv,
229 int wpa_driver_nl80211_authenticate_retry(struct wpa_driver_nl80211_data *drv);
[all …]
/external/mesa3d/src/egl/main/
Deglfallbacks.c53 _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 …]
Deglapi.c130 #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 …]
Deglapi.h49 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/drm_gralloc/
Dgralloc_drm.cpp59 struct gralloc_drm_drv_t *drv = NULL; in init_drv_from_fd() local
71 drv = gralloc_drm_drv_create_for_pipe(fd, version->name); in init_drv_from_fd()
75 if (!drv && !strcmp(version->name, "i915")) in init_drv_from_fd()
76 drv = gralloc_drm_drv_create_for_intel(fd); in init_drv_from_fd()
79 if (!drv && !strcmp(version->name, "radeon")) in init_drv_from_fd()
80 drv = gralloc_drm_drv_create_for_radeon(fd); in init_drv_from_fd()
83 if (!drv && !strcmp(version->name, "rockchip")) in init_drv_from_fd()
84 drv = gralloc_drm_drv_create_for_rockchip(fd); in init_drv_from_fd()
87 if (!drv && !strcmp(version->name, "nouveau")) in init_drv_from_fd()
88 drv = gralloc_drm_drv_create_for_nouveau(fd); in init_drv_from_fd()
[all …]
Dgralloc_drm_priv.h40 struct gralloc_drm_drv_t *drv; member
52 void (*destroy)(struct gralloc_drm_drv_t *drv);
55 struct gralloc_drm_bo_t *(*alloc)(struct gralloc_drm_drv_t *drv,
59 void (*free)(struct gralloc_drm_drv_t *drv,
63 int (*map)(struct gralloc_drm_drv_t *drv,
68 void (*unmap)(struct gralloc_drm_drv_t *drv,
72 void (*resolve_format)(struct gralloc_drm_drv_t *drv,
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d_api.c46 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/egl/drivers/dri2/
Dplatform_x11.c177 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 …]

123