Lines Matching refs:frame_size
232 return (void *)(header + 1) + ivc->frame_size * frame; in tegra_ivc_frame_virt()
241 offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame; in tegra_ivc_frame_phys()
293 ivc->frame_size); in tegra_ivc_read_get_next_frame()
363 ivc->frame_size); in tegra_ivc_write_advance()
570 unsigned int num_frames, size_t frame_size) in tegra_ivc_check_params() argument
579 if ((uint64_t)num_frames * (uint64_t)frame_size >= 0x100000000UL) { in tegra_ivc_check_params()
584 if (!IS_ALIGNED(frame_size, TEGRA_IVC_ALIGN)) { in tegra_ivc_check_params()
585 pr_err("frame size not adequately aligned: %zu\n", frame_size); in tegra_ivc_check_params()
604 if (rx + frame_size * num_frames > tx) { in tegra_ivc_check_params()
606 rx, frame_size * num_frames, tx); in tegra_ivc_check_params()
610 if (tx + frame_size * num_frames > rx) { in tegra_ivc_check_params()
612 tx, frame_size * num_frames, rx); in tegra_ivc_check_params()
622 unsigned int num_frames, size_t frame_size, in tegra_ivc_init() argument
636 if (frame_size > INT_MAX) in tegra_ivc_init()
640 num_frames, frame_size); in tegra_ivc_init()
644 queue_size = tegra_ivc_total_queue_size(num_frames * frame_size); in tegra_ivc_init()
669 ivc->frame_size = frame_size; in tegra_ivc_init()
687 ivc->frame_size); in tegra_ivc_cleanup()