/linux/drivers/net/ethernet/atheros/atlx/ |
A 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()
|
A 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/drivers/net/ethernet/intel/ixgb/ |
A D | ixgb_main.c | 786 u32 rctl; in ixgb_setup_rctl() local 792 rctl |= in ixgb_setup_rctl() 797 rctl |= IXGB_RCTL_SECRC; in ixgb_setup_rctl() 824 u32 rctl; in ixgb_configure_rx() local 1058 u32 rctl; in ixgb_set_multi() local 1067 rctl &= ~IXGB_RCTL_CFIEN; in ixgb_set_multi() 1068 rctl &= ~IXGB_RCTL_VFE; in ixgb_set_multi() 1071 rctl |= IXGB_RCTL_MPE; in ixgb_set_multi() 1072 rctl &= ~IXGB_RCTL_UPE; in ixgb_set_multi() 1077 rctl |= IXGB_RCTL_VFE; in ixgb_set_multi() [all …]
|
/linux/drivers/net/ethernet/intel/e1000/ |
A D | e1000_main.c | 493 u32 rctl, tctl; in e1000_down() local 496 rctl = er32(RCTL); in e1000_down() 1786 u32 rctl; in e1000_setup_rctl() local 1843 ew32(RCTL, rctl); in e1000_setup_rctl() 2154 u32 rctl; in e1000_enter_82542_rst() local 2160 ew32(RCTL, rctl); in e1000_enter_82542_rst() 2172 u32 rctl; in e1000_leave_82542_rst() local 2176 ew32(RCTL, rctl); in e1000_leave_82542_rst() 2238 u32 rctl; in e1000_set_rx_mode() local 2271 ew32(RCTL, rctl); in e1000_set_rx_mode() [all …]
|
A 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() 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 1332 rctl = er32(RCTL); in e1000_loopback_cleanup() [all …]
|
A 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()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_base.c | 336 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; in igc_rx_fifo_flush_base() local 375 rctl = rd32(IGC_RCTL); in igc_rx_fifo_flush_base() 376 temp_rctl = rctl & ~(IGC_RCTL_EN | IGC_RCTL_SBP); in igc_rx_fifo_flush_base() 389 wr32(IGC_RCTL, rctl); in igc_rx_fifo_flush_base()
|
A D | igc_main.c | 800 u32 rctl; in igc_setup_rctl() local 802 rctl = rd32(IGC_RCTL); in igc_setup_rctl() 813 rctl |= IGC_RCTL_SECRC; in igc_setup_rctl() 819 rctl |= IGC_RCTL_LPE; in igc_setup_rctl() 837 wr32(IGC_RCTL, rctl); in igc_setup_rctl() 3593 rctl |= IGC_RCTL_MPE; in igc_set_rx_mode() 3610 rctl |= IGC_RCTL_UPE; in igc_set_rx_mode() 3614 wr32(IGC_RCTL, rctl); in igc_set_rx_mode() 4765 u32 tctl, rctl; in igc_down() local 4774 rctl = rd32(IGC_RCTL); in igc_down() [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | netdev.c | 2765 u32 rctl; in e1000e_vlan_filter_disable() local 2771 ew32(RCTL, rctl); in e1000e_vlan_filter_disable() 2788 u32 rctl; in e1000e_vlan_filter_enable() local 2795 ew32(RCTL, rctl); in e1000e_vlan_filter_enable() 3040 u32 rctl, rfctl; in e1000_setup_rctl() local 3184 ew32(RCTL, rctl); in e1000_setup_rctl() 3302 ew32(RCTL, rctl); in e1000_configure_rx() 3413 u32 rctl; in e1000e_set_rx_mode() local 3452 ew32(RCTL, rctl); in e1000e_set_rx_mode() 3847 u32 rctl, rxdctl; in e1000_flush_rx_ring() local [all …]
|
A 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() 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 1563 rctl = er32(RCTL); in e1000_loopback_cleanup() [all …]
|
/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
A 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() 362 u32 rctl; in pch_gbe_enable_mac_rx() local 364 rctl = ioread32(&hw->reg->MAC_RX_EN); in pch_gbe_enable_mac_rx() 2071 u32 rctl, adrmask; in pch_gbe_set_multi() local 2077 rctl = ioread32(&hw->reg->RX_MODE); in pch_gbe_set_multi() 2078 rctl |= PCH_GBE_ADD_FIL_EN | PCH_GBE_MLT_FIL_EN; in pch_gbe_set_multi() 2082 rctl &= ~(PCH_GBE_ADD_FIL_EN | PCH_GBE_MLT_FIL_EN); in pch_gbe_set_multi() 2089 rctl &= ~PCH_GBE_MLT_FIL_EN; in pch_gbe_set_multi() 2091 iowrite32(rctl, &hw->reg->RX_MODE); in pch_gbe_set_multi() [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_main.c | 2165 u32 tctl, rctl; in igb_down() local 2174 rctl = rd32(E1000_RCTL); in igb_down() 4515 u32 rctl; in igb_setup_rctl() local 4517 rctl = rd32(E1000_RCTL); in igb_setup_rctl() 4535 rctl |= E1000_RCTL_LPE; in igb_setup_rctl() 4565 wr32(E1000_RCTL, rctl); in igb_setup_rctl() 5219 rctl |= E1000_RCTL_UPE; in igb_set_rx_mode() 5224 rctl |= E1000_RCTL_VFE; in igb_set_rx_mode() 5239 wr32(E1000_RCTL, rctl); in igb_set_rx_mode() 9028 u32 ctrl, rctl; in igb_vlan_mode() local [all …]
|
A 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()
|
A 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/drivers/scsi/lpfc/ |
A D | lpfc_sli.h | 195 uint8_t rctl; /* rctl / type pair configured for ring */ member
|
A D | lpfc_hw.h | 3987 uint32_t rctl:8; member 4005 uint32_t rctl:8; member
|
A D | lpfc_sli.c | 3351 if ((pring->prt[i].rctl == fch_r_ctl) && in lpfc_complete_unsol_iocb() 11307 pring->prt[0].rctl = phba->cfg_multi_ring_rctl; in lpfc_extra_ring_setup() 11523 pring->prt[0].rctl = FC_RCTL_ELS_REQ; in lpfc_sli4_setup() 11528 pring->prt[1].rctl = FC_RCTL_ELS_REP; in lpfc_sli4_setup() 11534 pring->prt[2].rctl = FC_RCTL_DD_UNSOL_CTL; in lpfc_sli4_setup() 11541 pring->prt[3].rctl = FC_RCTL_DD_SOL_CTL; in lpfc_sli4_setup() 11631 pring->prt[0].rctl = FC_RCTL_ELS_REQ; in lpfc_sli_setup() 11636 pring->prt[1].rctl = FC_RCTL_ELS_REP; in lpfc_sli_setup() 11642 pring->prt[2].rctl = FC_RCTL_DD_UNSOL_CTL; in lpfc_sli_setup() 11649 pring->prt[3].rctl = FC_RCTL_DD_SOL_CTL; in lpfc_sli_setup()
|
A D | lpfc_mbox.c | 1245 mb->un.varCfgRing.rrRegs[i].rval = pring->prt[i].rctl; in lpfc_config_ring()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ethtool.c | 1815 u32 rctl, reg_data; in ixgbe_setup_desc_rings() local 1863 rctl = IXGBE_READ_REG(&adapter->hw, IXGBE_RXCTRL); in ixgbe_setup_desc_rings() 1864 rctl |= IXGBE_RXCTRL_DMBYPS; in ixgbe_setup_desc_rings() 1865 IXGBE_WRITE_REG(&adapter->hw, IXGBE_RXCTRL, rctl); in ixgbe_setup_desc_rings()
|
/linux/drivers/scsi/libfc/ |
A 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()
|
/linux/drivers/net/ethernet/broadcom/ |
A D | cnic_defs.h | 3565 u8 rctl; member 3569 u8 rctl; member
|