| /freebsd-12.1/contrib/ntp/lib/isc/unix/ |
| H A D | keyboard.c | 41 struct termios current_mode; in isc_keyboard_open() local 56 current_mode = keyboard->saved_mode; in isc_keyboard_open() 58 current_mode.c_iflag &= in isc_keyboard_open() 60 current_mode.c_oflag &= ~OPOST; in isc_keyboard_open() 61 current_mode.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in isc_keyboard_open() 62 current_mode.c_cflag &= ~(CSIZE|PARENB); in isc_keyboard_open() 63 current_mode.c_cflag |= CS8; in isc_keyboard_open() 65 current_mode.c_cc[VMIN] = 1; in isc_keyboard_open() 66 current_mode.c_cc[VTIME] = 0; in isc_keyboard_open() 67 if (tcsetattr(fd, TCSAFLUSH, ¤t_mode) < 0) { in isc_keyboard_open()
|
| /freebsd-12.1/contrib/wpa/src/ap/ |
| H A D | hw_features.c | 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() 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 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() 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 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() 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 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()
|
| H A 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() 1340 if (hapd->iface->current_mode && in ieee802_11_build_ap_params() [all …]
|
| H A 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()
|
| H A 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()
|
| H A D | sta_info.c | 201 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 D | ap_list.c | 35 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 D | drv_callbacks.c | 792 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 D | ieee802_11.c | 214 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 D | ap_drv_ops.c | 549 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 D | wmm.c | 74 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in wmm_calc_regulatory_limit()
|
| /freebsd-12.1/sys/dev/e1000/ |
| H A D | e1000_mac.c | 1030 hw->fc.current_mode); in e1000_setup_link_generic() 1082 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic() 1317 switch (hw->fc.current_mode) { in e1000_force_mac_fc_generic() 1459 hw->fc.current_mode = e1000_fc_full; in e1000_config_fc_after_link_up_generic() 1477 hw->fc.current_mode = e1000_fc_tx_pause; in e1000_config_fc_after_link_up_generic() 1491 hw->fc.current_mode = e1000_fc_rx_pause; in e1000_config_fc_after_link_up_generic() 1497 hw->fc.current_mode = e1000_fc_none; in e1000_config_fc_after_link_up_generic() 1512 hw->fc.current_mode = e1000_fc_none; in e1000_config_fc_after_link_up_generic() 1592 hw->fc.current_mode = e1000_fc_full; in e1000_config_fc_after_link_up_generic() 1610 hw->fc.current_mode = e1000_fc_tx_pause; in e1000_config_fc_after_link_up_generic() [all …]
|
| H A D | e1000_82542.c | 338 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_82542() 341 hw->fc.current_mode); in e1000_setup_link_82542()
|
| /freebsd-12.1/sys/dev/sfxge/common/ |
| H A D | medford_nic.c | 103 uint32_t current_mode; in medford_nic_get_required_pcie_bandwidth() local 108 ¤t_mode)) != 0) { in medford_nic_get_required_pcie_bandwidth() 114 if ((rc = ef10_nic_get_port_mode_bandwidth(current_mode, in medford_nic_get_required_pcie_bandwidth()
|
| /freebsd-12.1/sys/sys/ |
| H A D | timepps.h | 52 int current_mode; /* current mode bits */ member 62 int current_mode; /* current mode bits */ member
|
| /freebsd-12.1/contrib/ntp/include/ |
| H A D | timepps-SunOS.h | 155 int current_mode; /* current mode bits */ member 473 infobuf.current_mode = handle->params.mode; in time_pps_fetch()
|
| H A D | timepps-SCO.h | 155 int current_mode; /* current mode bits */ member 472 infobuf.current_mode = handle->params.mode; in time_pps_fetch()
|
| H A D | timepps-Solaris.h | 155 int current_mode; /* current mode bits */ member 537 infobuf.current_mode = punit->params.mode; in time_pps_fetch()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | mode-switching.c | 543 int current_mode[N_ENTITIES]; in optimize_mode_switching() local 552 int m = current_mode[j] = MODE_PRIORITY_TO_MODE (entity_map[j], i); in optimize_mode_switching() 600 mode = current_mode[j]; in optimize_mode_switching()
|
| /freebsd-12.1/sys/dev/ixgbe/ |
| H A D | ixgbe_82598.c | 430 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598() 481 switch (hw->fc.current_mode) { in ixgbe_fc_enable_82598() 525 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
|
| H A D | ixgbe_common.c | 2831 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic() 2862 switch (hw->fc.current_mode) { in ixgbe_fc_enable_generic() 2908 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic() 2973 hw->fc.current_mode = ixgbe_fc_full; in ixgbe_negotiate_fc() 2976 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc() 2981 hw->fc.current_mode = ixgbe_fc_tx_pause; in ixgbe_negotiate_fc() 2985 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc() 2988 hw->fc.current_mode = ixgbe_fc_none; in ixgbe_negotiate_fc() 3161 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg()
|
| /freebsd-12.1/sys/dev/ixl/ |
| H A D | i40e_common.c | 1514 u32 current_mode = 0; in i40e_led_get() local 1530 current_mode = ((gpio_val & I40E_GLGEN_GPIO_CTL_LED_MODE_MASK) in i40e_led_get() 1532 switch (current_mode) { in i40e_led_get() 1561 u32 current_mode = 0; in i40e_led_set() local 1579 current_mode = ((gpio_val & I40E_GLGEN_GPIO_CTL_LED_MODE_MASK) in i40e_led_set() 1581 switch (current_mode) { in i40e_led_set() 1948 hw->fc.current_mode = I40E_FC_FULL; in i40e_aq_get_link_info() 1950 hw->fc.current_mode = I40E_FC_TX_PAUSE; in i40e_aq_get_link_info() 1952 hw->fc.current_mode = I40E_FC_RX_PAUSE; in i40e_aq_get_link_info() 1954 hw->fc.current_mode = I40E_FC_NONE; in i40e_aq_get_link_info()
|