Home
last modified time | relevance | path

Searched refs:out_depth (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_postproc.c121 int out_depth; in hantro_postproc_g2_enable() local
141 out_depth = hantro_get_format_depth(ctx->dst_fmt.pixelformat); in hantro_postproc_g2_enable()
145 if (out_depth > 8) in hantro_postproc_g2_enable()
146 pp_shift = 16 - out_depth; in hantro_postproc_g2_enable()
148 hantro_reg_write(ctx->dev, &g2_rs_out_bit_depth, out_depth); in hantro_postproc_g2_enable()
151 hantro_reg_write(vpu, &g2_output_8_bits, out_depth > 8 ? 0 : 1); in hantro_postproc_g2_enable()
152 hantro_reg_write(vpu, &g2_output_format, out_depth > 8 ? 1 : 0); in hantro_postproc_g2_enable()
/openbmc/linux/drivers/gpu/drm/arm/
H A Dmalidp_drv.c713 u32 version, out_depth = 0; in malidp_bind() local
807 out_depth = (out_depth << 8) | (output_width[i] & 0xf); in malidp_bind()
808 malidp_hw_write(hwdev, out_depth, hwdev->hw->map.out_depth_base); in malidp_bind()
809 hwdev->output_color_depth = out_depth; in malidp_bind()