Home
last modified time | relevance | path

Searched refs:CEIL_MUL (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css_defs.h175 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 Dsh_css_param_dvs.h33 #define DVS_NUM_BLOCKS_X(X) (CEIL_MUL(CEIL_DIV((X), DVS_BLOCKDIM_X), 2))
56 #define DVS_6AXIS_COORDS_ELEMS CEIL_MUL(sizeof(gdc_warp_param_mem_t) \
H A Dsh_css_dvs_info.h22 #define DVS_NUM_BLOCKS_X(X) (CEIL_MUL(CEIL_DIV((X), DVS_BLOCKDIM_X), 2))
H A Dsh_css_internal.h130 #define CALC_ALIGNMENT_MEMBER(x, y) (CEIL_MUL(x, y) - x)
H A Dsh_css_params.c2163 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 Dsh_css.c2420 ref_info.padded_width = CEIL_MUL(ref_info.res.width, 2 * ISP_VEC_NELEMS); in alloc_continuous_frames()
4920 tnr_info.res.height = CEIL_MUL(tnr_info.res.height, in load_video_binaries()
8054 md->stride = CEIL_MUL(mdc->resolution.width, HIVE_ISP_DDR_WORD_BYTES); in metadata_info_init()
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/
H A Dframe.c286 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()
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/modes/interface/
H A Disp_const.h76CEIL_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…
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/
H A Dmath_support.h41 #define CEIL_MUL(a, b) (CEIL_DIV(a, b) * (b)) macro
78 return CEIL_MUL(a, b); in ceil_mul()
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/
H A Difmtr.c312 num_vectors = CEIL_MUL(num_vectors, deinterleaving); in ia_css_ifmtr_configure()
319 vectors_per_line = CEIL_MUL(vectors_per_line, deinterleaving); in ia_css_ifmtr_configure()
371 vectors_per_line = CEIL_MUL(num_vectors / buffer_height, in ia_css_ifmtr_configure()
380 line_width = CEIL_MUL(line_width, in ia_css_ifmtr_configure()
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Dvirtual_isys.c569 pixels_per_line_padded = CEIL_MUL(pixels_per_line, align_in_bytes); in calculate_stride()
572 bits_per_pixel = CEIL_MUL(bits_per_pixel, 8); in calculate_stride()
730 left_padding = CEIL_MUL(isys_cfg->output_port_attr.left_padding, ISP_VEC_NELEMS) in calculate_ibuf_ctrl_cfg()
843 bits_per_pixel = CEIL_MUL(bits_per_pixel, 8); in calculate_isys2401_dma_port_cfg()
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
H A Dia_css_sdis2.host.c238 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()
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
H A Dia_css_sdis.host.c326 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()
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A Dbinary.c620 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()