Home
last modified time | relevance | path

Searched refs:ALIGN_DOWN (Results 1 - 12 of 12) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/
H A Dhi_math.h82 #define ALIGN_DOWN(x, a) (((x) / (a)) * (a)) macro
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_math.h79 #define ALIGN_DOWN(x, a) (((x) / (a)) * (a)) macro
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_math.h81 #define ALIGN_DOWN(x, a) (((x) / (a)) * (a)) macro
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Drkisp.c270 (ALIGN_DOWN(crop->width, 0x10) != crop->width || ALIGN_DOWN(crop->height, 0x08) != crop->height)) { in rkisp_align_sensor_resolution()
274 ALIGN_DOWN(crop->left, 0x04), crop->top, ALIGN_DOWN(crop->width, 0x10), in rkisp_align_sensor_resolution()
275 ALIGN_DOWN(crop->height, 0x08)); in rkisp_align_sensor_resolution()
294 dest_w = ALIGN_DOWN(w, 0x10); in rkisp_align_sensor_resolution()
295 dest_h = ALIGN_DOWN(h, 0x08); in rkisp_align_sensor_resolution()
300 crop->left = ALIGN_DOWN((src_w - dest_w) >> 1, 0x04); in rkisp_align_sensor_resolution()
H A Dcapture.c1486 sel->left = ALIGN_DOWN((in->width - sel->width) / 0x02, 0x02); in rkisp_update_crop()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A Drkisp.c288 (ALIGN_DOWN(crop->width, 16) != crop->width || in rkisp_align_sensor_resolution()
289 ALIGN_DOWN(crop->height, 8) != crop->height)) in rkisp_align_sensor_resolution()
293 ALIGN_DOWN(crop->left, 4), crop->top, in rkisp_align_sensor_resolution()
294 ALIGN_DOWN(crop->width, 16), ALIGN_DOWN(crop->height, 8)); in rkisp_align_sensor_resolution()
312 dest_w = ALIGN_DOWN(w, 16); in rkisp_align_sensor_resolution()
313 dest_h = ALIGN_DOWN(h, 8); in rkisp_align_sensor_resolution()
318 crop->left = ALIGN_DOWN((src_w - dest_w) >> 1, 4); in rkisp_align_sensor_resolution()
H A Dcapture.c1514 sel->left = ALIGN_DOWN((in->width - sel->width) / 2, 2); in rkisp_update_crop()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_logo.c211 start = ALIGN_DOWN(res.start, pg_size); in init_loader_memory()
247 start = ALIGN_DOWN(res.start, pg_size); in init_loader_memory()
H A Drockchip_drm_vop2.c3990 actual_w = ALIGN_DOWN(actual_w, 4); in vop2_win_atomic_update()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_logo.c221 start = ALIGN_DOWN(res.start, pg_size); in init_loader_memory()
261 start = ALIGN_DOWN(res.start, pg_size); in init_loader_memory()
H A Drockchip_drm_vop2.c3987 actual_w = ALIGN_DOWN(actual_w, 0x4); in vop2_win_atomic_update()
/device/soc/rockchip/common/sdk_linux/init/
H A Dinitramfs.c562 unsigned long aligned_start = ALIGN_DOWN(start, PAGE_SIZE); in free_initrd_mem()

Completed in 43 milliseconds