Home
last modified time | relevance | path

Searched refs:enetc_port_rd (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c301 data[o++] = enetc_port_rd(hw, enetc_port_counters[i].reg); in enetc_get_ethtool_stats()
310 pause_stats->tx_pause_frames = enetc_port_rd(hw, ENETC_PM_TXPF(0)); in enetc_get_pause_stats()
311 pause_stats->rx_pause_frames = enetc_port_rd(hw, ENETC_PM_RXPF(0)); in enetc_get_pause_stats()
317 s->FramesTransmittedOK = enetc_port_rd(hw, ENETC_PM_TFRM(mac)); in enetc_mac_stats()
318 s->SingleCollisionFrames = enetc_port_rd(hw, ENETC_PM_TSCOL(mac)); in enetc_mac_stats()
319 s->MultipleCollisionFrames = enetc_port_rd(hw, ENETC_PM_TMCOL(mac)); in enetc_mac_stats()
320 s->FramesReceivedOK = enetc_port_rd(hw, ENETC_PM_RFRM(mac)); in enetc_mac_stats()
321 s->FrameCheckSequenceErrors = enetc_port_rd(hw, ENETC_PM_RFCS(mac)); in enetc_mac_stats()
322 s->AlignmentErrors = enetc_port_rd(hw, ENETC_PM_RALN(mac)); in enetc_mac_stats()
323 s->OctetsTransmittedOK = enetc_port_rd(hw, ENETC_PM_TEOCT(mac)); in enetc_mac_stats()
[all …]
Denetc_pf.c52 u32 val = enetc_port_rd(hw, ENETC_PSIPVMR); in enetc_set_vlan_promisc()
253 psipmr |= enetc_port_rd(hw, ENETC_PSIPMR) & in enetc_pf_set_rx_mode()
325 reg = enetc_port_rd(hw, ENETC_PM0_IF_MODE); in enetc_set_loopback()
333 reg = enetc_port_rd(hw, ENETC_PM0_CMD_CFG); in enetc_set_loopback()
390 cfgr = enetc_port_rd(&priv->si->hw, ENETC_PSICFGR0(vf + 1)); in enetc_pf_set_vf_spoofchk()
455 val = enetc_port_rd(hw, ENETC_PRFSCAPR); in enetc_port_assign_rfs_entries()
475 val = enetc_port_rd(hw, ENETC_PCAPR0); in enetc_port_si_configure()
566 val = enetc_port_rd(hw, ENETC_PM0_IF_MODE); in enetc_mac_config()
580 u32 val = enetc_port_rd(hw, ENETC_PM0_CMD_CFG); in enetc_mac_enable()
594 temp = enetc_port_rd(hw, ENETC_PFPMR); in enetc_configure_port_pmac()
[all …]
Denetc.h478 reg = enetc_port_rd(hw, ENETC_PSIDCAPR); in enetc_get_max_cap()
481 reg = enetc_port_rd(hw, ENETC_PSFCAPR); in enetc_get_max_cap()
484 reg = enetc_port_rd(hw, ENETC_PSGCAPR); in enetc_get_max_cap()
488 reg = enetc_port_rd(hw, ENETC_PFMCAPR); in enetc_get_max_cap()
Denetc_qos.c42 tmp = enetc_port_rd(hw, ENETC_PMR); in enetc_sched_speed_set()
169 return enetc_port_rd(hw, ENETC_PTCCBSR0(tc)) & ENETC_CBSE; in enetc_get_cbs_enable()
174 return enetc_port_rd(hw, ENETC_PTCCBSR0(tc)) & ENETC_CBS_BW_MASK; in enetc_get_cbs_bw()
244 enetc_port_rd(hw, ENETC_PTCMSDUR(tc)); in enetc_setup_tc_cbs()
264 ma = enetc_port_rd(hw, ENETC_PTCMSDUR(prio_top)) * 8; in enetc_setup_tc_cbs()
Denetc_hw.h488 #define enetc_port_rd(hw, off) enetc_rd_reg((hw)->port + (off)) macro
Denetc.c1010 tpid = htons(enetc_port_rd(&priv->si->hw, in enetc_get_offloads()
1014 tpid = htons(enetc_port_rd(&priv->si->hw, in enetc_get_offloads()