Home
last modified time | relevance | path

Searched refs:pps_channel (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/freescale/
H A Dfec_ptp.c145 writel(FEC_T_TF_MASK, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
151 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
154 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
155 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
197 writel(val, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_enable_pps()
208 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
213 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
218 writel(fep->next_counter, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_enable_pps()
221 writel(0, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
261 writel(compare_val, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_pps_perout()
[all …]
H A Dfec.h672 int pps_channel; member
/linux/drivers/ptp/
H A Dptp_netc.c122 u8 pps_channel; member
375 if (priv->pps_channel < NETC_TMR_FIPER_NUM) { in netc_timer_enable_pps()
376 channel = priv->pps_channel; in netc_timer_enable_pps()
401 priv->pps_channel = channel; in netc_timer_enable_pps()
408 if (priv->pps_channel >= NETC_TMR_FIPER_NUM) in netc_timer_enable_pps()
411 netc_timer_disable_periodic_pulse(priv, priv->pps_channel); in netc_timer_enable_pps()
412 pp = &priv->pp[priv->pps_channel]; in netc_timer_enable_pps()
415 priv->pps_channel = NETC_TMR_INVALID_CHANNEL; in netc_timer_enable_pps()
991 priv->pps_channel = NETC_TMR_INVALID_CHANNEL; in netc_timer_probe()