Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/dlink/
Ddl2k.c525 u16 macctrl; in rio_hw_init() local
599 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() local
1034 macctrl = 0; in rio_error()
1035 macctrl |= (np->vlan) ? AutoVLANuntagging : 0; in rio_error()
[all …]
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c385 u32 macctrl; in brcms_deviceremoved() local
389 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() local
808 macctrl = bcma_read32(wlc_hw->d11core, in brcms_c_setband_inact()
810 WARN_ON((macctrl & MCTL_EN_MAC) != 0); in brcms_c_setband_inact()