Home
last modified time | relevance | path

Searched refs:num_modes (Results 1 – 25 of 38) sorted by relevance

12

/external/mesa3d/src/egl/main/
Deglscreen.c86 _eglInitScreen(_EGLScreen *screen, _EGLDisplay *dpy, EGLint num_modes) in _eglInitScreen() argument
91 screen->NumModes = num_modes; in _eglInitScreen()
95 if (num_modes > _EGL_SCREEN_MAX_MODES) in _eglInitScreen()
96 num_modes = _EGL_SCREEN_MAX_MODES; in _eglInitScreen()
97 screen->Modes = (_EGLMode *) calloc(num_modes, sizeof(*screen->Modes)); in _eglInitScreen()
98 screen->NumModes = (screen->Modes) ? num_modes : 0; in _eglInitScreen()
Deglmode.c262 EGLint modes_size, EGLint *num_modes) in _eglChooseModeMESA() argument
296 *num_modes = count; in _eglChooseModeMESA()
309 EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes) in _eglGetModesMESA() argument
313 *num_modes = MIN2(scrn->NumModes, modes_size); in _eglGetModesMESA()
314 for (i = 0; i < *num_modes; i++) { in _eglGetModesMESA()
320 *num_modes = scrn->NumModes; in _eglGetModesMESA()
Deglmode.h68 EGLint modes_size, EGLint *num_modes);
73 EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes);
Deglscreen.h71 _eglInitScreen(_EGLScreen *screen, _EGLDisplay *dpy, EGLint num_modes);
Deglapi.h84 …reen *screen, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes);
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c1202 u16 *num_modes; member
1396 *phy_info->num_modes + 1, in phy_info_band()
1404 mode = &phy_info->modes[*(phy_info->num_modes)]; in phy_info_band()
1421 *(phy_info->num_modes) += 1; in phy_info_band()
1425 mode = &phy_info->modes[*(phy_info->num_modes) - 1]; in phy_info_band()
1475 u16 *num_modes) in wpa_driver_nl80211_postprocess_modes() argument
1482 for (m = 0; m < *num_modes; m++) { in wpa_driver_nl80211_postprocess_modes()
1502 for (m = 0; m < *num_modes; m++) { in wpa_driver_nl80211_postprocess_modes()
1512 nmodes = os_realloc_array(modes, *num_modes + 1, sizeof(*nmodes)); in wpa_driver_nl80211_postprocess_modes()
1516 mode = &nmodes[*num_modes]; in wpa_driver_nl80211_postprocess_modes()
[all …]
Ddriver_nl80211.h262 nl80211_get_hw_feature_data(void *priv, u16 *num_modes, u16 *flags);
Ddriver_hostap.c1092 u16 *num_modes, in hostap_get_hw_feature_data() argument
1106 *num_modes = 1; in hostap_get_hw_feature_data()
/external/mesa3d/include/EGL/
Deglmesaext.h56 …nMESA screen, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes);
57 …SA(EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes);
69 …nMESA screen, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes);
70 …) (EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes);
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/
Ddxgi_native.cpp395 unsigned num_modes; member
409 num_modes = 0; in GalliumDXGIOutput()
413 modes = parent->display->modeset->get_modes(parent->display, connector, (int*)&num_modes); in GalliumDXGIOutput()
414 if(modes && num_modes) in GalliumDXGIOutput()
416 dxgi_modes = new DXGI_MODE_DESC[num_modes]; in GalliumDXGIOutput()
417 for(unsigned i = 0; i < num_modes; ++i) in GalliumDXGIOutput()
479 *pcount = num_modes; in GetDisplayModeList()
483 unsigned copy_modes = std::min(num_modes, *pcount); in GetDisplayModeList()
489 *pcount = num_modes; in GetDisplayModeList()
491 if(copy_modes < num_modes) in GetDisplayModeList()
/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c254 unsigned num_modes; in driCreateConfigs() local
326 num_modes = num_depth_stencil_bits * num_db_modes * num_accum_bits * num_msaa_modes; in driCreateConfigs()
327 configs = calloc(1, (num_modes + 1) * sizeof *configs); in driCreateConfigs()
/external/mesa3d/src/gallium/state_trackers/egl/common/
Dnative_modeset.h64 int *num_modes);
Degl_g3d.c181 EGLint num_modes, j; in egl_g3d_add_screens() local
185 gdpy->native->modeset->get_modes(gdpy->native, nconn, &num_modes); in egl_g3d_add_screens()
186 if (!num_modes) { in egl_g3d_add_screens()
198 _eglInitScreen(&gscr->base, dpy, num_modes); in egl_g3d_add_screens()
/external/mesa3d/src/gallium/state_trackers/egl/fbdev/
Dnative_fbdev.c325 int *num_modes) in fbdev_display_get_modes() argument
341 if (num_modes) in fbdev_display_get_modes()
342 *num_modes = 1; in fbdev_display_get_modes()
/external/wpa_supplicant_8/src/ap/
Dhw_features.c79 u16 num_modes, flags; in hostapd_get_hw_features() local
84 modes = hostapd_get_hw_feature_data(hapd, &num_modes, &flags); in hostapd_get_hw_features()
97 iface->num_hw_features = num_modes; in hostapd_get_hw_features()
99 for (i = 0; i < num_modes; i++) { in hostapd_get_hw_features()
Dap_drv_ops.c556 hostapd_get_hw_feature_data(struct hostapd_data *hapd, u16 *num_modes, in hostapd_get_hw_feature_data() argument
562 return hapd->driver->get_hw_feature_data(hapd->drv_priv, num_modes, in hostapd_get_hw_feature_data()
/external/mesa3d/src/gallium/state_trackers/egl/drm/
Dmodeset.c521 int *num_modes) in drm_display_get_modes() argument
535 drmconn->num_modes = 0; in drm_display_get_modes()
571 if (num_modes) in drm_display_get_modes()
572 *num_modes = count; in drm_display_get_modes()
Dnative_drm.h117 int num_modes; member
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dnative_dri2.c654 int num_modes, count; in dri2_display_get_configs() local
659 num_modes = x11_context_modes_count(modes); in dri2_display_get_configs()
661 dri2dpy->configs = CALLOC(num_modes, sizeof(*dri2dpy->configs)); in dri2_display_get_configs()
666 for (i = 0; i < num_modes; i++) { in dri2_display_get_configs()
/external/wpa_supplicant_8/src/fst/
Dfst_group.c109 int num_modes = fst_iface_get_hw_modes(f, &modes); in fst_fill_iface_mb_ies() local
112 while (num_modes--) { in fst_fill_iface_mb_ies()
/external/mesa3d/src/egl/docs/
DEGL_MESA_screen_surface255 EGLint *num_modes)
259 EGLint *num_modes)
327 EGLint modes_size, EGLint *num_modes)
362 EGLint *num_modes)
/external/wpa_supplicant_8/wpa_supplicant/
Dop_classes.c218 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, op_class->mode); in wpas_op_class_supported()
Dwpa_supplicant_i.h986 u16 num_modes; member
1399 u16 num_modes, enum hostapd_hw_mode mode);
Dwpa_supplicant.c402 for (i = 0; i < wpa_s->hw.num_modes; i++) { in free_hw_features()
1880 for (i = 0; wpa_s->hw.modes && i < wpa_s->hw.num_modes; i++) { in drv_supports_vht()
1951 for (i = 0; wpa_s->hw.modes && i < wpa_s->hw.num_modes; i++) { in ibss_mesh_setup_freq()
4135 } else if (wpa_s->hw.num_modes) { in wpas_fst_get_channel_info_cb()
4149 return wpa_s->hw.num_modes; in wpas_fst_get_hw_modes()
4281 for (i = 0; i < wpa_s->hw.num_modes; i++) { in wpas_get_bands()
4899 &wpa_s->hw.num_modes, in wpa_supplicant_init_iface()
4904 for (i = 0; i < wpa_s->hw.num_modes; i++) { in wpa_supplicant_init_iface()
6458 u16 num_modes, enum hostapd_hw_mode mode) in get_mode() argument
6462 for (i = 0; i < num_modes; i++) { in get_mode()
Ddriver_i.h278 wpa_drv_get_hw_feature_data(struct wpa_supplicant *wpa_s, u16 *num_modes, in wpa_drv_get_hw_feature_data() argument
283 num_modes, flags); in wpa_drv_get_hw_feature_data()

12