/linux-6.6.21/drivers/media/platform/mediatek/mdp3/ |
D | mdp_cfg_data.c | 253 .halign = 1, 262 .halign = 1, 271 .halign = 1, 280 .halign = 1, 319 .halign = 5, 328 .halign = 5, 337 .halign = 1, 346 .halign = 1, 371 .halign = 1, 380 .halign = 1,
|
D | mtk-mdp3-regs.c | 171 s.step_height = fmt->halign; in mdp_try_fmt_mplane() 236 u32 framew, frameh, walign, halign; in mdp_try_crop() local 251 halign = 1; in mdp_try_crop() 254 halign = frame->mdp_fmt->halign; in mdp_try_crop() 258 walign, halign, framew, frameh); in mdp_try_crop() 263 ret = mdp_clamp_start(&top, 0, bottom, halign, s->flags); in mdp_try_crop() 269 ret = mdp_clamp_end(&bottom, top, frameh, halign, s->flags); in mdp_try_crop()
|
D | mtk-mdp3-regs.h | 261 u8 halign; member
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | v4l2-common.c | 122 unsigned int halign, unsigned int salign) in v4l_bound_align_image() argument 125 *h = clamp_align(*h, hmin, hmax, halign); in v4l_bound_align_image() 133 halign = __ffs(*h); in v4l_bound_align_image() 135 if (walign + halign < salign) { in v4l_bound_align_image() 143 if (halign >= hmaxa || in v4l_bound_align_image() 144 (walign <= halign && walign < wmaxa)) { in v4l_bound_align_image() 148 *h = clamp_align(*h, hmin, hmax, halign + 1); in v4l_bound_align_image() 149 halign = __ffs(*h); in v4l_bound_align_image() 151 } while (halign + walign < salign); in v4l_bound_align_image()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | evergreen_cs.c | 185 unsigned halign; member 196 surf->halign = 1; in evergreen_surface_check_linear() 211 surf->halign = 1; in evergreen_surface_check_linear_aligned() 234 surf->halign = 8; in evergreen_surface_check_1d() 258 unsigned palign, halign, tileb, slice_pt; in evergreen_surface_check_2d() local 269 halign = (8 * surf->bankh * surf->nbanks) / surf->mtilea; in evergreen_surface_check_2d() 270 mtileb = (palign / 8) * (halign / 8) * tileb; in evergreen_surface_check_2d() 272 mtile_ps = (mtile_pr * surf->nby) / halign; in evergreen_surface_check_2d() 274 surf->base_align = (palign / 8) * (halign / 8) * tileb; in evergreen_surface_check_2d() 276 surf->halign = halign; in evergreen_surface_check_2d() [all …]
|
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-m2m.c | 432 u32 min_size, halign, depth = 0; in fimc_m2m_try_selection() local 457 halign = fimc_fmt_is_rgb(f->fmt->color) ? 0 : 1; in fimc_m2m_try_selection() 459 halign = ffs(fimc->variant->min_vsize_align) - 1; in fimc_m2m_try_selection() 467 halign, 64/(ALIGN(depth, 8))); in fimc_m2m_try_selection()
|
/linux-6.6.21/drivers/media/test-drivers/ |
D | vim2m.c | 168 unsigned int *walign, unsigned int *halign) in get_alignment() argument 176 *halign = BAYER_HEIGHT_ALIGN; in get_alignment() 180 *halign = HEIGHT_ALIGN; in get_alignment() 760 int walign, halign; in vidioc_try_fmt() local 775 get_alignment(f->fmt.pix.pixelformat, &walign, &halign); in vidioc_try_fmt() 777 f->fmt.pix.height &= ~(halign - 1); in vidioc_try_fmt()
|
/linux-6.6.21/drivers/media/platform/samsung/exynos-gsc/ |
D | gsc-core.c | 278 int remainder = 0, walign, halign; in gsc_check_src_scale_info() local 282 halign = GSC_SC_ALIGN_4; in gsc_check_src_scale_info() 285 halign = GSC_SC_ALIGN_2; in gsc_check_src_scale_info() 288 halign = GSC_SC_ALIGN_2; in gsc_check_src_scale_info() 299 remainder = s_frame->crop.height % (*hratio * halign); in gsc_check_src_scale_info()
|
/linux-6.6.21/drivers/media/platform/mediatek/mdp/ |
D | mtk_mdp_m2m.c | 157 int walign, halign; in mtk_mdp_bound_align_image() local 162 halign = ffs(align_h) - 1; in mtk_mdp_bound_align_image() 163 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in mtk_mdp_bound_align_image() 166 step_h = 1 << halign; in mtk_mdp_bound_align_image()
|
/linux-6.6.21/include/media/ |
D | v4l2-common.h | 389 unsigned int hmax, unsigned int halign,
|
/linux-6.6.21/drivers/media/platform/samsung/s5p-jpeg/ |
D | jpeg-core.c | 1394 unsigned int halign) in jpeg_bound_align_image() argument 1402 h_step = 1 << halign; in jpeg_bound_align_image() 1418 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); in jpeg_bound_align_image()
|
/linux-6.6.21/drivers/infiniband/hw/mlx4/ |
D | qp.c | 3484 unsigned halign = ALIGN(sizeof *wqe + wr->hlen, 16); in build_lso_seg() local 3486 if (unlikely(halign > MLX4_IB_CACHE_LINE_SIZE)) in build_lso_seg() 3490 wr->wr.num_sge > qp->sq.max_gs - (halign >> 4))) in build_lso_seg() 3496 *lso_seg_len = halign; in build_lso_seg()
|