/linux/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_defs.h | 175 CEIL_MUL(SH_CSS_MAX_SCTBL_WIDTH_PER_COLOR, ISP_VEC_NELEMS) 210 CEIL_MUL(_ISP_MORPH_TABLE_WIDTH(width), \ 218 CEIL_MUL(_ISP_SCTBL_WIDTH_PER_COLOR(input_width, deci_factor_log2), \ 334 CEIL_MUL(SH_CSS_MAX_CONTINUOUS_SENSOR_WIDTH_DEC, 4 * ISP_VEC_NELEMS) : \ 336 CEIL_MUL(SH_CSS_MAX_CONTINUOUS_SENSOR_WIDTH, 4 * ISP_VEC_NELEMS) : \
|
H A D | sh_css_param_dvs.h | 32 #define DVS_NUM_BLOCKS_X(X) (CEIL_MUL(CEIL_DIV((X), DVS_BLOCKDIM_X), 2)) 55 #define DVS_6AXIS_COORDS_ELEMS CEIL_MUL(sizeof(gdc_warp_param_mem_t) \
|
H A D | sh_css_internal.h | 107 #define CALC_ALIGNMENT_MEMBER(x, y) (CEIL_MUL(x, y) - x)
|
H A D | sh_css_params.c | 2163 me->dmem_size = CEIL_MUL(me->dmem_size, HIVE_ISP_DDR_WORD_BYTES); in ia_css_isp_3a_statistics_allocate() 2164 me->vmem_size = CEIL_MUL(me->vmem_size, HIVE_ISP_DDR_WORD_BYTES); in ia_css_isp_3a_statistics_allocate() 2165 me->hmem_size = CEIL_MUL(me->hmem_size, HIVE_ISP_DDR_WORD_BYTES); in ia_css_isp_3a_statistics_allocate() 2614 hmm_alloc(CEIL_MUL(sizeof(struct sh_css_ddr_address_map), in sh_css_params_init() 2625 hmm_set(sp_ddr_ptrs, 0, CEIL_MUL(sizeof(struct sh_css_ddr_address_map), in sh_css_params_init()
|
H A D | sh_css.c | 2265 ref_info.padded_width = CEIL_MUL(ref_info.res.width, 2 * ISP_VEC_NELEMS); in alloc_continuous_frames() 4753 tnr_info.res.height = CEIL_MUL(tnr_info.res.height, in load_video_binaries() 7851 md->stride = CEIL_MUL(mdc->resolution.width, HIVE_ISP_DDR_WORD_BYTES); in metadata_info_init()
|
/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
H A D | frame.c | 286 return CEIL_MUL(width, 2 * HIVE_ISP_DDR_WORD_BYTES); in ia_css_frame_pad_width() 289 return CEIL_MUL(width, NV12_TILEY_TILE_WIDTH); in ia_css_frame_pad_width() 293 return CEIL_MUL(width, 2 * ISP_VEC_NELEMS); in ia_css_frame_pad_width() 296 return CEIL_MUL(width, HIVE_ISP_DDR_WORD_BYTES); in ia_css_frame_pad_width() 521 y_width = CEIL_MUL(y_width, NV12_TILEY_TILE_WIDTH); in frame_init_nv_planes() 522 uv_width = CEIL_MUL(uv_width, NV12_TILEY_TILE_WIDTH); in frame_init_nv_planes() 523 y_height = CEIL_MUL(y_height, NV12_TILEY_TILE_HEIGHT); in frame_init_nv_planes() 524 uv_height = CEIL_MUL(uv_height, NV12_TILEY_TILE_HEIGHT); in frame_init_nv_planes()
|
/linux/drivers/staging/media/atomisp/pci/isp/modes/interface/ |
H A D | isp_const.h | 76 …CEIL_MUL(padding + CEIL_DIV(width - padding, stripe), ((ENABLE_RAW_BINNING || ENABLE_FIXED_BAYER_D… 95 #define MAX_VECTORS_PER_INPUT_LINE CEIL_MUL((CEIL_DIV(ISP_MAX_INPUT_WIDTH, ISP_VEC_NELEMS) + ISP_LE…
|
/linux/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ |
H A D | ifmtr.c | 311 num_vectors = CEIL_MUL(num_vectors, deinterleaving); in ia_css_ifmtr_configure() 318 vectors_per_line = CEIL_MUL(vectors_per_line, deinterleaving); in ia_css_ifmtr_configure() 370 vectors_per_line = CEIL_MUL(num_vectors / buffer_height, in ia_css_ifmtr_configure() 379 line_width = CEIL_MUL(line_width, in ia_css_ifmtr_configure()
|
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
H A D | math_support.h | 26 #define CEIL_MUL(a, b) (CEIL_DIV(a, b) * (b)) macro
|
/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | virtual_isys.c | 556 pixels_per_line_padded = CEIL_MUL(pixels_per_line, align_in_bytes); in calculate_stride() 559 bits_per_pixel = CEIL_MUL(bits_per_pixel, 8); in calculate_stride() 703 left_padding = CEIL_MUL(isys_cfg->output_port_attr.left_padding, ISP_VEC_NELEMS) in calculate_ibuf_ctrl_cfg() 816 bits_per_pixel = CEIL_MUL(bits_per_pixel, 8); in calculate_isys2401_dma_port_cfg()
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
H A D | ia_css_sdis2.host.c | 238 table_width = CEIL_MUL(size_bytes, in ia_css_translate_dvs2_statistics() 293 size = CEIL_MUL(sizeof(int) * grid->aligned_width, HIVE_ISP_DDR_WORD_BYTES) in ia_css_isp_dvs2_statistics_allocate()
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
H A D | ia_css_sdis.host.c | 326 hor_size = CEIL_MUL(sizeof(int) * IA_CSS_DVS_NUM_COEF_TYPES * in ia_css_isp_dvs_statistics_allocate() 329 ver_size = CEIL_MUL(sizeof(int) * IA_CSS_DVS_NUM_COEF_TYPES * in ia_css_isp_dvs_statistics_allocate()
|
/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
H A D | binary.c | 620 CEIL_MUL(in_frame_width + nr_of_left_paddings, in binary_in_frame_padded_width() 626 CEIL_MUL(in_frame_width + in binary_in_frame_padded_width() 721 binary->internal_frame_info.padded_width = CEIL_MUL(isp_internal_width, 2 * ISP_VEC_NELEMS); in ia_css_binary_fill_info()
|