Home
last modified time | relevance | path

Searched refs:ts1 (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/media/pci/cx23885/
Dcx23885-cards.c2071 struct cx23885_tsport *ts1 = &dev->ts1; in cx23885_card_setup() local
2134 ts1->gen_ctrl_val = 0x4; /* Parallel */ in cx23885_card_setup()
2135 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2136 ts1->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
2151 ts1->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2152 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2153 ts1->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
2159 ts1->gen_ctrl_val = 0x10e; in cx23885_card_setup()
2160 ts1->ts_clk_en_val = 0x1; /* Enable TS_CLK */ in cx23885_card_setup()
2161 ts1->src_sel_val = CX23885_SRC_SEL_PARALLEL_MPEG_VIDEO; in cx23885_card_setup()
[all …]
Dcx23885-417.c1013 dev->ts1.height = 480; in cx23885_codec_settings()
1015 dev->ts1.height = 576; in cx23885_codec_settings()
1019 dev->ts1.height, dev->ts1.width); in cx23885_codec_settings()
1021 dev->cxhdl.width = dev->ts1.width; in cx23885_codec_settings()
1022 dev->cxhdl.height = dev->ts1.height; in cx23885_codec_settings()
1129 dev->ts1.ts_packet_size = mpeglinesize; in queue_setup()
1130 dev->ts1.ts_packet_count = mpeglines; in queue_setup()
1144 return cx23885_buf_prepare(buf, &dev->ts1); in buffer_prepare()
1164 cx23885_buf_queue(&dev->ts1, buf); in buffer_queue()
1170 struct cx23885_dmaqueue *dmaq = &dev->ts1.mpegq; in cx23885_start_streaming()
[all …]
Dcx23885-core.c977 cx23885_init_tsport(dev, &dev->ts1, 1); in cx23885_dev_setup()
1055 dev->ts1.num_frontends = in cx23885_dev_setup()
1057 if (cx23885_dvb_register(&dev->ts1) < 0) { in cx23885_dev_setup()
1113 cx23885_dvb_unregister(&dev->ts1); in cx23885_dev_unregister()
1672 struct cx23885_tsport *port = &dev->ts1; in cx23885_irq_417()
1779 struct cx23885_tsport *ts1 = &dev->ts1; in cx23885_irq() local
1814 ts1_count = cx_read(ts1->reg_gpcnt); in cx23885_irq()
1901 handled += cx23885_irq_ts(ts1, ts1_status); in cx23885_irq()
Dcimax2.c382 port = &dev->ts1; in netup_ci_slot_status()
Dcx23885.h381 struct cx23885_tsport ts1, ts2; member
Dcx23885-dvb.c1263 tda18271_attach(&dev->ts1.analog_fe, in dvb_register()
1671 tda18271_attach(&dev->ts1.analog_fe, in dvb_register()
Dcx23885-video.c999 fe = &dev->ts1.analog_fe; in cx23885_set_freq_via_ops()
/Linux-v5.4/tools/testing/selftests/timers/
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
55 clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); in get_sample()
59 ts1.tv_sec -= mono_raw_base; in get_sample()
63 delay = diff_timespec(&ts3, &ts1); in get_sample()
70 sample->offset = diff_timespec(&ts2, &ts1); in get_sample()
72 sample->time = ts1.tv_sec + ts1.tv_nsec / 1e9; in get_sample()
/Linux-v5.4/drivers/pps/generators/
Dpps_gen_parport.c59 struct timespec64 expire_time, ts1, ts2, ts3, dts; in hrtimer_event() local
77 ktime_get_real_ts64(&ts1); in hrtimer_event()
83 if (expire_time.tv_sec != ts1.tv_sec || ts1.tv_nsec > lim) { in hrtimer_event()
86 (s64)ts1.tv_sec, ts1.tv_nsec); in hrtimer_event()
119 dts = timespec64_sub(ts1, expire_time); in hrtimer_event()
/Linux-v5.4/drivers/media/usb/cx231xx/
Dcx231xx-417.c1099 dev->ts1.height, dev->ts1.width); in cx231xx_codec_settings()
1101 dev->mpeg_ctrl_handler.width = dev->ts1.width; in cx231xx_codec_settings()
1102 dev->mpeg_ctrl_handler.height = dev->ts1.height; in cx231xx_codec_settings()
1235 fh->dev->ts1.ts_packet_size = mpeglinesize; in bb_buf_setup()
1236 fh->dev->ts1.ts_packet_count = mpeglines; in bb_buf_setup()
1238 *size = fh->dev->ts1.ts_packet_size * fh->dev->ts1.ts_packet_count; in bb_buf_setup()
1405 int size = fh->dev->ts1.ts_packet_size * fh->dev->ts1.ts_packet_count; in bb_buf_prepare()
1409 buf->vb.width = fh->dev->ts1.ts_packet_size; in bb_buf_prepare()
1410 buf->vb.height = fh->dev->ts1.ts_packet_count; in bb_buf_prepare()
1525 s->r.width = dev->ts1.width; in vidioc_g_selection()
[all …]
Dcx231xx.h719 struct cx231xx_tsport ts1, ts2; member
/Linux-v5.4/drivers/mmc/core/
Dmmc_test.c558 struct timespec64 *ts1, struct timespec64 *ts2) in mmc_test_print_rate() argument
563 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_rate()
582 unsigned int count, struct timespec64 *ts1, in mmc_test_print_avg_rate() argument
589 ts = timespec64_sub(*ts2, *ts1); in mmc_test_print_avg_rate()
1440 struct timespec64 ts1, ts2; in mmc_test_area_io_seq() local
1466 ktime_get_ts64(&ts1); in mmc_test_area_io_seq()
1483 mmc_test_print_avg_rate(test, sz, count, &ts1, &ts2); in mmc_test_area_io_seq()
1738 struct timespec64 ts1, ts2; in mmc_test_profile_trim_perf() local
1749 ktime_get_ts64(&ts1); in mmc_test_profile_trim_perf()
1754 mmc_test_print_rate(test, sz, &ts1, &ts2); in mmc_test_profile_trim_perf()
[all …]
/Linux-v5.4/samples/mic/mpssd/
Dmpssd.c1762 char ts[52], *ts1; in mpsslog() local
1773 ts1 = ctime_r(&t, ts); in mpsslog()
1774 ts1[strlen(ts1) - 1] = '\0'; in mpsslog()
1775 fprintf(logfp, "%s: %s", ts1, buffer); in mpsslog()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c908 ent->ts1 = ktime_get_ns(); in cmd_work_handler()
1045 ds = ent->ts2 - ent->ts1; in mlx5_cmd_invoke()
1509 ds = ent->ts2 - ent->ts1; in mlx5_cmd_comp_handler()
/Linux-v5.4/include/linux/mlx5/
Ddriver.h767 u64 ts1; member
/Linux-v5.4/Documentation/trace/
Dhistogram.rst1726 # echo 'hist:keys=next_pid:ts1=common_timestamp ...' >> event/trigger