/Linux-v4.19/drivers/clk/renesas/ |
D | clk-div6.c | 44 u32 src_width; member 139 if (clock->src_width == 0) in cpg_div6_clock_get_parent() 143 (BIT(clock->src_width) - 1); in cpg_div6_clock_get_parent() 163 mask = ~((BIT(clock->src_width) - 1) << clock->src_shift); in cpg_div6_clock_set_parent() 249 clock->src_shift = clock->src_width = 0; in cpg_div6_register() 254 clock->src_width = 2; in cpg_div6_register() 259 clock->src_width = 3; in cpg_div6_register()
|
/Linux-v4.19/drivers/iio/buffer/ |
D | industrialio-buffer-dmaengine.c | 145 unsigned int width, src_width, dest_width; in iio_dmaengine_buffer_alloc() local 166 src_width = __ffs(caps.src_addr_widths); in iio_dmaengine_buffer_alloc() 168 src_width = 1; in iio_dmaengine_buffer_alloc() 173 width = max(src_width, dest_width); in iio_dmaengine_buffer_alloc()
|
/Linux-v4.19/drivers/media/common/v4l2-tpg/ |
D | v4l2-tpg-core.c | 92 tpg->scaled_width = tpg->src_width = w; in tpg_init() 426 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose() 442 tpg->src_width = width; in tpg_reset_source() 1463 return bars[tpg->pattern][((x * 8) / tpg->src_width) % 8]; in tpg_get_color() 1465 return bars[1][(pat_line + (x * 8) / tpg->src_width) % 8]; in tpg_get_color() 1498 if (pat_line || (x % tpg->src_width) == tpg->src_width / 2) in tpg_get_color() 1502 if (pat_line || ((x % tpg->src_width) + 1) / 2 == tpg->src_width / 4) in tpg_get_color() 1506 if (pat_line || ((x % tpg->src_width) + 10) / 20 == tpg->src_width / 40) in tpg_get_color() 1510 return TPG_COLOR_RAMP + ((x % tpg->src_width) * 256) / tpg->src_width; in tpg_get_color() 1524 unsigned w = tpg->src_width; in tpg_calculate_square_border() [all …]
|
/Linux-v4.19/drivers/clk/qcom/ |
D | clk-regmap-mux-div.h | 31 u32 src_width; member
|
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()
|
D | apcs-msm8916.c | 75 a53cc->src_width = 3; in qcom_apcs_msm8916_clk_probe()
|
/Linux-v4.19/include/uapi/linux/ |
D | ivtv.h | 58 __u32 src_width; member
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_plane.c | 154 const struct dpu_format *fmt, u32 src_width) in _dpu_plane_calc_fill_level() argument 161 if (!plane || !fmt || !plane->state || !src_width || !fmt->bpp) { in _dpu_plane_calc_fill_level() 175 src_width, in _dpu_plane_calc_fill_level() 177 src_width = max_t(u32, src_width, in _dpu_plane_calc_fill_level() 185 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 189 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 194 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 197 ((src_width + 32) * fmt->bpp); in _dpu_plane_calc_fill_level() 204 src_width, total_fl); in _dpu_plane_calc_fill_level() 657 scale_cfg->src_width[i] = src_w; in _dpu_plane_setup_scaler3() [all …]
|
D | dpu_hw_util.h | 120 u32 src_width[DPU_MAX_PLANES]; member 290 uint32_t src_width[DPU_MAX_PLANES]; member
|
D | dpu_hw_util.c | 242 src_y_rgb = (scaler3_cfg->src_width[0] & 0x1FFFF) | in dpu_hw_setup_scaler3() 245 src_uv = (scaler3_cfg->src_width[1] & 0x1FFFF) | in dpu_hw_setup_scaler3()
|
/Linux-v4.19/include/linux/ |
D | sh_clk.h | 44 unsigned char src_width; /* configuration register */ member 185 .src_width = _src_width, \
|
/Linux-v4.19/drivers/sh/clk/ |
D | cpg.c | 219 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-v4.19/drivers/gpu/drm/i915/ |
D | intel_overlay.c | 969 rec->src_width > IMAGE_MAX_WIDTH_LEGACY) in check_overlay_src() 973 rec->src_width > IMAGE_MAX_WIDTH) in check_overlay_src() 979 rec->src_width < N_HORIZ_Y_TAPS*4) in check_overlay_src() 1015 if (rec->src_width % uv_hscale) in check_overlay_src() 1039 if (packed_width_bytes(rec->flags, rec->src_width) > rec->stride_Y) in check_overlay_src() 1048 if (rec->src_width > rec->stride_Y) in check_overlay_src() 1050 if (rec->src_width/uv_hscale > rec->stride_UV) in check_overlay_src() 1165 params->src_w = put_image_rec->src_width; in intel_overlay_put_image_ioctl()
|
/Linux-v4.19/drivers/dma/ |
D | idma64.c | 242 u32 src_width, dst_width; in idma64_hw_desc_fill() local 249 src_width = __ffs(sar | hw->len | 4); in idma64_hw_desc_fill() 256 src_width = __ffs(config->src_addr_width); in idma64_hw_desc_fill() 268 IDMA64C_CTLL_SRC_WIDTH(src_width); in idma64_hw_desc_fill()
|
D | dma-axi-dmac.c | 106 unsigned int src_width; member 574 chan->src_width = val / 8; in axi_dmac_parse_chan_dt() 590 chan->align_mask = max(chan->dest_width, chan->src_width) - 1; in axi_dmac_parse_chan_dt() 666 dma_dev->src_addr_widths = BIT(dmac->chan.src_width); in axi_dmac_probe()
|
D | dma-jz4740.c | 211 enum jz4740_dma_width src_width; in jz4740_dma_slave_config() local 232 src_width = jz4740_dma_width(config->src_addr_width); in jz4740_dma_slave_config() 254 cmd |= src_width << JZ_DMA_CMD_SRC_WIDTH_OFFSET; in jz4740_dma_slave_config()
|
D | at_hdmac.c | 293 u32 src_width = ATC_REG_TO_SRC_WIDTH(ctrla); in atc_calc_bytes_left() local 301 return current_len - (btsize << src_width); in atc_calc_bytes_left() 816 unsigned int src_width; in atc_prep_dma_memcpy() local 838 src_width = dst_width = atc_get_xfer_width(src, dest, len); in atc_prep_dma_memcpy() 840 ctrla = ATC_SRC_WIDTH(src_width) | in atc_prep_dma_memcpy() 843 for (offset = 0; offset < len; offset += xfer_count << src_width) { in atc_prep_dma_memcpy() 844 xfer_count = min_t(size_t, (len - offset) >> src_width, in atc_prep_dma_memcpy() 857 desc->len = xfer_count << src_width; in atc_prep_dma_memcpy()
|
D | zx_dma.c | 465 enum zx_dma_burst_width src_width; in zx_pre_config() local 494 src_width = zx_dma_burst_width(cfg->src_addr_width); in zx_pre_config() 500 | ZX_SRC_BURST_WIDTH(src_width) in zx_pre_config() 501 | ZX_DST_BURST_WIDTH(src_width); in zx_pre_config()
|
/Linux-v4.19/drivers/media/platform/ |
D | sh_veu.c | 757 u32 src_width, src_stride, src_height; in sh_veu_configure() local 764 src_width = veu->vfmt_in.frame.width; in sh_veu_configure() 778 src_width = sh_veu_scale_h(veu, src_width, real_w, dst_width); in sh_veu_configure() 782 sh_veu_reg_write(veu, VEU_SSR, src_width | (src_height << 16)); in sh_veu_configure()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/ |
D | dm_services_types.h | 120 uint32_t src_width; member
|
/Linux-v4.19/sound/core/oss/ |
D | pcm_plugin.h | 59 int src_width; /* sample width in bits */ member
|
/Linux-v4.19/include/media/tpg/ |
D | v4l2-tpg.h | 135 unsigned src_width, src_height; member 445 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v8_0.c | 621 u32 src_width; /* viewport width */ member 786 fixed20_12 src_width; in dce_v8_0_average_bandwidth() local 794 src_width.full = dfixed_const(wm->src_width); in dce_v8_0_average_bandwidth() 795 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v8_0_average_bandwidth() 847 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v8_0_latency_watermark() 912 u32 lb_partitions = wm->lb_size / wm->src_width; in dce_v8_0_check_latency_hiding() 977 wm_high.src_width = mode->crtc_hdisplay; in dce_v8_0_program_watermarks() 1016 wm_low.src_width = mode->crtc_hdisplay; in dce_v8_0_program_watermarks()
|
D | dce_v6_0.c | 483 u32 src_width; /* viewport width */ member 648 fixed20_12 src_width; in dce_v6_0_average_bandwidth() local 656 src_width.full = dfixed_const(wm->src_width); in dce_v6_0_average_bandwidth() 657 bandwidth.full = dfixed_mul(src_width, bpp); in dce_v6_0_average_bandwidth() 709 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v6_0_latency_watermark() 774 u32 lb_partitions = wm->lb_size / wm->src_width; in dce_v6_0_check_latency_hiding() 848 wm_high.src_width = mode->crtc_hdisplay; in dce_v6_0_program_watermarks() 875 wm_low.src_width = mode->crtc_hdisplay; in dce_v6_0_program_watermarks()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dce_calcs.c | 385 data->src_width[maximum_number_of_surfaces - 2] = data->src_width[5]; in calculate_bandwidth() 386 data->src_width[maximum_number_of_surfaces - 1] = data->src_width[5]; in calculate_bandwidth() 389 data->pitch_in_pixels[maximum_number_of_surfaces - 2] = data->src_width[5]; in calculate_bandwidth() 390 data->pitch_in_pixels[maximum_number_of_surfaces - 1] = data->src_width[5]; in calculate_bandwidth() 423 data->src_width_after_surface_type = bw_div(data->src_width[i], bw_int_to_fixed(2)); in calculate_bandwidth() 430 data->src_width_after_surface_type = data->src_width[i]; in calculate_bandwidth() 2796 data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.width); in populate_initial_data() 2797 data->pitch_in_pixels[num_displays + 4] = data->src_width[num_displays + 4]; in populate_initial_data() 2851 …data->src_width[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.vi… in populate_initial_data() 2894 data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.width); in populate_initial_data() [all …]
|