/openbmc/linux/drivers/net/ethernet/atheros/atlx/ |
H 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()
|
H 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()
|
/openbmc/qemu/hw/net/ |
H A D | e1000x_common.c | 82 uint32_t f, ra[2], *rp, rctl = mac[RCTL]; in e1000x_rx_group_filter() local 85 if (rctl & E1000_RCTL_BAM) { in e1000x_rx_group_filter() 89 if (rctl & E1000_RCTL_MPE) { in e1000x_rx_group_filter() 93 if (rctl & E1000_RCTL_UPE) { in e1000x_rx_group_filter() 112 f = mta_shift[(rctl >> E1000_RCTL_MO_SHIFT) & 3]; in e1000x_rx_group_filter() 119 (rctl >> E1000_RCTL_MO_SHIFT) & 3, in e1000x_rx_group_filter() 222 e1000x_rxbufsize(uint32_t rctl) in e1000x_rxbufsize() argument 224 rctl &= E1000_RCTL_BSEX | E1000_RCTL_SZ_16384 | E1000_RCTL_SZ_8192 | in e1000x_rxbufsize() 227 switch (rctl) { in e1000x_rxbufsize()
|
H A D | stellaris_enet.c | 66 uint32_t rctl; member 139 VMSTATE_UINT32(rctl, stellaris_enet_state), 235 if ((s->rctl & SE_RCTL_RXEN) == 0) in stellaris_enet_receive() 297 return s->rctl; in stellaris_enet_read() 380 s->rctl = value; in stellaris_enet_write() 470 s->rctl = SE_RCTL_BADCRC; in stellaris_enet_reset()
|
H A D | e1000x_common.h | 104 uint32_t e1000x_rxbufsize(uint32_t rctl);
|
H A D | e1000e_core.c | 1879 uint32_t rctl = core->mac[RCTL]; in e1000e_parse_rxbufsize() local 1883 if (rctl & E1000_RCTL_DTYP_MASK) { in e1000e_parse_rxbufsize() 1897 } else if (rctl & E1000_RCTL_FLXBUF_MASK) { in e1000e_parse_rxbufsize() 1898 int flxbuf = rctl & E1000_RCTL_FLXBUF_MASK; in e1000e_parse_rxbufsize() 1901 core->rxbuf_sizes[0] = e1000x_rxbufsize(rctl); in e1000e_parse_rxbufsize()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H 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() 2155 u32 rctl; in e1000_enter_82542_rst() local 2161 ew32(RCTL, rctl); in e1000_enter_82542_rst() 2173 u32 rctl; in e1000_leave_82542_rst() local 2177 ew32(RCTL, rctl); in e1000_leave_82542_rst() 2239 u32 rctl; in e1000_set_rx_mode() local 2272 ew32(RCTL, rctl); in e1000_set_rx_mode() [all …]
|
H A D | e1000_ethtool.c | 979 u32 rctl; in e1000_setup_desc_rings() local 1062 rctl = er32(RCTL); in e1000_setup_desc_rings() 1063 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_setup_desc_rings() 1072 ew32(RCTL, rctl); in e1000_setup_desc_rings() 1307 u32 rctl; in e1000_setup_loopback_test() local 1318 rctl = er32(RCTL); in e1000_setup_loopback_test() 1319 rctl |= E1000_RCTL_LBM_TCVR; in e1000_setup_loopback_test() 1320 ew32(RCTL, rctl); in e1000_setup_loopback_test() 1333 u32 rctl; in e1000_loopback_cleanup() local 1336 rctl = er32(RCTL); in e1000_loopback_cleanup() [all …]
|
H A D | e1000_hw.c | 2373 u32 rctl; in e1000_check_for_link() local 2516 rctl = er32(RCTL); in e1000_check_for_link() 2517 rctl &= ~E1000_RCTL_SBP; in e1000_check_for_link() 2518 ew32(RCTL, rctl); in e1000_check_for_link() 2530 rctl = er32(RCTL); in e1000_check_for_link() 2531 rctl |= E1000_RCTL_SBP; in e1000_check_for_link() 2532 ew32(RCTL, rctl); in e1000_check_for_link()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_base.c | 334 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; in igc_rx_fifo_flush_base() local 373 rctl = rd32(IGC_RCTL); in igc_rx_fifo_flush_base() 374 temp_rctl = rctl & ~(IGC_RCTL_EN | IGC_RCTL_SBP); in igc_rx_fifo_flush_base() 387 wr32(IGC_RCTL, rctl); in igc_rx_fifo_flush_base()
|
H A D | igc_main.c | 838 u32 rctl; in igc_setup_rctl() local 840 rctl = rd32(IGC_RCTL); in igc_setup_rctl() 851 rctl |= IGC_RCTL_SECRC; in igc_setup_rctl() 857 rctl |= IGC_RCTL_LPE; in igc_setup_rctl() 875 wr32(IGC_RCTL, rctl); in igc_setup_rctl() 3884 rctl |= IGC_RCTL_MPE; in igc_set_rx_mode() 3901 rctl |= IGC_RCTL_UPE; in igc_set_rx_mode() 3905 wr32(IGC_RCTL, rctl); in igc_set_rx_mode() 5057 u32 tctl, rctl; in igc_down() local 5066 rctl = rd32(IGC_RCTL); in igc_down() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | netdev.c | 2756 u32 rctl; in e1000e_vlan_filter_disable() local 2762 ew32(RCTL, rctl); in e1000e_vlan_filter_disable() 2779 u32 rctl; in e1000e_vlan_filter_enable() local 2786 ew32(RCTL, rctl); in e1000e_vlan_filter_enable() 3031 u32 rctl, rfctl; in e1000_setup_rctl() local 3175 ew32(RCTL, rctl); in e1000_setup_rctl() 3293 ew32(RCTL, rctl); in e1000_configure_rx() 3404 u32 rctl; in e1000e_set_rx_mode() local 3443 ew32(RCTL, rctl); in e1000e_set_rx_mode() 3836 u32 rctl, rxdctl; in e1000_flush_rx_ring() local [all …]
|
H A D | ethtool.c | 1189 u32 rctl; in e1000_setup_desc_rings() local 1276 rctl = er32(RCTL); in e1000_setup_desc_rings() 1278 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_setup_desc_rings() 1289 ew32(RCTL, rctl); in e1000_setup_desc_rings() 1536 u32 rctl, fext_nvm11, tarc0; in e1000_setup_loopback_test() local 1558 rctl = er32(RCTL); in e1000_setup_loopback_test() 1559 rctl |= E1000_RCTL_LBM_TCVR; in e1000_setup_loopback_test() 1560 ew32(RCTL, rctl); in e1000_setup_loopback_test() 1573 u32 rctl, fext_nvm11, tarc0; in e1000_loopback_cleanup() local 1576 rctl = er32(RCTL); in e1000_loopback_cleanup() [all …]
|
/openbmc/linux/drivers/net/ethernet/davicom/ |
H A D | dm9051.c | 114 struct dm9051_rxctrl rctl; member 274 ret = dm9051_set_regs(db, DM9051_MAR, db->rctl.hash_table, sizeof(db->rctl.hash_table)); in dm9051_set_recv() 278 return dm9051_set_reg(db, DM9051_RCR, db->rctl.rcr_all); /* enable rx */ in dm9051_set_recv() 951 db->rctl.rcr_all = RCR_DIS_LONG | RCR_DIS_CRC | RCR_RXEN; in dm9051_open() 952 memset(db->rctl.hash_table, 0, sizeof(db->rctl.hash_table)); in dm9051_open() 1068 if (memcmp(&db->rctl, &rxctrl, sizeof(rxctrl))) { in dm9051_set_rx_mode() 1069 memcpy(&db->rctl, &rxctrl, sizeof(rxctrl)); in dm9051_set_rx_mode()
|
/openbmc/u-boot/arch/x86/include/asm/arch-queensbay/ |
H A D | tnc.h | 21 u32 rctl; member
|
/openbmc/u-boot/drivers/net/ |
H A D | e1000.c | 3863 uint32_t rctl; in e1000_check_for_link() local 3968 rctl &= ~E1000_RCTL_SBP; in e1000_check_for_link() 3981 rctl |= E1000_RCTL_SBP; in e1000_check_for_link() 5266 uint32_t rctl; in e1000_setup_rctl() local 5268 rctl = E1000_READ_REG(hw, RCTL); in e1000_setup_rctl() 5277 rctl |= E1000_RCTL_SBP; in e1000_setup_rctl() 5279 rctl &= ~E1000_RCTL_SBP; in e1000_setup_rctl() 5281 rctl &= ~(E1000_RCTL_SZ_4096); in e1000_setup_rctl() 5282 rctl |= E1000_RCTL_SZ_2048; in e1000_setup_rctl() 5284 E1000_WRITE_REG(hw, RCTL, rctl); in e1000_setup_rctl() [all …]
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 349 u32 rctl; in pch_gbe_disable_mac_rx() local 351 rctl = ioread32(&hw->reg->MAC_RX_EN); in pch_gbe_disable_mac_rx() 357 u32 rctl; in pch_gbe_enable_mac_rx() local 359 rctl = ioread32(&hw->reg->MAC_RX_EN); in pch_gbe_enable_mac_rx() 2067 u32 rctl, adrmask; in pch_gbe_set_multi() local 2073 rctl = ioread32(&hw->reg->RX_MODE); in pch_gbe_set_multi() 2074 rctl |= PCH_GBE_ADD_FIL_EN | PCH_GBE_MLT_FIL_EN; in pch_gbe_set_multi() 2078 rctl &= ~(PCH_GBE_ADD_FIL_EN | PCH_GBE_MLT_FIL_EN); in pch_gbe_set_multi() 2085 rctl &= ~PCH_GBE_MLT_FIL_EN; in pch_gbe_set_multi() 2087 iowrite32(rctl, &hw->reg->RX_MODE); in pch_gbe_set_multi() [all …]
|
/openbmc/u-boot/arch/x86/include/asm/arch-quark/ |
H A D | quark.h | 187 u32 rctl; member
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 2169 u32 tctl, rctl; in igb_down() local 2178 rctl = rd32(E1000_RCTL); in igb_down() 4609 u32 rctl; in igb_setup_rctl() local 4611 rctl = rd32(E1000_RCTL); in igb_setup_rctl() 4629 rctl |= E1000_RCTL_LPE; in igb_setup_rctl() 4659 wr32(E1000_RCTL, rctl); in igb_setup_rctl() 5320 rctl |= E1000_RCTL_UPE; in igb_set_rx_mode() 5325 rctl |= E1000_RCTL_VFE; in igb_set_rx_mode() 5340 wr32(E1000_RCTL, rctl); in igb_set_rx_mode() 9252 u32 ctrl, rctl; in igb_vlan_mode() local [all …]
|
H A D | e1000_82575.c | 1945 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; in igb_rx_fifo_flush_82575() local 1985 rctl = rd32(E1000_RCTL); in igb_rx_fifo_flush_82575() 1986 temp_rctl = rctl & ~(E1000_RCTL_EN | E1000_RCTL_SBP); in igb_rx_fifo_flush_82575() 1999 wr32(E1000_RCTL, rctl); in igb_rx_fifo_flush_82575()
|
H A D | igb_ethtool.c | 1754 u32 rctl; in igb_loopback_cleanup() local 1775 rctl = rd32(E1000_RCTL); in igb_loopback_cleanup() 1776 rctl &= ~(E1000_RCTL_LBM_TCVR | E1000_RCTL_LBM_MAC); in igb_loopback_cleanup() 1777 wr32(E1000_RCTL, rctl); in igb_loopback_cleanup()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_sli.h | 212 uint8_t rctl; /* rctl / type pair configured for ring */ member
|
H A D | lpfc_crtn.h | 377 u32 num_entry, u8 rctl, u8 last_seq,
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 1855 u32 rctl, reg_data; in ixgbe_setup_desc_rings() local 1903 rctl = IXGBE_READ_REG(&adapter->hw, IXGBE_RXCTRL); in ixgbe_setup_desc_rings() 1904 rctl |= IXGBE_RXCTRL_DMBYPS; in ixgbe_setup_desc_rings() 1905 IXGBE_WRITE_REG(&adapter->hw, IXGBE_RXCTRL, rctl); in ixgbe_setup_desc_rings()
|
/openbmc/linux/drivers/scsi/libfc/ |
H A D | fc_exch.c | 1257 enum fc_rctl rctl, enum fc_fh_type fh_type) in fc_seq_send_last() argument 1264 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
|