max_w 1000 drivers/dma/ste_dma40.c u32 max_w = max(data_width1, data_width2); max_w 1002 drivers/dma/ste_dma40.c u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); max_w 1005 drivers/dma/ste_dma40.c seg_max -= max_w; max_w 1007 drivers/dma/ste_dma40.c if (!IS_ALIGNED(size, max_w)) max_w 195 drivers/dma/ste_dma40_ll.c u32 max_w = max(data_width1, data_width2); max_w 197 drivers/dma/ste_dma40_ll.c u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); max_w 200 drivers/dma/ste_dma40_ll.c seg_max -= max_w; max_w 206 drivers/dma/ste_dma40_ll.c return ALIGN(size / 2, max_w); max_w 633 drivers/gpu/drm/i915/display/intel_fbc.c unsigned int effective_w, effective_h, max_w, max_h; max_w 636 drivers/gpu/drm/i915/display/intel_fbc.c max_w = 5120; max_w 639 drivers/gpu/drm/i915/display/intel_fbc.c max_w = 4096; max_w 642 drivers/gpu/drm/i915/display/intel_fbc.c max_w = 4096; max_w 645 drivers/gpu/drm/i915/display/intel_fbc.c max_w = 2048; max_w 654 drivers/gpu/drm/i915/display/intel_fbc.c return effective_w <= max_w && effective_h <= max_h; max_w 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/power_budget.h u32 max_w; max_w 118 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c entry->max_w = nvbios_rd32(bios, entry_offset + 0xa); max_w 121 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c entry->max_w = nvbios_rd32(bios, entry_offset + 0x2); max_w 122 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c entry->avg_w = entry->max_w; max_w 234 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c iccsense->power_w_crit = entry.max_w; max_w 112 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c int tpg_alloc(struct tpg_data *tpg, unsigned max_w) max_w 117 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->max_line_width = max_w; max_w 123 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c vzalloc(array3_size(max_w, 2, pixelsz)); max_w 129 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c vzalloc(array3_size(max_w, 2, pixelsz)); max_w 138 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c vzalloc(array_size(pixelsz, max_w)); max_w 142 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c vzalloc(array_size(pixelsz, max_w)); max_w 146 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c vzalloc(array3_size(max_w, 2, pixelsz)); max_w 983 drivers/media/i2c/rj54n1cb0c.c int output_w, output_h, max_w, max_h, max_w 1096 drivers/media/i2c/rj54n1cb0c.c max_w = mf->width * (16 * 1024 - 1) / 1024; max_w 1097 drivers/media/i2c/rj54n1cb0c.c if (input_w > max_w) max_w 1098 drivers/media/i2c/rj54n1cb0c.c input_w = max_w; max_w 122 drivers/media/platform/coda/coda-common.c #define CODA_CODEC(mode, src_fourcc, dst_fourcc, max_w, max_h) \ max_w 123 drivers/media/platform/coda/coda-common.c { mode, src_fourcc, dst_fourcc, max_w, max_h } max_w 303 drivers/media/platform/coda/coda-common.c int *max_w, int *max_h) max_w 311 drivers/media/platform/coda/coda-common.c w = codec->max_w; max_w 315 drivers/media/platform/coda/coda-common.c w = max(w, codecs[k].max_w); max_w 320 drivers/media/platform/coda/coda-common.c if (max_w) max_w 321 drivers/media/platform/coda/coda-common.c *max_w = w; max_w 524 drivers/media/platform/coda/coda-common.c unsigned int max_w, max_h; max_w 537 drivers/media/platform/coda/coda-common.c coda_get_max_dimensions(dev, codec, &max_w, &max_h); max_w 538 drivers/media/platform/coda/coda-common.c v4l_bound_align_image(&f->fmt.pix.width, MIN_W, max_w, W_ALIGN, max_w 1181 drivers/media/platform/coda/coda-common.c fsize->stepwise.max_width = codec->max_w; max_w 1523 drivers/media/platform/coda/coda-common.c unsigned int max_w, max_h, usize, csize; max_w 1527 drivers/media/platform/coda/coda-common.c max_w = min(ctx->codec->max_w, 1920U); max_w 1529 drivers/media/platform/coda/coda-common.c usize = max_w * max_h * 3 / 2; max_w 1530 drivers/media/platform/coda/coda-common.c csize = coda_estimate_sizeimage(ctx, usize, max_w, max_h); max_w 1545 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_SRC].width = max_w; max_w 1547 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_DST].width = max_w; max_w 1550 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_SRC].bytesperline = max_w; max_w 1557 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_DST].bytesperline = max_w; max_w 1560 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_SRC].rect.width = max_w; max_w 1562 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_DST].rect.width = max_w; max_w 102 drivers/media/platform/coda/coda.h u32 max_w; max_w 396 drivers/media/platform/exynos-gsc/gsc-core.c u32 max_w, max_h, mod_x, mod_y; max_w 416 drivers/media/platform/exynos-gsc/gsc-core.c max_w = variant->pix_max->target_rot_dis_w; max_w 435 drivers/media/platform/exynos-gsc/gsc-core.c mod_x, mod_y, max_w, max_h); max_w 442 drivers/media/platform/exynos-gsc/gsc-core.c v4l_bound_align_image(&pix_mp->width, min_w, max_w, mod_x, max_w 524 drivers/media/platform/exynos-gsc/gsc-core.c u32 min_w, min_h, max_w, max_h; max_w 539 drivers/media/platform/exynos-gsc/gsc-core.c max_w = f->f_width; max_w 562 drivers/media/platform/exynos-gsc/gsc-core.c max_w = f->f_height; max_w 577 drivers/media/platform/exynos-gsc/gsc-core.c v4l_bound_align_image(&tmp_w, min_w, max_w, mod_x, max_w 592 drivers/media/platform/exynos-gsc/gsc-core.c if (s->r.left + tmp_w > max_w) max_w 593 drivers/media/platform/exynos-gsc/gsc-core.c s->r.left = max_w - tmp_w; max_w 602 drivers/media/platform/exynos-gsc/gsc-core.c s->r.left, s->r.top, s->r.width, s->r.height, max_w, max_h); max_w 581 drivers/media/platform/exynos4-is/fimc-capture.c u32 depth, min_w, max_w, min_h, align_h = 3; max_w 606 drivers/media/platform/exynos4-is/fimc-capture.c max_w = fimc_fmt_is_user_defined(ffmt->color) ? max_w 609 drivers/media/platform/exynos4-is/fimc-capture.c v4l_bound_align_image(width, max_t(u32, *width, 32), max_w, 4, max_w 624 drivers/media/platform/exynos4-is/fimc-capture.c max_w = rotation ? pl->out_rot_en_w : pl->out_rot_dis_w; max_w 636 drivers/media/platform/exynos4-is/fimc-capture.c v4l_bound_align_image(width, min_w, max_w, max_w 658 drivers/media/platform/exynos4-is/fimc-capture.c u32 max_w, max_h, min_w = 0, min_h = 0, min_sz; max_w 694 drivers/media/platform/exynos4-is/fimc-capture.c max_w = min_t(u32, max_w 700 drivers/media/platform/exynos4-is/fimc-capture.c min_w = min_t(u32, max_w, sink->f_width / max_sc_h); max_w 707 drivers/media/platform/exynos4-is/fimc-capture.c v4l_bound_align_image(&r->width, min_w, max_w, ffs(min_sz) - 1, max_w 273 drivers/media/platform/exynos4-is/fimc-m2m.c u32 max_w, mod_x, mod_y; max_w 289 drivers/media/platform/exynos4-is/fimc-m2m.c max_w = variant->pix_limit->scaler_dis_w; max_w 292 drivers/media/platform/exynos4-is/fimc-m2m.c max_w = variant->pix_limit->out_rot_dis_w; max_w 306 drivers/media/platform/exynos4-is/fimc-m2m.c v4l_bound_align_image(&pix->width, 16, max_w, mod_x, max_w 180 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c u32 max_w, max_h, align_w, align_h; max_w 204 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c max_w = variant->pix_max->target_rot_dis_w; max_w 226 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c align_w, align_h, max_w, max_h); max_w 234 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c mtk_mdp_bound_align_image(&pix_mp->width, min_w, max_w, align_w, max_w 285 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c u32 min_w, min_h, max_w, max_h; max_w 297 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c max_w = frame->width; max_w 312 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c max_w = frame->height; max_w 327 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c mtk_mdp_bound_align_image(&new_w, min_w, max_w, align_w, max_w 341 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c if (r->left + new_w > max_w) max_w 342 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c r->left = max_w - new_w; max_w 351 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c r->height, max_w, max_h); max_w 805 drivers/media/platform/ti-vpe/vpdma.c int max_w, int max_h, enum vpdma_channel chan, u32 flags) max_w 808 drivers/media/platform/ti-vpe/vpdma.c max_w, max_h, chan_info[chan].num, flags); max_w 815 drivers/media/platform/ti-vpe/vpdma.c int max_w, int max_h, int raw_vpdma_chan, u32 flags) max_w 851 drivers/media/platform/ti-vpe/vpdma.c dtd->max_width_height = dtd_max_width_height(max_w, max_h); max_w 245 drivers/media/platform/ti-vpe/vpdma.h int max_w, int max_h, enum vpdma_channel chan, u32 flags); max_w 249 drivers/media/platform/ti-vpe/vpdma.h int max_w, int max_h, int raw_vpdma_chan, u32 flags); max_w 192 drivers/media/platform/vsp1/vsp1_entity.h unsigned int max_w, unsigned int max_h); max_w 236 include/media/tpg/v4l2-tpg.h int tpg_alloc(struct tpg_data *tpg, unsigned max_w);