/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | hw_features.c | 240 if (!iface->current_mode) in ieee80211n_allowed_ht40_channel_pair() 243 p_chan = hw_get_channel_freq(iface->current_mode->mode, pri_freq, NULL, in ieee80211n_allowed_ht40_channel_pair() 247 s_chan = hw_get_channel_freq(iface->current_mode->mode, sec_freq, NULL, in ieee80211n_allowed_ht40_channel_pair() 251 return allowed_ht40_channel_pair(iface->current_mode->mode, in ieee80211n_allowed_ht40_channel_pair() 280 if (!iface->current_mode) in ieee80211n_check_40mhz_5g() 282 pri_chan = hw_get_channel_freq(iface->current_mode->mode, pri_freq, in ieee80211n_check_40mhz_5g() 285 sec_chan = hw_get_channel_freq(iface->current_mode->mode, sec_freq, in ieee80211n_check_40mhz_5g() 312 return check_40mhz_2g4(iface->current_mode, scan_res, pri_chan, in ieee80211n_check_40mhz_2g4() 334 if (iface->current_mode->mode == HOSTAPD_MODE_IEEE80211A) in ieee80211n_check_scan() 359 iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G && in ieee80211n_check_scan() [all …]
|
D | dfs.c | 216 mode = iface->current_mode; in dfs_find_channel() 357 mode = iface->current_mode; in dfs_get_start_chan_idx() 370 mode = iface->current_mode; in dfs_get_start_chan_idx() 409 mode = iface->current_mode; in dfs_check_chans_radar() 429 mode = iface->current_mode; in dfs_check_chans_available() 458 mode = iface->current_mode; in dfs_check_chans_unavailable() 494 if (iface->current_mode == NULL) in dfs_get_valid_channel() 497 mode = iface->current_mode; in dfs_get_valid_channel() 577 mode = iface->current_mode; in set_dfs_state_freq() 582 for (i = 0; i < iface->current_mode->num_channels; i++) { in set_dfs_state_freq() [all …]
|
D | ieee802_11_he.c | 87 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_capab() 171 if (!hapd->iface->current_mode) in hostapd_eid_he_operation() 340 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_6ghz_band_cap() 401 if (!hapd->iface->current_mode) in check_valid_he_mcs() 403 ap_mcs_set = (u16 *) hapd->iface->current_mode->he_capab[opmode].mcs; in check_valid_he_mcs() 514 if (!hapd->iface->current_mode || in hostapd_get_he_twt_responder() 515 !hapd->iface->current_mode->he_capab[mode].he_supported) in hostapd_get_he_twt_responder() 518 mac_cap = hapd->iface->current_mode->he_capab[mode].mac_cap; in hostapd_get_he_twt_responder()
|
D | ieee802_11_vht.c | 26 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_vht_capabilities() 176 !check_valid_vht_mcs(hapd->iface->current_mode, vht_capab)) { in copy_sta_vht_capab() 264 if (!hapd->iface->current_mode || in hostapd_eid_vendor_vht() 265 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in hostapd_eid_vendor_vht()
|
D | ieee802_11_ht.c | 29 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || in hostapd_eid_ht_capabilities() 39 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params; in hostapd_eid_ht_capabilities() 40 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set, in hostapd_eid_ht_capabilities() 185 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in is_40_allowed() 390 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ht40_intolerant_add()
|
D | beacon.c | 70 if (hapd->iface->current_mode == NULL || in ieee802_11_erp_info() 71 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ieee802_11_erp_info() 99 if (hapd->iface->current_mode == NULL || in hostapd_eid_erp_info() 100 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in hostapd_eid_erp_info() 127 if (hapd->iface->current_mode == NULL || in hostapd_eid_pwr_constraint() 128 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211A) in hostapd_eid_pwr_constraint() 218 hapd->iface->current_mode == NULL) in hostapd_eid_country() 226 mode = hapd->iface->current_mode; in hostapd_eid_country() 909 hapd->iface->current_mode && in handle_probe_req() 910 (hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G || in handle_probe_req() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/gbm/ |
D | gstgldisplay_gbm.c | 237 drmModeModeInfo *current_mode = in gst_gl_display_gbm_setup_drm() local 239 int current_mode_area = current_mode->hdisplay * current_mode->vdisplay; in gst_gl_display_gbm_setup_drm() 247 current_mode->hdisplay, current_mode->vdisplay, in gst_gl_display_gbm_setup_drm() 248 current_mode->hsync_start, current_mode->vsync_start, in gst_gl_display_gbm_setup_drm() 249 current_mode->hsync_end, current_mode->vsync_end, in gst_gl_display_gbm_setup_drm() 250 current_mode->htotal, current_mode->vtotal, current_mode->hskew, in gst_gl_display_gbm_setup_drm() 251 current_mode->vscan, current_mode->vrefresh, in gst_gl_display_gbm_setup_drm() 252 (current_mode->type & DRM_MODE_TYPE_PREFERRED) ? TRUE : FALSE); in gst_gl_display_gbm_setup_drm() 255 && ((current_mode->type & DRM_MODE_TYPE_PREFERRED) in gst_gl_display_gbm_setup_drm() 257 display_gbm->drm_mode_info = current_mode; in gst_gl_display_gbm_setup_drm() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | hw_features.c | 241 return allowed_ht40_channel_pair(iface->current_mode, pri_chan, in ieee80211n_allowed_ht40_channel_pair() 267 res = check_40mhz_5g(iface->current_mode, scan_res, pri_chan, sec_chan); in ieee80211n_check_40mhz_5g() 290 return check_40mhz_2g4(iface->current_mode, scan_res, pri_chan, in ieee80211n_check_40mhz_2g4() 312 if (iface->current_mode->mode == HOSTAPD_MODE_IEEE80211A) in ieee80211n_check_scan() 358 if (iface->current_mode == NULL) in ieee80211n_scan_channels_2g4() 376 mode = iface->current_mode; in ieee80211n_scan_channels_2g4() 403 if (iface->current_mode == NULL) in ieee80211n_scan_channels_5g() 417 mode = iface->current_mode; in ieee80211n_scan_channels_5g() 443 if (iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G) in ap_ht40_scan_retry() 493 if (iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G) in ieee80211n_check_40mhz() [all …]
|
D | acs.c | 269 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_cleanup() 270 chan = &iface->current_mode->channels[i]; in acs_cleanup() 462 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_surveys_are_sufficient() 463 chan = &iface->current_mode->channels[i]; in acs_surveys_are_sufficient() 498 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_survey_all_chans_intereference_factor() 499 chan = &iface->current_mode->channels[i]; in acs_survey_all_chans_intereference_factor() 524 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_find_chan() 525 chan = &iface->current_mode->channels[i]; in acs_find_chan() 615 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_find_ideal_chan() 619 chan = &iface->current_mode->channels[i]; in acs_find_ideal_chan() [all …]
|
D | dfs.c | 202 mode = iface->current_mode; in dfs_find_channel() 319 mode = iface->current_mode; in dfs_get_start_chan_idx() 332 mode = iface->current_mode; in dfs_get_start_chan_idx() 371 mode = iface->current_mode; in dfs_check_chans_radar() 391 mode = iface->current_mode; in dfs_check_chans_available() 420 mode = iface->current_mode; in dfs_check_chans_unavailable() 453 if (iface->current_mode == NULL) in dfs_get_valid_channel() 456 mode = iface->current_mode; in dfs_get_valid_channel() 491 mode = iface->current_mode; in set_dfs_state_freq() 496 for (i = 0; i < iface->current_mode->num_channels; i++) { in set_dfs_state_freq() [all …]
|
D | ieee802_11_he.c | 51 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_capab() 136 if (!hapd->iface->current_mode) in hostapd_eid_he_operation() 272 if (!hapd->iface->current_mode) in check_valid_he_mcs() 274 ap_mcs_set = (u16 *) hapd->iface->current_mode->he_capab[opmode].mcs; in check_valid_he_mcs()
|
D | beacon.c | 91 if (hapd->iface->current_mode == NULL || in ieee802_11_erp_info() 92 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ieee802_11_erp_info() 120 if (hapd->iface->current_mode == NULL || in hostapd_eid_erp_info() 121 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in hostapd_eid_erp_info() 148 if (hapd->iface->current_mode == NULL || in hostapd_eid_pwr_constraint() 149 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211A) in hostapd_eid_pwr_constraint() 239 hapd->iface->current_mode == NULL) in hostapd_eid_country() 247 mode = hapd->iface->current_mode; in hostapd_eid_country() 801 hapd->iface->current_mode && in handle_probe_req() 802 (hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G || in handle_probe_req() [all …]
|
D | ieee802_11_ht.c | 29 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || in hostapd_eid_ht_capabilities() 39 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params; in hostapd_eid_ht_capabilities() 40 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set, in hostapd_eid_ht_capabilities() 207 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in is_40_allowed() 412 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ht40_intolerant_add()
|
D | ieee802_11_vht.c | 26 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_vht_capabilities() 224 struct hostapd_hw_modes *mode = iface->current_mode; in hostapd_eid_txpower_envelope() 338 !check_valid_vht_mcs(hapd->iface->current_mode, vht_capab)) { in copy_sta_vht_capab() 425 if (!hapd->iface->current_mode) in hostapd_eid_vendor_vht()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/psp/ |
D | SDL_pspvideo.c | 164 SDL_DisplayMode current_mode; in PSP_VideoInit() local 166 SDL_zero(current_mode); in PSP_VideoInit() 168 current_mode.w = 480; in PSP_VideoInit() 169 current_mode.h = 272; in PSP_VideoInit() 171 current_mode.refresh_rate = 60; in PSP_VideoInit() 173 current_mode.format = SDL_PIXELFORMAT_ABGR8888; in PSP_VideoInit() 175 current_mode.driverdata = NULL; in PSP_VideoInit() 178 display.desktop_mode = current_mode; in PSP_VideoInit() 179 display.current_mode = current_mode; in PSP_VideoInit()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/vivante/ |
D | SDL_vivantevideo.c | 131 SDL_DisplayMode current_mode; in VIVANTE_AddVideoDisplays() local 141 SDL_zero(current_mode); in VIVANTE_AddVideoDisplays() 145 … vdkGetDisplayInfo(data->native_display, ¤t_mode.w, ¤t_mode.h, &pixels, &pitch, &bpp); in VIVANTE_AddVideoDisplays() 149 …videodata->fbGetDisplayInfo(data->native_display, ¤t_mode.w, ¤t_mode.h, &pixels, &pitc… in VIVANTE_AddVideoDisplays() 156 current_mode.format = SDL_PIXELFORMAT_RGB565; in VIVANTE_AddVideoDisplays() 160 current_mode.refresh_rate = 60; in VIVANTE_AddVideoDisplays() 163 display.desktop_mode = current_mode; in VIVANTE_AddVideoDisplays() 164 display.current_mode = current_mode; in VIVANTE_AddVideoDisplays() 248 SDL_AddDisplayMode(display, &display->current_mode); in VIVANTE_GetDisplayModes()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/raspberry/ |
D | SDL_rpivideo.c | 147 SDL_DisplayMode current_mode; in RPI_VideoInit() local 154 SDL_zero(current_mode); in RPI_VideoInit() 160 current_mode.w = w; in RPI_VideoInit() 161 current_mode.h = h; in RPI_VideoInit() 163 current_mode.refresh_rate = 60; in RPI_VideoInit() 165 current_mode.format = SDL_PIXELFORMAT_ABGR8888; in RPI_VideoInit() 167 current_mode.driverdata = NULL; in RPI_VideoInit() 170 display.desktop_mode = current_mode; in RPI_VideoInit() 171 display.current_mode = current_mode; in RPI_VideoInit() 206 SDL_AddDisplayMode(display, &display->current_mode); in RPI_GetDisplayModes()
|
/third_party/weston/libweston/ |
D | screenshooter.c | 141 0, 0, output->current_mode->width, in screenshooter_frame_notify() 142 output->current_mode->height); in screenshooter_frame_notify() 155 copy_bgra_yflip(d, s, output->current_mode->height, stride); in screenshooter_frame_notify() 157 copy_bgra(d, pixels, output->current_mode->height, stride); in screenshooter_frame_notify() 162 copy_rgba_yflip(d, s, output->current_mode->height, stride); in screenshooter_frame_notify() 164 copy_rgba(d, pixels, output->current_mode->height, stride); in screenshooter_frame_notify() 193 if (buffer->width < output->current_mode->width || in weston_screenshooter_shoot() 194 buffer->height < output->current_mode->height) { in weston_screenshooter_shoot() 310 stride = output->current_mode->width; in weston_recorder_frame_notify() 317 y_orig = output->current_mode->height - r[i].y2; in weston_recorder_frame_notify() [all …]
|
/third_party/weston/libweston/backend-drm/ |
D | modes.c | 477 src_aspect = output->base.current_mode->aspect_ratio; in drm_output_choose_mode() 478 if (output->base.current_mode->width == target_mode->width && in drm_output_choose_mode() 479 output->base.current_mode->height == target_mode->height && in drm_output_choose_mode() 480 (output->base.current_mode->refresh == target_mode->refresh || in drm_output_choose_mode() 483 return to_drm_mode(output->base.current_mode); in drm_output_choose_mode() 554 const drmModeModeInfo *current_mode) in drm_output_choose_initial_mode() argument 612 if (memcmp(current_mode, &drm_mode->mode_info, in drm_output_choose_initial_mode() 613 sizeof *current_mode) == 0) in drm_output_choose_initial_mode() 622 if (current == NULL && current_mode->clock != 0) { in drm_output_choose_initial_mode() 623 current = drm_output_add_mode(output, current_mode); in drm_output_choose_initial_mode() [all …]
|
/third_party/weston/libweston/backend-headless/ |
D | headless.c | 200 .width = output->base.current_mode->width, in headless_output_enable_gl() 201 .height = output->base.current_mode->height, in headless_output_enable_gl() 221 output->image_buf = malloc(output->base.current_mode->width * in headless_output_enable_pixman() 222 output->base.current_mode->height * 4); in headless_output_enable_pixman() 227 output->base.current_mode->width, in headless_output_enable_pixman() 228 output->base.current_mode->height, in headless_output_enable_pixman() 230 output->base.current_mode->width * 4); in headless_output_enable_pixman() 286 assert(!output->base.current_mode); in headless_output_set_size() 309 output->base.current_mode = &output->mode; in headless_output_set_size()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/pandora/ |
D | SDL_pandora.c | 155 SDL_DisplayMode current_mode; in PND_videoinit() local 157 SDL_zero(current_mode); in PND_videoinit() 159 current_mode.w = 320; in PND_videoinit() 160 current_mode.h = 240; in PND_videoinit() 162 current_mode.w = 800; in PND_videoinit() 163 current_mode.h = 480; in PND_videoinit() 165 current_mode.refresh_rate = 60; in PND_videoinit() 166 current_mode.format = SDL_PIXELFORMAT_RGB565; in PND_videoinit() 167 current_mode.driverdata = NULL; in PND_videoinit() 170 display.desktop_mode = current_mode; in PND_videoinit() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/android/ |
D | SDL_androidvideo.c | 228 display->current_mode.format = format; in Android_SetScreenResolution() 229 display->current_mode.w = width; in Android_SetScreenResolution() 230 display->current_mode.h = height; in Android_SetScreenResolution() 231 display->current_mode.refresh_rate = rate; in Android_SetScreenResolution()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/ |
D | SDL_mirvideo.c | 258 …SDL_DisplayMode current_mode = MIR_ConvertModeToSDLMode(mir_output_get_current_mode(output), forma… in MIR_InitDisplayFromOutput() local 270 display.desktop_mode = current_mode; in MIR_InitDisplayFromOutput() 271 display.current_mode = current_mode; in MIR_InitDisplayFromOutput() 357 rect->w = display->current_mode.w; in MIR_GetDisplayBounds() 358 rect->h = display->current_mode.h; in MIR_GetDisplayBounds()
|
/third_party/weston/tests/ |
D | weston-test.c | 458 output->current_mode->width, in test_screenshot_frame_notify() 459 output->current_mode->height); in test_screenshot_frame_notify() 475 copy_bgra_yflip(d, s, output->current_mode->height, stride); in test_screenshot_frame_notify() 477 copy_bgra(d, pixels, output->current_mode->height, stride); in test_screenshot_frame_notify() 482 copy_rgba_yflip(d, s, output->current_mode->height, stride); in test_screenshot_frame_notify() 484 copy_rgba(d, pixels, output->current_mode->height, stride); in test_screenshot_frame_notify() 516 if (buffer->width < output->current_mode->width || in weston_test_screenshot_shoot() 517 buffer->height < output->current_mode->height) { in weston_test_screenshot_shoot()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/ |
D | SDL_windowsmodes.c | 247 display.current_mode = mode; in WIN_AddDisplay() 320 SDL_DisplayModeData *data = (SDL_DisplayModeData *) display->current_mode.driverdata; in WIN_GetDisplayBounds() 333 SDL_DisplayModeData *data = (SDL_DisplayModeData *) display->current_mode.driverdata; in WIN_GetDisplayDPI() 351 … const SDL_DisplayModeData *data = (const SDL_DisplayModeData *) display->current_mode.driverdata; in WIN_GetDisplayUsableBounds()
|