Home
last modified time | relevance | path

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

123

/Linux-v5.10/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-v5.10/drivers/gpu/drm/sti/
Dsti_plane.c48 int fpks, fipks, ms_since_last, num_frames, num_fields; in sti_plane_update_fps() local
64 num_frames = fps->curr_frame_counter - fps->last_frame_counter; in sti_plane_update_fps()
66 if (num_frames <= 0 || ms_since_last < STI_FPS_INTERVAL_MS) in sti_plane_update_fps()
73 fpks = (num_frames * 1000000) / ms_since_last; in sti_plane_update_fps()
/Linux-v5.10/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-v5.10/include/soc/tegra/
Divc.h26 unsigned int num_frames; member
96 unsigned int num_frames, size_t frame_size,
/Linux-v5.10/drivers/soc/fsl/dpio/
Dqbman-portal.c107 int num_frames);
112 int num_frames);
117 int num_frames);
122 int num_frames);
150 int num_frames)
157 int num_frames)
644 int num_frames) in qbman_swp_enqueue_multiple_direct() argument
670 num_enqueued = (s->eqcr.available < num_frames) ? in qbman_swp_enqueue_multiple_direct()
671 s->eqcr.available : num_frames; in qbman_swp_enqueue_multiple_direct()
727 int num_frames) in qbman_swp_enqueue_multiple_mem_back() argument
[all …]
Dqbman-portal.h171 int num_frames);
176 int num_frames);
271 int num_frames) in qbman_swp_enqueue_multiple() argument
273 return qbman_swp_enqueue_multiple_ptr(s, d, fd, flags, num_frames); in qbman_swp_enqueue_multiple()
290 int num_frames) in qbman_swp_enqueue_multiple_desc() argument
292 return qbman_swp_enqueue_multiple_desc_ptr(s, d, fd, num_frames); in qbman_swp_enqueue_multiple_desc()
/Linux-v5.10/drivers/most/
Dmost_usb.c279 unsigned int j, num_frames; in hdm_add_padding() local
283 num_frames = mbo->buffer_length / frame_size; in hdm_add_padding()
285 if (num_frames < 1) { in hdm_add_padding()
291 for (j = num_frames - 1; j > 0; j--) in hdm_add_padding()
295 mbo->buffer_length = num_frames * USB_MTU; in hdm_add_padding()
313 unsigned int j, num_frames; in hdm_remove_padding() local
317 num_frames = mbo->processed_length / USB_MTU; in hdm_remove_padding()
319 for (j = 1; j < num_frames; j++) in hdm_remove_padding()
324 mbo->processed_length = frame_size * num_frames; in hdm_remove_padding()
568 unsigned int num_frames; in hdm_configure_channel() local
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Dsh_css_sp.h127 sh_css_update_host2sp_num_mipi_frames(unsigned int num_frames);
135 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()
Dsh_css_sp.c1519 sh_css_update_host2sp_num_mipi_frames(unsigned int num_frames) in sh_css_update_host2sp_num_mipi_frames() argument
1530 store_sp_array_uint(host_sp_com, offset, num_frames); in sh_css_update_host2sp_num_mipi_frames()
1534 sh_css_update_host2sp_cont_num_raw_frames(unsigned int num_frames, in sh_css_update_host2sp_cont_num_raw_frames() argument
1550 extra_num_frames = num_frames - avail_num_frames; in sh_css_update_host2sp_cont_num_raw_frames()
1560 store_sp_array_uint(host_sp_com, offset, num_frames); in sh_css_update_host2sp_cont_num_raw_frames()
/Linux-v5.10/arch/powerpc/include/uapi/asm/
Dps3fb.h43 __u32 num_frames; /* num of frame buffers */ member
/Linux-v5.10/drivers/media/usb/cpia2/
Dcpia2_v4l.c405 for (frame = 0; frame < cam->num_frames; ++frame) { in cpia2_s_fmt_vid_cap()
495 cap->readbuffers = cam->num_frames; in cpia2_g_parm()
759 DBG("REQBUFS requested:%d returning:%d\n", req->count, cam->num_frames); in cpia2_reqbufs()
760 req->count = cam->num_frames; in cpia2_reqbufs()
779 buf->index >= cam->num_frames) in cpia2_querybuf()
830 buf->index >= cam->num_frames) in cpia2_qbuf()
853 for (i=0; i<cam->num_frames; i++) { in find_earliest_filled_buffer()
991 cam->num_frames = num_buffers; in reset_camera_struct_v4l()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.h21 int bnxt_xdp_xmit(struct net_device *dev, int num_frames,
Dbnxt_xdp.c215 int bnxt_xdp_xmit(struct net_device *dev, int num_frames, in bnxt_xdp_xmit() argument
235 for (i = 0; i < num_frames; i++) { in bnxt_xdp_xmit()
262 return num_frames - drops; in bnxt_xdp_xmit()
/Linux-v5.10/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-v5.10/drivers/staging/media/atomisp/pci/runtime/frame/interface/
Dia_css_frame.h105 void ia_css_frame_free_multiple(unsigned int num_frames,
/Linux-v5.10/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-v5.10/net/mac80211/
Dtrace.h1412 u16 tids, int num_frames,
1416 TP_ARGS(local, sta, tids, num_frames, reason, more_data),
1422 __field(int, num_frames)
1431 __entry->num_frames = num_frames;
1439 LOCAL_PR_ARG, STA_PR_ARG, __entry->tids, __entry->num_frames,
1447 u16 tids, int num_frames,
1451 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
1457 u16 tids, int num_frames,
1461 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
Ddriver-ops.h794 struct sta_info *sta, u16 tids, int num_frames, in drv_release_buffered_frames() argument
798 trace_drv_release_buffered_frames(local, &sta->sta, tids, num_frames, in drv_release_buffered_frames()
802 num_frames, reason, in drv_release_buffered_frames()
809 struct sta_info *sta, u16 tids, int num_frames, in drv_allow_buffered_frames() argument
813 trace_drv_allow_buffered_frames(local, &sta->sta, tids, num_frames, in drv_allow_buffered_frames()
817 tids, num_frames, reason, in drv_allow_buffered_frames()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_timing_generator.c823 uint32_t num_frames) in dce120_timing_generator_set_static_screen_control() argument
828 if (num_frames > 0xFF) in dce120_timing_generator_set_static_screen_control()
829 num_frames = 0xFF; in dce120_timing_generator_set_static_screen_control()
833 CRTC_STATIC_SCREEN_FRAME_COUNT, num_frames); in dce120_timing_generator_set_static_screen_control()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_optc.c832 uint32_t num_frames) in optc1_set_static_screen_control() argument
837 if (num_frames > 0xFF) in optc1_set_static_screen_control()
838 num_frames = 0xFF; in optc1_set_static_screen_control()
850 OTG_STATIC_SCREEN_FRAME_COUNT, num_frames); in optc1_set_static_screen_control()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_timing_generator.h235 uint32_t num_frames);

123