Home
last modified time | relevance | path

Searched refs:src_width (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v5.4/drivers/clk/renesas/
Dclk-div6.c41 u32 src_width; member
136 if (clock->src_width == 0) in cpg_div6_clock_get_parent()
140 (BIT(clock->src_width) - 1); in cpg_div6_clock_get_parent()
160 mask = ~((BIT(clock->src_width) - 1) << clock->src_shift); in cpg_div6_clock_set_parent()
239 clock->src_shift = clock->src_width = 0; in cpg_div6_register()
244 clock->src_width = 2; in cpg_div6_register()
249 clock->src_width = 3; in cpg_div6_register()
/Linux-v5.4/drivers/iio/buffer/
Dindustrialio-buffer-dmaengine.c144 unsigned int width, src_width, dest_width; in iio_dmaengine_buffer_alloc() local
165 src_width = __ffs(caps.src_addr_widths); in iio_dmaengine_buffer_alloc()
167 src_width = 1; in iio_dmaengine_buffer_alloc()
172 width = max(src_width, dest_width); in iio_dmaengine_buffer_alloc()
/Linux-v5.4/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c92 tpg->scaled_width = tpg->src_width = w; in tpg_init()
476 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
492 tpg->src_width = width; in tpg_reset_source()
1613 return bars[tpg->pattern][((x * 8) / tpg->src_width) % 8]; in tpg_get_color()
1615 return bars[1][(pat_line + (x * 8) / tpg->src_width) % 8]; in tpg_get_color()
1648 if (pat_line || (x % tpg->src_width) == tpg->src_width / 2) in tpg_get_color()
1652 if (pat_line || ((x % tpg->src_width) + 1) / 2 == tpg->src_width / 4) in tpg_get_color()
1656 if (pat_line || ((x % tpg->src_width) + 10) / 20 == tpg->src_width / 40) in tpg_get_color()
1660 return TPG_COLOR_RAMP + ((x % tpg->src_width) * 256) / tpg->src_width; in tpg_get_color()
1674 unsigned w = tpg->src_width; in tpg_calculate_square_border()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_overlay.c793 params->src_width); in intel_overlay_do_put_image()
795 tmp_width = params->src_width; in intel_overlay_do_put_image()
797 swidth = params->src_width; in intel_overlay_do_put_image()
808 swidth |= (params->src_width / uv_hscale) << 16; in intel_overlay_do_put_image()
812 params->src_width / uv_hscale); in intel_overlay_do_put_image()
814 params->src_width / uv_hscale); in intel_overlay_do_put_image()
954 rec->src_width > IMAGE_MAX_WIDTH_LEGACY) in check_overlay_src()
958 rec->src_width > IMAGE_MAX_WIDTH) in check_overlay_src()
964 rec->src_width < N_HORIZ_Y_TAPS*4) in check_overlay_src()
1000 if (rec->src_width % uv_hscale) in check_overlay_src()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb.c78 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()
Ddcn20_dwb_scl.c720 uint32_t src_width, in dwb_program_horz_scalar() argument
744 src_width, dest_width); in dwb_program_horz_scalar()
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c137 const struct dpu_format *fmt, u32 src_width) in _dpu_plane_calc_fill_level() argument
144 if (!fmt || !plane->state || !src_width || !fmt->bpp) { in _dpu_plane_calc_fill_level()
158 src_width, in _dpu_plane_calc_fill_level()
160 src_width = max_t(u32, src_width, in _dpu_plane_calc_fill_level()
168 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level()
172 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level()
177 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level()
180 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level()
187 src_width, total_fl); in _dpu_plane_calc_fill_level()
474 scale_cfg->src_width[i] = src_w; in _dpu_plane_setup_scaler3()
[all …]
Ddpu_hw_util.h111 u32 src_width[DPU_MAX_PLANES]; member
271 uint32_t src_width[DPU_MAX_PLANES]; member
Ddpu_hw_util.c231 src_y_rgb = (scaler3_cfg->src_width[0] & 0x1FFFF) | in dpu_hw_setup_scaler3()
234 src_uv = (scaler3_cfg->src_width[1] & 0x1FFFF) | in dpu_hw_setup_scaler3()
/Linux-v5.4/drivers/clk/qcom/
Dclk-regmap-mux-div.h31 u32 src_width; member
Dclk-regmap-mux-div.c31 ((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()
Dapcs-msm8916.c75 a53cc->src_width = 3; in qcom_apcs_msm8916_clk_probe()
/Linux-v5.4/include/uapi/linux/
Divtv.h58 __u32 src_width; member
/Linux-v5.4/include/linux/
Dsh_clk.h44 unsigned char src_width; /* configuration register */ member
185 .src_width = _src_width, \
/Linux-v5.4/drivers/sh/clk/
Dcpg.c219 if (!clk->src_width) { in sh_clk_init_parent()
225 val &= (1 << clk->src_width) - 1; in sh_clk_init_parent()
316 ~(((1 << clk->src_width) - 1) << clk->src_shift); in sh_clk_div6_set_parent()
/Linux-v5.4/drivers/dma/
Didma64.c237 u32 src_width, dst_width; in idma64_hw_desc_fill() local
244 src_width = __ffs(sar | hw->len | 4); in idma64_hw_desc_fill()
251 src_width = __ffs(config->src_addr_width); in idma64_hw_desc_fill()
263 IDMA64C_CTLL_SRC_WIDTH(src_width); in idma64_hw_desc_fill()
Dat_hdmac.c287 u32 src_width = ATC_REG_TO_SRC_WIDTH(ctrla); in atc_calc_bytes_left() local
295 return current_len - (btsize << src_width); in atc_calc_bytes_left()
810 unsigned int src_width; in atc_prep_dma_memcpy() local
832 src_width = dst_width = atc_get_xfer_width(src, dest, len); in atc_prep_dma_memcpy()
834 ctrla = ATC_SRC_WIDTH(src_width) | in atc_prep_dma_memcpy()
837 for (offset = 0; offset < len; offset += xfer_count << src_width) { in atc_prep_dma_memcpy()
838 xfer_count = min_t(size_t, (len - offset) >> src_width, in atc_prep_dma_memcpy()
851 desc->len = xfer_count << src_width; in atc_prep_dma_memcpy()
Ddma-axi-dmac.c115 unsigned int src_width; member
756 chan->src_width = val / 8; in axi_dmac_parse_chan_dt()
763 chan->address_align_mask = max(chan->dest_width, chan->src_width) - 1; in axi_dmac_parse_chan_dt()
887 dma_dev->src_addr_widths = BIT(dmac->chan.src_width); in axi_dmac_probe()
Dzx_dma.c462 enum zx_dma_burst_width src_width; in zx_pre_config() local
491 src_width = zx_dma_burst_width(cfg->src_addr_width); in zx_pre_config()
497 | ZX_SRC_BURST_WIDTH(src_width) in zx_pre_config()
498 | ZX_DST_BURST_WIDTH(src_width); in zx_pre_config()
/Linux-v5.4/drivers/media/platform/
Dimx-pxp.c725 u32 src_width, src_height, src_stride, src_fourcc; in pxp_start() local
737 src_width = ctx->q_data[V4L2_M2M_SRC].width; in pxp_start()
800 decx = (src_width <= dst_width) ? 0 : ilog2(src_width / dst_width); in pxp_start()
835 xscale = (src_width >> decx) * 0x1000 / dst_width; in pxp_start()
852 xscale = (src_width - 2) * 0x1000 / (dst_width - 1); in pxp_start()
855 xscale = (src_width - 1) * 0x1000 / (dst_width - 1); in pxp_start()
Dsh_veu.c747 u32 src_width, src_stride, src_height; in sh_veu_configure() local
754 src_width = veu->vfmt_in.frame.width; in sh_veu_configure()
768 src_width = sh_veu_scale_h(veu, src_width, real_w, dst_width); in sh_veu_configure()
772 sh_veu_reg_write(veu, VEU_SSR, src_width | (src_height << 16)); in sh_veu_configure()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
Ddm_services_types.h128 uint32_t src_width; member
/Linux-v5.4/sound/core/oss/
Dpcm_plugin.h44 int src_width; /* sample width in bits */ member
/Linux-v5.4/include/media/tpg/
Dv4l2-tpg.h135 unsigned src_width, src_height; member
445 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c629 u32 src_width; /* viewport width */ member
794 fixed20_12 src_width; in dce_v8_0_average_bandwidth() local
802 src_width.full = dfixed_const(wm->src_width); in dce_v8_0_average_bandwidth()
803 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v8_0_average_bandwidth()
855 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v8_0_latency_watermark()
920 u32 lb_partitions = wm->lb_size / wm->src_width; in dce_v8_0_check_latency_hiding()
985 wm_high.src_width = mode->crtc_hdisplay; in dce_v8_0_program_watermarks()
1024 wm_low.src_width = mode->crtc_hdisplay; in dce_v8_0_program_watermarks()

12