| /linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
| H A D | dcn20_dwb.c | 78 REG_UPDATE_2(CNV_SOURCE_SIZE, CNV_SOURCE_WIDTH, params->cnv_params.src_width, in dwb2_config_dwb_cnv() 104 if ((params->cnv_params.src_width != params->dest_width) || in dwb2_enable() 164 if ((params->cnv_params.src_width != params->dest_width) || in dwb2_update() 290 dwb_program_horz_scalar(dwbc20, params->cnv_params.src_width, in dwb2_set_scaler()
|
| H A D | dcn20_dwb.h | 424 uint32_t src_width,
|
| /linux/drivers/iio/buffer/ |
| H A D | industrialio-buffer-dmaengine.c | 219 unsigned int width, src_width, dest_width; in iio_dmaengine_buffer_alloc() local 233 src_width = __ffs(caps.src_addr_widths); in iio_dmaengine_buffer_alloc() 235 src_width = 1; in iio_dmaengine_buffer_alloc() 240 width = max(src_width, dest_width); in iio_dmaengine_buffer_alloc()
|
| /linux/drivers/clk/qcom/ |
| H A D | clk-regmap-mux-div.h | 31 u32 src_width; member
|
| H A D | clk-regmap-mux-div.c | 31 ((BIT(md->src_width) - 1) << md->src_shift); in mux_div_set_src_div() 74 s &= BIT(md->src_width) - 1; in mux_div_get_src_div()
|
| H A D | apcs-sdx55.c | 78 a7cc->src_width = 3; in qcom_apcs_sdx55_clk_probe()
|
| H A D | apcs-msm8916.c | 81 a53cc->src_width = 3; in qcom_apcs_msm8916_clk_probe()
|
| /linux/include/linux/ |
| H A D | sh_clk.h | 44 unsigned char src_width; /* configuration register */ member 185 .src_width = _src_width, \
|
| /linux/drivers/sh/clk/ |
| H A D | cpg.c | 207 if (!clk->src_width) { in sh_clk_init_parent() 213 val &= (1 << clk->src_width) - 1; in sh_clk_init_parent() 304 ~(((1 << clk->src_width) - 1) << clk->src_shift); in sh_clk_div6_set_parent()
|
| /linux/drivers/media/platform/amphion/ |
| H A D | vpu_codec.h | 17 u32 src_width; member
|
| H A D | venc.c | 237 venc->params.src_width = cur_fmt->width; in venc_s_fmt() 358 u32 src_width; in venc_valid_crop() local 364 src_width = venc->params.src_width; in venc_valid_crop() 369 if (rect->left > src_width - min_width || rect->top > src_height - min_height) in venc_valid_crop() 372 rect->width = min(rect->width, src_width - rect->left); in venc_valid_crop() 403 venc->params.crop.width = venc->params.src_width; in venc_s_selection() 1186 venc->params.src_width, in venc_get_debug_info()
|
| H A D | vpu_windsor.c | 404 u32 src_width; member 991 windsor->src_width = params->src_width; in vpu_windsor_set_size()
|
| /linux/drivers/dma/ |
| H A D | idma64.c | 245 u32 src_width, dst_width; in idma64_hw_desc_fill() local 252 src_width = __ffs(sar | hw->len | 4); in idma64_hw_desc_fill() 259 src_width = __ffs(config->src_addr_width); in idma64_hw_desc_fill() 271 IDMA64C_CTLL_SRC_WIDTH(src_width); in idma64_hw_desc_fill()
|
| H A D | uniphier-xdmac.c | 134 u32 src_mode, src_width; in uniphier_xdmac_chan_start() local 156 src_width = FIELD_PREP(XDMAC_SADM_STW_MASK, __ffs(buswidth)); in uniphier_xdmac_chan_start() 179 src_mode |= src_width; in uniphier_xdmac_chan_start()
|
| H A D | at_hdmac.c | 624 u32 src_width = FIELD_GET(ATC_SRC_WIDTH, ctrla); in atc_calc_bytes_left() local 632 return current_len - (btsize << src_width); in atc_calc_bytes_left() 980 unsigned int src_width; in atc_prep_dma_memcpy() local 1009 src_width = dst_width = atc_get_xfer_width(src, dest, len); in atc_prep_dma_memcpy() 1011 ctrla = FIELD_PREP(ATC_SRC_WIDTH, src_width) | in atc_prep_dma_memcpy() 1015 offset += xfer_count << src_width, i++) { in atc_prep_dma_memcpy() 1025 xfer_count = min_t(size_t, (len - offset) >> src_width, in atc_prep_dma_memcpy() 1033 desc->sg[i].len = xfer_count << src_width; in atc_prep_dma_memcpy()
|
| H A D | sun6i-dma.c | 609 s8 src_width, dst_width, src_burst, dst_burst; in set_config() local 636 src_width = convert_buswidth(src_addr_width); in set_config() 643 *p_cfg = DMA_CHAN_CFG_SRC_WIDTH(src_width) | in set_config()
|
| /linux/drivers/media/platform/nxp/ |
| H A D | imx-pxp.c | 843 u32 src_width, src_height, src_stride, src_fourcc; in pxp_start() local 855 src_width = ctx->q_data[V4L2_M2M_SRC].width; in pxp_start() 924 decx = (src_width <= dst_width) ? 0 : ilog2(src_width / dst_width); in pxp_start() 959 xscale = (src_width >> decx) * 0x1000 / dst_width; in pxp_start() 976 xscale = (src_width - 2) * 0x1000 / (dst_width - 1); in pxp_start() 979 xscale = (src_width - 1) * 0x1000 / (dst_width - 1); in pxp_start()
|
| /linux/sound/core/oss/ |
| H A D | pcm_plugin.h | 44 int src_width; /* sample width in bits */ member
|
| H A D | pcm_plugin.c | 157 plugin->src_width = snd_pcm_format_physical_width(src_format->format); in snd_pcm_plugin_build() 158 snd_BUG_ON(plugin->src_width <= 0); in snd_pcm_plugin_build()
|
| /linux/include/media/tpg/ |
| H A D | v4l2-tpg.h | 135 unsigned src_width, src_height; member 448 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
|
| /linux/drivers/dma/dw/ |
| H A D | core.c | 549 unsigned int src_width; in dwc_prep_dma_memcpy() local 566 src_width = dst_width = __ffs(data_width | src | dest | len); in dwc_prep_dma_memcpy() 570 | DWC_CTLL_SRC_WIDTH(src_width) in dwc_prep_dma_memcpy() 581 ctlhi = dw->bytes2block(dwc, len - offset, src_width, &xfer_count); in dwc_prep_dma_memcpy()
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/ |
| H A D | dce_calcs.h | 391 struct bw_fixed src_width[maximum_number_of_surfaces]; member
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_types.h | 415 unsigned int src_width; /* input active width */ member
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_translation_helper.c | 1244 out->ActiveWritebacksPerSurface[location] = wb_info->dwb_params.cnv_params.src_width; in populate_dml_writeback_cfg_from_stream_state() 1250 wb_info->dwb_params.cnv_params.src_width; in populate_dml_writeback_cfg_from_stream_state() 1264 (double)wb_info->dwb_params.cnv_params.src_width / in populate_dml_writeback_cfg_from_stream_state()
|
| /linux/drivers/gpu/drm/amd/display/dc/basics/ |
| H A D | calcs_logger.h | 423 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] src_width[%d]:%d", i, bw_fixed_to_int(data->src_width[i])); in print_bw_calcs_data()
|