/linux-6.6.21/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-6.6.21/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 | 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() 1069 rctl = E1000_RCTL_EN | E1000_RCTL_BAM | E1000_RCTL_SZ_2048 | 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 [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()
|
/linux-6.6.21/drivers/net/ethernet/intel/igc/ |
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()
|
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 …]
|
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 615 u32 rctl = er32(RCTL); in e1000e_update_rdt_wa() local 617 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000e_update_rdt_wa() 1774 u32 rctl = er32(RCTL); in e1000_intr_msi() local 1776 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_intr_msi() 1822 u32 rctl, icr = er32(ICR); in e1000_intr() local 1855 rctl = er32(RCTL); in e1000_intr() 1856 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_intr() 2758 u32 rctl; in e1000e_vlan_filter_disable() local 2762 rctl = er32(RCTL); in e1000e_vlan_filter_disable() 2763 rctl &= ~(E1000_RCTL_VFE | E1000_RCTL_CFIEN); in e1000e_vlan_filter_disable() [all …]
|
D | ethtool.c | 1190 u32 rctl; in e1000_setup_desc_rings() local 1277 rctl = er32(RCTL); in e1000_setup_desc_rings() 1279 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_setup_desc_rings() 1285 rctl = E1000_RCTL_EN | E1000_RCTL_BAM | E1000_RCTL_SZ_2048 | in e1000_setup_desc_rings() 1290 ew32(RCTL, rctl); in e1000_setup_desc_rings() 1537 u32 rctl, fext_nvm11, tarc0; in e1000_setup_loopback_test() local 1559 rctl = er32(RCTL); in e1000_setup_loopback_test() 1560 rctl |= E1000_RCTL_LBM_TCVR; in e1000_setup_loopback_test() 1561 ew32(RCTL, rctl); in e1000_setup_loopback_test() 1574 u32 rctl, fext_nvm11, tarc0; in e1000_loopback_cleanup() local [all …]
|
/linux-6.6.21/drivers/net/ethernet/davicom/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/oki-semi/pch_gbe/ |
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() 352 iowrite32((rctl & ~PCH_GBE_MRE_MAC_RX_EN), &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() 360 iowrite32((rctl | PCH_GBE_MRE_MAC_RX_EN), &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() [all …]
|
/linux-6.6.21/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 2168 u32 tctl, rctl; in igb_down() local 2177 rctl = rd32(E1000_RCTL); in igb_down() 2178 wr32(E1000_RCTL, rctl & ~E1000_RCTL_EN); in igb_down() 4605 u32 rctl; in igb_setup_rctl() local 4607 rctl = rd32(E1000_RCTL); in igb_setup_rctl() 4609 rctl &= ~(3 << E1000_RCTL_MO_SHIFT); in igb_setup_rctl() 4610 rctl &= ~(E1000_RCTL_LBM_TCVR | E1000_RCTL_LBM_MAC); in igb_setup_rctl() 4612 rctl |= E1000_RCTL_EN | E1000_RCTL_BAM | E1000_RCTL_RDMTS_HALF | in igb_setup_rctl() 4619 rctl |= E1000_RCTL_SECRC; in igb_setup_rctl() 4622 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 | 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()
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_sli.h | 212 uint8_t rctl; /* rctl / type pair configured for ring */ member
|
D | lpfc_crtn.h | 377 u32 num_entry, u8 rctl, u8 last_seq,
|
D | lpfc_sli.c | 3373 if ((pring->prt[i].rctl == fch_r_ctl) && in lpfc_complete_unsol_iocb() 11005 u32 num_entry, u8 rctl, u8 last_seq, u8 cr_cx_cmd) in __lpfc_sli_prep_xmit_seq64_s3() argument 11020 icmd->un.xseq64.w5.hcsw.Rctl = rctl; in __lpfc_sli_prep_xmit_seq64_s3() 11044 u32 full_size, u8 rctl, u8 last_seq, u8 cr_cx_cmd) in __lpfc_sli_prep_xmit_seq64_s4() argument 11062 bf_set(wqe_rctl, &wqe->xmit_sequence.wge_ctl, rctl); in __lpfc_sli_prep_xmit_seq64_s4() 11088 u32 num_entry, u8 rctl, u8 last_seq, u8 cr_cx_cmd) in lpfc_sli_prep_xmit_seq64() argument 11091 rctl, last_seq, cr_cx_cmd); in lpfc_sli_prep_xmit_seq64() 11359 pring->prt[0].rctl = phba->cfg_multi_ring_rctl; in lpfc_extra_ring_setup() 11575 pring->prt[0].rctl = FC_RCTL_ELS_REQ; in lpfc_sli4_setup() 11580 pring->prt[1].rctl = FC_RCTL_ELS_REP; in lpfc_sli4_setup() [all …]
|
D | lpfc_hw.h | 4056 uint32_t rctl:8; member 4074 uint32_t rctl:8; member
|
D | lpfc.h | 955 u16 ox_id, u32 num_entry, u8 rctl,
|
D | lpfc_mbox.c | 1302 mb->un.varCfgRing.rrRegs[i].rval = pring->prt[i].rctl; in lpfc_config_ring()
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
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()
|
/linux-6.6.21/drivers/scsi/libfc/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 3565 u8 rctl; member 3569 u8 rctl; member
|