Searched refs:enetc_port_rd (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_ethtool.c | 304 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(mac)); in enetc_pause_stats() 311 pause_stats->rx_pause_frames = enetc_port_rd(hw, ENETC_PM_RXPF(mac)); in enetc_pause_stats() 338 s->FramesTransmittedOK = enetc_port_rd(hw, ENETC_PM_TFRM(mac)); in enetc_mac_stats() 339 s->SingleCollisionFrames = enetc_port_rd(hw, ENETC_PM_TSCOL(mac)); in enetc_mac_stats() 340 s->MultipleCollisionFrames = enetc_port_rd(hw, ENETC_PM_TMCOL(mac)); in enetc_mac_stats() 341 s->FramesReceivedOK = enetc_port_rd(hw, ENETC_PM_RFRM(mac)); in enetc_mac_stats() 342 s->FrameCheckSequenceErrors = enetc_port_rd(hw, ENETC_PM_RFCS(mac)); in enetc_mac_stats() 343 s->AlignmentErrors = enetc_port_rd(hw, ENETC_PM_RALN(mac)); in enetc_mac_stats() 344 s->OctetsTransmittedOK = enetc_port_rd(hw, ENETC_PM_TEOCT(mac)); in enetc_mac_stats() [all …]
|
H A D | enetc_pf.c | 47 u32 val = enetc_port_rd(hw, ENETC_PSIPVMR); in enetc_set_vlan_promisc() 248 psipmr |= enetc_port_rd(hw, ENETC_PSIPMR) & in enetc_pf_set_rx_mode() 384 cfgr = enetc_port_rd(&priv->si->hw, ENETC_PSICFGR0(vf + 1)); in enetc_pf_set_vf_spoofchk() 399 val = enetc_port_rd(hw, ENETC_PRFSCAPR); in enetc_port_assign_rfs_entries() 417 val = enetc_port_rd(hw, ENETC_PCAPR0); in enetc_port_get_caps() 438 val = enetc_port_rd(hw, ENETC_PCAPR0); in enetc_port_si_configure() 888 val = enetc_port_rd(hw, ENETC_PRFSCAPR); in enetc_init_port_rfs_memory() 907 val = enetc_port_rd(hw, ENETC_PRSSCAPR); in enetc_init_port_rss_memory()
|
H A D | enetc.h | 538 reg = enetc_port_rd(hw, ENETC_PSIDCAPR); in enetc_get_max_cap() 541 reg = enetc_port_rd(hw, ENETC_PSFCAPR); in enetc_get_max_cap() 544 reg = enetc_port_rd(hw, ENETC_PSGCAPR); in enetc_get_max_cap() 548 reg = enetc_port_rd(hw, ENETC_PFMCAPR); in enetc_get_max_cap()
|
H A D | enetc_hw.h | 533 #define enetc_port_rd(hw, off) enetc_rd_reg((hw)->port + (off)) macro
|
H A D | enetc.c | 17 return enetc_port_rd(&si->hw, reg); in enetc_port_mac_rd() 1034 tpid = htons(enetc_port_rd(&priv->si->hw, in enetc_get_offloads() 1038 tpid = htons(enetc_port_rd(&priv->si->hw, in enetc_get_offloads()
|