Home
last modified time | relevance | path

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

/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css_param_shading.c235 struct u32_fract bds; in prepare_shading_table() local
259 sh_css_bds_factor_get_fract(bds_factor, &bds); in prepare_shading_table()
262 bds.numerator / bds.denominator - in prepare_shading_table()
265 binary->effective_in_frame_res.width * bds.denominator / in prepare_shading_table()
266 bds.numerator - left_cropping) * bds.numerator / bds.denominator; in prepare_shading_table()
267 top_padding = binary->info->sp.pipeline.top_cropping * bds.numerator / in prepare_shading_table()
268 bds.denominator - in prepare_shading_table()
H A Dia_css_isp_params.h90 struct ia_css_isp_parameter bds; member
H A Dia_css_acc_types.h205 struct ia_css_binary_bds_info bds; member
H A Dia_css_isp_params.c1010 stage->binary->info->mem_offsets.offsets.param->dmem.bds.size; in ia_css_process_bds()
1013 stage->binary->info->mem_offsets.offsets.param->dmem.bds.offset; in ia_css_process_bds()
/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A Dbinary.c123 struct u32_fract bds; in ia_css_binary_compute_shading_table_bayer_origin() local
145 err = sh_css_bds_factor_get_fract(required_bds_factor, &bds); in ia_css_binary_compute_shading_table_bayer_origin()
162 need_bds_factor_2_00 = ((binary->info->sp.bds.supported_bds_factors & in ia_css_binary_compute_shading_table_bayer_origin()
206 * bds.denominator + bds.numerator / 2) / bds.numerator in ia_css_binary_compute_shading_table_bayer_origin()
210 (bad_bqs_on_top_before_bs * bds.denominator + bds.numerator / 2) / bds.numerator in ia_css_binary_compute_shading_table_bayer_origin()
214 res->bayer_scale_hor_ratio_in = bds.numerator; in ia_css_binary_compute_shading_table_bayer_origin()
215 res->bayer_scale_hor_ratio_out = bds.denominator; in ia_css_binary_compute_shading_table_bayer_origin()
216 res->bayer_scale_ver_ratio_in = bds.numerator; in ia_css_binary_compute_shading_table_bayer_origin()
217 res->bayer_scale_ver_ratio_out = bds.denominator; in ia_css_binary_compute_shading_table_bayer_origin()
1205 if (!supports_bds_factor(candidate->bds.supported_bds_factors, in ia_css_binary_find()
[all …]
/linux/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.hor.hor_ctrl1.hor_crop_start = 0; in imgu_css_cfg_acc()
[all …]
H A Dipu3-css.c1698 struct v4l2_rect *const bds = &r[IPU3_CSS_RECT_BDS]; in imgu_css_fmt_try() local
1761 if (bds->width <= 0 || bds->height <= 0) { in imgu_css_fmt_try()
1762 bds->width = out->width; in imgu_css_fmt_try()
1763 bds->height = out->height; in imgu_css_fmt_try()
1774 bds->width = imgu_css_adjust(bds->width, BDS_ALIGN_W); in imgu_css_fmt_try()
1775 bds->height = imgu_css_adjust(bds->height, 1); in imgu_css_fmt_try()
1783 s = (bds->width - gdc->width) / 2; in imgu_css_fmt_try()
1785 s = (bds->height - gdc->height) / 2; in imgu_css_fmt_try()
1820 bds->width, bds->height, gdc->width, gdc->height, in imgu_css_fmt_try()
H A Dipu3.h91 struct v4l2_rect bds; /* bayer-domain scaled resolution*/ member
H A Dipu3-v4l2.c108 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_subdev_s_stream()
211 return &sd->rect.bds; in imgu_subdev_get_compose()
761 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_fmt()
H A Dipu3-css-fw.c25 bi->info.isp.sp.bds.supported_bds_factors, in imgu_css_fw_show_binary()
H A Dipu3-abi.h1297 struct imgu_abi_bds_config bds; member
1644 struct imgu_abi_binary_bds_info bds; member
H A Dipu3.c488 rects[IPU3_CSS_RECT_BDS] = &imgu_pipe->imgu_sd.rect.bds; in imgu_video_nodes_init()
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_txrx.h44 #define SET_TX_OPAQUE(bn, txr, idx, bds) \ argument
46 ((bds) << TX_OPAQUE_BDS_SHIFT) | ((idx) & (bn)->tx_ring_mask))
/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_tx.c688 tqres->bds = kzalloc_objs(*tqres->bds, in hinic3_alloc_txqs_res()
690 if (!tqres->bds) { in hinic3_alloc_txqs_res()
703 kfree(tqres->bds); in hinic3_alloc_txqs_res()
720 kfree(tqres->bds); in hinic3_free_txqs_res()
749 &tqres->bds[idx * HINIC3_BDS_PER_SQ_WQEBB]; in hinic3_configure_txqs()
H A Dhinic3_tx.h146 struct hinic3_dma_info *bds; member
/linux/drivers/staging/media/atomisp/pci/camera/pipe/interface/
H A Dia_css_pipe_binarydesc.h57 int sh_css_bds_factor_get_fract(unsigned int bds_factor, struct u32_fract *bds);
/linux/drivers/staging/media/atomisp/pci/camera/pipe/src/
H A Dpipe_binarydesc.c137 int sh_css_bds_factor_get_fract(unsigned int bds_factor, struct u32_fract *bds) in sh_css_bds_factor_get_fract() argument
143 *bds = bds_factors_list[bds_factor]; in sh_css_bds_factor_get_fract()
/linux/drivers/dma/
H A Dimx-sdma.c1538 enum dma_transfer_direction direction, u32 bds) in sdma_transfer_init() argument
1560 desc->num_bd = bds; in sdma_transfer_init()
1562 if (bds && sdma_alloc_bd(desc)) in sdma_transfer_init()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x.h664 #define NEXT_CNT_PER_TX_PKT(bds) \ argument
665 (((bds) + MAX_TX_DESC_CNT - 1) / \
H A Dbnx2x_hsi.h4649 union eth_tx_bd_types bds[13]; member