Home
last modified time | relevance | path

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

12

/dragonfly/sys/dev/drm/i915/
H A Dintel_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()
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()
92 enum drm_lspcon_mode current_mode; in lspcon_change_mode() local
[all …]
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Dhw_features.c352 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()
712 if (!iface->current_mode) in hostapd_is_usable_chan()
801 if (!iface->current_mode) { in hostapd_notify_bad_chans()
813 iface->current_mode->mode, in hostapd_notify_bad_chans()
889 iface->current_mode = NULL; in hostapd_select_hw_mode()
893 iface->current_mode = mode; in hostapd_select_hw_mode()
898 if (iface->current_mode == NULL) { in hostapd_select_hw_mode()
[all …]
H A Dacs.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()
499 chan = &iface->current_mode->channels[i]; in acs_survey_all_chans_intereference_factor()
525 chan = &iface->current_mode->channels[i]; in acs_find_chan()
619 chan = &iface->current_mode->channels[i]; in acs_find_ideal_chan()
701 if (is_24ghz_mode(iface->current_mode->mode)) { in acs_find_ideal_chan()
747 } else if (is_24ghz_mode(iface->current_mode->mode) && in acs_find_ideal_chan()
934 chan = &iface->current_mode->channels[i]; in acs_request_scan()
[all …]
H A Ddfs.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()
456 mode = iface->current_mode; in dfs_get_valid_channel()
491 mode = iface->current_mode; in set_dfs_state_freq()
520 mode = iface->current_mode; in set_dfs_state()
577 mode = iface->current_mode; in dfs_are_channels_overlapped()
[all …]
H A Dbeacon.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()
1340 if (hapd->iface->current_mode && in ieee802_11_build_ap_params()
[all …]
H A Dieee802_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()
H A Dieee802_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()
H A Dieee802_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()
H A Dsta_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()
H A Dap_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()
H A Ddrv_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()
H A Dieee802_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()
2579 if (hapd->iface->current_mode && 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()
4120 if (hapd->iface->current_mode && in handle_assoc()
4121 hapd->iface->current_mode->mode == in handle_assoc()
4136 if (hapd->iface->current_mode && in handle_assoc()
[all …]
H A Dap_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()
H A Dwmm.c74 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in wmm_calc_regulatory_limit()
H A Dhostapd.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()
H A Dhostapd.h486 struct hostapd_hw_modes *current_mode; member
/dragonfly/sys/dev/netif/ig_hal/
H A De1000_mac.c1035 hw->fc.current_mode); in e1000_setup_link_generic()
1087 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_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()
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()
1502 hw->fc.current_mode = e1000_fc_none; in e1000_config_fc_after_link_up_generic()
1517 hw->fc.current_mode = e1000_fc_none; in e1000_config_fc_after_link_up_generic()
1597 hw->fc.current_mode = e1000_fc_full; in e1000_config_fc_after_link_up_generic()
1615 hw->fc.current_mode = e1000_fc_tx_pause; in e1000_config_fc_after_link_up_generic()
[all …]
H A De1000_osdep.c182 if (hw->fc.current_mode != fc) { in e1000_force_flowctrl()
184 hw->fc.current_mode = fc; in e1000_force_flowctrl()
H A De1000_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/
H A Ddrm_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/
H A Ddrm_dp_dual_mode_helper.h116 enum drm_lspcon_mode *current_mode);
/dragonfly/contrib/gcc-4.7/gcc/
H A Dmode-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/
H A Dtimepps.h47 int current_mode; /* current mode bits */ member
/dragonfly/sys/dev/netif/ix/
H A Dixgbe_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()
H A Dixgbe_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