halign 186 drivers/gpu/drm/radeon/evergreen_cs.c unsigned halign; halign 197 drivers/gpu/drm/radeon/evergreen_cs.c surf->halign = 1; halign 212 drivers/gpu/drm/radeon/evergreen_cs.c surf->halign = 1; halign 235 drivers/gpu/drm/radeon/evergreen_cs.c surf->halign = 8; halign 259 drivers/gpu/drm/radeon/evergreen_cs.c unsigned palign, halign, tileb, slice_pt; halign 270 drivers/gpu/drm/radeon/evergreen_cs.c halign = (8 * surf->bankh * surf->nbanks) / surf->mtilea; halign 271 drivers/gpu/drm/radeon/evergreen_cs.c mtileb = (palign / 8) * (halign / 8) * tileb; halign 273 drivers/gpu/drm/radeon/evergreen_cs.c mtile_ps = (mtile_pr * surf->nby) / halign; halign 275 drivers/gpu/drm/radeon/evergreen_cs.c surf->base_align = (palign / 8) * (halign / 8) * tileb; halign 277 drivers/gpu/drm/radeon/evergreen_cs.c surf->halign = halign; halign 286 drivers/gpu/drm/radeon/evergreen_cs.c if ((surf->nby & (halign - 1))) { halign 289 drivers/gpu/drm/radeon/evergreen_cs.c __func__, __LINE__, prefix, surf->nby, halign); halign 826 drivers/gpu/drm/radeon/evergreen_cs.c surf.nby = ALIGN(surf.nby, surf.halign); halign 884 drivers/gpu/drm/radeon/evergreen_cs.c if (surf.nbx < surf.palign || surf.nby < surf.halign) { halign 900 drivers/gpu/drm/radeon/evergreen_cs.c surf.nby = ALIGN(surf.nby, surf.halign); halign 3495 drivers/infiniband/hw/mlx4/qp.c unsigned halign = ALIGN(sizeof *wqe + wr->hlen, 16); halign 3497 drivers/infiniband/hw/mlx4/qp.c if (unlikely(halign > MLX4_IB_CACHE_LINE_SIZE)) halign 3501 drivers/infiniband/hw/mlx4/qp.c wr->wr.num_sge > qp->sq.max_gs - (halign >> 4))) halign 3507 drivers/infiniband/hw/mlx4/qp.c *lso_seg_len = halign; halign 279 drivers/media/platform/exynos-gsc/gsc-core.c int remainder = 0, walign, halign; halign 283 drivers/media/platform/exynos-gsc/gsc-core.c halign = GSC_SC_ALIGN_4; halign 286 drivers/media/platform/exynos-gsc/gsc-core.c halign = GSC_SC_ALIGN_2; halign 289 drivers/media/platform/exynos-gsc/gsc-core.c halign = GSC_SC_ALIGN_2; halign 300 drivers/media/platform/exynos-gsc/gsc-core.c remainder = s_frame->crop.height % (*hratio * halign); halign 435 drivers/media/platform/exynos4-is/fimc-m2m.c u32 min_size, halign, depth = 0; halign 460 drivers/media/platform/exynos4-is/fimc-m2m.c halign = fimc_fmt_is_rgb(f->fmt->color) ? 0 : 1; halign 462 drivers/media/platform/exynos4-is/fimc-m2m.c halign = ffs(fimc->variant->min_vsize_align) - 1; halign 470 drivers/media/platform/exynos4-is/fimc-m2m.c halign, 64/(ALIGN(depth, 8))); halign 163 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c unsigned int hmax, unsigned int halign) halign 170 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c h_step = 1 << halign; halign 172 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); halign 157 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c int walign, halign; halign 162 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c halign = ffs(align_h) - 1; halign 163 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); halign 166 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c step_h = 1 << halign; halign 1396 drivers/media/platform/s5p-jpeg/jpeg-core.c unsigned int halign) halign 1404 drivers/media/platform/s5p-jpeg/jpeg-core.c h_step = 1 << halign; halign 1420 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); halign 173 drivers/media/platform/vim2m.c unsigned int *walign, unsigned int *halign) halign 181 drivers/media/platform/vim2m.c *halign = BAYER_HEIGHT_ALIGN; halign 185 drivers/media/platform/vim2m.c *halign = HEIGHT_ALIGN; halign 774 drivers/media/platform/vim2m.c int walign, halign; halign 789 drivers/media/platform/vim2m.c get_alignment(f->fmt.pix.pixelformat, &walign, &halign); halign 791 drivers/media/platform/vim2m.c f->fmt.pix.height &= ~(halign - 1); halign 123 drivers/media/v4l2-core/v4l2-common.c unsigned int halign, unsigned int salign) halign 126 drivers/media/v4l2-core/v4l2-common.c *h = clamp_align(*h, hmin, hmax, halign); halign 134 drivers/media/v4l2-core/v4l2-common.c halign = __ffs(*h); halign 136 drivers/media/v4l2-core/v4l2-common.c if (walign + halign < salign) { halign 144 drivers/media/v4l2-core/v4l2-common.c if (halign >= hmaxa || halign 145 drivers/media/v4l2-core/v4l2-common.c (walign <= halign && walign < wmaxa)) { halign 149 drivers/media/v4l2-core/v4l2-common.c *h = clamp_align(*h, hmin, hmax, halign + 1); halign 150 drivers/media/v4l2-core/v4l2-common.c halign = __ffs(*h); halign 152 drivers/media/v4l2-core/v4l2-common.c } while (halign + walign < salign); halign 387 include/media/v4l2-common.h unsigned int hmax, unsigned int halign,