/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | bus.h | 19 void nvkm_hwsq_nsec(struct nvkm_hwsq *, u32 nsec);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | timer.h | 13 void nvif_timer_wait_init(struct nvif_device *, u64 nsec,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.h | 272 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 D | ptp_sysfs.c | 102 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 D | ptp_clockmatrix.c | 109 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 D | ptp.c | 154 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 D | lan743x_ptp.c | 536 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 D | ksz_ptp.c | 217 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 D | time-internal.h | 90 void time_travel_ndelay(unsigned long nsec);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | bus.h | 19 void nvkm_hwsq_nsec(struct nvkm_hwsq *, u32 nsec);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 117 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 D | hiview_applogcat.c | 229 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 D | cj_datepicker_ffi.h | 37 int64_t nsec; member
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/ |
H A D | kv_hiview_reporter.h | 59 static std::string GetTimeWithMilliseconds(time_t sec, int64_t nsec);
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | time32.h | 66 * @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 D | net_dropmonitor.py | 72 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain,
|
/kernel/linux/linux-5.10/include/xen/arm/ |
H A D | interface.h | 81 u32 nsec; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | time32.h | 66 * @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 D | interface.h | 81 u32 nsec; member
|
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | net_dropmonitor.py | 72 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain,
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | ptp_clock.h | 15 __u32 nsec; member
|
/kernel/linux/linux-5.10/drivers/ptp/ |
H A D | ptp_clockmatrix.c | 51 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 D | ptp_ines.c | 144 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 D | blkback.c | 954 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 D | igb_ptp.c | 119 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()
|