Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/dlink/
H A 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()
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()
1038 macctrl |= (np->tx_flow) ? in rio_error()
1040 macctrl |= (np->rx_flow) ? in rio_error()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A 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()