Home
last modified time | relevance | path

Searched refs:ts2 (Results 1 – 19 of 19) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/pci/cx23885/
H A Dcx23885-cards.c2135 struct cx23885_tsport *ts2 = &dev->ts2; in cx23885_card_setup() local
2202 ts2->gen_ctrl_val = 0x10e; in cx23885_card_setup()
2203 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2204 ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
2209 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2210 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2211 ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
2232 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2233 ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2234 ts2->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
[all …]
H A Dcx23885-core.c981 cx23885_init_tsport(dev, &dev->ts2, 2); in cx23885_dev_setup()
1071 dev->ts2.num_frontends = in cx23885_dev_setup()
1073 if (cx23885_dvb_register(&dev->ts2) < 0) { in cx23885_dev_setup()
1119 cx23885_dvb_unregister(&dev->ts2); in cx23885_dev_unregister()
1780 struct cx23885_tsport *ts2 = &dev->ts2; in cx23885_irq() local
1815 ts2_count = cx_read(ts2->reg_gpcnt); in cx23885_irq()
1909 handled += cx23885_irq_ts(ts2, ts2_status); in cx23885_irq()
H A Dcimax2.c389 port = &dev->ts2; in netup_ci_slot_status()
H A Dcx23885.h382 struct cx23885_tsport ts1, ts2; member
H A Dcx23885-video.c1037 vfe = vb2_dvb_get_frontend(&dev->ts2.frontends, 1); in cx23885_set_freq_via_ops()
/OK3568_Linux_fs/kernel/drivers/pps/generators/
H A Dpps_gen_parport.c59 struct timespec64 expire_time, ts1, ts2, ts3, dts; in hrtimer_event() local
92 ktime_get_real_ts64(&ts2); in hrtimer_event()
93 } while (expire_time.tv_sec == ts2.tv_sec && ts2.tv_nsec < lim); in hrtimer_event()
102 ktime_get_real_ts64(&ts2); in hrtimer_event()
103 } while (expire_time.tv_sec == ts2.tv_sec && ts2.tv_nsec < lim); in hrtimer_event()
113 dts = timespec64_sub(ts3, ts2); in hrtimer_event()
/OK3568_Linux_fs/kernel/tools/testing/selftests/timers/
H A Dfreq-step.c43 static double diff_timespec(struct timespec *ts1, struct timespec *ts2) in diff_timespec() argument
45 return ts1->tv_sec - ts2->tv_sec + (ts1->tv_nsec - ts2->tv_nsec) / 1e9; in diff_timespec()
51 struct timespec ts1, ts2, ts3; in get_sample() local
56 clock_gettime(CLOCK_MONOTONIC, &ts2); in get_sample()
60 ts2.tv_sec -= mono_base; in get_sample()
70 sample->offset = diff_timespec(&ts2, &ts1); in get_sample()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/
H A Dtest_util.c73 struct timespec timespec_add(struct timespec ts1, struct timespec ts2) in timespec_add() argument
76 int64_t ns2 = timespec_to_ns(ts2); in timespec_add()
80 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2) in timespec_sub() argument
83 int64_t ns2 = timespec_to_ns(ts2); in timespec_sub()
/OK3568_Linux_fs/kernel/drivers/mmc/core/
H A Dmmc_test.c560 struct timespec64 *ts1, struct timespec64 *ts2) in mmc_test_print_rate() argument
565 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_rate()
585 struct timespec64 *ts2) in mmc_test_print_avg_rate() argument
591 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_avg_rate()
1462 struct timespec64 ts1, ts2; in mmc_test_area_io_seq() local
1500 ktime_get_ts64(&ts2); in mmc_test_area_io_seq()
1503 mmc_test_print_avg_rate(test, sz, count, &ts1, &ts2); in mmc_test_area_io_seq()
1766 struct timespec64 ts1, ts2; in mmc_test_profile_trim_perf() local
1781 ktime_get_ts64(&ts2); in mmc_test_profile_trim_perf()
1782 mmc_test_print_rate(test, sz, &ts1, &ts2); in mmc_test_profile_trim_perf()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/include/
H A Dtest_util.h65 struct timespec timespec_add(struct timespec ts1, struct timespec ts2);
66 struct timespec timespec_sub(struct timespec ts1, struct timespec ts2);
/OK3568_Linux_fs/kernel/kernel/
H A Dsmp.c149 u64 ts2, ts_delta; in csd_lock_wait_toolong() local
162 ts2 = sched_clock(); in csd_lock_wait_toolong()
163 ts_delta = ts2 - *ts1; in csd_lock_wait_toolong()
177 firsttime ? "Detected" : "Continued", *bug_id, raw_smp_processor_id(), ts2 - ts0, in csd_lock_wait_toolong()
196 *ts1 = ts2; in csd_lock_wait_toolong()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/
H A Dregression_2000.c669 struct sock_server ts2 = { }; in xtest_tee_test_2004() local
696 if (!ADBG_EXPECT_TRUE(c, sock_server_init_udp(&ts2, &cb))) in xtest_tee_test_2004()
808 port = ts2.bind->port; in xtest_tee_test_2004()
843 TEE_IP_VERSION_DC, ts2.bind->host, ts2.bind->port, in xtest_tee_test_2004()
846 sock_server_uninit(&ts2); in xtest_tee_test_2004()
889 sock_server_uninit(&ts2); in xtest_tee_test_2004()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_bam.c89 struct timespec ts2; in wl_bad_ap_mngr_timecmp() local
95 wl_bad_ap_mngr_tm2ts(&ts2, e2->bad_ap.tm); in wl_bad_ap_mngr_timecmp()
97 ret = timespec_compare((const struct timespec *)&ts1, (const struct timespec *)&ts2); in wl_bad_ap_mngr_timecmp()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_bam.c89 struct timespec ts2; in wl_bad_ap_mngr_timecmp() local
95 wl_bad_ap_mngr_tm2ts(&ts2, e2->bad_ap.tm); in wl_bad_ap_mngr_timecmp()
97 ret = timespec_compare((const struct timespec *)&ts1, (const struct timespec *)&ts2); in wl_bad_ap_mngr_timecmp()
/OK3568_Linux_fs/kernel/drivers/ptp/
H A Dptp_idt82p33.c423 struct timespec64 ts2; in idt82p33_measure_settime_gettime_gap_overhead() local
433 err = _idt82p33_gettime(channel, &ts2); in idt82p33_measure_settime_gettime_gap_overhead()
436 *overhead_ns = timespec64_to_ns(&ts2) - timespec64_to_ns(&ts1); in idt82p33_measure_settime_gettime_gap_overhead()
/OK3568_Linux_fs/external/mpp/mpp/codec/
H A Dmpp_dec_normal.cpp29 MppPktTs *ts1, *ts2; in ts_cmp() local
33 ts2 = container_of(b, MppPktTs, link); in ts_cmp()
35 return ts1->pts - ts2->pts; in ts_cmp()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c1136 ds = ent->ts2 - ent->ts1; in mlx5_cmd_invoke()
1593 ent->ts2 = ktime_get_ns(); in mlx5_cmd_comp_handler()
1611 ds = ent->ts2 - ent->ts1; in mlx5_cmd_comp_handler()
/OK3568_Linux_fs/kernel/drivers/media/usb/cx231xx/
H A Dcx231xx.h706 struct cx231xx_tsport ts1, ts2; member
/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A Ddriver.h768 u64 ts2; member