Home
last modified time | relevance | path

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

/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.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()
H A Dipu3.h91 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 return &sd->rect.bds; in imgu_subdev_get_compose()
760 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/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
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h70 #define SET_TX_OPAQUE(bp, txr, idx, bds) \ argument
72 ((bds) << TX_OPAQUE_BDS_SHIFT) | ((idx) & (bp)->tx_ring_mask))