Lines Matching refs:macctrl
533 u16 macctrl; in rio_hw_init() local
608 macctrl = 0; in rio_hw_init()
609 macctrl |= (np->vlan) ? AutoVLANuntagging : 0; in rio_hw_init()
610 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_hw_init()
611 macctrl |= (np->tx_flow) ? TxFlowControlEnable : 0; in rio_hw_init()
612 macctrl |= (np->rx_flow) ? RxFlowControlEnable : 0; in rio_hw_init()
613 dw16(MACCtrl, macctrl); in rio_hw_init()
1034 u16 macctrl; in rio_error() local
1048 macctrl = 0; in rio_error()
1049 macctrl |= (np->vlan) ? AutoVLANuntagging : 0; in rio_error()
1050 macctrl |= (np->full_duplex) ? DuplexSelect : 0; in rio_error()
1051 macctrl |= (np->tx_flow) ? in rio_error()
1053 macctrl |= (np->rx_flow) ? in rio_error()
1055 dw16(MACCtrl, macctrl); in rio_error()