Home
last modified time | relevance | path

Searched full:tmr_ctrl (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/ncsw/Peripherals/FM/Rtc/
H A Dfman_rtc.c140 return ioread32be(&regs->tmr_ctrl); in fman_rtc_get_timer_ctrl()
145 iowrite32be(val, &regs->tmr_ctrl); in fman_rtc_set_timer_ctrl()
159 uint32_t tmr_ctrl; in fman_rtc_init() local
167 tmr_ctrl = FMAN_RTC_TMR_CTRL_CKSEL_MAC_CLK; in fman_rtc_init()
170 tmr_ctrl = FMAN_RTC_TMR_CTRL_CKSEL_OSC_CLK; in fman_rtc_init()
174 tmr_ctrl = FMAN_RTC_TMR_CTRL_CKSEL_EXT_CLK; in fman_rtc_init()
180 tmr_ctrl |= ((1 << FMAN_RTC_TMR_CTRL_TCLK_PERIOD_SHIFT) & in fman_rtc_init()
184 tmr_ctrl |= FMAN_RTC_TMR_CTRL_CIPH; in fman_rtc_init()
186 tmr_ctrl |= FMAN_RTC_TMR_CTRL_COPH; in fman_rtc_init()
191 tmr_ctrl |= (FMAN_RTC_TMR_CTRL_ALMP1 >> i); in fman_rtc_init()
[all …]
H A Dfm_rtc.c216 /* if timer in Master mode Initialize TMR_CTRL */ in FM_RTC_Init()
/freebsd/sys/contrib/device-tree/Bindings/ptp/
H A Dptp-qoriq.txt52 in CKSEL bits in TMR_CTRL register. "fsl,cksel" property keeps the
H A Dfsl,ptp.yaml38 in CKSEL bits in TMR_CTRL register. "fsl,cksel" property keeps the
/freebsd/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman_rtc.h134 uint32_t tmr_ctrl; /* 0x0080 timer control register */ member
H A Dfsl_fman_dtsec.h415 uint32_t tmr_ctrl; /* 0x020 Time-stamp Control register */ member
/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/
H A Dfman_dtsec.c210 iowrite32be(0, &regs->tmr_ctrl); in fman_dtsec_init()