Home
last modified time | relevance | path

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

/drivers/mtd/spi-nor/
Dcadence-quadspi.c1320 struct reset_control *rstc, *rstc_ocp; in cqspi_probe() local
1394 rstc_ocp = devm_reset_control_get_optional_exclusive(dev, "qspi-ocp"); in cqspi_probe()
1395 if (IS_ERR(rstc_ocp)) { in cqspi_probe()
1397 return PTR_ERR(rstc_ocp); in cqspi_probe()
1403 reset_control_assert(rstc_ocp); in cqspi_probe()
1404 reset_control_deassert(rstc_ocp); in cqspi_probe()
/drivers/dma/
Dpl330.c502 struct reset_control *rstc_ocp; member
3045 pl330->rstc_ocp = devm_reset_control_get_optional(&adev->dev, "dma-ocp"); in pl330_probe()
3046 if (IS_ERR(pl330->rstc_ocp)) { in pl330_probe()
3047 if (PTR_ERR(pl330->rstc_ocp) != -EPROBE_DEFER) in pl330_probe()
3049 return PTR_ERR(pl330->rstc_ocp); in pl330_probe()
3051 ret = reset_control_deassert(pl330->rstc_ocp); in pl330_probe()
3198 if (pl330->rstc_ocp) in pl330_probe()
3199 reset_control_assert(pl330->rstc_ocp); in pl330_probe()
3241 if (pl330->rstc_ocp) in pl330_remove()
3242 reset_control_assert(pl330->rstc_ocp); in pl330_remove()