Home
last modified time | relevance | path

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

/linux/drivers/ptp/
H A Dptp_netc.c203 u32 tmr_ctrl, integral_period; in netc_timer_get_integral_period() local
205 tmr_ctrl = netc_timer_rd(priv, NETC_TMR_CTRL); in netc_timer_get_integral_period()
206 integral_period = FIELD_GET(TMR_CTRL_TCLK_PERIOD, tmr_ctrl); in netc_timer_get_integral_period()
528 u32 tmr_ctrl; in netc_timer_enable_extts() local
538 tmr_ctrl = netc_timer_rd(priv, NETC_TMR_CTRL); in netc_timer_enable_extts()
540 tmr_ctrl |= TMR_ETEP(index); in netc_timer_enable_extts()
542 tmr_ctrl &= ~TMR_ETEP(index); in netc_timer_enable_extts()
544 netc_timer_wr(priv, NETC_TMR_CTRL, tmr_ctrl); in netc_timer_enable_extts()
622 u32 tmr_ctrl; in netc_timer_perout_loopback() local
626 tmr_ctrl = netc_timer_rd(priv, NETC_TMR_CTRL); in netc_timer_perout_loopback()
[all …]
H A Dptp_qoriq.c474 u32 tmr_ctrl; in ptp_qoriq_perout_loopback() local
476 tmr_ctrl = ptp_qoriq->read(&regs->ctrl_regs->tmr_ctrl); in ptp_qoriq_perout_loopback()
478 tmr_ctrl |= loopback_bit; in ptp_qoriq_perout_loopback()
480 tmr_ctrl &= ~loopback_bit; in ptp_qoriq_perout_loopback()
482 ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl, tmr_ctrl); in ptp_qoriq_perout_loopback()
494 u32 tmr_ctrl; in ptp_qoriq_init() local
564 tmr_ctrl = in ptp_qoriq_init()
571 ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl, tmr_ctrl); in ptp_qoriq_init()
582 ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl, in ptp_qoriq_init()
583 tmr_ctrl|FIPERST|RTPE|TE|FRD); in ptp_qoriq_init()
[all …]
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_dtsec.c165 u32 tmr_ctrl; /* 0x020 Time-stamp Control register */ member
386 iowrite32be(0, &regs->tmr_ctrl); in init()