Searched refs:ALIGN_DOWN (Results 1 - 12 of 12) sorted by relevance
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/ |
H A D | hi_math.h | 82 #define ALIGN_DOWN(x, a) (((x) / (a)) * (a)) macro
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | hi_math.h | 79 #define ALIGN_DOWN(x, a) (((x) / (a)) * (a)) macro
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | hi_math.h | 81 #define ALIGN_DOWN(x, a) (((x) / (a)) * (a)) macro
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | rkisp.c | 270 (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 D | capture.c | 1486 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 D | rkisp.c | 288 (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 D | capture.c | 1514 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 D | rockchip_drm_logo.c | 211 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 D | rockchip_drm_vop2.c | 3990 actual_w = ALIGN_DOWN(actual_w, 4); in vop2_win_atomic_update()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_logo.c | 221 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 D | rockchip_drm_vop2.c | 3987 actual_w = ALIGN_DOWN(actual_w, 0x4); in vop2_win_atomic_update()
|
/device/soc/rockchip/common/sdk_linux/init/ |
H A D | initramfs.c | 562 unsigned long aligned_start = ALIGN_DOWN(start, PAGE_SIZE); in free_initrd_mem()
|
Completed in 43 milliseconds