/Linux-v5.10/drivers/net/ethernet/atheros/atlx/ |
D | atlx.c | 118 u32 rctl; in atlx_set_multi() local 122 rctl = ioread32(hw->hw_addr + REG_MAC_CTRL); in atlx_set_multi() 124 rctl |= MAC_CTRL_PROMIS_EN; in atlx_set_multi() 126 rctl |= MAC_CTRL_MC_ALL_EN; in atlx_set_multi() 127 rctl &= ~MAC_CTRL_PROMIS_EN; in atlx_set_multi() 129 rctl &= ~(MAC_CTRL_PROMIS_EN | MAC_CTRL_MC_ALL_EN); in atlx_set_multi() 131 iowrite32(rctl, hw->hw_addr + REG_MAC_CTRL); in atlx_set_multi()
|
D | atl2.c | 120 u32 rctl; in atl2_set_multi() local 124 rctl = ATL2_READ_REG(hw, REG_MAC_CTRL); in atl2_set_multi() 127 rctl |= MAC_CTRL_PROMIS_EN; in atl2_set_multi() 129 rctl |= MAC_CTRL_MC_ALL_EN; in atl2_set_multi() 130 rctl &= ~MAC_CTRL_PROMIS_EN; in atl2_set_multi() 132 rctl &= ~(MAC_CTRL_PROMIS_EN | MAC_CTRL_MC_ALL_EN); in atl2_set_multi() 134 ATL2_WRITE_REG(hw, REG_MAC_CTRL, rctl); in atl2_set_multi()
|
/Linux-v5.10/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 784 u32 rctl; in ixgb_setup_rctl() local 786 rctl = IXGB_READ_REG(&adapter->hw, RCTL); in ixgb_setup_rctl() 788 rctl &= ~(3 << IXGB_RCTL_MO_SHIFT); in ixgb_setup_rctl() 790 rctl |= in ixgb_setup_rctl() 795 rctl |= IXGB_RCTL_SECRC; in ixgb_setup_rctl() 798 rctl |= IXGB_RCTL_BSIZE_2048; in ixgb_setup_rctl() 800 rctl |= IXGB_RCTL_BSIZE_4096; in ixgb_setup_rctl() 802 rctl |= IXGB_RCTL_BSIZE_8192; in ixgb_setup_rctl() 804 rctl |= IXGB_RCTL_BSIZE_16384; in ixgb_setup_rctl() 806 IXGB_WRITE_REG(&adapter->hw, RCTL, rctl); in ixgb_setup_rctl() [all …]
|
/Linux-v5.10/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 493 u32 rctl, tctl; in e1000_down() local 496 rctl = er32(RCTL); in e1000_down() 497 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_down() 1786 u32 rctl; in e1000_setup_rctl() local 1788 rctl = er32(RCTL); in e1000_setup_rctl() 1790 rctl &= ~(3 << E1000_RCTL_MO_SHIFT); in e1000_setup_rctl() 1792 rctl |= E1000_RCTL_BAM | E1000_RCTL_LBM_NO | in e1000_setup_rctl() 1797 rctl |= E1000_RCTL_SBP; in e1000_setup_rctl() 1799 rctl &= ~E1000_RCTL_SBP; in e1000_setup_rctl() 1802 rctl &= ~E1000_RCTL_LPE; in e1000_setup_rctl() [all …]
|
D | e1000_ethtool.c | 975 u32 rctl; in e1000_setup_desc_rings() local 1058 rctl = er32(RCTL); in e1000_setup_desc_rings() 1059 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_setup_desc_rings() 1065 rctl = E1000_RCTL_EN | E1000_RCTL_BAM | E1000_RCTL_SZ_2048 | in e1000_setup_desc_rings() 1068 ew32(RCTL, rctl); in e1000_setup_desc_rings() 1303 u32 rctl; in e1000_setup_loopback_test() local 1314 rctl = er32(RCTL); in e1000_setup_loopback_test() 1315 rctl |= E1000_RCTL_LBM_TCVR; in e1000_setup_loopback_test() 1316 ew32(RCTL, rctl); in e1000_setup_loopback_test() 1329 u32 rctl; in e1000_loopback_cleanup() local [all …]
|
D | e1000_hw.c | 2371 u32 rctl; in e1000_check_for_link() local 2514 rctl = er32(RCTL); in e1000_check_for_link() 2515 rctl &= ~E1000_RCTL_SBP; in e1000_check_for_link() 2516 ew32(RCTL, rctl); in e1000_check_for_link() 2528 rctl = er32(RCTL); in e1000_check_for_link() 2529 rctl |= E1000_RCTL_SBP; in e1000_check_for_link() 2530 ew32(RCTL, rctl); in e1000_check_for_link()
|
/Linux-v5.10/drivers/net/ethernet/intel/igc/ |
D | igc_base.c | 347 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; in igc_rx_fifo_flush_base() local 386 rctl = rd32(IGC_RCTL); in igc_rx_fifo_flush_base() 387 temp_rctl = rctl & ~(IGC_RCTL_EN | IGC_RCTL_SBP); in igc_rx_fifo_flush_base() 400 wr32(IGC_RCTL, rctl); in igc_rx_fifo_flush_base()
|
D | igc_main.c | 695 u32 rctl; in igc_setup_rctl() local 697 rctl = rd32(IGC_RCTL); in igc_setup_rctl() 699 rctl &= ~(3 << IGC_RCTL_MO_SHIFT); in igc_setup_rctl() 700 rctl &= ~(IGC_RCTL_LBM_TCVR | IGC_RCTL_LBM_MAC); in igc_setup_rctl() 702 rctl |= IGC_RCTL_EN | IGC_RCTL_BAM | IGC_RCTL_RDMTS_HALF | in igc_setup_rctl() 708 rctl |= IGC_RCTL_SECRC; in igc_setup_rctl() 711 rctl &= ~(IGC_RCTL_SBP | IGC_RCTL_SZ_256); in igc_setup_rctl() 714 rctl |= IGC_RCTL_LPE; in igc_setup_rctl() 724 rctl |= (IGC_RCTL_SBP | /* Receive bad packets */ in igc_setup_rctl() 728 rctl &= ~(IGC_RCTL_DPF | /* Allow filtered pause */ in igc_setup_rctl() [all …]
|
/Linux-v5.10/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 649 u32 rctl = er32(RCTL); in e1000e_update_rdt_wa() local 651 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000e_update_rdt_wa() 1818 u32 rctl = er32(RCTL); in e1000_intr_msi() local 1820 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_intr_msi() 1866 u32 rctl, icr = er32(ICR); in e1000_intr() local 1899 rctl = er32(RCTL); in e1000_intr() 1900 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_intr() 2803 u32 rctl; in e1000e_vlan_filter_disable() local 2807 rctl = er32(RCTL); in e1000e_vlan_filter_disable() 2808 rctl &= ~(E1000_RCTL_VFE | E1000_RCTL_CFIEN); in e1000e_vlan_filter_disable() [all …]
|
D | ethtool.c | 1168 u32 rctl; in e1000_setup_desc_rings() local 1255 rctl = er32(RCTL); in e1000_setup_desc_rings() 1257 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_setup_desc_rings() 1263 rctl = E1000_RCTL_EN | E1000_RCTL_BAM | E1000_RCTL_SZ_2048 | in e1000_setup_desc_rings() 1268 ew32(RCTL, rctl); in e1000_setup_desc_rings() 1515 u32 rctl, fext_nvm11, tarc0; in e1000_setup_loopback_test() local 1537 rctl = er32(RCTL); in e1000_setup_loopback_test() 1538 rctl |= E1000_RCTL_LBM_TCVR; in e1000_setup_loopback_test() 1539 ew32(RCTL, rctl); in e1000_setup_loopback_test() 1552 u32 rctl, fext_nvm11, tarc0; in e1000_loopback_cleanup() local [all …]
|
/Linux-v5.10/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 364 u32 rctl; in pch_gbe_disable_mac_rx() local 366 rctl = ioread32(&hw->reg->MAC_RX_EN); in pch_gbe_disable_mac_rx() 367 iowrite32((rctl & ~PCH_GBE_MRE_MAC_RX_EN), &hw->reg->MAC_RX_EN); in pch_gbe_disable_mac_rx() 372 u32 rctl; in pch_gbe_enable_mac_rx() local 374 rctl = ioread32(&hw->reg->MAC_RX_EN); in pch_gbe_enable_mac_rx() 375 iowrite32((rctl | PCH_GBE_MRE_MAC_RX_EN), &hw->reg->MAC_RX_EN); in pch_gbe_enable_mac_rx() 2094 u32 rctl, adrmask; in pch_gbe_set_multi() local 2100 rctl = ioread32(&hw->reg->RX_MODE); in pch_gbe_set_multi() 2101 rctl |= PCH_GBE_ADD_FIL_EN | PCH_GBE_MLT_FIL_EN; in pch_gbe_set_multi() 2105 rctl &= ~(PCH_GBE_ADD_FIL_EN | PCH_GBE_MLT_FIL_EN); in pch_gbe_set_multi() [all …]
|
/Linux-v5.10/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 2159 u32 tctl, rctl; in igb_down() local 2168 rctl = rd32(E1000_RCTL); in igb_down() 2169 wr32(E1000_RCTL, rctl & ~E1000_RCTL_EN); in igb_down() 4500 u32 rctl; in igb_setup_rctl() local 4502 rctl = rd32(E1000_RCTL); in igb_setup_rctl() 4504 rctl &= ~(3 << E1000_RCTL_MO_SHIFT); in igb_setup_rctl() 4505 rctl &= ~(E1000_RCTL_LBM_TCVR | E1000_RCTL_LBM_MAC); in igb_setup_rctl() 4507 rctl |= E1000_RCTL_EN | E1000_RCTL_BAM | E1000_RCTL_RDMTS_HALF | in igb_setup_rctl() 4514 rctl |= E1000_RCTL_SECRC; in igb_setup_rctl() 4517 rctl &= ~(E1000_RCTL_SBP | E1000_RCTL_SZ_256); in igb_setup_rctl() [all …]
|
D | e1000_82575.c | 1947 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; in igb_rx_fifo_flush_82575() local 1987 rctl = rd32(E1000_RCTL); in igb_rx_fifo_flush_82575() 1988 temp_rctl = rctl & ~(E1000_RCTL_EN | E1000_RCTL_SBP); in igb_rx_fifo_flush_82575() 2001 wr32(E1000_RCTL, rctl); in igb_rx_fifo_flush_82575()
|
D | igb_ethtool.c | 1749 u32 rctl; in igb_loopback_cleanup() local 1770 rctl = rd32(E1000_RCTL); in igb_loopback_cleanup() 1771 rctl &= ~(E1000_RCTL_LBM_TCVR | E1000_RCTL_LBM_MAC); in igb_loopback_cleanup() 1772 wr32(E1000_RCTL, rctl); in igb_loopback_cleanup()
|
/Linux-v5.10/drivers/scsi/lpfc/ |
D | lpfc_sli.h | 180 uint8_t rctl; /* rctl / type pair configured for ring */ member
|
D | lpfc_hw.h | 3863 uint32_t rctl:8; member 3881 uint32_t rctl:8; member
|
D | lpfc_sli.c | 2943 if ((pring->prt[i].rctl == fch_r_ctl) && in lpfc_complete_unsol_iocb() 10361 pring->prt[0].rctl = phba->cfg_multi_ring_rctl; in lpfc_extra_ring_setup() 10553 pring->prt[0].rctl = FC_RCTL_ELS_REQ; in lpfc_sli4_setup() 10558 pring->prt[1].rctl = FC_RCTL_ELS_REP; in lpfc_sli4_setup() 10564 pring->prt[2].rctl = FC_RCTL_DD_UNSOL_CTL; in lpfc_sli4_setup() 10571 pring->prt[3].rctl = FC_RCTL_DD_SOL_CTL; in lpfc_sli4_setup() 10661 pring->prt[0].rctl = FC_RCTL_ELS_REQ; in lpfc_sli_setup() 10666 pring->prt[1].rctl = FC_RCTL_ELS_REP; in lpfc_sli_setup() 10672 pring->prt[2].rctl = FC_RCTL_DD_UNSOL_CTL; in lpfc_sli_setup() 10679 pring->prt[3].rctl = FC_RCTL_DD_SOL_CTL; in lpfc_sli_setup()
|
D | lpfc_mbox.c | 1243 mb->un.varCfgRing.rrRegs[i].rval = pring->prt[i].rctl; in lpfc_config_ring()
|
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 1828 u32 rctl, reg_data; in ixgbe_setup_desc_rings() local 1876 rctl = IXGBE_READ_REG(&adapter->hw, IXGBE_RXCTRL); in ixgbe_setup_desc_rings() 1877 rctl |= IXGBE_RXCTRL_DMBYPS; in ixgbe_setup_desc_rings() 1878 IXGBE_WRITE_REG(&adapter->hw, IXGBE_RXCTRL, rctl); in ixgbe_setup_desc_rings()
|
/Linux-v5.10/drivers/scsi/libfc/ |
D | fc_exch.c | 1259 enum fc_rctl rctl, enum fc_fh_type fh_type) in fc_seq_send_last() argument 1266 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 3565 u8 rctl; member 3569 u8 rctl; member
|