| /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 …]
|
| /drivers/media/test-drivers/vidtv/ |
| A D | vidtv_pes.c | 85 struct vidtv_pes_optional_pts pts = {}; in vidtv_pes_write_pts_dts() local 102 pts_dts.pts1 = (0x3 << 4) | ((args->pts & mask1) >> 29) | 0x1; in vidtv_pes_write_pts_dts() 103 pts_dts.pts2 = cpu_to_be16(((args->pts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts() 104 pts_dts.pts3 = cpu_to_be16(((args->pts & mask3) << 1) | 0x1); in vidtv_pes_write_pts_dts() 114 pts.pts1 = (0x1 << 5) | ((args->pts & mask1) >> 29) | 0x1; in vidtv_pes_write_pts_dts() 115 pts.pts2 = cpu_to_be16(((args->pts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts() 116 pts.pts3 = cpu_to_be16(((args->pts & mask3) << 1) | 0x1); in vidtv_pes_write_pts_dts() 118 op = &pts; in vidtv_pes_write_pts_dts() 119 op_sz = sizeof(pts); in vidtv_pes_write_pts_dts() 319 .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()
|
| A D | vidtv_encoder.h | 24 u64 pts; member
|
| A D | vidtv_mux.c | 304 args.pts = au->pts; in vidtv_mux_packetize_access_units()
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_flipq.c | 353 unsigned int pts, in lnl_flipq_add() argument 361 intel_flipq_write(display, flipq, pts, i++); in lnl_flipq_add() 373 intel_flipq_write(display, flipq, pts, i++); in lnl_flipq_add() 388 unsigned int pts, in ptl_flipq_add() argument 396 intel_flipq_write(display, flipq, pts, i++); in ptl_flipq_add() 408 intel_flipq_write(display, flipq, pts, i++); in ptl_flipq_add() 423 unsigned int pts, in intel_flipq_add() argument 433 pts += intel_de_read(display, PIPEDMC_FPQ_TS(crtc->pipe)); in intel_flipq_add() 438 ptl_flipq_add(display, flipq, pts, dsb_id, dsb); in intel_flipq_add() 440 lnl_flipq_add(display, flipq, pts, dsb_id, dsb); in intel_flipq_add()
|
| A D | intel_flipq.h | 28 unsigned int pts,
|
| /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()
|
| /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 | 914 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts) in ivtv_stop_v4l2_decode_stream() argument 930 IVTV_DEBUG_INFO("Stop Decode at %llu, flags: %x\n", (unsigned long long)pts, flags); in ivtv_stop_v4l2_decode_stream() 933 if (!(flags & V4L2_DEC_CMD_STOP_IMMEDIATELY) || pts) { in ivtv_stop_v4l2_decode_stream() 937 if (pts) { in ivtv_stop_v4l2_decode_stream() 939 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);
|
| /drivers/iommu/ |
| A D | tegra-smmu.c | 63 struct tegra_pt **pts; member 311 as->pts = kcalloc(SMMU_NUM_PDE, sizeof(*as->pts), GFP_KERNEL); in tegra_smmu_domain_alloc_paging() 312 if (!as->pts) { in tegra_smmu_domain_alloc_paging() 339 kfree(as->pts); in tegra_smmu_domain_free() 592 pt = as->pts[pd_index]; in tegra_smmu_pte_lookup() 607 if (!as->pts[pde]) { in as_get_pte() 624 as->pts[pde] = pt; in as_get_pte() 647 struct tegra_pt *pt = as->pts[pde]; in tegra_smmu_pte_put_use() 662 as->pts[pde] = NULL; in tegra_smmu_pte_put_use() 710 if (as->pts[pde]) { in as_get_pde_page() [all …]
|
| /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()
|
| /drivers/staging/media/av7110/ |
| A D | av7110_ipack.c | 271 p->pts[p->found - 9] = buf[c]; in av7110_ipack_instant_repack() 330 p->pts[0] = p->check; in av7110_ipack_instant_repack() 339 p->pts[p->which - 2] = buf[c]; in av7110_ipack_instant_repack() 351 p->pts[p->which - 2] = buf[c]; in av7110_ipack_instant_repack()
|
| A D | dvb_filter.h | 136 u8 pts[5]; member 199 u32 pts[2]; /* [0] 1st field, [1] 2nd field */ member
|
| /drivers/ptp/ |
| A D | ptp_vclock.c | 93 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()
|
| /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()
|
| /drivers/staging/vc04_services/vchiq-mmal/ |
| A D | mmal-common.h | 56 s64 pts; member
|
| A D | mmal-vchiq.c | 145 s64 pts; member 266 buffer->pts = msg_context->u.bulk.pts; in buffer_work_cb() 350 msg_context->u.bulk.pts = msg->u.buffer_from_host.buffer_header.pts; in bulk_receive() 430 m.u.buffer_from_host.buffer_header.pts = MMAL_TIME_UNKNOWN; in buffer_from_host() 1334 mmalbuf->pts = MMAL_TIME_UNKNOWN; in port_disable()
|
| /drivers/media/usb/uvc/ |
| A D | uvc_video.c | 581 buf->pts = get_unaligned_le32(&data[2]); in uvc_video_clock_decode() 825 delta_stc = buf->pts - (1UL << 31); in uvc_video_clock_update() 856 stream->dev->name, buf->pts, in uvc_video_clock_update() 917 u32 pts; in uvc_video_stats_decode() local 950 pts = get_unaligned_le32(&data[2]); in uvc_video_stats_decode() 959 if (stream->stats.frame.pts != pts) { in uvc_video_stats_decode() 968 stream->stats.frame.pts = pts; in uvc_video_stats_decode() 1034 frame->pts, frame->scr_stc, frame->scr_sof); in uvc_video_stats_update()
|
| A D | uvcvideo.h | 322 u32 pts; member 377 u32 pts; /* PTS of the last packet */ member
|
| /drivers/media/radio/ |
| A D | radio-si476x.c | 1123 struct poll_table_struct *pts) in si476x_radio_fops_poll() argument 1126 __poll_t req_events = poll_requested_events(pts); in si476x_radio_fops_poll() 1127 __poll_t err = v4l2_ctrl_poll(file, pts); in si476x_radio_fops_poll() 1131 poll_wait(file, &radio->core->rds_read_queue, pts); in si476x_radio_fops_poll()
|
| /drivers/media/platform/chips-media/wave5/ |
| A D | wave5-vpuapi.c | 876 p_enc_info->pts_map[param->src_idx] = param->pts; in wave5_vpu_enc_start_one_frame() 897 info->pts = 0; in wave5_vpu_enc_get_output_info() 902 info->pts = p_enc_info->pts_map[info->enc_src_idx]; in wave5_vpu_enc_get_output_info()
|