/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | power_budget.h | 10 u32 max_w; member in struct:nvbios_power_budget_entry
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | power_budget.c | 117 entry->max_w = nvbios_rd32(bios, entry_offset + 0xa); 120 entry->max_w = nvbios_rd32(bios, entry_offset + 0x2); 121 entry->avg_w = entry->max_w;
|
/linux-master/drivers/staging/sm750fb/ |
H A D | sm750_cursor.c | 99 offset = cursor->max_w * 2 / 8; 149 offset = cursor->max_w * 2 / 8;
|
H A D | sm750.h | 125 int max_w; member in struct:lynx_cursor
|
H A D | sm750.c | 115 if (fbcursor->image.width > cursor->max_w || 765 crtc->cursor.max_w = 64; 766 crtc->cursor.size = crtc->cursor.max_h * crtc->cursor.max_w * 2 / 8;
|
/linux-master/drivers/dma/ |
H A D | ste_dma40_ll.c | 196 u32 max_w = max(data_width1, data_width2); local 198 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); 201 seg_max -= max_w; 207 return ALIGN(size / 2, max_w);
|
H A D | ste_dma40.c | 1023 u32 max_w = max(data_width1, data_width2); local 1025 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); 1028 seg_max -= max_w; 1030 if (!IS_ALIGNED(size, max_w))
|
/linux-master/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_m2m.c | 180 u32 max_w, max_h, align_w, align_h; local 203 max_w = variant->pix_max->target_rot_dis_w; 225 align_w, align_h, max_w, max_h); 233 mtk_mdp_bound_align_image(&pix_mp->width, min_w, max_w, align_w, 282 u32 min_w, min_h, max_w, max_h; local 294 max_w = frame->width; 309 max_w = frame->height; 324 mtk_mdp_bound_align_image(&new_w, min_w, max_w, align_w, 337 if (r->left + new_w > max_w) 338 r->left = max_w [all...] |
/linux-master/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-core.c | 394 u32 max_w, max_h, mod_x, mod_y; local 414 max_w = variant->pix_max->target_rot_dis_w; 432 pr_debug("mod_x: %d, mod_y: %d, max_w: %d, max_h = %d", 433 mod_x, mod_y, max_w, max_h); 440 v4l_bound_align_image(&pix_mp->width, min_w, max_w, mod_x, 522 u32 min_w, min_h, max_w, max_h; local 537 max_w = f->f_width; 560 max_w = f->f_height; 575 v4l_bound_align_image(&tmp_w, min_w, max_w, mod_x, 590 if (s->r.left + tmp_w > max_w) [all...] |
/linux-master/drivers/media/platform/ti/vpe/ |
H A D | vpdma.h | 246 int max_w, int max_h, enum vpdma_channel chan, u32 flags); 250 int max_w, int max_h, int raw_vpdma_chan, u32 flags);
|
H A D | vpdma.c | 810 int max_w, int max_h, enum vpdma_channel chan, u32 flags) 813 max_w, max_h, chan_info[chan].num, flags); 820 int max_w, int max_h, int raw_vpdma_chan, u32 flags) 857 dtd->max_width_height = dtd_max_width_height(max_w, max_h); 807 vpdma_add_out_dtd(struct vpdma_desc_list *list, int width, int stride, const struct v4l2_rect *c_rect, const struct vpdma_data_format *fmt, dma_addr_t dma_addr, int max_w, int max_h, enum vpdma_channel chan, u32 flags) argument 817 vpdma_rawchan_add_out_dtd(struct vpdma_desc_list *list, int width, int stride, const struct v4l2_rect *c_rect, const struct vpdma_data_format *fmt, dma_addr_t dma_addr, int max_w, int max_h, int raw_vpdma_chan, u32 flags) argument
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_fbc.c | 1029 unsigned int effective_w, effective_h, max_w, max_h; local 1032 max_w = 8192; 1035 max_w = 5120; 1038 max_w = 4096; 1041 max_w = 4096; 1044 max_w = 2048; 1053 return effective_w <= max_w && effective_h <= max_h; 1059 unsigned int w, h, max_w, max_h; local 1062 max_w = 5120; 1065 max_w [all...] |
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_entity.h | 188 unsigned int max_w, unsigned int max_h);
|
/linux-master/drivers/media/platform/chips-media/coda/ |
H A D | coda-common.c | 122 #define CODA_CODEC(mode, src_fourcc, dst_fourcc, max_w, max_h) \ 123 { mode, src_fourcc, dst_fourcc, max_w, max_h } 340 int *max_w, int *max_h) 348 w = codec->max_w; 352 w = max(w, codecs[k].max_w); 357 if (max_w) 358 *max_w = w; 591 unsigned int max_w, max_h; local 604 coda_get_max_dimensions(dev, codec, &max_w, &max_h); 605 v4l_bound_align_image(&f->fmt.pix.width, MIN_W, max_w, W_ALIG 338 coda_get_max_dimensions(struct coda_dev *dev, const struct coda_codec *codec, int *max_w, int *max_h) argument 1654 unsigned int max_w, max_h, usize, csize; local [all...] |
H A D | coda.h | 110 u32 max_w; member in struct:coda_codec
|
H A D | coda-jpeg.c | 295 header.frame.width > ctx->codec->max_w) {
|
/linux-master/drivers/gpu/drm/ingenic/ |
H A D | ingenic-ipu.c | 574 unsigned int num_w, denom_w, num_h, denom_h, xres, yres, max_w, max_h; local 628 max_w = crtc_state->mode.hdisplay * 102 / 100; 631 for (denom_w = xres, num_w = new_plane_state->crtc_w; num_w <= max_w; num_w++) 634 if (num_w > max_w)
|
/linux-master/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-m2m.c | 270 u32 max_w, mod_x, mod_y; local 286 max_w = variant->pix_limit->scaler_dis_w; 289 max_w = variant->pix_limit->out_rot_dis_w; 303 v4l_bound_align_image(&pix->width, 16, max_w, mod_x,
|
H A D | fimc-capture.c | 571 u32 depth, min_w, max_w, min_h, align_h = 3; local 596 max_w = fimc_fmt_is_user_defined(ffmt->color) ? 599 v4l_bound_align_image(width, max_t(u32, *width, 32), max_w, 4, 614 max_w = rotation ? pl->out_rot_en_w : pl->out_rot_dis_w; 626 v4l_bound_align_image(width, min_w, max_w, 648 u32 max_w, max_h, min_w = 0, min_h = 0, min_sz; local 684 max_w = min_t(u32, 690 min_w = min_t(u32, max_w, sink->f_width / max_sc_h); 697 v4l_bound_align_image(&r->width, min_w, max_w, ffs(min_sz) - 1,
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/ |
H A D | base.c | 234 iccsense->power_w_crit = entry.max_w;
|
/linux-master/drivers/media/i2c/ |
H A D | rj54n1cb0c.c | 983 int output_w, output_h, max_w, max_h, local 1094 max_w = mf->width * (16 * 1024 - 1) / 1024; 1095 if (input_w > max_w) 1096 input_w = max_w;
|
/linux-master/drivers/media/common/v4l2-tpg/ |
H A D | v4l2-tpg-core.c | 112 int tpg_alloc(struct tpg_data *tpg, unsigned max_w) argument 118 tpg->max_line_width = max_w; 124 vzalloc(array3_size(max_w, 2, pixelsz)); 132 vzalloc(array3_size(max_w, 2, pixelsz)); 143 vzalloc(array_size(pixelsz, max_w)); 149 vzalloc(array_size(pixelsz, max_w)); 155 vzalloc(array3_size(max_w, 2, pixelsz));
|
/linux-master/include/media/tpg/ |
H A D | v4l2-tpg.h | 237 int tpg_alloc(struct tpg_data *tpg, unsigned max_w);
|
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_av1_req_lat_if.c | 941 u32 max_sb_w, max_sb_h, max_w, max_h, w, h; local 954 max_w = VCODEC_DEC_4K_CODED_WIDTH; 959 max_w = MTK_VDEC_MAX_W; 969 max_sb_w = DIV_ROUND_UP(max_w, 128);
|
H A D | vdec_vp9_req_lat_if.c | 549 unsigned int max_w; local 566 max_w = VCODEC_DEC_4K_CODED_WIDTH; 571 max_w = MTK_VDEC_MAX_W; 581 max_sb_w = DIV_ROUND_UP(max_w, 64);
|