| /linux/drivers/firmware/tegra/ |
| H A D | ivc.c | 115 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/tools/perf/util/ |
| H A D | llvm.c | 23 int num_frames) in free_llvm_inline_frames() argument 26 for (int i = 0; i < num_frames; ++i) { in free_llvm_inline_frames() 42 int num_frames = llvm_addr2line(dso_name, addr, file, line, in llvm__addr2line() local 45 if (num_frames == 0 || !inline_frames) { in llvm__addr2line() 47 return num_frames; in llvm__addr2line() 50 for (int i = 0; i < num_frames; ++i) { in llvm__addr2line() 61 free_llvm_inline_frames(inline_frames, num_frames); in llvm__addr2line() 65 free_llvm_inline_frames(inline_frames, num_frames); in llvm__addr2line() 67 return num_frames; in llvm__addr2line()
|
| /linux/drivers/staging/media/meson/vdec/ |
| H A D | esparser.c | 86 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()
|
| H A D | codec_h264.c | 379 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/ |
| H A D | qbman-portal.c | 109 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 …]
|
| H A D | qbman-portal.h | 178 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/ |
| H A D | most_usb.c | 280 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/include/soc/tegra/ |
| H A D | ivc.h | 28 unsigned int num_frames; member 98 unsigned int num_frames, size_t frame_size,
|
| /linux/drivers/soundwire/ |
| H A D | cadence_master.h | 222 unsigned int *pdi1_buffer_size, unsigned int *num_frames); 233 int dma_buffer_size, int num_frames); 236 struct sdw_bpt_section *sec, int num_sec, int num_frames,
|
| H A D | cadence_master.c | 2131 unsigned int *pdi1_buffer_size, unsigned int *num_frames) in sdw_cdns_bpt_find_buffer_sizes() argument 2165 *num_frames = DIV_ROUND_UP(data_bytes, actual_bpt_bytes); in sdw_cdns_bpt_find_buffer_sizes() 2170 *pdi0_buffer_size = pdi0_tx_size * *num_frames; in sdw_cdns_bpt_find_buffer_sizes() 2171 *pdi1_buffer_size = pdi1_rx_size * *num_frames; in sdw_cdns_bpt_find_buffer_sizes() 2177 *num_frames = data_bytes / actual_bpt_bytes; in sdw_cdns_bpt_find_buffer_sizes() 2182 *pdi0_buffer_size = pdi0_tx_size * *num_frames; in sdw_cdns_bpt_find_buffer_sizes() 2183 *pdi1_buffer_size = pdi1_rx_size * *num_frames; in sdw_cdns_bpt_find_buffer_sizes() 2190 *num_frames = *num_frames + 1; in sdw_cdns_bpt_find_buffer_sizes() 2562 int dma_buffer_size, int num_frames) in sdw_cdns_check_write_response() argument 2572 if (dma_buffer_size != num_frames * 8) in sdw_cdns_check_write_response() [all …]
|
| H A D | intel_ace2x.c | 74 unsigned int num_frames; in intel_ace2x_bpt_open_stream() local 165 num_frames = 0; in intel_ace2x_bpt_open_stream() 179 num_frames += num_frames_; in intel_ace2x_bpt_open_stream() 184 sdw->bpt_ctx.num_frames = num_frames; in intel_ace2x_bpt_open_stream() 225 len, num_frames, data_per_frame); in intel_ace2x_bpt_open_stream() 387 sdw->bpt_ctx.num_frames); in intel_ace2x_bpt_wait() 393 msg->sec, msg->sections, sdw->bpt_ctx.num_frames, in intel_ace2x_bpt_wait()
|
| H A D | intel.h | 71 unsigned int num_frames; member
|
| /linux/drivers/staging/greybus/ |
| H A D | camera.c | 650 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()
|
| H A D | gb-camera.h | 95 unsigned int streams, unsigned int num_frames,
|
| /linux/arch/powerpc/include/uapi/asm/ |
| H A D | ps3fb.h | 30 __u32 num_frames; /* num of frame buffers */ member
|
| /linux/drivers/video/fbdev/ |
| H A D | ps3fb.c | 126 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/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_xdp.h | 24 int bnxt_xdp_xmit(struct net_device *dev, int num_frames,
|
| /linux/drivers/usb/gadget/function/ |
| H A D | uvc_configfs.h | 60 unsigned num_frames; member
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | xskxceiver.h | 77 u32 num_frames; global() member
|
| /linux/drivers/gpu/drm/amd/display/dc/dce120/ |
| H A D | dce120_timing_generator.c | 781 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/drivers/usb/gadget/legacy/ |
| H A D | webcam.c | 549 uvcg_format_yuv.fmt.num_frames = 2; in webcam_bind() 554 uvcg_format_mjpeg.fmt.num_frames = 2; in webcam_bind()
|
| /linux/net/mac80211/ |
| H A D | trace.h | 1575 u16 tids, int num_frames, 1579 TP_ARGS(local, sta, tids, num_frames, reason, more_data), 1585 __field(int, num_frames) 1594 __entry->num_frames = num_frames; 1602 LOCAL_PR_ARG, STA_PR_ARG, __entry->tids, __entry->num_frames, 1610 u16 tids, int num_frames, 1614 TP_ARGS(local, sta, tids, num_frames, reason, more_data) 1620 u16 tids, int num_frames, 1624 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
|
| H A D | driver-ops.h | 927 struct sta_info *sta, u16 tids, int num_frames, in drv_release_buffered_frames() argument 931 trace_drv_release_buffered_frames(local, &sta->sta, tids, num_frames, in drv_release_buffered_frames() 935 num_frames, reason, in drv_release_buffered_frames() 942 struct sta_info *sta, u16 tids, int num_frames, in drv_allow_buffered_frames() argument 946 trace_drv_allow_buffered_frames(local, &sta->sta, tids, num_frames, in drv_allow_buffered_frames() 950 tids, num_frames, reason, in drv_allow_buffered_frames()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_ring.h | 202 int aq_xdp_xmit(struct net_device *dev, int num_frames,
|
| /linux/drivers/gpu/drm/amd/display/dc/dce110/ |
| H A D | dce110_timing_generator.h | 235 uint32_t num_frames);
|