Home
last modified time | relevance | path

Searched refs:macmode (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/dec/tulip/
Dde2104x.c721 u32 macmode; in __de_set_rx_mode() local
727 macmode = dr32(MacMode) & ~(AcceptAllMulticast | AcceptAllPhys); in __de_set_rx_mode()
730 macmode |= AcceptAllMulticast | AcceptAllPhys; in __de_set_rx_mode()
736 macmode |= AcceptAllMulticast; in __de_set_rx_mode()
798 if (macmode != dr32(MacMode)) in __de_set_rx_mode()
799 dw32(MacMode, macmode); in __de_set_rx_mode()
847 u32 macmode; in de_stop_rxtx() local
850 macmode = dr32(MacMode); in de_stop_rxtx()
851 if (macmode & RxTx) { in de_stop_rxtx()
852 dw32(MacMode, macmode & ~RxTx); in de_stop_rxtx()
[all …]
/Linux-v5.4/drivers/staging/wlan-ng/
Dcfg80211.c115 if (wlandev->macmode == WLAN_MACMODE_IBSS_STA) in prism2_change_virtual_intf()
117 wlandev->macmode = WLAN_MACMODE_IBSS_STA; in prism2_change_virtual_intf()
121 if (wlandev->macmode == WLAN_MACMODE_ESS_STA) in prism2_change_virtual_intf()
123 wlandev->macmode = WLAN_MACMODE_ESS_STA; in prism2_change_virtual_intf()
299 if (wlandev->macmode == WLAN_MACMODE_ESS_AP) { in prism2_scan()
Dprism2sta.c542 wlandev->macmode = WLAN_MACMODE_NONE; in prism2sta_ifstate()
1269 wlandev->macmode = in prism2sta_processing_defer()
1294 wlandev->macmode = WLAN_MACMODE_NONE; in prism2sta_processing_defer()
1924 if ((wlandev->macmode == WLAN_MACMODE_NONE) || in prism2sta_commsqual_defer()
1925 (wlandev->macmode == WLAN_MACMODE_ESS_AP)) { in prism2sta_commsqual_defer()
1930 if (wlandev->macmode != WLAN_MACMODE_IBSS_STA) { in prism2sta_commsqual_defer()
Dp80211netdev.c355 switch (wlandev->macmode) { in p80211knetdev_hard_start_xmit()
495 (wlandev->macmode != WLAN_MACMODE_NONE)) { in p80211netdev_ethtool()
727 wlandev->macmode = WLAN_MACMODE_NONE; in wlan_setup()
Dp80211netdev.h193 u32 macmode; member
Dprism2mgmt.c555 wlandev->macmode = WLAN_MACMODE_NONE; in prism2mgmt_start()
683 wlandev->macmode = WLAN_MACMODE_IBSS_STA; in prism2mgmt_start()
1056 wlandev->macmode = WLAN_MACMODE_NONE; in prism2mgmt_autojoin()
Dp80211conv.c176 switch (wlandev->macmode) { in skb_ether_to_p80211()
/Linux-v5.4/drivers/net/
Dmacvlan.c1381 int macmode; in macvlan_common_newlink() local
1452 macmode = nla_get_u32(data[IFLA_MACVLAN_MACADDR_MODE]); in macvlan_common_newlink()
1453 err = macvlan_changelink_sources(vlan, macmode, data); in macvlan_common_newlink()
1513 enum macvlan_macaddr_mode macmode; in macvlan_changelink() local
1549 macmode = nla_get_u32(data[IFLA_MACVLAN_MACADDR_MODE]); in macvlan_changelink()
1550 ret = macvlan_changelink_sources(vlan, macmode, data); in macvlan_changelink()
/Linux-v5.4/drivers/net/wireless/ath/ath9k/
Dhw.c3067 u32 macmode; in ath9k_hw_set11nmac2040() local
3070 macmode = AR_2040_JOINED_RX_CLEAR; in ath9k_hw_set11nmac2040()
3072 macmode = 0; in ath9k_hw_set11nmac2040()
3074 REG_WRITE(ah, AR_2040_MODE, macmode); in ath9k_hw_set11nmac2040()