Searched refs:enetc_port_rd (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_ethtool.c | 317 data[o++] = enetc_port_rd(hw, enetc_port_counters[i].reg); in enetc_get_ethtool_stats() 323 pause_stats->tx_pause_frames = enetc_port_rd(hw, ENETC_PM_TXPF(mac)); in enetc_pause_stats() 324 pause_stats->rx_pause_frames = enetc_port_rd(hw, ENETC_PM_RXPF(mac)); in enetc_pause_stats() 351 s->FramesTransmittedOK = enetc_port_rd(hw, ENETC_PM_TFRM(mac)); in enetc_mac_stats() 352 s->SingleCollisionFrames = enetc_port_rd(hw, ENETC_PM_TSCOL(mac)); in enetc_mac_stats() 353 s->MultipleCollisionFrames = enetc_port_rd(hw, ENETC_PM_TMCOL(mac)); in enetc_mac_stats() 354 s->FramesReceivedOK = enetc_port_rd(hw, ENETC_PM_RFRM(mac)); in enetc_mac_stats() 355 s->FrameCheckSequenceErrors = enetc_port_rd(hw, ENETC_PM_RFCS(mac)); in enetc_mac_stats() 356 s->AlignmentErrors = enetc_port_rd(hw, ENETC_PM_RALN(mac)); in enetc_mac_stats() 357 s->OctetsTransmittedOK = enetc_port_rd(hw, ENETC_PM_TEOCT(mac)); in enetc_mac_stats() [all …]
|
H A D | enetc.h | 512 reg = enetc_port_rd(hw, ENETC_PSIDCAPR); in enetc_get_max_cap() 515 reg = enetc_port_rd(hw, ENETC_PSFCAPR); in enetc_get_max_cap() 518 reg = enetc_port_rd(hw, ENETC_PSGCAPR); in enetc_get_max_cap() 522 reg = enetc_port_rd(hw, ENETC_PFMCAPR); in enetc_get_max_cap()
|
H A D | enetc_pf.c | 52 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() 389 cfgr = enetc_port_rd(&priv->si->hw, ENETC_PSICFGR0(vf + 1)); in enetc_pf_set_vf_spoofchk() 454 val = enetc_port_rd(hw, ENETC_PRFSCAPR); in enetc_port_assign_rfs_entries() 474 val = enetc_port_rd(hw, ENETC_PCAPR0); in enetc_port_si_configure() 1155 val = enetc_port_rd(hw, ENETC_PRFSCAPR); in enetc_init_port_rfs_memory() 1174 val = enetc_port_rd(hw, ENETC_PRSSCAPR); in enetc_init_port_rss_memory()
|
H A D | enetc_qos.c | 42 tmp = enetc_port_rd(hw, ENETC_PMR); in enetc_sched_speed_set() 226 return enetc_port_rd(hw, ENETC_PTCCBSR0(tc)) & ENETC_CBSE; in enetc_get_cbs_enable() 231 return enetc_port_rd(hw, ENETC_PTCCBSR0(tc)) & ENETC_CBS_BW_MASK; in enetc_get_cbs_bw() 301 enetc_port_rd(hw, ENETC_PTCMSDUR(tc)); in enetc_setup_tc_cbs() 321 ma = enetc_port_rd(hw, ENETC_PTCMSDUR(prio_top)) * 8; in enetc_setup_tc_cbs()
|
H A D | enetc_hw.h | 512 #define enetc_port_rd(hw, off) enetc_rd_reg((hw)->port + (off)) macro
|
H A D | enetc.c | 16 return enetc_port_rd(&si->hw, reg); in enetc_port_mac_rd() 1029 tpid = htons(enetc_port_rd(&priv->si->hw, in enetc_get_offloads() 1033 tpid = htons(enetc_port_rd(&priv->si->hw, in enetc_get_offloads()
|