Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/firmware/tegra/
Divc.c110 if (tx - rx > ivc->num_frames) in tegra_ivc_empty()
126 return tx - rx >= ivc->num_frames; in tegra_ivc_full()
149 if (ivc->tx.position == ivc->num_frames - 1) in tegra_ivc_advance_tx()
160 if (ivc->rx.position == ivc->num_frames - 1) in tegra_ivc_advance_rx()
221 if (WARN_ON(frame >= ivc->num_frames)) in tegra_ivc_frame_virt()
244 if (!ivc->peer || WARN_ON(frame >= ivc->num_frames)) in tegra_ivc_invalidate_frame()
258 if (!ivc->peer || WARN_ON(frame >= ivc->num_frames)) in tegra_ivc_flush_frame()
323 if (tegra_ivc_available(ivc, ivc->rx.channel) == ivc->num_frames - 1) in tegra_ivc_read_advance()
562 unsigned int num_frames, size_t frame_size) in tegra_ivc_check_params() argument
571 if ((uint64_t)num_frames * (uint64_t)frame_size >= 0x100000000UL) { in tegra_ivc_check_params()
[all …]
/linux-6.1.9/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.1.9/drivers/staging/media/meson/vdec/
Desparser.c87 int num_frames, cur_frame; in vp9_update_header() local
104 num_frames = (marker & 0x7) + 1; in vp9_update_header()
106 mag_ptr = dsize - mag * num_frames - 2; in vp9_update_header()
111 for (cur_frame = 0; cur_frame < num_frames; cur_frame++) { in vp9_update_header()
128 num_frames = 1; in vp9_update_header()
134 new_frame_size = total_datasize + num_frames * VP9_HEADER_SIZE; in vp9_update_header()
141 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.1.9/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.1.9/include/soc/tegra/
Divc.h26 unsigned int num_frames; member
96 unsigned int num_frames, size_t frame_size,
/linux-6.1.9/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.1.9/drivers/staging/media/atomisp/pci/
Dsh_css_sp.h122 sh_css_update_host2sp_num_mipi_frames(unsigned int num_frames);
130 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.1.9/arch/powerpc/include/uapi/asm/
Dps3fb.h43 __u32 num_frames; /* num of frame buffers */ member
/linux-6.1.9/drivers/staging/media/deprecated/cpia2/
Dcpia2_v4l.c403 for (frame = 0; frame < cam->num_frames; ++frame) { in cpia2_s_fmt_vid_cap()
493 cap->readbuffers = cam->num_frames; in cpia2_g_parm()
755 DBG("REQBUFS requested:%d returning:%d\n", req->count, cam->num_frames); in cpia2_reqbufs()
756 req->count = cam->num_frames; in cpia2_reqbufs()
775 buf->index >= cam->num_frames) in cpia2_querybuf()
826 buf->index >= cam->num_frames) in cpia2_qbuf()
850 for (i = 0; i < cam->num_frames; i++) { in find_earliest_filled_buffer()
988 cam->num_frames = num_buffers; in reset_camera_struct_v4l()
/linux-6.1.9/drivers/staging/greybus/
Dcamera.c655 unsigned int streams, unsigned int num_frames, in gb_camera_capture() argument
673 req->num_frames = cpu_to_le16(num_frames); in gb_camera_capture()
844 unsigned int streams, unsigned int num_frames, in gb_camera_op_capture() argument
849 return gb_camera_capture(gcam, request_id, streams, num_frames, in gb_camera_op_capture()
1006 unsigned int num_frames; in gb_camera_debugfs_capture() local
1030 ret = kstrtouint(token, 10, &num_frames); in gb_camera_debugfs_capture()
1034 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.1.9/drivers/staging/media/atomisp/pci/runtime/frame/interface/
Dia_css_frame.h105 void ia_css_frame_free_multiple(unsigned int num_frames,
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.h24 int bnxt_xdp_xmit(struct net_device *dev, int num_frames,
/linux-6.1.9/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()
855 res.num_frames = par->num_frames; in ps3fb_ioctl()
1130 par->num_frames = 1; in ps3fb_probe()
/linux-6.1.9/tools/testing/selftests/bpf/
Dxskxceiver.c505 ifobj->umem->num_frames = DEFAULT_UMEM_BUFFERS; in __test_spec_init()
654 pkt_set(umem, &pkt_stream->pkts[i], (i % umem->num_frames) * umem->frame_size, in pkt_stream_generate()
688 (i % umem->num_frames) * umem->frame_size + offset, pkt_len); in __pkt_stream_replace_half()
995 if (pkts_in_flight < umem->num_frames) in receive_pkts()
1051 if (pkts_in_flight >= (int)(ifobject->umem->num_frames - BATCH_SIZE)) { in __send_pkts()
1251 if (umem->num_frames < XSK_RING_PROD__DEFAULT_NUM_DESCS) in xsk_populate_fill_ring()
1252 buffers_to_fill = umem->num_frames; in xsk_populate_fill_ring()
1279 u64 umem_sz = ifobject->umem->num_frames * ifobject->umem->frame_size; in thread_common_ops()
1400 u64 umem_sz = ifobj->umem->num_frames * ifobj->umem->frame_size; in testapp_clean_xsk_umem()
1622 const size_t mmap_sz = 2 * ifobject->umem->num_frames * ifobject->umem->frame_size; in hugepages_present()
Dxskxceiver.h99 u32 num_frames; member
/linux-6.1.9/drivers/usb/gadget/function/
Duvc_configfs.h50 unsigned num_frames; member
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_psr.c171 params.num_frames = num_frames_static; in amdgpu_dm_psr_enable()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_timing_generator.c780 uint32_t num_frames) in dce120_timing_generator_set_static_screen_control() argument
785 if (num_frames > 0xFF) in dce120_timing_generator_set_static_screen_control()
786 num_frames = 0xFF; in dce120_timing_generator_set_static_screen_control()
790 CRTC_STATIC_SCREEN_FRAME_COUNT, num_frames); in dce120_timing_generator_set_static_screen_control()
/linux-6.1.9/net/mac80211/
Ddriver-ops.h772 struct sta_info *sta, u16 tids, int num_frames, in drv_release_buffered_frames() argument
776 trace_drv_release_buffered_frames(local, &sta->sta, tids, num_frames, in drv_release_buffered_frames()
780 num_frames, reason, in drv_release_buffered_frames()
787 struct sta_info *sta, u16 tids, int num_frames, in drv_allow_buffered_frames() argument
791 trace_drv_allow_buffered_frames(local, &sta->sta, tids, num_frames, in drv_allow_buffered_frames()
795 tids, num_frames, reason, in drv_allow_buffered_frames()
Dtrace.h1449 u16 tids, int num_frames,
1453 TP_ARGS(local, sta, tids, num_frames, reason, more_data),
1459 __field(int, num_frames)
1468 __entry->num_frames = num_frames;
1476 LOCAL_PR_ARG, STA_PR_ARG, __entry->tids, __entry->num_frames,
1484 u16 tids, int num_frames,
1488 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
1494 u16 tids, int num_frames,
1498 TP_ARGS(local, sta, tids, num_frames, reason, more_data)

123