Home
last modified time | relevance | path

Searched refs:rstc (Results 1 – 12 of 12) sorted by relevance

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/gpu/panfrost/
Dpanfrost_device.c49 pfdev->rstc = devm_reset_control_array_get(pfdev->dev, false, true); in panfrost_reset_init()
50 if (IS_ERR(pfdev->rstc)) { in panfrost_reset_init()
51 dev_err(pfdev->dev, "get reset failed %ld\n", PTR_ERR(pfdev->rstc)); in panfrost_reset_init()
52 return PTR_ERR(pfdev->rstc); in panfrost_reset_init()
55 err = reset_control_deassert(pfdev->rstc); in panfrost_reset_init()
64 reset_control_assert(pfdev->rstc); in panfrost_reset_fini()
Dpanfrost_device.h89 struct reset_control *rstc; member
/device/soc/amlogic/a311d/soc/amlogic/ge2d/
Dge2d_wq.h30 extern int ge2d_setup(int irq, struct reset_control *rstc);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/dma/
Dsunxi-dma.c202 struct reset_control *rstc; member
1349 sdc->rstc = devm_reset_control_get(&pdev->dev, NULL); in sun6i_dma_probe()
1350 if (IS_ERR(sdc->rstc)) { in sun6i_dma_probe()
1352 return PTR_ERR(sdc->rstc); in sun6i_dma_probe()
1442 ret = reset_control_assert(sdc->rstc); in sun6i_dma_probe()
1449 ret = reset_control_deassert(sdc->rstc); in sun6i_dma_probe()
1505 reset_control_assert(sdc->rstc); in sun6i_dma_probe()
1522 reset_control_assert(sdc->rstc); in sun6i_dma_remove()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_sink/encoder/h265/
Dvpu.c1878 rstc = devm_reset_control_get(&pdev->dev, "HevcEnc"); in vpu_probe()
1879 if (IS_ERR(rstc)) { in vpu_probe()
1881 "get HevcEnc rstc error: %lx\n", PTR_ERR(rstc)); in vpu_probe()
1882 rstc = NULL; in vpu_probe()
1886 reset_control_assert(rstc); in vpu_probe()
1887 s_vpu_rstc = rstc; in vpu_probe()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Ddw-dp.c245 struct reset_control *rstc; member
2383 dp->rstc = devm_reset_control_get(dev, NULL); in dw_dp_probe()
2384 if (IS_ERR(dp->rstc)) { in dw_dp_probe()
2385 return dev_err_probe(dev, PTR_ERR(dp->rstc), "failed to get reset control\n"); in dw_dp_probe()
2490 reset_control_assert(dp->rstc); in dw_dp_runtime_resume()
2492 reset_control_deassert(dp->rstc); in dw_dp_runtime_resume()
Drockchip_drm_vop2.c988 static int vop2_clk_reset(struct reset_control *rstc) in vop2_clk_reset() argument
992 if (!rstc) { in vop2_clk_reset()
996 ret = reset_control_assert(rstc); in vop2_clk_reset()
1001 ret = reset_control_deassert(rstc); in vop2_clk_reset()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
Ddw-dp.c246 struct reset_control *rstc; member
2411 dp->rstc = devm_reset_control_get(dev, NULL); in dw_dp_probe()
2412 if (IS_ERR(dp->rstc)) in dw_dp_probe()
2413 return dev_err_probe(dev, PTR_ERR(dp->rstc), in dw_dp_probe()
2528 reset_control_assert(dp->rstc); in dw_dp_runtime_resume()
2530 reset_control_deassert(dp->rstc); in dw_dp_runtime_resume()
Drockchip_drm_vop2.c1004 static int vop2_clk_reset(struct reset_control *rstc) in vop2_clk_reset() argument
1008 if (!rstc) in vop2_clk_reset()
1011 ret = reset_control_assert(rstc); in vop2_clk_reset()
1015 ret = reset_control_deassert(rstc); in vop2_clk_reset()
/device/soc/rockchip/common/sdk_linux/drivers/mmc/host/
Ddw_mmc.h263 struct reset_control *rstc; member
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/
Ddw-dp.c258 struct reset_control *rstc; member
2784 dp->rstc = devm_reset_control_get(dev, NULL); in dw_dp_probe()
2785 if (IS_ERR(dp->rstc)) in dw_dp_probe()
2786 return dev_err_probe(dev, PTR_ERR(dp->rstc), in dw_dp_probe()
Drockchip_drm_vop2.c1045 static int vop2_clk_reset(struct reset_control *rstc) in vop2_clk_reset() argument
1049 if (!rstc) in vop2_clk_reset()
1052 ret = reset_control_assert(rstc); in vop2_clk_reset()
1056 ret = reset_control_deassert(rstc); in vop2_clk_reset()