/openbmc/qemu/hw/display/ |
H A D | framebuffer.c | 29 unsigned src_width) in framebuffer_update_memory_section() argument 31 hwaddr src_len = (hwaddr)rows * src_width; in framebuffer_update_memory_section() 60 int src_width, /* Length of source line, in bytes. */ in framebuffer_update_display() argument 98 addr += i * src_width; in framebuffer_update_display() 99 src += i * src_width; in framebuffer_update_display() 102 snap = memory_region_snapshot_and_clear_dirty(mem, addr, src_width * rows, in framebuffer_update_display() 105 dirty = memory_region_snapshot_get_dirty(mem, snap, addr, src_width); in framebuffer_update_display() 112 addr += src_width; in framebuffer_update_display() 113 src += src_width; in framebuffer_update_display()
|
H A D | next-fb.c | 74 int src_width; in nextfb_update() local 79 src_width = s->cols / 4 + 8; in nextfb_update() 84 s->cols, src_width); in nextfb_update() 89 src_width, dest_width, 0, 1, nextfb_draw_line, in nextfb_update()
|
H A D | pl110.c | 218 int src_width; in pl110_update_display() local 268 src_width = s->cols; in pl110_update_display() 271 src_width >>= 3; in pl110_update_display() 274 src_width >>= 2; in pl110_update_display() 277 src_width >>= 1; in pl110_update_display() 284 src_width <<= 1; in pl110_update_display() 287 src_width <<= 2; in pl110_update_display() 295 s->rows, src_width); in pl110_update_display() 300 src_width, s->cols * 4, 0, in pl110_update_display()
|
H A D | framebuffer.h | 26 unsigned src_width); 56 int src_width,
|
H A D | bcm2835_fb.c | 158 int src_width = 0; in fb_update_display() local 166 src_width = bcm2835_fb_get_pitch(&s->config); in fb_update_display() 197 hwaddr base = s->config.base + xoff + (hwaddr)yoff * src_width; in fb_update_display() 200 s->config.yres, src_width); in fb_update_display() 205 src_width, dest_width, 0, s->invalidate, in fb_update_display()
|
/openbmc/linux/drivers/iio/buffer/ |
H 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()
|
/openbmc/linux/drivers/media/common/v4l2-tpg/ |
H A D | v4l2-tpg-core.c | 92 tpg->scaled_width = tpg->src_width = w; in tpg_init() 512 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose() 528 tpg->src_width = width; in tpg_reset_source() 1651 return bars[tpg->pattern][((x * 8) / tpg->src_width) % 8]; in tpg_get_color() 1653 return bars[1][(pat_line + (x * 8) / tpg->src_width) % 8]; in tpg_get_color() 1686 if (pat_line || (x % tpg->src_width) == tpg->src_width / 2) in tpg_get_color() 1690 if (pat_line || ((x % tpg->src_width) + 1) / 2 == tpg->src_width / 4) in tpg_get_color() 1694 if (pat_line || ((x % tpg->src_width) + 10) / 20 == tpg->src_width / 40) in tpg_get_color() 1698 return TPG_COLOR_RAMP + ((x % tpg->src_width) * 256) / tpg->src_width; in tpg_get_color() 1712 unsigned w = tpg->src_width; in tpg_calculate_square_border() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_overlay.c | 841 params->src_width); in intel_overlay_do_put_image() 843 tmp_width = params->src_width; in intel_overlay_do_put_image() 845 swidth = params->src_width; in intel_overlay_do_put_image() 856 swidth |= (params->src_width / uv_hscale) << 16; in intel_overlay_do_put_image() 860 params->src_width / uv_hscale); in intel_overlay_do_put_image() 862 params->src_width / uv_hscale); in intel_overlay_do_put_image() 1011 rec->src_width > IMAGE_MAX_WIDTH_LEGACY) in check_overlay_src() 1015 rec->src_width > IMAGE_MAX_WIDTH) in check_overlay_src() 1021 rec->src_width < N_HORIZ_Y_TAPS*4) in check_overlay_src() 1057 if (rec->src_width % uv_hscale) in check_overlay_src() [all …]
|
/openbmc/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()
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_plane.c | 121 int src_width, src_height, dst_height, fps; in _dpu_plane_calc_bw() local 129 src_width = drm_rect_width(&pipe_cfg->src_rect); in _dpu_plane_calc_bw() 140 plane_pixel_rate = src_width * mode->vtotal * fps; in _dpu_plane_calc_bw() 199 const struct dpu_format *fmt, u32 src_width) in _dpu_plane_calc_fill_level() argument 205 if (!fmt || !pipe || !src_width || !fmt->bpp) { in _dpu_plane_calc_fill_level() 222 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 226 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 231 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 234 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 241 src_width, total_fl); in _dpu_plane_calc_fill_level() [all …]
|
H A D | dpu_hw_util.h | 120 u32 src_width[DPU_MAX_PLANES]; member 282 uint32_t src_width[DPU_MAX_PLANES]; member
|
/openbmc/qemu/target/hexagon/idef-parser/ |
H A D | parser-helpers.c | 997 HexValue *src_width, in gen_extend_imm_width_op() argument 1012 assert(src_width->type == IMMEDIATE); in gen_extend_imm_width_op() 1015 need_guarding = (src_width->imm.type != VALUE); in gen_extend_imm_width_op() 1017 if (src_width->imm.type == VALUE && in gen_extend_imm_width_op() 1018 src_width->imm.value == 0) { in gen_extend_imm_width_op() 1036 OUT(c, locp, "if (", src_width, " != 0) {\n"); in gen_extend_imm_width_op() 1039 OUT(c, locp, "(", value, ", 0, ", src_width, ");\n"); in gen_extend_imm_width_op() 1056 OUT(c, locp, "if (", src_width, " != 0) {\n"); in gen_extend_imm_width_op() 1059 OUT(c, locp, "(", &res, ", ", value, ", 0, ", src_width, in gen_extend_imm_width_op() 1078 HexValue *src_width, in gen_extend_tcg_width_op() argument [all …]
|
/openbmc/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()
|
/openbmc/linux/include/uapi/linux/ |
H A D | ivtv.h | 58 __u32 src_width; member
|
/openbmc/linux/include/linux/ |
H A D | sh_clk.h | 44 unsigned char src_width; /* configuration register */ member 185 .src_width = _src_width, \
|
/openbmc/linux/drivers/sh/clk/ |
H 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()
|
/openbmc/linux/drivers/media/platform/amphion/ |
H A D | vpu_codec.h | 17 u32 src_width; member
|
H A D | venc.c | 240 venc->params.src_width = cur_fmt->width; in venc_s_fmt() 361 u32 src_width; in venc_valid_crop() local 367 src_width = venc->params.src_width; in venc_valid_crop() 372 if (rect->left > src_width - min_width || rect->top > src_height - min_height) in venc_valid_crop() 375 rect->width = min(rect->width, src_width - rect->left); in venc_valid_crop() 406 venc->params.crop.width = venc->params.src_width; in venc_s_selection() 1174 venc->params.src_width, in venc_get_debug_info()
|
/openbmc/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 | dma-axi-dmac.c | 130 unsigned int src_width; member 735 chan->address_align_mask = max(chan->dest_width, chan->src_width) - 1; in axi_dmac_adjust_chan_params() 783 chan->src_width = val / 8; in axi_dmac_parse_chan_dt() 848 chan->src_width = 1 << val; in axi_dmac_read_chan_config() 966 dma_dev->src_addr_widths = BIT(dmac->chan.src_width); in axi_dmac_probe()
|
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()
|
/openbmc/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()
|