Lines Matching +full:0 +full:x409

71 	{ DRM_FORMAT_RGB565, SCALER_RGB_565, 0, 0 },
72 { DRM_FORMAT_XRGB1555, SCALER_ARGB1555, 0, 0 },
73 { DRM_FORMAT_ARGB1555, SCALER_ARGB1555, 0, 0 },
74 { DRM_FORMAT_XRGB4444, SCALER_ARGB4444, 0, 0 },
75 { DRM_FORMAT_ARGB4444, SCALER_ARGB4444, 0, 0 },
76 { DRM_FORMAT_XRGB8888, SCALER_ARGB8888, 0, 0 },
77 { DRM_FORMAT_ARGB8888, SCALER_ARGB8888, 0, 0 },
78 { DRM_FORMAT_RGBX8888, SCALER_RGBA8888, 0, 0 },
79 { DRM_FORMAT_RGBA8888, SCALER_RGBA8888, 0, 0 },
86 for (i = 0; i < ARRAY_SIZE(scaler_formats); i++) in scaler_get_format()
105 } while (--retry > 0 && scaler_read(SCALER_INT_EN) != 1); in scaler_reset()
107 return retry ? 0 : -EIO; in scaler_reset()
162 for (i = 0; i < src_buf->format->num_planes; ++i) in scaler_set_src_base()
171 val = SCALER_SRC_SPAN_SET_Y_SPAN(src_buf->buf.pitch[0] / in scaler_set_src_span()
172 src_buf->format->cpp[0]); in scaler_set_src_span()
225 for (i = 0; i < dst_buf->format->num_planes; ++i) in scaler_set_dst_base()
234 val = SCALER_DST_SPAN_SET_Y_SPAN(dst_buf->buf.pitch[0] / in scaler_set_dst_span()
235 dst_buf->format->cpp[0]); in scaler_set_dst_span()
288 u32 val = 0; in scaler_set_rotation()
308 {0x254, 0x000, 0x331}, in scaler_set_csc()
309 {0x254, 0xf38, 0xe60}, in scaler_set_csc()
310 {0x254, 0x409, 0x000}, in scaler_set_csc()
313 {0x084, 0x102, 0x032}, in scaler_set_csc()
314 {0xfb4, 0xf6b, 0x0e1}, in scaler_set_csc()
315 {0x0e1, 0xf44, 0xfdc}, in scaler_set_csc()
333 dir = 0; in scaler_set_csc()
336 for (i = 0; i < 3; i++) in scaler_set_csc()
337 for (j = 0; j < 3; j++) in scaler_set_csc()
366 int ret = 0; in scaler_commit()
372 if (ret < 0) in scaler_commit()
381 scaler, src_fmt->internal_fmt, task->src.buf.modifier != 0); in scaler_commit()
398 scaler_set_timer(scaler, 0xffff, 0xf); in scaler_commit()
403 return 0; in scaler_commit()
412 scaler_write(0, SCALER_INT_EN); in scaler_disable_int()
426 return val & SCALER_INT_STATUS_FRAME_END ? 0 : -EINVAL; in scaler_task_done()
467 return 0; in scaler_bind()
501 scaler->regs = devm_platform_ioremap_resource(pdev, 0); in scaler_probe()
505 irq = platform_get_irq(pdev, 0); in scaler_probe()
506 if (irq < 0) in scaler_probe()
511 if (ret < 0) { in scaler_probe()
516 for (i = 0; i < scaler->scaler_data->num_clk; ++i) { in scaler_probe()
534 return 0; in scaler_probe()
555 return 0; in clk_disable_unprepare_wrapper()
564 for (i = 0; i < scaler->scaler_data->num_clk; ++i) in scaler_clk_ctrl()
567 return 0; in scaler_clk_ctrl()