Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c650 u32 psrctl; in wx_init_rx_addrs() local
684 psrctl = rd32(wx, WX_PSR_CTL); in wx_init_rx_addrs()
685 psrctl &= ~(WX_PSR_CTL_MO | WX_PSR_CTL_MFE); in wx_init_rx_addrs()
686 psrctl |= wx->mac.mc_filter_type << WX_PSR_CTL_MO_SHIFT; in wx_init_rx_addrs()
687 wr32(wx, WX_PSR_CTL, psrctl); in wx_init_rx_addrs()
923 u32 i, psrctl; in wx_update_mc_addr_list() local
947 psrctl = rd32(wx, WX_PSR_CTL); in wx_update_mc_addr_list()
948 psrctl &= ~(WX_PSR_CTL_MO | WX_PSR_CTL_MFE); in wx_update_mc_addr_list()
949 psrctl |= WX_PSR_CTL_MFE | in wx_update_mc_addr_list()
951 wr32(wx, WX_PSR_CTL, psrctl); in wx_update_mc_addr_list()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/e1000e/
Dnetdev.c3138 u32 psrctl = 0; in e1000_setup_rctl() local
3143 psrctl |= adapter->rx_ps_bsize0 >> E1000_PSRCTL_BSIZE0_SHIFT; in e1000_setup_rctl()
3147 psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE3_SHIFT; in e1000_setup_rctl()
3150 psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE2_SHIFT; in e1000_setup_rctl()
3153 psrctl |= PAGE_SIZE >> E1000_PSRCTL_BSIZE1_SHIFT; in e1000_setup_rctl()
3157 ew32(PSRCTL, psrctl); in e1000_setup_rctl()