Home
last modified time | relevance | path

Searched refs:num_frames (Results 1 – 25 of 66) sorted by relevance

123

/linux-6.12.1/drivers/firmware/tegra/
Divc.c115 if (tx - rx > ivc->num_frames) in tegra_ivc_empty()
130 return tx - rx >= ivc->num_frames; in tegra_ivc_full()
153 if (ivc->tx.position == ivc->num_frames - 1) in tegra_ivc_advance_tx()
165 if (ivc->rx.position == ivc->num_frames - 1) in tegra_ivc_advance_rx()
231 if (WARN_ON(frame >= ivc->num_frames)) in tegra_ivc_frame_virt()
256 if (!ivc->peer || WARN_ON(frame >= ivc->num_frames)) in tegra_ivc_invalidate_frame()
270 if (!ivc->peer || WARN_ON(frame >= ivc->num_frames)) in tegra_ivc_flush_frame()
335 if (tegra_ivc_available(ivc, &ivc->rx.map) == ivc->num_frames - 1) in tegra_ivc_read_advance()
575 unsigned int num_frames, size_t frame_size) in tegra_ivc_check_params() argument
584 if ((uint64_t)num_frames * (uint64_t)frame_size >= 0x100000000UL) { in tegra_ivc_check_params()
[all …]
/linux-6.12.1/drivers/gpu/drm/sti/
Dsti_plane.c49 int fpks, fipks, ms_since_last, num_frames, num_fields; in sti_plane_update_fps() local
65 num_frames = fps->curr_frame_counter - fps->last_frame_counter; in sti_plane_update_fps()
67 if (num_frames <= 0 || ms_since_last < STI_FPS_INTERVAL_MS) in sti_plane_update_fps()
74 fpks = (num_frames * 1000000) / ms_since_last; in sti_plane_update_fps()
/linux-6.12.1/tools/perf/util/
Dllvm-c-helpers.cpp92 unsigned num_frames = res_or_err->getNumberOfFrames(); in llvm_addr2line() local
93 if (num_frames == 0) in llvm_addr2line()
101 num_frames, sizeof(**inline_frames)); in llvm_addr2line()
105 for (unsigned i = 0; i < num_frames; ++i) { in llvm_addr2line()
128 return num_frames; in llvm_addr2line()
Dsrcline.c140 int num_frames) in free_llvm_inline_frames() argument
143 for (int i = 0; i < num_frames; ++i) { in free_llvm_inline_frames()
157 int num_frames = llvm_addr2line(dso_name, addr, file, line, in addr2line() local
160 if (num_frames == 0 || !inline_frames) { in addr2line()
162 return num_frames; in addr2line()
165 for (int i = 0; i < num_frames; ++i) { in addr2line()
176 free_llvm_inline_frames(inline_frames, num_frames); in addr2line()
180 free_llvm_inline_frames(inline_frames, num_frames); in addr2line()
182 return num_frames; in addr2line()
/linux-6.12.1/drivers/staging/media/meson/vdec/
Desparser.c86 int num_frames, cur_frame; in vp9_update_header() local
103 num_frames = (marker & 0x7) + 1; in vp9_update_header()
105 mag_ptr = dsize - mag * num_frames - 2; in vp9_update_header()
110 for (cur_frame = 0; cur_frame < num_frames; cur_frame++) { in vp9_update_header()
127 num_frames = 1; in vp9_update_header()
133 new_frame_size = total_datasize + num_frames * VP9_HEADER_SIZE; in vp9_update_header()
140 for (cur_frame = num_frames - 1; cur_frame >= 0; cur_frame--) { in vp9_update_header()
Dcodec_h264.c379 int num_frames; in codec_h264_frames_ready() local
383 num_frames = (status >> 8) & 0xff; in codec_h264_frames_ready()
390 for (i = 0; i < num_frames; i++) { in codec_h264_frames_ready()
/linux-6.12.1/drivers/soc/fsl/dpio/
Dqbman-portal.c109 int num_frames);
114 int num_frames);
119 int num_frames);
124 int num_frames);
152 int num_frames)
159 int num_frames)
649 int num_frames) in qbman_swp_enqueue_multiple_direct() argument
675 num_enqueued = (s->eqcr.available < num_frames) ? in qbman_swp_enqueue_multiple_direct()
676 s->eqcr.available : num_frames; in qbman_swp_enqueue_multiple_direct()
732 int num_frames) in qbman_swp_enqueue_multiple_mem_back() argument
[all …]
Dqbman-portal.h178 int num_frames);
183 int num_frames);
278 int num_frames) in qbman_swp_enqueue_multiple() argument
280 return qbman_swp_enqueue_multiple_ptr(s, d, fd, flags, num_frames); in qbman_swp_enqueue_multiple()
297 int num_frames) in qbman_swp_enqueue_multiple_desc() argument
299 return qbman_swp_enqueue_multiple_desc_ptr(s, d, fd, num_frames); in qbman_swp_enqueue_multiple_desc()
/linux-6.12.1/include/soc/tegra/
Divc.h28 unsigned int num_frames; member
98 unsigned int num_frames, size_t frame_size,
/linux-6.12.1/drivers/most/
Dmost_usb.c280 unsigned int j, num_frames; in hdm_add_padding() local
284 num_frames = mbo->buffer_length / frame_size; in hdm_add_padding()
286 if (num_frames < 1) { in hdm_add_padding()
292 for (j = num_frames - 1; j > 0; j--) in hdm_add_padding()
296 mbo->buffer_length = num_frames * USB_MTU; in hdm_add_padding()
314 unsigned int j, num_frames; in hdm_remove_padding() local
318 num_frames = mbo->processed_length / USB_MTU; in hdm_remove_padding()
320 for (j = 1; j < num_frames; j++) in hdm_remove_padding()
325 mbo->processed_length = frame_size * num_frames; in hdm_remove_padding()
569 unsigned int num_frames; in hdm_configure_channel() local
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Dsh_css_sp.h120 sh_css_update_host2sp_num_mipi_frames(unsigned int num_frames);
128 sh_css_update_host2sp_cont_num_raw_frames(unsigned int num_frames,
Dsh_css_metrics.h37 unsigned int num_frames; member
Dsh_css_metrics.c39 sh_css_metrics.frame_metrics.num_frames++; in sh_css_metrics_start_frame()
/linux-6.12.1/arch/powerpc/include/uapi/asm/
Dps3fb.h43 __u32 num_frames; /* num of frame buffers */ member
/linux-6.12.1/drivers/staging/greybus/
Dcamera.c650 unsigned int streams, unsigned int num_frames, in gb_camera_capture() argument
668 req->num_frames = cpu_to_le16(num_frames); in gb_camera_capture()
839 unsigned int streams, unsigned int num_frames, in gb_camera_op_capture() argument
844 return gb_camera_capture(gcam, request_id, streams, num_frames, in gb_camera_op_capture()
1001 unsigned int num_frames; in gb_camera_debugfs_capture() local
1025 ret = kstrtouint(token, 10, &num_frames); in gb_camera_debugfs_capture()
1029 ret = gb_camera_capture(gcam, request_id, streams_mask, num_frames, 0, in gb_camera_debugfs_capture()
Dgb-camera.h95 unsigned int streams, unsigned int num_frames,
/linux-6.12.1/drivers/staging/media/atomisp/pci/runtime/frame/interface/
Dia_css_frame.h105 void ia_css_frame_free_multiple(unsigned int num_frames,
/linux-6.12.1/drivers/video/fbdev/
Dps3fb.c126 unsigned int num_frames; /* num of frame buffers */ member
486 if (frame > par->num_frames - 1) { in ps3fb_sync()
625 par->num_frames = info->fix.smem_len / in ps3fb_set_par()
656 lines = vmode->yres * par->num_frames; in ps3fb_set_par()
857 res.num_frames = par->num_frames; in ps3fb_ioctl()
1130 par->num_frames = 1; in ps3fb_probe()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.h24 int bnxt_xdp_xmit(struct net_device *dev, int num_frames,
/linux-6.12.1/tools/testing/selftests/bpf/
Dxskxceiver.c185 return umem->num_frames * umem->frame_size; in umem_size()
498 ifobj->umem->num_frames = DEFAULT_UMEM_BUFFERS; in __test_spec_init()
1002 if (addr >= umem->num_frames * umem->frame_size || in is_frag_valid()
1003 addr + len > umem->num_frames * umem->frame_size) { in is_frag_valid()
1646 if (umem->num_frames < XSK_RING_PROD__DEFAULT_NUM_DESCS) in xsk_populate_fill_ring()
1647 buffers_to_fill = umem->num_frames; in xsk_populate_fill_ring()
1685 u64 umem_sz = ifobject->umem->num_frames * ifobject->umem->frame_size; in thread_common_ops()
1783 u64 umem_sz = ifobj->umem->num_frames * ifobj->umem->frame_size; in testapp_clean_xsk_umem()
2112 u64 umem_size = umem->num_frames * umem->frame_size; in testapp_invalid_desc_mb()
2152 u64 umem_size = umem->num_frames * umem->frame_size; in testapp_invalid_desc()
[all …]
Dxskxceiver.h77 u32 num_frames; member
/linux-6.12.1/drivers/usb/gadget/function/
Duvc_configfs.h59 unsigned num_frames; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_timing_generator.c781 uint32_t num_frames) in dce120_timing_generator_set_static_screen_control() argument
786 if (num_frames > 0xFF) in dce120_timing_generator_set_static_screen_control()
787 num_frames = 0xFF; in dce120_timing_generator_set_static_screen_control()
791 CRTC_STATIC_SCREEN_FRAME_COUNT, num_frames); in dce120_timing_generator_set_static_screen_control()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn10/
Ddcn10_optc.c868 uint32_t num_frames) in optc1_set_static_screen_control() argument
873 if (num_frames > 0xFF) in optc1_set_static_screen_control()
874 num_frames = 0xFF; in optc1_set_static_screen_control()
886 OTG_STATIC_SCREEN_FRAME_COUNT, num_frames); in optc1_set_static_screen_control()
/linux-6.12.1/drivers/usb/gadget/legacy/
Dwebcam.c549 uvcg_format_yuv.fmt.num_frames = 2; in webcam_bind()
554 uvcg_format_mjpeg.fmt.num_frames = 2; in webcam_bind()

123