Searched refs:src_width (Results 1 - 25 of 52) sorted by relevance

123

/linux-master/drivers/clk/qcom/
H A Dclk-regmap-mux-div.h18 * @src_width: number of bits in source select
31 u32 src_width; member in struct:clk_regmap_mux_div
H A Dapcs-msm8916.c81 a53cc->src_width = 3;
H A Dapcs-sdx55.c78 a7cc->src_width = 3;
H A Dclk-regmap-mux-div.c31 ((BIT(md->src_width) - 1) << md->src_shift);
74 s &= BIT(md->src_width) - 1;
/linux-master/include/uapi/linux/
H A Divtv.h58 __u32 src_width; member in struct:ivtv_dma_frame
/linux-master/drivers/media/platform/amphion/
H A Dvpu_codec.h17 u32 src_width; member in struct:vpu_encode_params
H A Dvenc.c240 venc->params.src_width = cur_fmt->width;
361 u32 src_width; local
367 src_width = venc->params.src_width;
372 if (rect->left > src_width - min_width || rect->top > src_height - min_height)
375 rect->width = min(rect->width, src_width - rect->left);
406 venc->params.crop.width = venc->params.src_width;
1176 venc->params.src_width,
/linux-master/drivers/iio/buffer/
H A Dindustrialio-buffer-dmaengine.c166 unsigned int width, src_width, dest_width; local
187 src_width = __ffs(caps.src_addr_widths);
189 src_width = 1;
194 width = max(src_width, dest_width);
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_dwb.c78 REG_UPDATE_2(CNV_SOURCE_SIZE, CNV_SOURCE_WIDTH, params->cnv_params.src_width,
104 if ((params->cnv_params.src_width != params->dest_width) ||
164 if ((params->cnv_params.src_width != params->dest_width) ||
290 dwb_program_horz_scalar(dwbc20, params->cnv_params.src_width,
H A Ddcn20_dwb_scl.c720 uint32_t src_width,
743 src_width, dest_width);
719 dwb_program_horz_scalar(struct dcn20_dwbc *dwbc20, uint32_t src_width, uint32_t dest_width, struct scaling_taps num_taps) argument
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_plane.c120 int src_width, src_height, dst_height, fps; local
128 src_width = drm_rect_width(&pipe_cfg->src_rect);
139 plane_pixel_rate = src_width * mode->vtotal * fps;
192 * @src_width: width of source buffer
198 const struct dpu_format *fmt, u32 src_width)
204 if (!fmt || !pipe || !src_width || !fmt->bpp) {
215 /* FIXME: in multirect case account for the src_width of all the planes */
221 ((src_width + 32) * fmt->bpp);
225 ((src_width + 32) * fmt->bpp);
230 ((src_width
195 _dpu_plane_calc_fill_level(struct drm_plane *plane, struct dpu_sw_pipe *pipe, enum dpu_qos_lut_usage lut_usage, const struct dpu_format *fmt, u32 src_width) argument
537 u32 src_width = drm_rect_width(&pipe_cfg->src_rect); local
[all...]
H A Ddpu_hw_util.h90 * @ src_width: source width
126 u32 src_width[DPU_MAX_PLANES]; member in struct:dpu_hw_scaler3_cfg
244 * @src_width: Source width
288 uint32_t src_width[DPU_MAX_PLANES]; member in struct:dpu_drm_scaler_v2
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_overlay.c843 params->src_width);
845 tmp_width = params->src_width;
847 swidth = params->src_width;
858 swidth |= (params->src_width / uv_hscale) << 16;
862 params->src_width / uv_hscale);
864 params->src_width / uv_hscale);
1013 rec->src_width > IMAGE_MAX_WIDTH_LEGACY)
1017 rec->src_width > IMAGE_MAX_WIDTH)
1023 rec->src_width < N_HORIZ_Y_TAPS*4)
1059 if (rec->src_width
[all...]
/linux-master/include/linux/
H A Dsh_clk.h44 unsigned char src_width; /* configuration register */ member in struct:clk
185 .src_width = _src_width, \
/linux-master/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c92 tpg->scaled_width = tpg->src_width = w;
512 tpg->scaled_width = (tpg->src_width * tpg->compose.width +
528 tpg->src_width = width;
1622 * Note: x is in the range 0 to 2 * tpg->src_width.
1651 return bars[tpg->pattern][((x * 8) / tpg->src_width) % 8];
1653 return bars[1][(pat_line + (x * 8) / tpg->src_width) % 8];
1686 if (pat_line || (x % tpg->src_width) == tpg->src_width / 2)
1690 if (pat_line || ((x % tpg->src_width) + 1) / 2 == tpg->src_width /
[all...]
/linux-master/drivers/sh/clk/
H A Dcpg.c204 if (!clk->src_width) {
210 val &= (1 << clk->src_width) - 1;
301 ~(((1 << clk->src_width) - 1) << clk->src_shift);
/linux-master/drivers/gpu/drm/amd/display/dc/
H A Ddm_services_types.h128 uint32_t src_width; member in struct:dm_pp_single_disp_config
/linux-master/sound/core/oss/
H A Dpcm_plugin.h44 int src_width; /* sample width in bits */ member in struct:snd_pcm_plugin
/linux-master/drivers/dma/
H A Duniphier-xdmac.c134 u32 src_mode, src_width; local
156 src_width = FIELD_PREP(XDMAC_SADM_STW_MASK, __ffs(buswidth));
179 src_mode |= src_width;
H A Dat_hdmac.c624 u32 src_width = FIELD_GET(ATC_SRC_WIDTH, ctrla); local
632 return current_len - (btsize << src_width);
980 unsigned int src_width; local
1009 src_width = dst_width = atc_get_xfer_width(src, dest, len);
1011 ctrla = FIELD_PREP(ATC_SRC_WIDTH, src_width) |
1015 offset += xfer_count << src_width, i++) {
1025 xfer_count = min_t(size_t, (len - offset) >> src_width,
1033 desc->sg[i].len = xfer_count << src_width;
H A Didma64.c241 u32 src_width, dst_width; local
248 src_width = __ffs(sar | hw->len | 4);
255 src_width = __ffs(config->src_addr_width);
267 IDMA64C_CTLL_SRC_WIDTH(src_width);
H A Ddma-axi-dmac.c149 unsigned int src_width; member in struct:axi_dmac_chan
827 chan->address_align_mask = max(chan->dest_width, chan->src_width) - 1;
875 chan->src_width = val / 8;
940 chan->src_width = 1 << val;
1063 dma_dev->src_addr_widths = BIT(dmac->chan.src_width);
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
H A Ddce110_clk_mgr.c150 cfg->src_width = stream->src.width;
/linux-master/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_dwb.c71 REG_UPDATE_2(FC_SOURCE_SIZE, FC_SOURCE_WIDTH, params->cnv_params.src_width,
/linux-master/drivers/media/platform/nxp/
H A Dimx-pxp.c843 u32 src_width, src_height, src_stride, src_fourcc; local
855 src_width = ctx->q_data[V4L2_M2M_SRC].width;
924 decx = (src_width <= dst_width) ? 0 : ilog2(src_width / dst_width);
959 xscale = (src_width >> decx) * 0x1000 / dst_width;
976 xscale = (src_width - 2) * 0x1000 / (dst_width - 1);
979 xscale = (src_width - 1) * 0x1000 / (dst_width - 1);

Completed in 562 milliseconds

123