Searched refs:macctrl (Results 1 – 2 of 2) sorted by relevance
543 u16 macctrl; in rio_hw_init() local618 macctrl = 0; in rio_hw_init()619 macctrl |= (np->vlan) ? AutoVLANuntagging : 0; in rio_hw_init()620 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_hw_init()621 macctrl |= (np->tx_flow) ? TxFlowControlEnable : 0; in rio_hw_init()622 macctrl |= (np->rx_flow) ? RxFlowControlEnable : 0; in rio_hw_init()623 dw16(MACCtrl, macctrl); in rio_hw_init()1047 u16 macctrl; in rio_error() local1061 macctrl = 0; in rio_error()1062 macctrl |= (np->vlan) ? AutoVLANuntagging : 0; in rio_error()[all …]
385 u32 macctrl; in brcms_deviceremoved() local389 macctrl = bcma_read32(wlc->hw->d11core, in brcms_deviceremoved()391 return (macctrl & (MCTL_PSM_JMP_0 | MCTL_IHR_EN)) != MCTL_IHR_EN; in brcms_deviceremoved()804 u32 macctrl; in brcms_c_setband_inact() local807 macctrl = bcma_read32(wlc_hw->d11core, in brcms_c_setband_inact()809 WARN_ON((macctrl & MCTL_EN_MAC) != 0); in brcms_c_setband_inact()