Home
last modified time | relevance | path

Searched refs:bds (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/staging/media/atomisp/pci/
Dsh_css_param_shading.c244 struct u32_fract bds; in prepare_shading_table() local
268 sh_css_bds_factor_get_fract(bds_factor, &bds); in prepare_shading_table()
271 bds.numerator / bds.denominator - in prepare_shading_table()
274 binary->effective_in_frame_res.width * bds.denominator / in prepare_shading_table()
275 bds.numerator - left_cropping) * bds.numerator / bds.denominator; in prepare_shading_table()
276 top_padding = binary->info->sp.pipeline.top_cropping * bds.numerator / in prepare_shading_table()
277 bds.denominator - in prepare_shading_table()
Dia_css_isp_params.h99 struct ia_css_isp_parameter bds; member
Dia_css_acc_types.h214 struct ia_css_binary_bds_info bds; member
Dia_css_isp_params.c1019 stage->binary->info->mem_offsets.offsets.param->dmem.bds.size; in ia_css_process_bds()
1022 stage->binary->info->mem_offsets.offsets.param->dmem.bds.offset; in ia_css_process_bds()
/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/binary/src/
Dbinary.c134 struct u32_fract bds; in ia_css_binary_compute_shading_table_bayer_origin() local
156 err = sh_css_bds_factor_get_fract(required_bds_factor, &bds); in ia_css_binary_compute_shading_table_bayer_origin()
173 need_bds_factor_2_00 = ((binary->info->sp.bds.supported_bds_factors & in ia_css_binary_compute_shading_table_bayer_origin()
217 * bds.denominator + bds.numerator / 2) / bds.numerator in ia_css_binary_compute_shading_table_bayer_origin()
221 (bad_bqs_on_top_before_bs * bds.denominator + bds.numerator / 2) / bds.numerator in ia_css_binary_compute_shading_table_bayer_origin()
225 res->bayer_scale_hor_ratio_in = bds.numerator; in ia_css_binary_compute_shading_table_bayer_origin()
226 res->bayer_scale_hor_ratio_out = bds.denominator; in ia_css_binary_compute_shading_table_bayer_origin()
227 res->bayer_scale_ver_ratio_in = bds.numerator; in ia_css_binary_compute_shading_table_bayer_origin()
228 res->bayer_scale_ver_ratio_out = bds.denominator; in ia_css_binary_compute_shading_table_bayer_origin()
1254 if (!supports_bds_factor(candidate->bds.supported_bds_factors, in __ia_css_binary_find()
[all …]
/linux-6.6.21/drivers/staging/media/ipu3/
Dipu3-css-params.c1924 acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_en = 0; in acc_bds_per_stripe_data()
1925 acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_start = 0; in acc_bds_per_stripe_data()
1926 acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_end = 0; in acc_bds_per_stripe_data()
1927 acc->bds.per_stripe.aligned_data[i].data.hor_ctrl0 = in acc_bds_per_stripe_data()
1928 acc->bds.hor.hor_ctrl0; in acc_bds_per_stripe_data()
1929 acc->bds.per_stripe.aligned_data[i].data.hor_ctrl0.out_frame_width = in acc_bds_per_stripe_data()
1931 acc->bds.per_stripe.aligned_data[i].data.ver_ctrl1.out_frame_width = in acc_bds_per_stripe_data()
1933 acc->bds.per_stripe.aligned_data[i].data.ver_ctrl1.out_frame_height = in acc_bds_per_stripe_data()
2290 acc->bds.hor.hor_ctrl1.hor_crop_en = 0; in imgu_css_cfg_acc()
2291 acc->bds.hor.hor_ctrl1.hor_crop_start = 0; in imgu_css_cfg_acc()
[all …]
Dipu3.h91 struct v4l2_rect bds; /* bayer-domain scaled resolution*/ member
Dipu3-css.c1697 struct v4l2_rect *const bds = &r[IPU3_CSS_RECT_BDS]; in imgu_css_fmt_try() local
1760 if (bds->width <= 0 || bds->height <= 0) { in imgu_css_fmt_try()
1761 bds->width = out->width; in imgu_css_fmt_try()
1762 bds->height = out->height; in imgu_css_fmt_try()
1773 bds->width = imgu_css_adjust(bds->width, BDS_ALIGN_W); in imgu_css_fmt_try()
1774 bds->height = imgu_css_adjust(bds->height, 1); in imgu_css_fmt_try()
1782 s = (bds->width - gdc->width) / 2; in imgu_css_fmt_try()
1784 s = (bds->height - gdc->height) / 2; in imgu_css_fmt_try()
1819 bds->width, bds->height, gdc->width, gdc->height, in imgu_css_fmt_try()
Dipu3-v4l2.c107 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_subdev_s_stream()
210 return &sd->rect.bds; in imgu_subdev_get_compose()
738 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_fmt()
Dipu3-css-fw.c25 bi->info.isp.sp.bds.supported_bds_factors, in imgu_css_fw_show_binary()
Dipu3-abi.h1297 struct imgu_abi_bds_config bds; member
1644 struct imgu_abi_binary_bds_info bds; member
Dipu3.c487 rects[IPU3_CSS_RECT_BDS] = &imgu_pipe->imgu_sd.rect.bds; in imgu_video_nodes_init()
/linux-6.6.21/drivers/staging/media/atomisp/pci/camera/pipe/interface/
Dia_css_pipe_binarydesc.h66 int sh_css_bds_factor_get_fract(unsigned int bds_factor, struct u32_fract *bds);
/linux-6.6.21/drivers/staging/media/atomisp/pci/camera/pipe/src/
Dpipe_binarydesc.c146 int sh_css_bds_factor_get_fract(unsigned int bds_factor, struct u32_fract *bds) in sh_css_bds_factor_get_fract() argument
152 *bds = bds_factors_list[bds_factor]; in sh_css_bds_factor_get_fract()
/linux-6.6.21/drivers/dma/
Dimx-sdma.c1503 enum dma_transfer_direction direction, u32 bds) in sdma_transfer_init() argument
1525 desc->num_bd = bds; in sdma_transfer_init()
1527 if (bds && sdma_alloc_bd(desc)) in sdma_transfer_init()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h664 #define NEXT_CNT_PER_TX_PKT(bds) \ argument
665 (((bds) + MAX_TX_DESC_CNT - 1) / \
Dbnx2x_hsi.h4649 union eth_tx_bd_types bds[13]; member