Searched refs:nsec (Results 326 - 337 of 337) sorted by relevance
1...<<11121314
/third_party/python/Modules/ |
H A D | _testcapimodule.c | 3871 long nsec; in test_pytime_object_to_timespec() local 3877 if (_PyTime_ObjectToTimespec(obj, &sec, &nsec, round) == -1) in test_pytime_object_to_timespec() 3879 return Py_BuildValue("Nl", _PyLong_FromTime_t(sec), nsec); in test_pytime_object_to_timespec()
|
H A D | posixmodule.c | 2372 fill_time(PyObject *module, PyObject *v, int index, time_t sec, unsigned long nsec) in fill_time() argument 2375 PyObject *ns_fractional = PyLong_FromUnsignedLong(nsec); in fill_time() 2391 float_s = PyFloat_FromDouble(sec + 1e-9*nsec); in fill_time()
|
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common_display.c | 1244 uint64_t nsec, uint64_t user_data) in wsi_display_sequence_handler() 1243 wsi_display_sequence_handler(int fd, uint64_t frame, uint64_t nsec, uint64_t user_data) wsi_display_sequence_handler() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 6290 u64 nsec; in tg3_ptp_enable() local 6292 nsec = rq->perout.start.sec * 1000000000ULL + in tg3_ptp_enable() 6293 rq->perout.start.nsec; in tg3_ptp_enable() 6295 if (rq->perout.period.sec || rq->perout.period.nsec) { in tg3_ptp_enable() 6302 if (nsec & (1ULL << 63)) { in tg3_ptp_enable() 6304 "Start value (nsec) is over limit. Maximum size of start is only 63 bits\n"); in tg3_ptp_enable() 6309 tw32(TG3_EAV_WATCHDOG0_LSB, (nsec & 0xffffffff)); in tg3_ptp_enable() 6312 ((nsec >> 32) & TG3_EAV_WATCHDOG_MSB_MASK)); in tg3_ptp_enable()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 6275 u64 nsec; in tg3_ptp_enable() local 6277 nsec = rq->perout.start.sec * 1000000000ULL + in tg3_ptp_enable() 6278 rq->perout.start.nsec; in tg3_ptp_enable() 6280 if (rq->perout.period.sec || rq->perout.period.nsec) { in tg3_ptp_enable() 6287 if (nsec & (1ULL << 63)) { in tg3_ptp_enable() 6289 "Start value (nsec) is over limit. Maximum size of start is only 63 bits\n"); in tg3_ptp_enable() 6294 tw32(TG3_EAV_WATCHDOG0_LSB, (nsec & 0xffffffff)); in tg3_ptp_enable() 6297 ((nsec >> 32) & TG3_EAV_WATCHDOG_MSB_MASK)); in tg3_ptp_enable()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | 723 *(__be32 *)(data + offset2 + 6) = htonl(origin_timestamp.nsec); in dpaa2_eth_enable_tx_tstamp()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_main.c | 639 lt->nsec = ts.tv_nsec; in lio_sync_octeon_time()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_main.c | 633 lt->nsec = ts.tv_nsec; in lio_sync_octeon_time()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 4228 u32 nsec = le32_to_cpu(desc->ts_nsec); in hns3_handle_rx_ts_info() local 4232 h->ae_algo->ops->get_rx_hwts(h, skb, nsec, sec); in hns3_handle_rx_ts_info()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | 853 *(__be32 *)(data + offset2 + 6) = htonl(origin_timestamp.nsec); in dpaa2_eth_enable_tx_tstamp()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
H A D | x86.c | 2032 wc.nsec = do_div(wall_nsec, 1000000000); in kvm_write_wall_clock() 8300 clock_pairing.nsec = ts.tv_nsec; in kvm_pv_clock_pairing()
|
/kernel/linux/linux-6.6/arch/x86/kvm/ |
H A D | x86.c | 2344 wc.nsec = do_div(wall_nsec, 1000000000); in kvm_write_wall_clock() 9704 clock_pairing.nsec = ts.tv_nsec; in kvm_pv_clock_pairing()
|
Completed in 119 milliseconds
1...<<11121314