/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()
|
/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 …]
|
/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 | 2372 u32 rctl; in e1000_check_for_link() local 2515 rctl = er32(RCTL); in e1000_check_for_link() 2516 rctl &= ~E1000_RCTL_SBP; in e1000_check_for_link() 2517 ew32(RCTL, rctl); in e1000_check_for_link() 2529 rctl = er32(RCTL); in e1000_check_for_link() 2530 rctl |= E1000_RCTL_SBP; in e1000_check_for_link() 2531 ew32(RCTL, rctl); in e1000_check_for_link()
|
/drivers/net/ethernet/intel/igc/ |
D | igc_base.c | 340 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; in igc_rx_fifo_flush_base() local 379 rctl = rd32(IGC_RCTL); in igc_rx_fifo_flush_base() 380 temp_rctl = rctl & ~(IGC_RCTL_EN | IGC_RCTL_SBP); in igc_rx_fifo_flush_base() 393 wr32(IGC_RCTL, rctl); in igc_rx_fifo_flush_base()
|
D | igc_main.c | 838 u32 rctl; in igc_setup_rctl() local 840 rctl = rd32(IGC_RCTL); in igc_setup_rctl() 842 rctl &= ~(3 << IGC_RCTL_MO_SHIFT); in igc_setup_rctl() 843 rctl &= ~(IGC_RCTL_LBM_TCVR | IGC_RCTL_LBM_MAC); in igc_setup_rctl() 845 rctl |= IGC_RCTL_EN | IGC_RCTL_BAM | IGC_RCTL_RDMTS_HALF | in igc_setup_rctl() 851 rctl |= IGC_RCTL_SECRC; in igc_setup_rctl() 854 rctl &= ~(IGC_RCTL_SBP | IGC_RCTL_SZ_256); in igc_setup_rctl() 857 rctl |= IGC_RCTL_LPE; in igc_setup_rctl() 867 rctl |= (IGC_RCTL_SBP | /* Receive bad packets */ in igc_setup_rctl() 871 rctl &= ~(IGC_RCTL_DPF | /* Allow filtered pause */ in igc_setup_rctl() [all …]
|
/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 613 u32 rctl = er32(RCTL); in e1000e_update_rdt_wa() local 615 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000e_update_rdt_wa() 1782 u32 rctl = er32(RCTL); in e1000_intr_msi() local 1784 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_intr_msi() 1830 u32 rctl, icr = er32(ICR); in e1000_intr() local 1863 rctl = er32(RCTL); in e1000_intr() 1864 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_intr() 2767 u32 rctl; in e1000e_vlan_filter_disable() local 2771 rctl = er32(RCTL); in e1000e_vlan_filter_disable() 2772 rctl &= ~(E1000_RCTL_VFE | E1000_RCTL_CFIEN); in e1000e_vlan_filter_disable() [all …]
|
D | ethtool.c | 1176 u32 rctl; in e1000_setup_desc_rings() local 1263 rctl = er32(RCTL); in e1000_setup_desc_rings() 1265 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_setup_desc_rings() 1271 rctl = E1000_RCTL_EN | E1000_RCTL_BAM | E1000_RCTL_SZ_2048 | in e1000_setup_desc_rings() 1276 ew32(RCTL, rctl); in e1000_setup_desc_rings() 1523 u32 rctl, fext_nvm11, tarc0; in e1000_setup_loopback_test() local 1545 rctl = er32(RCTL); in e1000_setup_loopback_test() 1546 rctl |= E1000_RCTL_LBM_TCVR; in e1000_setup_loopback_test() 1547 ew32(RCTL, rctl); in e1000_setup_loopback_test() 1560 u32 rctl, fext_nvm11, tarc0; in e1000_loopback_cleanup() local [all …]
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 354 u32 rctl; in pch_gbe_disable_mac_rx() local 356 rctl = ioread32(&hw->reg->MAC_RX_EN); in pch_gbe_disable_mac_rx() 357 iowrite32((rctl & ~PCH_GBE_MRE_MAC_RX_EN), &hw->reg->MAC_RX_EN); in pch_gbe_disable_mac_rx() 362 u32 rctl; in pch_gbe_enable_mac_rx() local 364 rctl = ioread32(&hw->reg->MAC_RX_EN); in pch_gbe_enable_mac_rx() 365 iowrite32((rctl | PCH_GBE_MRE_MAC_RX_EN), &hw->reg->MAC_RX_EN); in pch_gbe_enable_mac_rx() 2072 u32 rctl, adrmask; in pch_gbe_set_multi() local 2078 rctl = ioread32(&hw->reg->RX_MODE); in pch_gbe_set_multi() 2079 rctl |= PCH_GBE_ADD_FIL_EN | PCH_GBE_MLT_FIL_EN; in pch_gbe_set_multi() 2083 rctl &= ~(PCH_GBE_ADD_FIL_EN | PCH_GBE_MLT_FIL_EN); in pch_gbe_set_multi() [all …]
|
/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 2171 u32 tctl, rctl; in igb_down() local 2180 rctl = rd32(E1000_RCTL); in igb_down() 2181 wr32(E1000_RCTL, rctl & ~E1000_RCTL_EN); in igb_down() 4525 u32 rctl; in igb_setup_rctl() local 4527 rctl = rd32(E1000_RCTL); in igb_setup_rctl() 4529 rctl &= ~(3 << E1000_RCTL_MO_SHIFT); in igb_setup_rctl() 4530 rctl &= ~(E1000_RCTL_LBM_TCVR | E1000_RCTL_LBM_MAC); in igb_setup_rctl() 4532 rctl |= E1000_RCTL_EN | E1000_RCTL_BAM | E1000_RCTL_RDMTS_HALF | in igb_setup_rctl() 4539 rctl |= E1000_RCTL_SECRC; in igb_setup_rctl() 4542 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 | 1750 u32 rctl; in igb_loopback_cleanup() local 1771 rctl = rd32(E1000_RCTL); in igb_loopback_cleanup() 1772 rctl &= ~(E1000_RCTL_LBM_TCVR | E1000_RCTL_LBM_MAC); in igb_loopback_cleanup() 1773 wr32(E1000_RCTL, rctl); in igb_loopback_cleanup()
|
/drivers/scsi/lpfc/ |
D | lpfc_sli.h | 195 uint8_t rctl; /* rctl / type pair configured for ring */ member
|
D | lpfc_hw.h | 3987 uint32_t rctl:8; member 4005 uint32_t rctl:8; member
|
D | lpfc_sli.c | 3353 if ((pring->prt[i].rctl == fch_r_ctl) && in lpfc_complete_unsol_iocb() 11494 pring->prt[0].rctl = phba->cfg_multi_ring_rctl; in lpfc_extra_ring_setup() 11710 pring->prt[0].rctl = FC_RCTL_ELS_REQ; in lpfc_sli4_setup() 11715 pring->prt[1].rctl = FC_RCTL_ELS_REP; in lpfc_sli4_setup() 11721 pring->prt[2].rctl = FC_RCTL_DD_UNSOL_CTL; in lpfc_sli4_setup() 11728 pring->prt[3].rctl = FC_RCTL_DD_SOL_CTL; in lpfc_sli4_setup() 11818 pring->prt[0].rctl = FC_RCTL_ELS_REQ; in lpfc_sli_setup() 11823 pring->prt[1].rctl = FC_RCTL_ELS_REP; in lpfc_sli_setup() 11829 pring->prt[2].rctl = FC_RCTL_DD_UNSOL_CTL; in lpfc_sli_setup() 11836 pring->prt[3].rctl = FC_RCTL_DD_SOL_CTL; in lpfc_sli_setup()
|
D | lpfc_mbox.c | 1245 mb->un.varCfgRing.rrRegs[i].rval = pring->prt[i].rctl; in lpfc_config_ring()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 1816 u32 rctl, reg_data; in ixgbe_setup_desc_rings() local 1864 rctl = IXGBE_READ_REG(&adapter->hw, IXGBE_RXCTRL); in ixgbe_setup_desc_rings() 1865 rctl |= IXGBE_RXCTRL_DMBYPS; in ixgbe_setup_desc_rings() 1866 IXGBE_WRITE_REG(&adapter->hw, IXGBE_RXCTRL, rctl); in ixgbe_setup_desc_rings()
|
/drivers/scsi/libfc/ |
D | fc_exch.c | 1258 enum fc_rctl rctl, enum fc_fh_type fh_type) in fc_seq_send_last() argument 1265 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
|
/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 3565 u8 rctl; member 3569 u8 rctl; member
|