Lines Matching defs:frame_size
229 size_t offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame;
245 offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame;
297 ivc->frame_size);
367 ivc->frame_size);
575 unsigned int num_frames, size_t frame_size)
584 if ((uint64_t)num_frames * (uint64_t)frame_size >= 0x100000000UL) {
585 pr_err("num_frames * frame_size overflows\n");
589 if (!IS_ALIGNED(frame_size, TEGRA_IVC_ALIGN)) {
590 pr_err("frame size not adequately aligned: %zu\n", frame_size);
609 if (rx + frame_size * num_frames > tx) {
611 rx, frame_size * num_frames, tx);
615 if (tx + frame_size * num_frames > rx) {
617 tx, frame_size * num_frames, rx);
648 unsigned int num_frames, size_t frame_size,
662 if (frame_size > INT_MAX)
666 num_frames, frame_size);
670 queue_size = tegra_ivc_total_queue_size(num_frames * frame_size);
695 ivc->frame_size = frame_size;
713 ivc->frame_size);