Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c395 s->jabbers = enetc_port_rd(hw, ENETC_PM_RJBR(mac)); in enetc_rmon_stats()
397 s->hist[0] = enetc_port_rd(hw, ENETC_PM_R64(mac)); in enetc_rmon_stats()
398 s->hist[1] = enetc_port_rd(hw, ENETC_PM_R127(mac)); in enetc_rmon_stats()
967 val = enetc_port_rd(hw, ENETC_PFPMR); in enetc_get_mm()
970 val = enetc_port_rd(hw, ENETC_MMCSR); in enetc_get_mm()
1020 return read_poll_timeout(enetc_port_rd, val, in enetc_mm_wait_tx_active()
1032 val = enetc_port_rd(hw, ENETC_PTCFPR(tc)); in enetc_set_ptcfpr()
1054 val = enetc_port_rd(hw, ENETC_MMCSR); in enetc_mm_commit_preemptible_tcs()
1102 val = enetc_port_rd(hw, ENETC_PFPMR); in enetc_set_mm()
1109 val = enetc_port_rd(hw, ENETC_MMCSR); in enetc_set_mm()
[all …]
H A Denetc.h515 reg = enetc_port_rd(hw, ENETC_PSIDCAPR); in enetc_get_max_cap()
518 reg = enetc_port_rd(hw, ENETC_PSFCAPR); in enetc_get_max_cap()
521 reg = enetc_port_rd(hw, ENETC_PSGCAPR); in enetc_get_max_cap()
525 reg = enetc_port_rd(hw, ENETC_PFMCAPR); in enetc_get_max_cap()
H A 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()
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()
1143 val = enetc_port_rd(hw, ENETC_PRFSCAPR); in enetc_init_port_rfs_memory()
1162 val = enetc_port_rd(hw, ENETC_PRSSCAPR); in enetc_init_port_rss_memory()
H A Denetc_qos.c42 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 Denetc_hw.h512 #define enetc_port_rd(hw, off) enetc_rd_reg((hw)->port + (off)) macro
H A Denetc.c16 return enetc_port_rd(&si->hw, reg); in enetc_port_mac_rd()
1031 tpid = htons(enetc_port_rd(&priv->si->hw, in enetc_get_offloads()
1035 tpid = htons(enetc_port_rd(&priv->si->hw, in enetc_get_offloads()