Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/staging/media/atomisp/pci/
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) : \
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) \
Dsh_css_dvs_info.h22 #define DVS_NUM_BLOCKS_X(X) (CEIL_MUL(CEIL_DIV((X), DVS_BLOCKDIM_X), 2))
Dsh_css_internal.h130 #define CALC_ALIGNMENT_MEMBER(x, y) (CEIL_MUL(x, y) - x)
Dsh_css_params.c2154 me->dmem_size = CEIL_MUL(me->dmem_size, HIVE_ISP_DDR_WORD_BYTES); in ia_css_isp_3a_statistics_allocate()
2155 me->vmem_size = CEIL_MUL(me->vmem_size, HIVE_ISP_DDR_WORD_BYTES); in ia_css_isp_3a_statistics_allocate()
2156 me->hmem_size = CEIL_MUL(me->hmem_size, HIVE_ISP_DDR_WORD_BYTES); in ia_css_isp_3a_statistics_allocate()
2605 hmm_alloc(CEIL_MUL(sizeof(struct sh_css_ddr_address_map), in sh_css_params_init()
2616 hmm_set(sp_ddr_ptrs, 0, CEIL_MUL(sizeof(struct sh_css_ddr_address_map), in sh_css_params_init()
Dsh_css.c2528 ref_info.padded_width = CEIL_MUL(ref_info.res.width, 2 * ISP_VEC_NELEMS); in alloc_continuous_frames()
5156 tnr_info.res.height = CEIL_MUL(tnr_info.res.height, in load_video_binaries()
8591 md->stride = CEIL_MUL(mdc->resolution.width, HIVE_ISP_DDR_WORD_BYTES); in metadata_info_init()
/Linux-v6.1/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c419 CEIL_MUL(align, 2 * HIVE_ISP_DDR_WORD_BYTES); in ia_css_frame_info_set_width()
421 info->padded_width = CEIL_MUL(align, NV12_TILEY_TILE_WIDTH); in ia_css_frame_info_set_width()
424 info->padded_width = CEIL_MUL(align, 2 * ISP_VEC_NELEMS); in ia_css_frame_info_set_width()
426 info->padded_width = CEIL_MUL(align, HIVE_ISP_DDR_WORD_BYTES); in ia_css_frame_info_set_width()
631 y_width = CEIL_MUL(y_width, NV12_TILEY_TILE_WIDTH); in frame_init_nv_planes()
632 uv_width = CEIL_MUL(uv_width, NV12_TILEY_TILE_WIDTH); in frame_init_nv_planes()
633 y_height = CEIL_MUL(y_height, NV12_TILEY_TILE_HEIGHT); in frame_init_nv_planes()
634 uv_height = CEIL_MUL(uv_height, NV12_TILEY_TILE_HEIGHT); in frame_init_nv_planes()
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/modes/interface/
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…
/Linux-v6.1/drivers/staging/media/atomisp/pci/hive_isp_css_include/
Dmath_support.h41 #define CEIL_MUL(a, b) (CEIL_DIV(a, b) * (b)) macro
78 return CEIL_MUL(a, b); in ceil_mul()
/Linux-v6.1/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/
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()
/Linux-v6.1/drivers/staging/media/atomisp/pci/runtime/isys/src/
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()
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
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()
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
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()
/Linux-v6.1/drivers/staging/media/atomisp/pci/runtime/binary/src/
Dbinary.c634 CEIL_MUL(in_frame_width + nr_of_left_paddings, in binary_in_frame_padded_width()
640 CEIL_MUL(in_frame_width + in binary_in_frame_padded_width()
735 binary->internal_frame_info.padded_width = CEIL_MUL(isp_internal_width, 2 * ISP_VEC_NELEMS); in ia_css_binary_fill_info()