/linux/drivers/media/common/v4l2-tpg/ |
A D | v4l2-tpg-core.c | 92 tpg->scaled_width = tpg->src_width = w; in tpg_init() 492 tpg->src_width = width; in tpg_reset_source() 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() 2059 tpg->mv_hor_step = tpg->src_width - tpg->mv_hor_step; in tpg_update_mv_step() 2208 tpg->src_width, tpg->src_height, in tpg_log_status() 2264 tpg->src_width); in tpg_fill_params_pattern() [all …]
|
/linux/drivers/iio/buffer/ |
A D | industrialio-buffer-dmaengine.c | 166 unsigned int width, src_width, dest_width; in iio_dmaengine_buffer_alloc() local 187 src_width = __ffs(caps.src_addr_widths); in iio_dmaengine_buffer_alloc() 189 src_width = 1; in iio_dmaengine_buffer_alloc() 194 width = max(src_width, dest_width); in iio_dmaengine_buffer_alloc()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_overlay.c | 839 params->src_width); in intel_overlay_do_put_image() 841 tmp_width = params->src_width; in intel_overlay_do_put_image() 843 swidth = params->src_width; in intel_overlay_do_put_image() 858 params->src_width / uv_hscale); in intel_overlay_do_put_image() 860 params->src_width / uv_hscale); in intel_overlay_do_put_image() 1000 rec->src_width > IMAGE_MAX_WIDTH_LEGACY) in check_overlay_src() 1004 rec->src_width > IMAGE_MAX_WIDTH) in check_overlay_src() 1010 rec->src_width < N_HORIZ_Y_TAPS*4) in check_overlay_src() 1046 if (rec->src_width % uv_hscale) in check_overlay_src() 1079 if (rec->src_width > rec->stride_Y) in check_overlay_src() [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_plane.c | 160 int src_width, src_height, dst_height, fps; in _dpu_plane_calc_bw() local 184 src_width * mode->vtotal * fps * fmt->bpp * in _dpu_plane_calc_bw() 261 src_width, in _dpu_plane_calc_fill_level() 263 src_width = max_t(u32, src_width, in _dpu_plane_calc_fill_level() 271 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 275 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 280 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 283 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 290 src_width, total_fl); in _dpu_plane_calc_fill_level() 574 scale_cfg->src_width[i] = src_w; in _dpu_plane_setup_scaler3() [all …]
|
A D | dpu_hw_util.h | 113 u32 src_width[DPU_MAX_PLANES]; member 275 uint32_t src_width[DPU_MAX_PLANES]; member
|
A D | dpu_hw_util.c | 295 src_y_rgb = (scaler3_cfg->src_width[0] & 0x1FFFF) | in dpu_hw_setup_scaler3() 298 src_uv = (scaler3_cfg->src_width[1] & 0x1FFFF) | in dpu_hw_setup_scaler3()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
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()
|
A D | dcn20_dwb_scl.c | 720 uint32_t src_width, in dwb_program_horz_scalar() argument 743 src_width, dest_width); in dwb_program_horz_scalar()
|
/linux/include/linux/ |
A D | sh_clk.h | 44 unsigned char src_width; /* configuration register */ member 185 .src_width = _src_width, \
|
/linux/drivers/sh/clk/ |
A D | cpg.c | 204 if (!clk->src_width) { in sh_clk_init_parent() 210 val &= (1 << clk->src_width) - 1; in sh_clk_init_parent() 301 ~(((1 << clk->src_width) - 1) << clk->src_shift); in sh_clk_div6_set_parent()
|
/linux/drivers/clk/qcom/ |
A D | clk-regmap-mux-div.h | 31 u32 src_width; member
|
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()
|
A D | apcs-sdx55.c | 78 a7cc->src_width = 3; in qcom_apcs_sdx55_clk_probe()
|
A D | apcs-msm8916.c | 81 a53cc->src_width = 3; in qcom_apcs_msm8916_clk_probe()
|
/linux/include/uapi/linux/ |
A D | ivtv.h | 58 __u32 src_width; member
|
/linux/drivers/dma/ |
A D | idma64.c | 237 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()
|
A D | dma-axi-dmac.c | 126 unsigned int src_width; member 731 chan->address_align_mask = max(chan->dest_width, chan->src_width) - 1; in axi_dmac_adjust_chan_params() 779 chan->src_width = val / 8; in axi_dmac_parse_chan_dt() 844 chan->src_width = 1 << val; in axi_dmac_read_chan_config() 965 dma_dev->src_addr_widths = BIT(dmac->chan.src_width); in axi_dmac_probe()
|
A D | at_hdmac.c | 297 u32 src_width = ATC_REG_TO_SRC_WIDTH(ctrla); in atc_calc_bytes_left() local 305 return current_len - (btsize << src_width); in atc_calc_bytes_left() 827 unsigned int src_width; in atc_prep_dma_memcpy() local 849 src_width = dst_width = atc_get_xfer_width(src, dest, len); in atc_prep_dma_memcpy() 851 ctrla = ATC_SRC_WIDTH(src_width) | in atc_prep_dma_memcpy() 854 for (offset = 0; offset < len; offset += xfer_count << src_width) { in atc_prep_dma_memcpy() 855 xfer_count = min_t(size_t, (len - offset) >> src_width, in atc_prep_dma_memcpy() 868 desc->len = xfer_count << src_width; in atc_prep_dma_memcpy()
|
A D | uniphier-xdmac.c | 134 u32 src_mode, src_addr, src_width; in uniphier_xdmac_chan_start() local 155 src_width = FIELD_PREP(XDMAC_SADM_STW_MASK, __ffs(buswidth)); in uniphier_xdmac_chan_start() 178 src_mode |= src_width; in uniphier_xdmac_chan_start()
|
/linux/drivers/media/platform/ |
A D | imx-pxp.c | 725 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()
|
/linux/drivers/gpu/drm/amd/display/dc/ |
A D | dm_services_types.h | 128 uint32_t src_width; member
|
/linux/include/media/tpg/ |
A D | v4l2-tpg.h | 135 unsigned src_width, src_height; member 447 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
|
/linux/sound/core/oss/ |
A D | pcm_plugin.h | 44 int src_width; /* sample width in bits */ member
|
/linux/drivers/dma/dw/ |
A D | core.c | 551 unsigned int src_width; in dwc_prep_dma_memcpy() local 568 src_width = dst_width = __ffs(data_width | src | dest | len); in dwc_prep_dma_memcpy() 572 | DWC_CTLL_SRC_WIDTH(src_width) in dwc_prep_dma_memcpy() 583 ctlhi = dw->bytes2block(dwc, len - offset, src_width, &xfer_count); in dwc_prep_dma_memcpy()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | dce_v8_0.c | 636 u32 src_width; /* viewport width */ member 801 fixed20_12 src_width; in dce_v8_0_average_bandwidth() local 809 src_width.full = dfixed_const(wm->src_width); in dce_v8_0_average_bandwidth() 810 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v8_0_average_bandwidth() 862 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v8_0_latency_watermark() 927 u32 lb_partitions = wm->lb_size / wm->src_width; in dce_v8_0_check_latency_hiding() 992 wm_high.src_width = mode->crtc_hdisplay; in dce_v8_0_program_watermarks() 1031 wm_low.src_width = mode->crtc_hdisplay; in dce_v8_0_program_watermarks()
|