Home
last modified time | relevance | path

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

/linux-6.15/drivers/rtc/
H 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()
/linux-6.15/include/uapi/linux/
H A Dvmclock-abi.h176 __le64 time_sec; /* Seconds since time_type epoch */ member
/linux-6.15/tools/perf/util/
H A Dtime-utils.c20 u64 time_sec, time_nsec; in parse_nsec_time() local
23 time_sec = strtoull(str, &end, 10); in parse_nsec_time()
47 *ptime = time_sec * NSEC_PER_SEC + time_nsec; in parse_nsec_time()
/linux-6.15/drivers/accel/qaic/
H 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()
/linux-6.15/drivers/ptp/
H 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()
H A Dptp_vmclock.c154 tspec->tv_sec += le64_to_cpu(st->clk->time_sec); in vmclock_get_crosststamp()
/linux-6.15/include/linux/mlx5/
H A Ddevice.h715 __be32 time_sec; member