Home
last modified time | relevance | path

Searched refs:pts (Results 1 - 25 of 96) sorted by relevance

1234

/kernel/linux/linux-5.10/samples/bpf/
H A 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()
161 * pts cur_ts 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 in bpf_prog2()
[all...]
/kernel/linux/linux-6.6/samples/bpf/
H A 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()
161 * pts cur_ts 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 in bpf_prog2()
[all...]
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dqcom-vadc-common.c323 static int qcom_vadc_map_voltage_temp(const struct vadc_map_pt *pts, in qcom_vadc_map_voltage_temp() argument
329 if (!pts) in qcom_vadc_map_voltage_temp()
334 if (pts[0].x < pts[1].x) in qcom_vadc_map_voltage_temp()
339 if ((descending) && (pts[i].x < input)) { in qcom_vadc_map_voltage_temp()
344 (pts[i].x > input)) { in qcom_vadc_map_voltage_temp()
353 *output = pts[0].y; in qcom_vadc_map_voltage_temp()
355 *output = pts[tablesize - 1].y; in qcom_vadc_map_voltage_temp()
359 *output = (((s32)((pts[i].y - pts[ in qcom_vadc_map_voltage_temp()
[all...]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/
H A Dvidtv_pes.c84 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 in vidtv_pes_write_pts_dts()
[all...]
H A Dvidtv_pes.h82 * @pts: PTS value to send.
98 u64 pts; member
145 * @pts: PTS value to send.
168 u64 pts; member
/kernel/linux/linux-6.6/drivers/media/test-drivers/vidtv/
H A Dvidtv_pes.c84 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 in vidtv_pes_write_pts_dts()
[all...]
H A Dvidtv_pes.h82 * @pts: PTS value to send.
98 u64 pts; member
145 * @pts: PTS value to send.
168 u64 pts; member
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dqcom-vadc-common.c346 static int qcom_vadc_map_voltage_temp(const struct vadc_map_pt *pts, in qcom_vadc_map_voltage_temp() argument
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()
371 static s32 qcom_vadc_map_temp_voltage(const struct vadc_map_pt *pts, in qcom_vadc_map_temp_voltage() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
H A 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()
H A Divtv-controls.h14 int ivtv_g_pts_frame(struct ivtv *itv, s64 *pts, s64 *frame);
H A Divtv-streams.h20 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts);
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/
H A 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()
H A Divtv-controls.h14 int ivtv_g_pts_frame(struct ivtv *itv, s64 *pts, s64 *frame);
H A Divtv-streams.h20 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts);
/kernel/linux/linux-5.10/drivers/char/pcmcia/
H A 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[ in set_protocol()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
H A 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()
/kernel/linux/linux-6.6/drivers/media/pci/cx18/
H A 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()
/kernel/linux/linux-5.10/drivers/iommu/
H A Dtegra-smmu.c57 struct page **pts; member
312 as->pts = kcalloc(SMMU_NUM_PDE, sizeof(*as->pts), GFP_KERNEL); in tegra_smmu_domain_alloc()
313 if (!as->pts) { in tegra_smmu_domain_alloc()
338 kfree(as->pts); in tegra_smmu_domain_free()
572 pt_page = as->pts[pd_index]; in tegra_smmu_pte_lookup()
588 if (!as->pts[pde]) { in as_get_pte()
605 as->pts[pde] = page; in as_get_pte()
617 return tegra_smmu_pte_offset(as->pts[pde], iova); in as_get_pte()
630 struct page *page = as->pts[pd in tegra_smmu_pte_put_use()
[all...]
/kernel/linux/linux-6.6/drivers/iommu/
H A Dtegra-smmu.c58 struct page **pts; member
301 as->pts = kcalloc(SMMU_NUM_PDE, sizeof(*as->pts), GFP_KERNEL); in tegra_smmu_domain_alloc()
302 if (!as->pts) { in tegra_smmu_domain_alloc()
327 kfree(as->pts); in tegra_smmu_domain_free()
567 pt_page = as->pts[pd_index]; in tegra_smmu_pte_lookup()
583 if (!as->pts[pde]) { in as_get_pte()
600 as->pts[pde] = page; in as_get_pte()
612 return tegra_smmu_pte_offset(as->pts[pde], iova); in as_get_pte()
625 struct page *page = as->pts[pd in tegra_smmu_pte_put_use()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
H A Dlima_vm.c53 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/lima/
H A Dlima_vm.c53 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()
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
H A Ddvb_filter.h140 u8 pts[5]; member
202 u32 pts[2]; /* [0] 1st field, [1] 2nd field */ member
/kernel/linux/linux-6.6/drivers/staging/media/av7110/
H A Ddvb_filter.h140 u8 pts[5]; member
202 u32 pts[2]; /* [0] 1st field, [1] 2nd field */ member
/kernel/linux/linux-6.6/drivers/ptp/
H A Dptp_vclock.c93 struct timespec64 pts; in ptp_vclock_gettimex() local
97 err = pptp->info->getcyclesx64(pptp->info, &pts, sts); in ptp_vclock_gettimex()
103 ns = timecounter_cyc2time(&vclock->tc, timespec64_to_ns(&pts)); in ptp_vclock_gettimex()
/kernel/linux/linux-5.10/fs/proc/
H A Dinode.c363 static __poll_t pde_poll(struct proc_dir_entry *pde, struct file *file, struct poll_table_struct *pts) in pde_poll() argument
369 return poll(file, pts); in pde_poll()
373 static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll() argument
379 return pde_poll(pde, file, pts); in proc_reg_poll()
381 rv = pde_poll(pde, file, pts); in proc_reg_poll()

Completed in 14 milliseconds

1234