Home
last modified time | relevance | path

Searched refs:bds (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A 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 in prepare_shading_table()
[all...]
H A Dia_css_isp_params.h99 struct ia_css_isp_parameter bds; member
H A Dia_css_acc_types.h214 struct ia_css_binary_bds_info bds; member
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A 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()
219 /* "+ bds.numerator / 2": rounding for division by bds.numerator */ in ia_css_binary_compute_shading_table_bayer_origin()
221 (bad_bqs_on_top_before_bs * bds.denominator + bds in ia_css_binary_compute_shading_table_bayer_origin()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
H A Dipu3-css-params.c1927 acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_en = 0; in acc_bds_per_stripe_data()
1928 acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_start = 0; in acc_bds_per_stripe_data()
1929 acc->bds.per_stripe.aligned_data[i].data.crop.hor_crop_end = 0; in acc_bds_per_stripe_data()
1930 acc->bds.per_stripe.aligned_data[i].data.hor_ctrl0 = in acc_bds_per_stripe_data()
1931 acc->bds.hor.hor_ctrl0; in acc_bds_per_stripe_data()
1932 acc->bds.per_stripe.aligned_data[i].data.hor_ctrl0.out_frame_width = in acc_bds_per_stripe_data()
1934 acc->bds.per_stripe.aligned_data[i].data.ver_ctrl1.out_frame_width = in acc_bds_per_stripe_data()
1936 acc->bds.per_stripe.aligned_data[i].data.ver_ctrl1.out_frame_height = in acc_bds_per_stripe_data()
2293 acc->bds.hor.hor_ctrl1.hor_crop_en = 0; in imgu_css_cfg_acc()
2294 acc->bds in imgu_css_cfg_acc()
[all...]
H A Dipu3-css.c1712 struct v4l2_rect *const bds = &r[IPU3_CSS_RECT_BDS]; in imgu_css_fmt_try() local
1775 if (bds->width <= 0 || bds->height <= 0) { in imgu_css_fmt_try()
1776 bds->width = out->width; in imgu_css_fmt_try()
1777 bds->height = out->height; in imgu_css_fmt_try()
1788 bds->width = imgu_css_adjust(bds->width, BDS_ALIGN_W); in imgu_css_fmt_try()
1789 bds->height = imgu_css_adjust(bds->height, 1); in imgu_css_fmt_try()
1797 s = (bds in imgu_css_fmt_try()
[all...]
H A Dipu3.h96 struct v4l2_rect bds; /* bayer-domain scaled resolution*/ member
H A Dipu3-v4l2.c107 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_subdev_s_stream()
210 r = &imgu_sd->rect.bds; in imgu_subdev_get_selection()
249 rect = &imgu_sd->rect.bds; in imgu_subdev_set_selection()
725 /* eff and bds res got by imgu_s_sel */ in imgu_fmt()
729 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_fmt()
H A Dipu3-css-fw.c23 dev_dbg(dev, " id %i mode %i bds 0x%x veceven %i/%i out_pins %i\n", in imgu_css_fw_show_binary()
25 bi->info.isp.sp.bds.supported_bds_factors, in imgu_css_fw_show_binary()
H A Dipu3.c478 rects[IPU3_CSS_RECT_BDS] = &imgu_pipe->imgu_sd.rect.bds; in imgu_video_nodes_init()
H A Dipu3-abi.h778 /*'effective-stripes' - after input cropping used dpc, bds */
785 *'bds-out-stripes' - after bayer down-scaling and padding.
791 /* 'bds-out-stripes (no overlap)' - used for ref kernel */
1297 struct imgu_abi_bds_config bds; member
1644 struct imgu_abi_binary_bds_info bds; member
/kernel/linux/linux-6.6/drivers/staging/media/ipu3/
H A 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 in imgu_css_cfg_acc()
[all...]
H A 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 in imgu_css_fmt_try()
[all...]
H A Dipu3.h91 struct v4l2_rect bds; /* bayer-domain scaled resolution*/ member
H A Dipu3-css-fw.c23 dev_dbg(dev, " id %i mode %i bds 0x%x veceven %i/%i out_pins %i\n", in imgu_css_fw_show_binary()
25 bi->info.isp.sp.bds.supported_bds_factors, in imgu_css_fw_show_binary()
H A 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()
734 /* eff and bds res got by imgu_s_sel */ in imgu_fmt()
738 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_fmt()
H A Dipu3.c487 rects[IPU3_CSS_RECT_BDS] = &imgu_pipe->imgu_sd.rect.bds; in imgu_video_nodes_init()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/camera/pipe/interface/
H A Dia_css_pipe_binarydesc.h61 * @param[out] bds: The rational fraction of the bayer downscaling factor.
66 int sh_css_bds_factor_get_fract(unsigned int bds_factor, struct u32_fract *bds);
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A Dbinary.c204 need_bds_factor_2_00 = ((binary->info->sp.bds.supported_bds_factors & in ia_css_binary_compute_shading_table_bayer_origin()
341 need_bds_factor_2_00 = ((binary->info->sp.bds.supported_bds_factors & in sh_css_binary_get_sc_requirements()
351 need_bds_factor_1_50 = ((binary->info->sp.bds.supported_bds_factors & in sh_css_binary_get_sc_requirements()
358 need_bds_factor_1_25 = ((binary->info->sp.bds.supported_bds_factors & in sh_css_binary_get_sc_requirements()
378 binary->info->sp.bds.supported_bds_factors, in sh_css_binary_get_sc_requirements()
872 /* move to host part of bds module */
1725 if (!supports_bds_factor(candidate->bds.supported_bds_factors, in __ia_css_binary_find()
1729 __LINE__, candidate->bds.supported_bds_factors, in __ia_css_binary_find()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Dia_css_isp_params.h99 struct ia_css_isp_parameter bds; member
H A Dia_css_acc_types.h213 struct ia_css_binary_bds_info bds; member
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/camera/pipe/src/
H A 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()
175 /* Loop over all bds factors until a match is found */ in binarydesc_calculate_bds_factor()
/kernel/linux/linux-6.6/drivers/dma/
H A Dimx-sdma.c1503 enum dma_transfer_direction direction, u32 bds) in sdma_transfer_init()
1525 desc->num_bd = bds; in sdma_transfer_init()
1527 if (bds && sdma_alloc_bd(desc)) in sdma_transfer_init()
1502 sdma_transfer_init(struct sdma_channel *sdmac, enum dma_transfer_direction direction, u32 bds) sdma_transfer_init() argument
/kernel/linux/linux-5.10/drivers/dma/
H A Dimx-sdma.c1339 enum dma_transfer_direction direction, u32 bds) in sdma_transfer_init()
1356 desc->num_bd = bds; in sdma_transfer_init()
1338 sdma_transfer_init(struct sdma_channel *sdmac, enum dma_transfer_direction direction, u32 bds) sdma_transfer_init() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x.h664 #define NEXT_CNT_PER_TX_PKT(bds) \
665 (((bds) + MAX_TX_DESC_CNT - 1) / \

Completed in 52 milliseconds

12