/linux/samples/bpf/ |
A D | cpustat_kern.c | 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() 222 if (!pts) in bpf_prog2() 238 if (!*pts) { in bpf_prog2() 239 *pts = bpf_ktime_get_ns(); in bpf_prog2() 244 delta = cur_ts - *pts; in bpf_prog2() [all …]
|
/linux/drivers/iio/adc/ |
A D | qcom-vadc-common.c | 351 if (!pts) in qcom_vadc_map_voltage_temp() 354 while (i < tablesize && pts[i].x > input) in qcom_vadc_map_voltage_temp() 358 *output = pts[0].y; in qcom_vadc_map_voltage_temp() 360 *output = pts[tablesize - 1].y; in qcom_vadc_map_voltage_temp() 363 *output = fixp_linear_interpolate(pts[i - 1].x, pts[i - 1].y, in qcom_vadc_map_voltage_temp() 364 pts[i].x, pts[i].y, in qcom_vadc_map_voltage_temp() 380 while (i < tablesize && pts[i].y < input) in qcom_vadc_map_temp_voltage() 384 return pts[0].x; in qcom_vadc_map_temp_voltage() 386 return pts[tablesize - 1].x; in qcom_vadc_map_temp_voltage() 389 return fixp_linear_interpolate(pts[i - 1].y, pts[i - 1].x, in qcom_vadc_map_temp_voltage() [all …]
|
/linux/drivers/media/test-drivers/vidtv/ |
A D | vidtv_pes.c | 84 struct vidtv_pes_optional_pts pts = {}; in vidtv_pes_write_pts_dts() local 101 pts_dts.pts1 = (0x3 << 4) | ((args->pts & mask1) >> 29) | 0x1; in vidtv_pes_write_pts_dts() 102 pts_dts.pts2 = cpu_to_be16(((args->pts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts() 103 pts_dts.pts3 = cpu_to_be16(((args->pts & mask3) << 1) | 0x1); in vidtv_pes_write_pts_dts() 113 pts.pts1 = (0x1 << 5) | ((args->pts & mask1) >> 29) | 0x1; in vidtv_pes_write_pts_dts() 114 pts.pts2 = cpu_to_be16(((args->pts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts() 115 pts.pts3 = cpu_to_be16(((args->pts & mask3) << 1) | 0x1); in vidtv_pes_write_pts_dts() 117 op = &pts; in vidtv_pes_write_pts_dts() 118 op_sz = sizeof(pts); in vidtv_pes_write_pts_dts() 318 .pts = args->pts, in vidtv_pes_write_into()
|
A D | vidtv_pes.h | 98 u64 pts; member 168 u64 pts; member
|
A D | vidtv_s302m.c | 228 au->pts = sync_au->pts; in vidtv_s302m_compute_pts_from_video() 415 e->access_units->pts = (ctx->au_count * FF_S302M_DEFAULT_PTS_INCREMENT) + in vidtv_s302m_encode()
|
/linux/drivers/char/pcmcia/ |
A D | cm4000_cs.c | 140 unsigned char pts[4]; 467 dev->pts[0] = 0xff; in set_protocol() 468 dev->pts[1] = 0x00; in set_protocol() 471 dev->pts[1]++; in set_protocol() 473 dev->pts[1] = (0x01 << 4) | (dev->pts[1]); in set_protocol() 481 dev->pts[3] = dev->pts[0] ^ dev->pts[1] ^ dev->pts[2]; in set_protocol() 484 dev->pts[0], dev->pts[1], dev->pts[2], dev->pts[3]); in set_protocol() 488 str_invert_revert(dev->pts, 4); in set_protocol() 509 pr_debug("0x%.2x ", dev->pts[i]); in set_protocol() 587 if ((dev->pts[0] == pts_reply[0]) && [all …]
|
/linux/Documentation/filesystems/ |
A D | devpts.rst | 11 All mounts of the devpts filesystem now create a ``/dev/pts/ptmx`` node 16 of devpts under the name ``pts`` in the same directory as the ptmx device 20 it is possible to place a symlink to ``/dev/pts/ptmx`` at ``/dev/ptmx`` or 23 the ``ptmxmode=0666``, or ``chmod 0666 /dev/pts/ptmx`` should be called.
|
/linux/drivers/media/pci/ivtv/ |
A D | ivtv-controls.c | 94 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()
|
A D | ivtv-streams.c | 915 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()
|
A D | ivtv-controls.h | 14 int ivtv_g_pts_frame(struct ivtv *itv, s64 *pts, s64 *frame);
|
A D | ivtv-streams.h | 20 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts);
|
/linux/drivers/media/pci/cx18/ |
A D | cx18-vbi.c | 184 __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/drivers/iommu/ |
A D | tegra-smmu.c | 58 struct page **pts; member 306 as->pts = kcalloc(SMMU_NUM_PDE, sizeof(*as->pts), GFP_KERNEL); in tegra_smmu_domain_alloc() 307 if (!as->pts) { in tegra_smmu_domain_alloc() 332 kfree(as->pts); in tegra_smmu_domain_free() 571 pt_page = as->pts[pd_index]; in tegra_smmu_pte_lookup() 587 if (!as->pts[pde]) { in as_get_pte() 604 as->pts[pde] = page; in as_get_pte() 629 struct page *page = as->pts[pde]; in tegra_smmu_pte_put_use() 644 as->pts[pde] = NULL; in tegra_smmu_pte_put_use() 692 if (as->pts[pde]) { in as_get_pde_page() [all …]
|
/linux/arch/um/configs/ |
A D | x86_64_defconfig | 34 CONFIG_CON_CHAN="pts" 35 CONFIG_SSL_CHAN="pts"
|
A D | i386_defconfig | 36 CONFIG_CON_CHAN="pts" 37 CONFIG_SSL_CHAN="pts"
|
/linux/drivers/staging/media/av7110/ |
A D | video-get-frame-count.rst | 22 ``int ioctl(int fd, VIDEO_GET_FRAME_COUNT, __u64 *pts)`` 45 - __u64 \*pts
|
A D | video-get-pts.rst | 22 ``int ioctl(int fd, VIDEO_GET_PTS, __u64 *pts)`` 45 - __u64 \*pts
|
A D | av7110_ipack.c | 277 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()
|
A D | dvb_filter.h | 140 u8 pts[5]; member 202 u32 pts[2]; /* [0] 1st field, [1] 2nd field */ member
|
/linux/drivers/gpu/drm/lima/ |
A D | lima_vm.c | 53 dma_addr_t pts; in lima_vm_map_page() local 63 pts = vm->bts[pbe].dma; in lima_vm_map_page() 66 pd[j] = pts | LIMA_VM_FLAG_PRESENT; in lima_vm_map_page() 67 pts += LIMA_PAGE_SIZE; in lima_vm_map_page()
|
/linux/fs/proc/ |
A D | inode.c | 353 …tic __poll_t pde_poll(struct proc_dir_entry *pde, struct file *file, struct poll_table_struct *pts) in pde_poll() argument 359 return poll(file, pts); in pde_poll() 363 static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll() argument 369 return pde_poll(pde, file, pts); in proc_reg_poll() 371 rv = pde_poll(pde, file, pts); in proc_reg_poll()
|
/linux/drivers/media/radio/si470x/ |
A D | radio-si470x-common.c | 516 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/Documentation/userspace-api/media/v4l/ |
A D | vidioc-decoder-cmd.rst | 117 - ``pts`` 118 - Stop playback at this ``pts`` or immediately if the playback is 169 immediately (ignoring the ``pts`` value), otherwise it will keep 170 decoding until timestamp >= pts or until the last of the pending
|
/linux/drivers/staging/vc04_services/vchiq-mmal/ |
A D | mmal-common.h | 56 s64 pts; member
|
/linux/tools/testing/ktest/ |
A D | ktest.pl | 1590 my ($ptm, $pts) = @_; 1608 sysopen($pts, "/dev/pts/$tmp", O_RDWR | O_NONBLOCK) or 1613 my ($ptm, $pts) = @_; 1621 open(\*STDIN, '<&', $pts); 1622 open(\*STDOUT, '>&', $pts); 1623 open(\*STDERR, '>&', $pts); 1625 close($pts); 1633 my $pts = \*PTSFD; 1643 create_pty($ptm, $pts); 1649 exec_console($ptm, $pts) [all …]
|