Home
last modified time | relevance | path

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

123

/linux/drivers/firmware/tegra/
A 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()
596 if (rx + frame_size * num_frames > tx) { in tegra_ivc_check_params()
598 rx, frame_size * num_frames, tx); in tegra_ivc_check_params()
602 if (tx + frame_size * num_frames > rx) { in tegra_ivc_check_params()
604 tx, frame_size * num_frames, rx); in tegra_ivc_check_params()
632 num_frames, frame_size); in tegra_ivc_init()
[all …]
/linux/drivers/gpu/drm/sti/
A 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/drivers/staging/media/meson/vdec/
A 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()
A 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/drivers/soc/fsl/dpio/
A 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
676 s->eqcr.available : num_frames; in qbman_swp_enqueue_multiple_direct()
732 int num_frames) in qbman_swp_enqueue_multiple_mem_back() argument
809 int num_frames) in qbman_swp_enqueue_multiple_desc_direct() argument
[all …]
A 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/drivers/most/
A 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()
569 unsigned int num_frames; in hdm_configure_channel() local
613 num_frames = conf->buffer_size / frame_size; in hdm_configure_channel()
[all …]
/linux/include/soc/tegra/
A Divc.h26 unsigned int num_frames; member
96 unsigned int num_frames, size_t frame_size,
/linux/drivers/staging/media/atomisp/pci/
A 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,
A Dsh_css_metrics.h37 unsigned int num_frames; member
A Dsh_css_metrics.c39 sh_css_metrics.frame_metrics.num_frames++; in sh_css_metrics_start_frame()
/linux/tools/testing/selftests/bpf/
A Dxdpxceiver.c401 ifobj->umem_arr[j].num_frames = DEFAULT_UMEM_BUFFERS; in __test_spec_init()
517 pkt_stream->pkts[i].addr = (i % umem->num_frames) * umem->frame_size; in pkt_stream_generate()
553 pkt_stream->pkts[i].addr = (i % umem->num_frames) * umem->frame_size + offset; in pkt_stream_replace_half()
803 if (pkts_in_flight < umem->num_frames) in receive_pkts()
833 if (ifobject->pacing_on && pkts_in_flight >= ifobject->umem->num_frames - BATCH_SIZE) { in __send_pkts()
955 u64 umem_sz = ifobject->umem->num_frames * ifobject->umem->frame_size; in thread_common_ops()
989 munmap(ifobj->umem->buffer, ifobj->umem->num_frames * ifobj->umem->frame_size); in testapp_cleanup_xsk_res()
1018 if (umem->num_frames < XSK_RING_PROD__DEFAULT_NUM_DESCS) in xsk_populate_fill_ring()
1019 buffers_to_fill = umem->num_frames; in xsk_populate_fill_ring()
1218 const size_t mmap_sz = 2 * ifobject->umem->num_frames * ifobject->umem->frame_size; in hugepages_present()
A Dxdpxceiver.h90 u32 num_frames; member
/linux/drivers/media/usb/cpia2/
A 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/drivers/staging/greybus/
A 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()
A Dgb-camera.h95 unsigned int streams, unsigned int num_frames,
/linux/drivers/video/fbdev/
A 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/arch/powerpc/include/uapi/asm/
A Dps3fb.h43 __u32 num_frames; /* num of frame buffers */ member
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_xdp.h21 int bnxt_xdp_xmit(struct net_device *dev, int num_frames,
A Dbnxt_xdp.c210 int bnxt_xdp_xmit(struct net_device *dev, int num_frames, in bnxt_xdp_xmit() argument
230 for (i = 0; i < num_frames; i++) { in bnxt_xdp_xmit()
/linux/drivers/staging/media/atomisp/pci/runtime/frame/interface/
A Dia_css_frame.h105 void ia_css_frame_free_multiple(unsigned int num_frames,
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_psr.c132 params.num_frames = num_frames_static; in amdgpu_dm_psr_enable()
/linux/drivers/gpu/drm/amd/display/dc/dce120/
A 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/net/mac80211/
A 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()
A 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)

Completed in 69 milliseconds

123