Home
last modified time | relevance | path

Searched refs:dsi2 (Results 1 – 9 of 9) sorted by relevance

/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/
Ddw-mipi-dsi2-rockchip.c296 static void grf_field_write(struct dw_mipi_dsi2 *dsi2, enum grf_reg_fields index, in grf_field_write() argument
299 const u32 field = dsi2->id ? in grf_field_write()
300 dsi2->pdata->dsi1_grf_reg_fields[index] : in grf_field_write()
301 dsi2->pdata->dsi0_grf_reg_fields[index]; in grf_field_write()
312 regmap_write(dsi2->grf, reg, (val << lsb) | (GENMASK(msb, lsb) << 16)); in grf_field_write()
315 static int cri_fifos_wait_avail(struct dw_mipi_dsi2 *dsi2) in cri_fifos_wait_avail() argument
321 ret = regmap_read_poll_timeout(dsi2->regmap, DSI2_CORE_STATUS, sts, in cri_fifos_wait_avail()
325 DRM_DEV_ERROR(dsi2->dev, "command interface is busy\n"); in cri_fifos_wait_avail()
332 static void dw_mipi_dsi2_irq_enable(struct dw_mipi_dsi2 *dsi2, bool enable) in dw_mipi_dsi2_irq_enable() argument
335 regmap_write(dsi2->regmap, DSI2_INT_MASK_PHY, 0x1); in dw_mipi_dsi2_irq_enable()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi2-rockchip.c293 static void grf_field_write(struct dw_mipi_dsi2 *dsi2, enum grf_reg_fields index, unsigned int val) in grf_field_write() argument
295 …const u32 field = dsi2->id ? dsi2->pdata->dsi1_grf_reg_fields[index] : dsi2->pdata->dsi0_grf_reg_f… in grf_field_write()
307 regmap_write(dsi2->grf, reg, (val << lsb) | (GENMASK(msb, lsb) << 0x10)); in grf_field_write()
310 static int cri_fifos_wait_avail(struct dw_mipi_dsi2 *dsi2) in cri_fifos_wait_avail() argument
316 …ret = regmap_read_poll_timeout(dsi2->regmap, DSI2_CORE_STATUS, sts, !(sts & mask), 0, CMD_PKT_STAT… in cri_fifos_wait_avail()
318 DRM_DEV_ERROR(dsi2->dev, "command interface is busy\n"); in cri_fifos_wait_avail()
325 static void dw_mipi_dsi2_irq_enable(struct dw_mipi_dsi2 *dsi2, bool enable) in dw_mipi_dsi2_irq_enable() argument
328 regmap_write(dsi2->regmap, DSI2_INT_MASK_PHY, 0x1); in dw_mipi_dsi2_irq_enable()
329 regmap_write(dsi2->regmap, DSI2_INT_MASK_TO, 0xf); in dw_mipi_dsi2_irq_enable()
330 regmap_write(dsi2->regmap, DSI2_INT_MASK_ACK, 0x1); in dw_mipi_dsi2_irq_enable()
[all …]
DMakefile17 rockchipdrm-$(CONFIG_ROCKCHIP_DW_MIPI_DSI) += dw-mipi-dsi2-rockchip.o
Ddw-mipi-dsi-rockchip.c813 struct dw_mipi_dsi_rockchip *dsi2; in dw_mipi_dsi_rockchip_find_second() local
822 dsi2 = platform_get_drvdata(pdev); in dw_mipi_dsi_rockchip_find_second()
823 if (!dsi2) { in dw_mipi_dsi_rockchip_find_second()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi2-rockchip.c294 static void grf_field_write(struct dw_mipi_dsi2 *dsi2, enum grf_reg_fields index, in grf_field_write() argument
297 const u32 field = dsi2->id ? in grf_field_write()
298 dsi2->pdata->dsi1_grf_reg_fields[index] : in grf_field_write()
299 dsi2->pdata->dsi0_grf_reg_fields[index]; in grf_field_write()
310 regmap_write(dsi2->grf, reg, (val << lsb) | (GENMASK(msb, lsb) << 16)); in grf_field_write()
313 static int cri_fifos_wait_avail(struct dw_mipi_dsi2 *dsi2) in cri_fifos_wait_avail() argument
319 ret = regmap_read_poll_timeout(dsi2->regmap, DSI2_CORE_STATUS, sts, in cri_fifos_wait_avail()
323 DRM_DEV_ERROR(dsi2->dev, "command interface is busy\n"); in cri_fifos_wait_avail()
330 static void dw_mipi_dsi2_irq_enable(struct dw_mipi_dsi2 *dsi2, bool enable) in dw_mipi_dsi2_irq_enable() argument
333 regmap_write(dsi2->regmap, DSI2_INT_MASK_PHY, 0x1); in dw_mipi_dsi2_irq_enable()
[all …]
DMakefile9 obj-$(CONFIG_ROCKCHIP_DW_MIPI_DSI) += dw-mipi-dsi2-rockchip.o
/device/soc/rockchip/rk3588/kernel/arch/arm64/boot/dts/rockchip/
Drk3588s.dtsi3190 compatible = "rockchip,rk3588-mipi-dsi2";
3230 compatible = "rockchip,rk3588-mipi-dsi2";
D.rk3588-bearkey-bq3588c1-linux.dtb.dts.tmp3231 compatible = "rockchip,rk3588-mipi-dsi2";
3271 compatible = "rockchip,rk3588-mipi-dsi2";
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/
Dkernel.patch16194 + struct dw_mipi_dsi_rockchip *dsi2;
16202 + dsi2 = platform_get_drvdata(pdev);
16203 + if (!dsi2) {
16222 - struct dw_mipi_dsi_rockchip *dsi2;
16281 - dsi2 = platform_get_drvdata(pdev);
16282 - if (!dsi2) {