Home
last modified time | relevance | path

Searched refs:time_sec (Results 1 – 4 of 4) sorted by relevance

/drivers/rtc/
A Drtc-amlogic-a4.c102 u32 time_sec; in aml_rtc_read_time() local
108 regmap_read(rtc->map, RTC_REAL_TIME, &time_sec); in aml_rtc_read_time()
110 time_sec = gray_to_binary(time_sec); in aml_rtc_read_time()
111 rtc_time64_to_tm(time_sec, tm); in aml_rtc_read_time()
112 dev_dbg(dev, "%s: read time = %us\n", __func__, time_sec); in aml_rtc_read_time()
120 u32 time_sec; in aml_rtc_set_time() local
131 time_sec = rtc_tm_to_time64(tm); in aml_rtc_set_time()
133 time_sec = binary_to_gray(time_sec); in aml_rtc_set_time()
134 regmap_write(rtc->map, RTC_COUNTER_REG, time_sec); in aml_rtc_set_time()
135 dev_dbg(dev, "%s: set time = %us\n", __func__, time_sec); in aml_rtc_set_time()
/drivers/accel/qaic/
A Dmhi_controller.c846 u8 time_sec = 1; in mhi_reset_and_async_power_up() local
860 } while (current_ee != MHI_EE_PBL && time_sec++ <= MAX_RESET_TIME_SEC); in mhi_reset_and_async_power_up()
/drivers/ptp/
A Dptp_ocp.c50 u32 time_sec; member
129 u32 time_sec; member
1215 u32 ctrl, time_sec, time_ns; in __ptp_ocp_gettime_locked() local
1237 time_sec = ioread32(&bp->reg->time_sec); in __ptp_ocp_gettime_locked()
1239 ts->tv_sec = time_sec; in __ptp_ocp_gettime_locked()
1263 u32 ctrl, time_sec, time_ns; in __ptp_ocp_settime_locked() local
1267 time_sec = ts->tv_sec; in __ptp_ocp_settime_locked()
1273 iowrite32(time_sec, &bp->reg->adjust_sec); in __ptp_ocp_settime_locked()
2180 sec = ioread32(&reg->time_sec); in ptp_ocp_ts_irq()
A Dptp_vmclock.c154 tspec->tv_sec += le64_to_cpu(st->clk->time_sec); in vmclock_get_crosststamp()

Completed in 21 milliseconds