Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c742 u32 psrctl; in wx_init_rx_addrs() local
776 psrctl = rd32(wx, WX_PSR_CTL); in wx_init_rx_addrs()
777 psrctl &= ~(WX_PSR_CTL_MO | WX_PSR_CTL_MFE); in wx_init_rx_addrs()
778 psrctl |= wx->mac.mc_filter_type << WX_PSR_CTL_MO_SHIFT; in wx_init_rx_addrs()
779 wr32(wx, WX_PSR_CTL, psrctl); in wx_init_rx_addrs()
1015 u32 i, psrctl; in wx_update_mc_addr_list() local
1039 psrctl = rd32(wx, WX_PSR_CTL); in wx_update_mc_addr_list()
1040 psrctl &= ~(WX_PSR_CTL_MO | WX_PSR_CTL_MFE); in wx_update_mc_addr_list()
1041 psrctl |= WX_PSR_CTL_MFE | in wx_update_mc_addr_list()
1043 wr32(wx, WX_PSR_CTL, psrctl); in wx_update_mc_addr_list()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/e1000e/
Dnetdev.c3136 u32 psrctl = 0; in e1000_setup_rctl() local
3141 psrctl |= adapter->rx_ps_bsize0 >> E1000_PSRCTL_BSIZE0_SHIFT; in e1000_setup_rctl()
3145 psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE3_SHIFT; in e1000_setup_rctl()
3148 psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE2_SHIFT; in e1000_setup_rctl()
3151 psrctl |= PAGE_SIZE >> E1000_PSRCTL_BSIZE1_SHIFT; in e1000_setup_rctl()
3155 ew32(PSRCTL, psrctl); in e1000_setup_rctl()