Home
last modified time | relevance | path

Searched refs:current_mode (Results 1 – 25 of 37) sorted by relevance

12

/dragonfly/sys/dev/drm/i915/
HDintel_lspcon.c55 enum drm_lspcon_mode current_mode; in lspcon_get_current_mode() local
58 if (drm_lspcon_get_mode(adapter, &current_mode)) { in lspcon_get_current_mode()
62 return current_mode; in lspcon_get_current_mode()
68 enum drm_lspcon_mode current_mode; in lspcon_wait_mode() local
70 current_mode = lspcon_get_current_mode(lspcon); in lspcon_wait_mode()
71 if (current_mode == mode) in lspcon_wait_mode()
77 wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode, 100); in lspcon_wait_mode()
78 if (current_mode != mode) in lspcon_wait_mode()
83 lspcon_mode_name(current_mode)); in lspcon_wait_mode()
85 return current_mode; in lspcon_wait_mode()
[all …]
/dragonfly/contrib/wpa_supplicant/src/ap/
HDhw_features.c235 return allowed_ht40_channel_pair(iface->current_mode, pri_chan, in ieee80211n_allowed_ht40_channel_pair()
261 res = check_40mhz_5g(iface->current_mode, scan_res, pri_chan, sec_chan); in ieee80211n_check_40mhz_5g()
284 return check_40mhz_2g4(iface->current_mode, scan_res, pri_chan, in ieee80211n_check_40mhz_2g4()
306 if (iface->current_mode->mode == HOSTAPD_MODE_IEEE80211A) in ieee80211n_check_scan()
352 if (iface->current_mode == NULL) in ieee80211n_scan_channels_2g4()
370 mode = iface->current_mode; in ieee80211n_scan_channels_2g4()
397 if (iface->current_mode == NULL) in ieee80211n_scan_channels_5g()
411 mode = iface->current_mode; in ieee80211n_scan_channels_5g()
437 if (iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G) in ap_ht40_scan_retry()
487 if (iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G) in ieee80211n_check_40mhz()
[all …]
HDacs.c269 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 …]
HDdfs.c202 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 …]
HDbeacon.c91 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 …]
HDieee802_11_he.c51 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()
HDieee802_11_ht.c29 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()
HDieee802_11_vht.c26 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()
HDsta_info.c201 if (hapd->iface->current_mode && in ap_free_sta()
202 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G in ap_free_sta()
210 if (hapd->iface->current_mode && in ap_free_sta()
211 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G in ap_free_sta()
805 if (hapd->iface->current_mode && in ap_sta_disassociate()
806 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_disassociate()
853 if (hapd->iface->current_mode && in ap_sta_deauthenticate()
854 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_deauthenticate()
1340 if (hapd->iface->current_mode && in ap_sta_disconnect()
1341 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_disconnect()
HDap_list.c35 if (iface->current_mode == NULL || in ap_list_beacon_olbc()
36 iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G || in ap_list_beacon_olbc()
HDdrv_callbacks.c792 if (!hapd->iface->current_mode) { in hostapd_event_ch_switch()
827 switch (hapd->iface->current_mode->mode) { in hostapd_event_ch_switch()
919 if (!hapd->iface->current_mode) { in hostapd_acs_channel_selected()
925 hapd->iface->current_mode = mode; in hostapd_acs_channel_selected()
929 if (!hapd->iface->current_mode) { in hostapd_acs_channel_selected()
1392 for (i = 0; i < iface->current_mode->num_channels; i++) { in hostapd_get_mode_channel()
1393 chan = &iface->current_mode->channels[i]; in hostapd_get_mode_channel()
HDieee802_11.c214 if (hapd->iface->current_mode && in hostapd_own_capab_info()
215 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G && in hostapd_own_capab_info()
225 if (hapd->iface->current_mode && in hostapd_own_capab_info()
226 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211A && in hostapd_own_capab_info()
2579 if (hapd->iface->current_mode && in copy_supp_rates()
2580 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) in copy_supp_rates()
3946 if (hapd->iface->current_mode && in handle_assoc()
3947 hapd->iface->current_mode->mode == in handle_assoc()
4100 if (hapd->iface->current_mode && in handle_assoc()
4101 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G) in handle_assoc()
[all …]
HDap_drv_ops.c549 struct hostapd_hw_modes *cmode = hapd->iface->current_mode; in hostapd_set_freq()
802 struct hostapd_hw_modes *cmode = iface->current_mode; in hostapd_start_dfs_cac()
900 mode = hapd->iface->current_mode; in hostapd_drv_do_acs()
HDwmm.c74 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in wmm_calc_regulatory_limit()
HDhostapd.c492 if (iface->current_mode) in hostapd_cleanup_iface_partial()
496 iface->current_mode = NULL; in hostapd_cleanup_iface_partial()
1944 if (iface->current_mode) { in hostapd_setup_interface_complete_sync()
1945 if (hostapd_prepare_rates(iface, iface->current_mode)) { in hostapd_setup_interface_complete_sync()
3295 mode = hapd->iface->current_mode; in hostapd_change_config_freq()
HDhostapd.h486 struct hostapd_hw_modes *current_mode; member
/dragonfly/sys/dev/netif/ig_hal/
HDe1000_mac.c1032 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_generic()
1035 hw->fc.current_mode); in e1000_setup_link_generic()
1087 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic()
1268 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000_set_fc_watermarks_generic()
1320 DEBUGOUT1("hw->fc.current_mode = %u\n", hw->fc.current_mode); in e1000_force_mac_fc_generic()
1322 switch (hw->fc.current_mode) { in e1000_force_mac_fc_generic()
1464 hw->fc.current_mode = e1000_fc_full; in e1000_config_fc_after_link_up_generic()
1467 hw->fc.current_mode = e1000_fc_rx_pause; in e1000_config_fc_after_link_up_generic()
1482 hw->fc.current_mode = e1000_fc_tx_pause; in e1000_config_fc_after_link_up_generic()
1496 hw->fc.current_mode = e1000_fc_rx_pause; in e1000_config_fc_after_link_up_generic()
[all …]
HDe1000_osdep.c182 if (hw->fc.current_mode != fc) { in e1000_force_flowctrl()
184 hw->fc.current_mode = fc; in e1000_force_flowctrl()
HDe1000_82542.c337 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_82542()
340 hw->fc.current_mode); in e1000_setup_link_82542()
/dragonfly/sys/dev/drm/
HDdrm_dp_dual_mode_helper.c460 enum drm_lspcon_mode current_mode; in drm_lspcon_set_mode() local
479 ret = drm_lspcon_get_mode(adapter, &current_mode); in drm_lspcon_set_mode()
484 if (current_mode != mode) { in drm_lspcon_set_mode()
/dragonfly/sys/dev/drm/include/drm/
HDdrm_dp_dual_mode_helper.h116 enum drm_lspcon_mode *current_mode);
/dragonfly/contrib/gcc-4.7/gcc/
HDmode-switching.c591 int current_mode[N_ENTITIES]; in optimize_mode_switching() local
600 int m = current_mode[j] = MODE_PRIORITY_TO_MODE (entity_map[j], i); in optimize_mode_switching()
648 mode = current_mode[j]; in optimize_mode_switching()
/dragonfly/sys/sys/
HDtimepps.h47 int current_mode; /* current mode bits */ member
/dragonfly/sys/dev/netif/ix/
HDixgbe_82598.c429 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
480 switch (hw->fc.current_mode) { in ixgbe_fc_enable_82598()
524 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
HDixgbe_common.c2828 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic()
2859 switch (hw->fc.current_mode) { in ixgbe_fc_enable_generic()
2905 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic()
2970 hw->fc.current_mode = ixgbe_fc_full; in ixgbe_negotiate_fc()
2973 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc()
2978 hw->fc.current_mode = ixgbe_fc_tx_pause; in ixgbe_negotiate_fc()
2982 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc()
2985 hw->fc.current_mode = ixgbe_fc_none; in ixgbe_negotiate_fc()
3158 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg()

12