Home
last modified time | relevance | path

Searched refs:macctrl (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/dlink/
Ddl2k.c525 u16 macctrl; in rio_hw_init() local
600 macctrl = 0; in rio_hw_init()
601 macctrl |= (np->vlan) ? AutoVLANuntagging : 0; in rio_hw_init()
602 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_hw_init()
603 macctrl |= (np->tx_flow) ? TxFlowControlEnable : 0; in rio_hw_init()
604 macctrl |= (np->rx_flow) ? RxFlowControlEnable : 0; in rio_hw_init()
605 dw16(MACCtrl, macctrl); in rio_hw_init()
1021 u16 macctrl; in rio_error() local
1035 macctrl = 0; in rio_error()
1036 macctrl |= (np->vlan) ? AutoVLANuntagging : 0; in rio_error()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c391 u32 macctrl; in brcms_deviceremoved() local
395 macctrl = bcma_read32(wlc->hw->d11core, in brcms_deviceremoved()
397 return (macctrl & (MCTL_PSM_JMP_0 | MCTL_IHR_EN)) != MCTL_IHR_EN; in brcms_deviceremoved()
812 u32 macctrl; in brcms_c_setband_inact() local
815 macctrl = bcma_read32(wlc_hw->d11core, in brcms_c_setband_inact()
817 WARN_ON((macctrl & MCTL_EN_MAC) != 0); in brcms_c_setband_inact()