Lines Matching refs:frame_size
224 return (void *)(header + 1) + ivc->frame_size * frame; in tegra_ivc_frame_virt()
233 offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame; in tegra_ivc_frame_phys()
285 ivc->frame_size); in tegra_ivc_read_get_next_frame()
355 ivc->frame_size); in tegra_ivc_write_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()
576 if (!IS_ALIGNED(frame_size, TEGRA_IVC_ALIGN)) { in tegra_ivc_check_params()
577 pr_err("frame size not adequately aligned: %zu\n", frame_size); in tegra_ivc_check_params()
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()
614 unsigned int num_frames, size_t frame_size, in tegra_ivc_init() argument
628 if (frame_size > INT_MAX) in tegra_ivc_init()
632 num_frames, frame_size); in tegra_ivc_init()
636 queue_size = tegra_ivc_total_queue_size(num_frames * frame_size); in tegra_ivc_init()
661 ivc->frame_size = frame_size; in tegra_ivc_init()
679 ivc->frame_size); in tegra_ivc_cleanup()