Home
last modified time | relevance | path

Searched refs:nsec (Results 151 - 175 of 362) sorted by relevance

12345678910>>...15

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dbus.h19 void nvkm_hwsq_nsec(struct nvkm_hwsq *, u32 nsec);
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvif/
H A Dtimer.h13 void nvif_timer_wait_init(struct nvif_device *, u64 nsec,
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.h272 u32 nsec; member
277 u64 sec, nsec; in ns_to_ptp_tstamp() local
280 nsec = do_div(sec, 1000000000); in ns_to_ptp_tstamp()
284 tstamp->nsec = nsec; in ns_to_ptp_tstamp()
/kernel/linux/linux-6.6/drivers/ptp/
H A Dptp_sysfs.c102 event.index, event.t.sec, event.t.nsec); in extts_fifo_show()
119 &req.perout.start.sec, &req.perout.start.nsec, in period_store()
120 &req.perout.period.sec, &req.perout.period.nsec); in period_store()
126 enable = req.perout.period.sec || req.perout.period.nsec; in period_store()
H A Dptp_clockmatrix.c109 u64 nsec; in char_array_to_timespec() local
116 nsec = buf[4]; in char_array_to_timespec()
118 nsec <<= 8; in char_array_to_timespec()
119 nsec |= buf[3 - i]; in char_array_to_timespec()
129 ts->tv_nsec = nsec; in char_array_to_timespec()
139 s32 nsec; in timespec_to_char_array() local
145 nsec = ts->tv_nsec; in timespec_to_char_array()
151 buf[i] = nsec & 0xff; in timespec_to_char_array()
152 nsec >>= 8; in timespec_to_char_array()
1945 else if (rq->perout.start.nsec || r in idtcm_enable()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Dptp.c154 u64 sec, sec1, nsec; in read_ptp_tstmp_sec_nsec() local
159 nsec = readq(ptp->reg_base + PTP_CLOCK_HI); in read_ptp_tstmp_sec_nsec()
161 /* check nsec rollover */ in read_ptp_tstmp_sec_nsec()
163 nsec = readq(ptp->reg_base + PTP_CLOCK_HI); in read_ptp_tstmp_sec_nsec()
168 return sec * NSEC_PER_SEC + nsec; in read_ptp_tstmp_sec_nsec()
207 /* compute nanoseconds lost per second when nsec counter rolls over */ in ptp_calc_adjusted_comp()
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.c536 start_sec += perout_request->start.nsec / 1000000000; in lan743x_ptp_perout()
537 start_nsec = perout_request->start.nsec % 1000000000; in lan743x_ptp_perout()
540 period_sec += perout_request->period.nsec / 1000000000; in lan743x_ptp_perout()
541 period_nsec = perout_request->period.nsec % 1000000000; in lan743x_ptp_perout()
665 u32 cap_info, cause, header, nsec, seconds; in lan743x_ptpci_do_aux_work() local
677 nsec = lan743x_csr_read(adapter, PTP_TX_EGRESS_NS); in lan743x_ptpci_do_aux_work()
678 cause = (nsec & in lan743x_ptpci_do_aux_work()
684 nsec &= PTP_TX_EGRESS_NS_TS_NS_MASK_; in lan743x_ptpci_do_aux_work()
686 seconds, nsec, in lan743x_ptpci_do_aux_work()
/kernel/linux/linux-6.6/drivers/net/dsa/microchip/
H A Dksz_ptp.c217 ptp_data->perout_target_time_first.tv_nsec = request->start.nsec; in ksz_ptp_enable_perout()
220 ptp_data->perout_period.tv_nsec = request->period.nsec; in ksz_ptp_enable_perout()
228 request->on.nsec; in ksz_ptp_enable_perout()
234 request->period.nsec) / 2; in ksz_ptp_enable_perout()
674 request.start.nsec = next.tv_nsec; in ksz_ptp_restart_perout()
676 request.period.nsec = ptp_data->perout_period.tv_nsec; in ksz_ptp_restart_perout()
775 s32 sec, nsec; in ksz_ptp_adjtime() local
782 * both sec and nsec are subtracted by hw in ksz_ptp_adjtime()
784 sec = div_s64_rem(delta, NSEC_PER_SEC, &nsec); in ksz_ptp_adjtime()
786 ret = ksz_write32(dev, REG_PTP_RTC_NANOSEC, abs(nsec)); in ksz_ptp_adjtime()
[all...]
/kernel/linux/linux-6.6/arch/um/include/linux/
H A Dtime-internal.h90 void time_travel_ndelay(unsigned long nsec);
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dbus.h19 void nvkm_hwsq_nsec(struct nvkm_hwsq *, u32 nsec);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c117 clock_info->nsec = timer->tc.nsec; in mlx5_update_clock_info_page()
362 ts.tv_nsec = rq->perout.period.nsec; in mlx5_perout_configure()
369 ts.tv_nsec = rq->perout.start.nsec; in mlx5_perout_configure()
678 info->nsec = timer->tc.nsec; in mlx5_init_clock_info()
/base/hiviewdfx/hilog_lite/services/apphilogcat/
H A Dhiview_applogcat.c229 info->tm_min, info->tm_sec, head->nsec / NANOSEC_PER_MIRCOSEC, head->pid, head->taskId, head->msg); in main()
234 info->tm_min, info->tm_sec, head->nsec / NANOSEC_PER_MIRCOSEC, head->pid, head->taskId, head->msg); in main()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_datepicker_ffi.h37 int64_t nsec; member
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dkv_hiview_reporter.h59 static std::string GetTimeWithMilliseconds(time_t sec, int64_t nsec);
/kernel/linux/linux-5.10/include/linux/
H A Dtime32.h66 * @nsec: the nanoseconds value to be converted
68 * Returns the timeval representation of the nsec parameter.
70 extern struct __kernel_old_timeval ns_to_kernel_old_timeval(s64 nsec);
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dnet_dropmonitor.py72 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain,
/kernel/linux/linux-5.10/include/xen/arm/
H A Dinterface.h81 u32 nsec; member
/kernel/linux/linux-6.6/include/linux/
H A Dtime32.h66 * @nsec: the nanoseconds value to be converted
68 * Returns the timeval representation of the nsec parameter.
70 extern struct __kernel_old_timeval ns_to_kernel_old_timeval(s64 nsec);
/kernel/linux/linux-6.6/include/xen/arm/
H A Dinterface.h81 u32 nsec; member
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dnet_dropmonitor.py72 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain,
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dptp_clock.h15 __u32 nsec; member
/kernel/linux/linux-5.10/drivers/ptp/
H A Dptp_clockmatrix.c51 u64 nsec; in char_array_to_timespec() local
58 nsec = buf[4]; in char_array_to_timespec()
60 nsec <<= 8; in char_array_to_timespec()
61 nsec |= buf[3 - i]; in char_array_to_timespec()
71 ts->tv_nsec = nsec; in char_array_to_timespec()
81 s32 nsec; in timespec_to_char_array() local
87 nsec = ts->tv_nsec; in timespec_to_char_array()
93 buf[i] = nsec & 0xff; in timespec_to_char_array()
94 nsec >>= 8; in timespec_to_char_array()
1551 if (rq->perout.start.nsec || r in idtcm_enable()
[all...]
H A Dptp_ines.c144 u64 nsec; member
279 ns = ts->sec * 1000000000ULL + ts->nsec; in ines_find_rxts()
321 ts.nsec = ines_txts64(port, 2); in ines_find_txts()
327 ns = ts.sec * 1000000000ULL + ts.nsec; in ines_find_txts()
535 ts->nsec = ines_rxts64(port, 2); in ines_rxfifo_read()
/kernel/linux/linux-5.10/drivers/block/xen-blkback/
H A Dblkback.c954 seg[n].nsec = last_sect - first_sect + 1; in xen_blkbk_parse_indirect()
956 preq->nr_sects += seg[n].nsec; in xen_blkbk_parse_indirect()
1263 seg[i].nsec = req->u.rw.seg[i].last_sect - in dispatch_rw_block_io()
1270 preq.nr_sects += seg[i].nsec; in dispatch_rw_block_io()
1293 if (((int)preq.sector_number|(int)seg[i].nsec) & in dispatch_rw_block_io()
1327 seg[i].nsec << 9, in dispatch_rw_block_io()
1343 preq.sector_number += seg[i].nsec; in dispatch_rw_block_io()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c119 u32 sec, nsec; in igb_ptp_read_i210() local
126 nsec = rd32(E1000_SYSTIML); in igb_ptp_read_i210()
130 ts->tv_nsec = nsec; in igb_ptp_read_i210()
553 ts.tv_nsec = rq->perout.period.nsec; in igb_ptp_feature_enable_82580()
709 ts.tv_nsec = rq->perout.period.nsec; in igb_ptp_feature_enable_i210()
756 igb->perout[i].start.tv_nsec = rq->perout.start.nsec; in igb_ptp_feature_enable_i210()
760 wr32(trgttiml, rq->perout.start.nsec); in igb_ptp_feature_enable_i210()

Completed in 20 milliseconds

12345678910>>...15