Home
last modified time | relevance | path

Searched refs:pts (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v5.4/samples/bpf/
Dcpustat_kern.c106 u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog1() local
126 pts = bpf_map_lookup_elem(&my_map, &key); in bpf_prog1()
127 if (!pts) in bpf_prog1()
166 if (!*pts) in bpf_prog1()
169 delta = cur_ts - *pts; in bpf_prog1()
205 if (*pts) in bpf_prog1()
206 *pts = cur_ts; in bpf_prog1()
214 u64 *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog2() local
221 pts = bpf_map_lookup_elem(&my_map, &key); in bpf_prog2()
222 if (!pts) in bpf_prog2()
[all …]
/Linux-v5.4/drivers/iio/adc/
Dqcom-vadc-common.c121 static int qcom_vadc_map_voltage_temp(const struct vadc_map_pt *pts, in qcom_vadc_map_voltage_temp() argument
127 if (!pts) in qcom_vadc_map_voltage_temp()
132 if (pts[0].x < pts[1].x) in qcom_vadc_map_voltage_temp()
137 if ((descending) && (pts[i].x < input)) { in qcom_vadc_map_voltage_temp()
142 (pts[i].x > input)) { in qcom_vadc_map_voltage_temp()
151 *output = pts[0].y; in qcom_vadc_map_voltage_temp()
153 *output = pts[tablesize - 1].y; in qcom_vadc_map_voltage_temp()
157 *output = (((s32)((pts[i].y - pts[i - 1].y) * in qcom_vadc_map_voltage_temp()
158 (input - pts[i - 1].x)) / in qcom_vadc_map_voltage_temp()
159 (pts[i].x - pts[i - 1].x)) + in qcom_vadc_map_voltage_temp()
[all …]
/Linux-v5.4/Documentation/filesystems/
Ddevpts.txt5 All mounts of the devpts filesystem now create a /dev/pts/ptmx node
10 of devpts under the name "pts" in the same directory as the ptmx device
14 it is possible to place a symlink to /dev/pts/ptmx at /dev/ptmx or
17 the ptmxmode=0666, or chmod 0666 /dev/pts/ptmx should be called.
/Linux-v5.4/drivers/char/pcmcia/
Dcm4000_cs.c139 unsigned char pts[4]; member
468 dev->pts[0] = 0xff; in set_protocol()
469 dev->pts[1] = 0x00; in set_protocol()
472 dev->pts[1]++; in set_protocol()
473 dev->proto = dev->pts[1]; /* Set new protocol */ in set_protocol()
474 dev->pts[1] = (0x01 << 4) | (dev->pts[1]); in set_protocol()
479 dev->pts[2] = fi_di_table[dev->ta1 & 0x0F][(dev->ta1 >> 4) & 0x0F]; in set_protocol()
482 dev->pts[3] = dev->pts[0] ^ dev->pts[1] ^ dev->pts[2]; in set_protocol()
485 dev->pts[0], dev->pts[1], dev->pts[2], dev->pts[3]); in set_protocol()
489 str_invert_revert(dev->pts, 4); in set_protocol()
[all …]
/Linux-v5.4/drivers/media/pci/ivtv/
Divtv-controls.c94 int ivtv_g_pts_frame(struct ivtv *itv, s64 *pts, s64 *frame) in ivtv_g_pts_frame() argument
99 *pts = (s64)((u64)itv->last_dec_timing[2] << 32) | in ivtv_g_pts_frame()
104 *pts = 0; in ivtv_g_pts_frame()
113 *pts = (s64)((u64) data[2] << 32) | (u64) data[1]; in ivtv_g_pts_frame()
Divtv-controls.h14 int ivtv_g_pts_frame(struct ivtv *itv, s64 *pts, s64 *frame);
Divtv-streams.h20 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts);
Divtv-streams.c915 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts) in ivtv_stop_v4l2_decode_stream() argument
931 IVTV_DEBUG_INFO("Stop Decode at %llu, flags: %x\n", (unsigned long long)pts, flags); in ivtv_stop_v4l2_decode_stream()
934 if (!(flags & V4L2_DEC_CMD_STOP_IMMEDIATELY) || pts) { in ivtv_stop_v4l2_decode_stream()
938 if (pts) { in ivtv_stop_v4l2_decode_stream()
940 0, (u32)(pts & 0xffffffff), (u32)(pts >> 32)); in ivtv_stop_v4l2_decode_stream()
/Linux-v5.4/drivers/media/pci/cx18/
Dcx18-vbi.c184 __be32 pts; in _cx18_process_vbi_data() member
189 u32 pts; in _cx18_process_vbi_data() local
217 pts = (be32_to_cpu(hdr->magic) == 0x3fffffff) ? be32_to_cpu(hdr->pts) in _cx18_process_vbi_data()
233 copy_vbi_data(cx, lines, pts); in _cx18_process_vbi_data()
/Linux-v5.4/drivers/iommu/
Dtegra-smmu.c53 struct page **pts; member
303 as->pts = kcalloc(SMMU_NUM_PDE, sizeof(*as->pts), GFP_KERNEL); in tegra_smmu_domain_alloc()
304 if (!as->pts) { in tegra_smmu_domain_alloc()
327 kfree(as->pts); in tegra_smmu_domain_free()
555 pt_page = as->pts[pd_index]; in tegra_smmu_pte_lookup()
571 if (!as->pts[pde]) { in as_get_pte()
593 as->pts[pde] = page; in as_get_pte()
605 return tegra_smmu_pte_offset(as->pts[pde], iova); in as_get_pte()
618 struct page *page = as->pts[pde]; in tegra_smmu_pte_put_use()
633 as->pts[pde] = NULL; in tegra_smmu_pte_put_use()
/Linux-v5.4/arch/um/configs/
Dx86_64_defconfig34 CONFIG_CON_CHAN="pts"
35 CONFIG_SSL_CHAN="pts"
Di386_defconfig36 CONFIG_CON_CHAN="pts"
37 CONFIG_SSL_CHAN="pts"
/Linux-v5.4/drivers/gpu/drm/lima/
Dlima_vm.c58 dma_addr_t pts; in lima_vm_map_page_table() local
71 pts = vm->bts[pbe].dma; in lima_vm_map_page_table()
74 pd[j] = pts | LIMA_VM_FLAG_PRESENT; in lima_vm_map_page_table()
75 pts += LIMA_PAGE_SIZE; in lima_vm_map_page_table()
/Linux-v5.4/Documentation/media/uapi/dvb/
Dvideo-get-frame-count.rst26 .. c:function:: int ioctl(int fd, VIDEO_GET_FRAME_COUNT, __u64 *pts)
52 - __u64 \*pts
Dvideo-get-pts.rst26 .. c:function:: int ioctl(int fd, VIDEO_GET_PTS, __u64 *pts)
52 - __u64 \*pts
Dvideo_function_calls.rst30 video-get-pts
/Linux-v5.4/drivers/media/pci/ttpci/
Ddvb_filter.h140 u8 pts[5]; member
202 u32 pts[2]; /* [0] 1st field, [1] 2nd field */ member
Dav7110_ipack.c277 p->pts[p->found - 9] = buf[c]; in av7110_ipack_instant_repack()
338 p->pts[0] = p->check; in av7110_ipack_instant_repack()
347 p->pts[p->which - 2] = buf[c]; in av7110_ipack_instant_repack()
359 p->pts[p->which - 2] = buf[c]; in av7110_ipack_instant_repack()
/Linux-v5.4/drivers/media/radio/si470x/
Dradio-si470x-common.c516 struct poll_table_struct *pts) in si470x_fops_poll() argument
519 __poll_t req_events = poll_requested_events(pts); in si470x_fops_poll()
520 __poll_t retval = v4l2_ctrl_poll(file, pts); in si470x_fops_poll()
527 poll_wait(file, &radio->read_queue, pts); in si470x_fops_poll()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-decoder-cmd.rst136 - ``pts``
137 - Stop playback at this ``pts`` or immediately if the playback is
189 immediately (ignoring the ``pts`` value), otherwise it will keep
190 decoding until timestamp >= pts or until the last of the pending
/Linux-v5.4/drivers/media/usb/uvc/
Duvc_video.c471 buf->pts = get_unaligned_le32(&data[2]); in uvc_video_clock_decode()
691 delta_stc = buf->pts - (1UL << 31); in uvc_video_clock_update()
710 stream->dev->name, buf->pts, in uvc_video_clock_update()
770 u32 uninitialized_var(pts); in uvc_video_stats_decode()
803 pts = get_unaligned_le32(&data[2]); in uvc_video_stats_decode()
812 if (stream->stats.frame.pts != pts) { in uvc_video_stats_decode()
821 stream->stats.frame.pts = pts; in uvc_video_stats_decode()
887 frame->pts, frame->scr_stc, frame->scr_sof); in uvc_video_stats_update()
/Linux-v5.4/tools/testing/ktest/
Dktest.pl1505 my ($ptm, $pts) = @_;
1523 sysopen($pts, "/dev/pts/$tmp", O_RDWR | O_NONBLOCK) or
1528 my ($ptm, $pts) = @_;
1536 open(\*STDIN, '<&', $pts);
1537 open(\*STDOUT, '>&', $pts);
1538 open(\*STDERR, '>&', $pts);
1540 close($pts);
1548 my $pts = \*PTSFD;
1558 create_pty($ptm, $pts);
1564 exec_console($ptm, $pts)
[all …]
/Linux-v5.4/include/uapi/linux/dvb/
Dvideo.h95 __u64 pts; member
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-camera/
Dmmal-vchiq.h48 unsigned long length, u32 mmal_flags, s64 dts, s64 pts);
/Linux-v5.4/tools/testing/selftests/rcutorture/doc/
Drcu-test-image.txt24 devpts /dev/pts devpts gid=5,mode=620 0 0

123