Searched refs:hw (Results 76 - 100 of 257) sorted by last modified time

1234567891011

/freebsd-11-stable/sys/dev/netmap/
H A Dixgbe_netmap.h76 set_crcstrip(struct ixgbe_hw *hw, int onoff) argument
79 * IXGBE_HLREG0 (modified on init_locked and hw reset)
88 hl = IXGBE_READ_REG(hw, IXGBE_HLREG0);
89 rxc = IXGBE_READ_REG(hw, IXGBE_RDRXCTL);
93 /* hw requirements ... */
108 IXGBE_WRITE_REG(hw, IXGBE_HLREG0, hl);
109 IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, rxc);
141 set_crcstrip(&adapter->hw, onoff);
150 set_crcstrip(&adapter->hw, onoff); // XXX why twice ?
283 IXGBE_WRITE_REG(&adapter->hw, tx
[all...]
H A Dif_lem_netmap.h165 E1000_WRITE_REG(&adapter->hw, E1000_TDT(0), nic_i);
174 nic_i = E1000_READ_REG(&adapter->hw, E1000_TDH(0));
290 E1000_WRITE_REG(&adapter->hw, E1000_RDT(0), nic_i);
H A Dif_igb_netmap.h102 (adapter->hw.mac.type == e1000_82575) ? (txr->me << 4) : 0;
166 E1000_WRITE_REG(&adapter->hw, E1000_TDT(txr->me), nic_i);
174 nic_i = E1000_READ_REG(&adapter->hw, E1000_TDH(kring->ring_id));
279 E1000_WRITE_REG(&adapter->hw, E1000_RDT(rxr->me), nic_i);
H A Dif_em_netmap.h182 E1000_WRITE_REG(&adapter->hw, E1000_TDT(txr->me), nic_i);
190 nic_i = E1000_READ_REG(&adapter->hw, E1000_TDH(kring->ring_id));
299 E1000_WRITE_REG(&adapter->hw, E1000_RDT(rxr->me), nic_i);
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c1585 modes = wpa_s->hw.modes;
1587 for (m = 0; m < wpa_s->hw.num_modes; m++) {
H A Dwpa_supplicant_i.h1016 } hw; member in struct:wpa_supplicant
H A Dwpa_supplicant.c436 if (wpa_s->hw.modes == NULL)
439 for (i = 0; i < wpa_s->hw.num_modes; i++) {
440 os_free(wpa_s->hw.modes[i].channels);
441 os_free(wpa_s->hw.modes[i].rates);
444 os_free(wpa_s->hw.modes);
445 wpa_s->hw.modes = NULL;
2125 for (i = 0; wpa_s->hw.modes && i < wpa_s->hw.num_modes; i++) {
2126 if (wpa_s->hw.modes[i].mode == hw_mode) {
2127 mode = &wpa_s->hw
[all...]
H A Dwnm_sta.c1226 for (i = 0; i < wpa_s->hw.num_modes; i++) {
1227 struct hostapd_hw_modes *mode = &wpa_s->hw.modes[i];
1253 if (wpa_s->hw.modes == NULL)
H A Dsme.c2141 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes,
2252 if (!wpa_s->hw.modes)
2256 for (i = 0; i < wpa_s->hw.num_modes; i++) {
2257 hw_mode = &wpa_s->hw.modes[i];
2263 if (i == wpa_s->hw.num_modes || !hw_mode ||
H A Dscan.c646 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, band);
667 if (wpa_s->hw.modes == NULL)
H A Drrm.c604 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, op->mode);
656 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, op->mode);
H A Dp2p_supplicant.c3600 if (wpa_s->hw.modes == NULL) {
3617 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, o->mode);
5350 ieee80211_is_dfs(freq, wpa_s->hw.modes,
5351 wpa_s->hw.num_modes)) {
5840 ieee80211_is_dfs(freq, wpa_s->hw.modes,
5841 wpa_s->hw.num_modes)) {
6019 ieee80211_is_dfs(freq, wpa_s->hw.modes,
6020 wpa_s->hw.num_modes)) {
6161 if (wpa_s->hw
[all...]
H A Dop_classes.c222 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, op_class->mode);
H A Dmesh.c302 if (ieee80211_is_dfs(ssid->frequency, wpa_s->hw.modes,
303 wpa_s->hw.num_modes) && wpa_s->conf->country[0]) {
H A Devents.c799 modes = wpa_s->hw.modes;
809 for (i = 0; i < wpa_s->hw.num_modes; i++) {
3736 wpa_printf(MSG_DEBUG, "%s: Updating hw mode",
3739 ifs->hw.modes = wpa_drv_get_hw_feature_data(
3740 ifs, &ifs->hw.num_modes, &ifs->hw.flags, &dfs_domain);
3948 for (i = 0; i < wpa_s->hw.num_modes; i++) {
3949 const struct hostapd_hw_modes *mode = &wpa_s->hw.modes[i];
H A Ddpp_supplicant.c532 wpa_s->hw.modes, wpa_s->hw.num_modes);
1450 if (!wpa_s->hw.modes)
1453 for (i = 0; i < wpa_s->hw.num_modes; i++) {
1454 struct hostapd_hw_modes *mode = &wpa_s->hw.modes[i];
H A Dctrl_iface.c4268 for (j = 0; j < wpa_s->hw.num_modes; j++) {
4269 switch (wpa_s->hw.modes[j].mode) {
4289 chnl = wpa_s->hw.modes[j].channels;
4290 for (i = 0; i < wpa_s->hw.modes[j].num_channels; i++) {
4318 for (j = 0; j < wpa_s->hw.num_modes; j++) {
4319 switch (wpa_s->hw.modes[j].mode) {
4340 chnl = wpa_s->hw.modes[j].channels;
4341 for (i = 0; i < wpa_s->hw.modes[j].num_channels; i++) {
7012 if (wpa_s->hw.modes == NULL)
7019 for (i = 0; i < wpa_s->hw
[all...]
H A Dbgscan_learn.c354 modes = wpa_s->hw.modes;
358 for (i = 0; i < wpa_s->hw.num_modes; i++) {
362 /* some hw modes (e.g. 11b & 11g) contain same freqs */
H A Dap.c159 if (wpa_s->hw.modes) {
167 for (i = 0; i < wpa_s->hw.num_modes; i++) {
168 if (wpa_s->hw.modes[i].mode == conf->hw_mode) {
169 mode = &wpa_s->hw.modes[i];
306 if (ieee80211_is_dfs(ssid->frequency, wpa_s->hw.modes,
307 wpa_s->hw.num_modes) && wpa_s->conf->country[0]) {
780 if (ieee80211_is_dfs(params.freq.freq, wpa_s->hw.modes,
781 wpa_s->hw.num_modes))
/freebsd-11-stable/contrib/wpa/src/common/
H A Dhw_features_common.h42 int ieee80211ac_cap_check(u32 hw, u32 conf);
H A Dhw_features_common.c490 static int _ieee80211ac_cap_check(u32 hw, u32 conf, u32 cap, argument
500 if ((hw & req_cap) != req_cap) {
510 static int ieee80211ac_cap_check_max(u32 hw, u32 conf, u32 mask, argument
514 u32 hw_max = hw & mask;
527 int ieee80211ac_cap_check(u32 hw, u32 conf) argument
531 if (!_ieee80211ac_cap_check(hw, conf, cap, #cap)) \
537 if (!ieee80211ac_cap_check_max(hw, conf, cap, cap ## _SHIFT, \
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dhw_features.c519 u16 hw = iface->current_mode->ht_capab; local
523 !(hw & HT_CAP_INFO_LDPC_CODING_CAP)) {
534 !(hw & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET)) {
561 !(hw & HT_CAP_INFO_GREEN_FIELD)) {
568 !(hw & HT_CAP_INFO_SHORT_GI20MHZ)) {
575 !(hw & HT_CAP_INFO_SHORT_GI40MHZ)) {
581 if ((conf & HT_CAP_INFO_TX_STBC) && !(hw & HT_CAP_INFO_TX_STBC)) {
588 (hw & HT_CAP_INFO_RX_STBC_MASK)) {
595 !(hw & HT_CAP_INFO_DELAYED_BA)) {
602 !(hw
630 u32 hw = mode->vht_capab; local
[all...]
/freebsd-11-stable/crypto/openssl/
H A Dconfig186 case `/sbin/sysctl -n hw.model` in
202 MACH=`sysctl -n hw.model`
222 echo "`(/usr/sbin/sysctl -n hw.model || /sbin/sysctl -n hw.model) | sed 's,.*\(.\)86-class.*,i\186,'`-whatever-netbsd"; exit 0
549 ISA64=`(sysctl -n hw.optional.64bitops) 2>/dev/null`
564 ISA64=`(sysctl -n hw.optional.x86_64) 2>/dev/null`
881 # headers, eg. by adding the "hw-atalla" switch to ./config or
/freebsd-11-stable/stand/i386/libfirewire/
H A Dfirewire.c61 struct crom_chunk hw; member in struct:crom_src_buf
/freebsd-11-stable/lib/libpmc/
H A Dlibpmc.c682 EV_ALIAS("interrupts", "iap-core-hw-int-rx"),
702 EV_ALIAS("interrupts", "iap-hw-int-rcv"),
713 EV_ALIAS("interrupts", "iap-hw-int-rcv"),
2882 EV_ALIAS("interrupts", "p6-hw-int-rx"),
2908 PMCMASK(hw, 0x10),
2915 PMCMASK(hw, 0x10),
3063 P6MASKSET(hw);

Completed in 425 milliseconds

1234567891011