Searched refs:macctrl (Results 1 – 2 of 2) sorted by relevance
525 u16 macctrl; in rio_hw_init() local599 macctrl = 0; in rio_hw_init()600 macctrl |= (np->vlan) ? AutoVLANuntagging : 0; in rio_hw_init()601 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_hw_init()602 macctrl |= (np->tx_flow) ? TxFlowControlEnable : 0; in rio_hw_init()603 macctrl |= (np->rx_flow) ? RxFlowControlEnable : 0; in rio_hw_init()604 dw16(MACCtrl, macctrl); in rio_hw_init()1020 u16 macctrl; in rio_error() local1034 macctrl = 0; in rio_error()1035 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()805 u32 macctrl; in brcms_c_setband_inact() local808 macctrl = bcma_read32(wlc_hw->d11core, in brcms_c_setband_inact()810 WARN_ON((macctrl & MCTL_EN_MAC) != 0); in brcms_c_setband_inact()