Lines Matching refs:frame_size
229 size_t offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame; in tegra_ivc_frame_virt()
245 offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame; in tegra_ivc_frame_phys()
297 ivc->frame_size); in tegra_ivc_read_get_next_frame()
367 ivc->frame_size); in tegra_ivc_write_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()
589 if (!IS_ALIGNED(frame_size, TEGRA_IVC_ALIGN)) { in tegra_ivc_check_params()
590 pr_err("frame size not adequately aligned: %zu\n", frame_size); in tegra_ivc_check_params()
609 if (rx + frame_size * num_frames > tx) { in tegra_ivc_check_params()
611 rx, frame_size * num_frames, tx); in tegra_ivc_check_params()
615 if (tx + frame_size * num_frames > rx) { in tegra_ivc_check_params()
617 tx, frame_size * num_frames, rx); in tegra_ivc_check_params()
648 unsigned int num_frames, size_t frame_size, in tegra_ivc_init() argument
662 if (frame_size > INT_MAX) in tegra_ivc_init()
666 num_frames, frame_size); in tegra_ivc_init()
670 queue_size = tegra_ivc_total_queue_size(num_frames * frame_size); in tegra_ivc_init()
695 ivc->frame_size = frame_size; in tegra_ivc_init()
713 ivc->frame_size); in tegra_ivc_cleanup()