rstc 156 arch/arm/mach-meson/platsmp.c struct reset_control *rstc; rstc 159 arch/arm/mach-meson/platsmp.c rstc = meson_smp_get_core_reset(cpu); rstc 160 arch/arm/mach-meson/platsmp.c if (IS_ERR(rstc)) { rstc 162 arch/arm/mach-meson/platsmp.c return PTR_ERR(rstc); rstc 168 arch/arm/mach-meson/platsmp.c ret = reset_control_assert(rstc); rstc 193 arch/arm/mach-meson/platsmp.c ret = reset_control_deassert(rstc); rstc 204 arch/arm/mach-meson/platsmp.c reset_control_put(rstc); rstc 212 arch/arm/mach-meson/platsmp.c struct reset_control *rstc; rstc 216 arch/arm/mach-meson/platsmp.c rstc = meson_smp_get_core_reset(cpu); rstc 217 arch/arm/mach-meson/platsmp.c if (IS_ERR(rstc)) { rstc 219 arch/arm/mach-meson/platsmp.c return PTR_ERR(rstc); rstc 235 arch/arm/mach-meson/platsmp.c ret = reset_control_assert(rstc); rstc 276 arch/arm/mach-meson/platsmp.c ret = reset_control_deassert(rstc); rstc 287 arch/arm/mach-meson/platsmp.c reset_control_put(rstc); rstc 67 arch/arm/mach-rockchip/platsmp.c struct reset_control *rstc = rockchip_get_core_reset(pd); rstc 70 arch/arm/mach-rockchip/platsmp.c if (IS_ERR(rstc) && read_cpuid_part() != ARM_CPU_PART_CORTEX_A9) { rstc 73 arch/arm/mach-rockchip/platsmp.c return PTR_ERR(rstc); rstc 81 arch/arm/mach-rockchip/platsmp.c if (!IS_ERR(rstc) && !on) rstc 82 arch/arm/mach-rockchip/platsmp.c reset_control_assert(rstc); rstc 103 arch/arm/mach-rockchip/platsmp.c if (!IS_ERR(rstc)) { rstc 105 arch/arm/mach-rockchip/platsmp.c reset_control_deassert(rstc); rstc 106 arch/arm/mach-rockchip/platsmp.c reset_control_put(rstc); rstc 405 drivers/amba/bus.c struct reset_control *rstc; rstc 410 drivers/amba/bus.c rstc = of_reset_control_array_get_optional_shared(dev->dev.of_node); rstc 411 drivers/amba/bus.c if (IS_ERR(rstc)) { rstc 412 drivers/amba/bus.c ret = PTR_ERR(rstc); rstc 418 drivers/amba/bus.c reset_control_deassert(rstc); rstc 419 drivers/amba/bus.c reset_control_put(rstc); rstc 125 drivers/bus/sunxi-rsb.c struct reset_control *rstc; rstc 672 drivers/bus/sunxi-rsb.c rsb->rstc = devm_reset_control_get(dev, NULL); rstc 673 drivers/bus/sunxi-rsb.c if (IS_ERR(rsb->rstc)) { rstc 674 drivers/bus/sunxi-rsb.c ret = PTR_ERR(rsb->rstc); rstc 679 drivers/bus/sunxi-rsb.c ret = reset_control_deassert(rsb->rstc); rstc 731 drivers/bus/sunxi-rsb.c reset_control_assert(rsb->rstc); rstc 744 drivers/bus/sunxi-rsb.c reset_control_assert(rsb->rstc); rstc 31 drivers/clk/hisilicon/clk-hi3519.c struct hisi_reset_controller *rstc; rstc 151 drivers/clk/hisilicon/clk-hi3519.c crg->rstc = hisi_reset_init(pdev); rstc 152 drivers/clk/hisilicon/clk-hi3519.c if (!crg->rstc) rstc 157 drivers/clk/hisilicon/clk-hi3519.c hisi_reset_exit(crg->rstc); rstc 169 drivers/clk/hisilicon/clk-hi3519.c hisi_reset_exit(crg->rstc); rstc 273 drivers/clk/hisilicon/crg-hi3516cv300.c crg->rstc = hisi_reset_init(pdev); rstc 274 drivers/clk/hisilicon/crg-hi3516cv300.c if (!crg->rstc) rstc 279 drivers/clk/hisilicon/crg-hi3516cv300.c hisi_reset_exit(crg->rstc); rstc 291 drivers/clk/hisilicon/crg-hi3516cv300.c hisi_reset_exit(crg->rstc); rstc 356 drivers/clk/hisilicon/crg-hi3798cv200.c crg->rstc = hisi_reset_init(pdev); rstc 357 drivers/clk/hisilicon/crg-hi3798cv200.c if (!crg->rstc) rstc 362 drivers/clk/hisilicon/crg-hi3798cv200.c hisi_reset_exit(crg->rstc); rstc 374 drivers/clk/hisilicon/crg-hi3798cv200.c hisi_reset_exit(crg->rstc); rstc 21 drivers/clk/hisilicon/crg.h struct hisi_reset_controller *rstc; rstc 46 drivers/clk/hisilicon/reset.c struct hisi_reset_controller *rstc = to_hisi_reset_controller(rcdev); rstc 54 drivers/clk/hisilicon/reset.c spin_lock_irqsave(&rstc->lock, flags); rstc 56 drivers/clk/hisilicon/reset.c reg = readl(rstc->membase + offset); rstc 57 drivers/clk/hisilicon/reset.c writel(reg | BIT(bit), rstc->membase + offset); rstc 59 drivers/clk/hisilicon/reset.c spin_unlock_irqrestore(&rstc->lock, flags); rstc 67 drivers/clk/hisilicon/reset.c struct hisi_reset_controller *rstc = to_hisi_reset_controller(rcdev); rstc 75 drivers/clk/hisilicon/reset.c spin_lock_irqsave(&rstc->lock, flags); rstc 77 drivers/clk/hisilicon/reset.c reg = readl(rstc->membase + offset); rstc 78 drivers/clk/hisilicon/reset.c writel(reg & ~BIT(bit), rstc->membase + offset); rstc 80 drivers/clk/hisilicon/reset.c spin_unlock_irqrestore(&rstc->lock, flags); rstc 92 drivers/clk/hisilicon/reset.c struct hisi_reset_controller *rstc; rstc 95 drivers/clk/hisilicon/reset.c rstc = devm_kmalloc(&pdev->dev, sizeof(*rstc), GFP_KERNEL); rstc 96 drivers/clk/hisilicon/reset.c if (!rstc) rstc 100 drivers/clk/hisilicon/reset.c rstc->membase = devm_ioremap_resource(&pdev->dev, res); rstc 101 drivers/clk/hisilicon/reset.c if (IS_ERR(rstc->membase)) rstc 104 drivers/clk/hisilicon/reset.c spin_lock_init(&rstc->lock); rstc 105 drivers/clk/hisilicon/reset.c rstc->rcdev.owner = THIS_MODULE; rstc 106 drivers/clk/hisilicon/reset.c rstc->rcdev.ops = &hisi_reset_ops; rstc 107 drivers/clk/hisilicon/reset.c rstc->rcdev.of_node = pdev->dev.of_node; rstc 108 drivers/clk/hisilicon/reset.c rstc->rcdev.of_reset_n_cells = 2; rstc 109 drivers/clk/hisilicon/reset.c rstc->rcdev.of_xlate = hisi_reset_of_xlate; rstc 110 drivers/clk/hisilicon/reset.c reset_controller_register(&rstc->rcdev); rstc 112 drivers/clk/hisilicon/reset.c return rstc; rstc 116 drivers/clk/hisilicon/reset.c void hisi_reset_exit(struct hisi_reset_controller *rstc) rstc 118 drivers/clk/hisilicon/reset.c reset_controller_unregister(&rstc->rcdev); rstc 14 drivers/clk/hisilicon/reset.h void hisi_reset_exit(struct hisi_reset_controller *rstc); rstc 21 drivers/clk/hisilicon/reset.h static inline void hisi_reset_exit(struct hisi_reset_controller *rstc) rstc 923 drivers/clk/meson/axg-audio.c struct reset_controller_dev rstc; rstc 944 drivers/clk/meson/axg-audio.c container_of(rcdev, struct axg_audio_reset_data, rstc); rstc 959 drivers/clk/meson/axg-audio.c container_of(rcdev, struct axg_audio_reset_data, rstc); rstc 1087 drivers/clk/meson/axg-audio.c rst->rstc.nr_resets = data->reset_num; rstc 1088 drivers/clk/meson/axg-audio.c rst->rstc.ops = &axg_audio_rstc_ops; rstc 1089 drivers/clk/meson/axg-audio.c rst->rstc.of_node = dev->of_node; rstc 1090 drivers/clk/meson/axg-audio.c rst->rstc.owner = THIS_MODULE; rstc 1092 drivers/clk/meson/axg-audio.c return devm_reset_controller_register(dev, &rst->rstc); rstc 23 drivers/clk/meson/meson-aoclk.c struct meson_aoclk_reset_controller *rstc = rstc 26 drivers/clk/meson/meson-aoclk.c return regmap_write(rstc->regmap, rstc->data->reset_reg, rstc 27 drivers/clk/meson/meson-aoclk.c BIT(rstc->data->reset[id])); rstc 36 drivers/clk/meson/meson-aoclk.c struct meson_aoclk_reset_controller *rstc; rstc 46 drivers/clk/meson/meson-aoclk.c rstc = devm_kzalloc(dev, sizeof(*rstc), GFP_KERNEL); rstc 47 drivers/clk/meson/meson-aoclk.c if (!rstc) rstc 57 drivers/clk/meson/meson-aoclk.c rstc->data = data; rstc 58 drivers/clk/meson/meson-aoclk.c rstc->regmap = regmap; rstc 59 drivers/clk/meson/meson-aoclk.c rstc->reset.ops = &meson_aoclk_reset_ops; rstc 60 drivers/clk/meson/meson-aoclk.c rstc->reset.nr_resets = data->num_reset, rstc 61 drivers/clk/meson/meson-aoclk.c rstc->reset.of_node = dev->of_node; rstc 62 drivers/clk/meson/meson-aoclk.c ret = devm_reset_controller_register(dev, &rstc->reset); rstc 3644 drivers/clk/meson/meson8b.c struct meson8b_clk_reset *rstc; rstc 3667 drivers/clk/meson/meson8b.c rstc = kzalloc(sizeof(*rstc), GFP_KERNEL); rstc 3668 drivers/clk/meson/meson8b.c if (!rstc) rstc 3672 drivers/clk/meson/meson8b.c rstc->regmap = map; rstc 3673 drivers/clk/meson/meson8b.c rstc->reset.ops = &meson8b_clk_reset_ops; rstc 3674 drivers/clk/meson/meson8b.c rstc->reset.nr_resets = ARRAY_SIZE(meson8b_clk_reset_bits); rstc 3675 drivers/clk/meson/meson8b.c rstc->reset.of_node = np; rstc 3676 drivers/clk/meson/meson8b.c ret = reset_controller_register(&rstc->reset); rstc 256 drivers/clk/sunxi-ng/ccu-sun8i-de2.c struct reset_control *rstc; rstc 286 drivers/clk/sunxi-ng/ccu-sun8i-de2.c rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL); rstc 287 drivers/clk/sunxi-ng/ccu-sun8i-de2.c if (IS_ERR(rstc)) { rstc 288 drivers/clk/sunxi-ng/ccu-sun8i-de2.c ret = PTR_ERR(rstc); rstc 309 drivers/clk/sunxi-ng/ccu-sun8i-de2.c ret = reset_control_deassert(rstc); rstc 323 drivers/clk/sunxi-ng/ccu-sun8i-de2.c reset_control_assert(rstc); rstc 208 drivers/clk/sunxi-ng/ccu-sun9i-a80-de.c struct reset_control *rstc; rstc 225 drivers/clk/sunxi-ng/ccu-sun9i-a80-de.c rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL); rstc 226 drivers/clk/sunxi-ng/ccu-sun9i-a80-de.c if (IS_ERR(rstc)) { rstc 227 drivers/clk/sunxi-ng/ccu-sun9i-a80-de.c ret = PTR_ERR(rstc); rstc 242 drivers/clk/sunxi-ng/ccu-sun9i-a80-de.c ret = reset_control_deassert(rstc); rstc 257 drivers/clk/sunxi-ng/ccu-sun9i-a80-de.c reset_control_assert(rstc); rstc 22 drivers/clocksource/dw_apb_timer_of.c struct reset_control *rstc; rstc 33 drivers/clocksource/dw_apb_timer_of.c rstc = of_reset_control_get(np, NULL); rstc 34 drivers/clocksource/dw_apb_timer_of.c if (!IS_ERR(rstc)) { rstc 35 drivers/clocksource/dw_apb_timer_of.c reset_control_assert(rstc); rstc 36 drivers/clocksource/dw_apb_timer_of.c reset_control_deassert(rstc); rstc 290 drivers/clocksource/timer-stm32.c struct reset_control *rstc; rstc 312 drivers/clocksource/timer-stm32.c rstc = of_reset_control_get(node, NULL); rstc 313 drivers/clocksource/timer-stm32.c if (!IS_ERR(rstc)) { rstc 314 drivers/clocksource/timer-stm32.c reset_control_assert(rstc); rstc 315 drivers/clocksource/timer-stm32.c reset_control_deassert(rstc); rstc 339 drivers/clocksource/timer-sun5i.c struct reset_control *rstc; rstc 362 drivers/clocksource/timer-sun5i.c rstc = of_reset_control_get(node, NULL); rstc 363 drivers/clocksource/timer-sun5i.c if (!IS_ERR(rstc)) rstc 364 drivers/clocksource/timer-sun5i.c reset_control_deassert(rstc); rstc 501 drivers/dma/pl330.c struct reset_control *rstc; rstc 3032 drivers/dma/pl330.c pl330->rstc = devm_reset_control_get_optional(&adev->dev, "dma"); rstc 3033 drivers/dma/pl330.c if (IS_ERR(pl330->rstc)) { rstc 3034 drivers/dma/pl330.c if (PTR_ERR(pl330->rstc) != -EPROBE_DEFER) rstc 3036 drivers/dma/pl330.c return PTR_ERR(pl330->rstc); rstc 3038 drivers/dma/pl330.c ret = reset_control_deassert(pl330->rstc); rstc 3201 drivers/dma/pl330.c if (pl330->rstc) rstc 3202 drivers/dma/pl330.c reset_control_assert(pl330->rstc); rstc 3244 drivers/dma/pl330.c if (pl330->rstc) rstc 3245 drivers/dma/pl330.c reset_control_assert(pl330->rstc); rstc 192 drivers/dma/sun6i-dma.c struct reset_control *rstc; rstc 1271 drivers/dma/sun6i-dma.c sdc->rstc = devm_reset_control_get(&pdev->dev, NULL); rstc 1272 drivers/dma/sun6i-dma.c if (IS_ERR(sdc->rstc)) { rstc 1274 drivers/dma/sun6i-dma.c return PTR_ERR(sdc->rstc); rstc 1363 drivers/dma/sun6i-dma.c ret = reset_control_deassert(sdc->rstc); rstc 1417 drivers/dma/sun6i-dma.c reset_control_assert(sdc->rstc); rstc 1434 drivers/dma/sun6i-dma.c reset_control_assert(sdc->rstc); rstc 22 drivers/gpu/drm/panfrost/panfrost_device.c pfdev->rstc = devm_reset_control_array_get(pfdev->dev, false, true); rstc 23 drivers/gpu/drm/panfrost/panfrost_device.c if (IS_ERR(pfdev->rstc)) { rstc 24 drivers/gpu/drm/panfrost/panfrost_device.c dev_err(pfdev->dev, "get reset failed %ld\n", PTR_ERR(pfdev->rstc)); rstc 25 drivers/gpu/drm/panfrost/panfrost_device.c return PTR_ERR(pfdev->rstc); rstc 28 drivers/gpu/drm/panfrost/panfrost_device.c err = reset_control_deassert(pfdev->rstc); rstc 37 drivers/gpu/drm/panfrost/panfrost_device.c reset_control_assert(pfdev->rstc); rstc 70 drivers/gpu/drm/panfrost/panfrost_device.h struct reset_control *rstc; rstc 1151 drivers/gpu/drm/stm/ltdc.c struct reset_control *rstc; rstc 1175 drivers/gpu/drm/stm/ltdc.c rstc = devm_reset_control_get_exclusive(dev, NULL); rstc 1191 drivers/gpu/drm/stm/ltdc.c if (!IS_ERR(rstc)) { rstc 1192 drivers/gpu/drm/stm/ltdc.c reset_control_assert(rstc); rstc 1194 drivers/gpu/drm/stm/ltdc.c reset_control_deassert(rstc); rstc 146 drivers/i2c/busses/i2c-mv64xxx.c struct reset_control *rstc; rstc 824 drivers/i2c/busses/i2c-mv64xxx.c drv_data->rstc = devm_reset_control_get_optional_exclusive(dev, NULL); rstc 825 drivers/i2c/busses/i2c-mv64xxx.c if (IS_ERR(drv_data->rstc)) { rstc 826 drivers/i2c/busses/i2c-mv64xxx.c rc = PTR_ERR(drv_data->rstc); rstc 829 drivers/i2c/busses/i2c-mv64xxx.c reset_control_deassert(drv_data->rstc); rstc 963 drivers/i2c/busses/i2c-mv64xxx.c reset_control_assert(drv_data->rstc); rstc 978 drivers/i2c/busses/i2c-mv64xxx.c reset_control_assert(drv_data->rstc); rstc 141 drivers/i2c/busses/i2c-rcar.c struct reset_control *rstc; rstc 760 drivers/i2c/busses/i2c-rcar.c ret = reset_control_reset(priv->rstc); rstc 765 drivers/i2c/busses/i2c-rcar.c ret = reset_control_status(priv->rstc); rstc 793 drivers/i2c/busses/i2c-rcar.c if (!IS_ERR(priv->rstc)) { rstc 975 drivers/i2c/busses/i2c-rcar.c priv->rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL); rstc 976 drivers/i2c/busses/i2c-rcar.c if (!IS_ERR(priv->rstc)) { rstc 977 drivers/i2c/busses/i2c-rcar.c ret = reset_control_status(priv->rstc); rstc 979 drivers/i2c/busses/i2c-rcar.c priv->rstc = ERR_PTR(-ENOTSUPP); rstc 90 drivers/i2c/busses/i2c-sun6i-p2wi.c struct reset_control *rstc; rstc 261 drivers/i2c/busses/i2c-sun6i-p2wi.c p2wi->rstc = devm_reset_control_get_exclusive(dev, NULL); rstc 262 drivers/i2c/busses/i2c-sun6i-p2wi.c if (IS_ERR(p2wi->rstc)) { rstc 263 drivers/i2c/busses/i2c-sun6i-p2wi.c ret = PTR_ERR(p2wi->rstc); rstc 268 drivers/i2c/busses/i2c-sun6i-p2wi.c ret = reset_control_deassert(p2wi->rstc); rstc 312 drivers/i2c/busses/i2c-sun6i-p2wi.c reset_control_assert(p2wi->rstc); rstc 324 drivers/i2c/busses/i2c-sun6i-p2wi.c reset_control_assert(p2wi->rstc); rstc 119 drivers/media/platform/coda/coda-bit.c if (!dev->rstc) rstc 134 drivers/media/platform/coda/coda-bit.c ret = reset_control_reset(dev->rstc); rstc 2597 drivers/media/platform/coda/coda-common.c reset_control_reset(dev->rstc); rstc 2998 drivers/media/platform/coda/coda-common.c dev->rstc = devm_reset_control_get_optional_exclusive(&pdev->dev, rstc 3000 drivers/media/platform/coda/coda-common.c if (IS_ERR(dev->rstc)) { rstc 3001 drivers/media/platform/coda/coda-common.c ret = PTR_ERR(dev->rstc); rstc 81 drivers/media/platform/coda/coda.h struct reset_control *rstc; rstc 358 drivers/media/platform/rcar-vin/rcar-csi2.c struct reset_control *rstc; rstc 400 drivers/media/platform/rcar-vin/rcar-csi2.c reset_control_assert(priv->rstc); rstc 408 drivers/media/platform/rcar-vin/rcar-csi2.c reset_control_deassert(priv->rstc); rstc 1021 drivers/media/platform/rcar-vin/rcar-csi2.c priv->rstc = devm_reset_control_get(&pdev->dev, NULL); rstc 1023 drivers/media/platform/rcar-vin/rcar-csi2.c return PTR_ERR_OR_ZERO(priv->rstc); rstc 71 drivers/media/platform/stm32/stm32-cec.c struct reset_control *rstc; rstc 134 drivers/media/platform/stm32/stm32-dcmi.c struct reset_control *rstc; rstc 1854 drivers/media/platform/stm32/stm32-dcmi.c dcmi->rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL); rstc 1855 drivers/media/platform/stm32/stm32-dcmi.c if (IS_ERR(dcmi->rstc)) { rstc 1857 drivers/media/platform/stm32/stm32-dcmi.c return PTR_ERR(dcmi->rstc); rstc 2006 drivers/media/platform/stm32/stm32-dcmi.c ret = reset_control_assert(dcmi->rstc); rstc 2014 drivers/media/platform/stm32/stm32-dcmi.c ret = reset_control_deassert(dcmi->rstc); rstc 29 drivers/media/rc/st_rc.c struct reset_control *rstc; rstc 167 drivers/media/rc/st_rc.c reset_control_deassert(dev->rstc); rstc 282 drivers/media/rc/st_rc.c rc_dev->rstc = reset_control_get_optional_exclusive(dev, NULL); rstc 283 drivers/media/rc/st_rc.c if (IS_ERR(rc_dev->rstc)) { rstc 284 drivers/media/rc/st_rc.c ret = PTR_ERR(rc_dev->rstc); rstc 354 drivers/media/rc/st_rc.c reset_control_assert(rc_dev->rstc); rstc 3103 drivers/mmc/host/dw_mmc.c pdata->rstc = devm_reset_control_get_optional_exclusive(dev, "reset"); rstc 3104 drivers/mmc/host/dw_mmc.c if (IS_ERR(pdata->rstc)) { rstc 3105 drivers/mmc/host/dw_mmc.c if (PTR_ERR(pdata->rstc) == -EPROBE_DEFER) rstc 3216 drivers/mmc/host/dw_mmc.c if (!IS_ERR(host->pdata->rstc)) { rstc 3217 drivers/mmc/host/dw_mmc.c reset_control_assert(host->pdata->rstc); rstc 3219 drivers/mmc/host/dw_mmc.c reset_control_deassert(host->pdata->rstc); rstc 3356 drivers/mmc/host/dw_mmc.c if (!IS_ERR(host->pdata->rstc)) rstc 3357 drivers/mmc/host/dw_mmc.c reset_control_assert(host->pdata->rstc); rstc 3385 drivers/mmc/host/dw_mmc.c if (!IS_ERR(host->pdata->rstc)) rstc 3386 drivers/mmc/host/dw_mmc.c reset_control_assert(host->pdata->rstc); rstc 265 drivers/mmc/host/dw_mmc.h struct reset_control *rstc; rstc 21 drivers/mmc/host/sdhci-st.c struct reset_control *rstc; rstc 352 drivers/mmc/host/sdhci-st.c struct reset_control *rstc; rstc 365 drivers/mmc/host/sdhci-st.c rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL); rstc 366 drivers/mmc/host/sdhci-st.c if (IS_ERR(rstc)) rstc 367 drivers/mmc/host/sdhci-st.c rstc = NULL; rstc 369 drivers/mmc/host/sdhci-st.c reset_control_deassert(rstc); rstc 380 drivers/mmc/host/sdhci-st.c pdata->rstc = rstc; rstc 435 drivers/mmc/host/sdhci-st.c if (rstc) rstc 436 drivers/mmc/host/sdhci-st.c reset_control_assert(rstc); rstc 446 drivers/mmc/host/sdhci-st.c struct reset_control *rstc = pdata->rstc; rstc 453 drivers/mmc/host/sdhci-st.c if (rstc) rstc 454 drivers/mmc/host/sdhci-st.c reset_control_assert(rstc); rstc 474 drivers/mmc/host/sdhci-st.c if (pdata->rstc) rstc 475 drivers/mmc/host/sdhci-st.c reset_control_assert(pdata->rstc); rstc 501 drivers/mmc/host/sdhci-st.c if (pdata->rstc) rstc 502 drivers/mmc/host/sdhci-st.c reset_control_deassert(pdata->rstc); rstc 1864 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct reset_control *rstc; rstc 1942 drivers/mtd/nand/raw/stm32_fmc2_nand.c rstc = devm_reset_control_get(dev, NULL); rstc 1943 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (!IS_ERR(rstc)) { rstc 1944 drivers/mtd/nand/raw/stm32_fmc2_nand.c reset_control_assert(rstc); rstc 1945 drivers/mtd/nand/raw/stm32_fmc2_nand.c reset_control_deassert(rstc); rstc 1320 drivers/mtd/spi-nor/cadence-quadspi.c struct reset_control *rstc, *rstc_ocp; rstc 1388 drivers/mtd/spi-nor/cadence-quadspi.c rstc = devm_reset_control_get_optional_exclusive(dev, "qspi"); rstc 1389 drivers/mtd/spi-nor/cadence-quadspi.c if (IS_ERR(rstc)) { rstc 1391 drivers/mtd/spi-nor/cadence-quadspi.c return PTR_ERR(rstc); rstc 1400 drivers/mtd/spi-nor/cadence-quadspi.c reset_control_assert(rstc); rstc 1401 drivers/mtd/spi-nor/cadence-quadspi.c reset_control_deassert(rstc); rstc 1210 drivers/net/dsa/mt7530.c reset_control_assert(priv->rstc); rstc 1212 drivers/net/dsa/mt7530.c reset_control_deassert(priv->rstc); rstc 1570 drivers/net/dsa/mt7530.c priv->rstc = devm_reset_control_get(&mdiodev->dev, "mcm"); rstc 1571 drivers/net/dsa/mt7530.c if (IS_ERR(priv->rstc)) { rstc 1573 drivers/net/dsa/mt7530.c return PTR_ERR(priv->rstc); rstc 458 drivers/net/dsa/mt7530.h struct reset_control *rstc; rstc 36 drivers/phy/st/phy-stih407-usb.c struct reset_control *rstc; rstc 44 drivers/phy/st/phy-stih407-usb.c reset_control_deassert(phy_dev->rstc); rstc 104 drivers/phy/st/phy-stih407-usb.c phy_dev->rstc = devm_reset_control_get_shared(dev, "global"); rstc 105 drivers/phy/st/phy-stih407-usb.c if (IS_ERR(phy_dev->rstc)) { rstc 107 drivers/phy/st/phy-stih407-usb.c return PTR_ERR(phy_dev->rstc); rstc 1154 drivers/pinctrl/stm32/pinctrl-stm32.c struct reset_control *rstc; rstc 1158 drivers/pinctrl/stm32/pinctrl-stm32.c rstc = of_reset_control_get_exclusive(np, NULL); rstc 1159 drivers/pinctrl/stm32/pinctrl-stm32.c if (!IS_ERR(rstc)) rstc 1160 drivers/pinctrl/stm32/pinctrl-stm32.c reset_control_deassert(rstc); rstc 114 drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c struct reset_control *rstc; rstc 117 drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL); rstc 118 drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c if (IS_ERR(rstc)) { rstc 120 drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c return PTR_ERR(rstc); rstc 123 drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c ret = reset_control_deassert(rstc); rstc 131 drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c reset_control_assert(rstc); rstc 101 drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c struct reset_control *rstc; rstc 104 drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL); rstc 105 drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c if (IS_ERR(rstc)) { rstc 107 drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c return PTR_ERR(rstc); rstc 110 drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c ret = reset_control_deassert(rstc); rstc 118 drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c reset_control_assert(rstc); rstc 39 drivers/pwm/pwm-hibvt.c struct reset_control *rstc; rstc 225 drivers/pwm/pwm-hibvt.c pwm_chip->rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL); rstc 226 drivers/pwm/pwm-hibvt.c if (IS_ERR(pwm_chip->rstc)) { rstc 228 drivers/pwm/pwm-hibvt.c return PTR_ERR(pwm_chip->rstc); rstc 231 drivers/pwm/pwm-hibvt.c reset_control_assert(pwm_chip->rstc); rstc 233 drivers/pwm/pwm-hibvt.c reset_control_deassert(pwm_chip->rstc); rstc 257 drivers/pwm/pwm-hibvt.c reset_control_assert(pwm_chip->rstc); rstc 259 drivers/pwm/pwm-hibvt.c reset_control_deassert(pwm_chip->rstc); rstc 61 drivers/reset/core.c struct reset_control *rstc[]; rstc 190 drivers/reset/core.c rstc_to_array(struct reset_control *rstc) { rstc 191 drivers/reset/core.c return container_of(rstc, struct reset_control_array, base); rstc 199 drivers/reset/core.c ret = reset_control_reset(resets->rstc[i]); rstc 212 drivers/reset/core.c ret = reset_control_assert(resets->rstc[i]); rstc 221 drivers/reset/core.c reset_control_deassert(resets->rstc[i]); rstc 230 drivers/reset/core.c ret = reset_control_deassert(resets->rstc[i]); rstc 239 drivers/reset/core.c reset_control_assert(resets->rstc[i]); rstc 249 drivers/reset/core.c err = reset_control_acquire(resets->rstc[i]); rstc 258 drivers/reset/core.c reset_control_release(resets->rstc[i]); rstc 268 drivers/reset/core.c reset_control_release(resets->rstc[i]); rstc 271 drivers/reset/core.c static inline bool reset_control_is_array(struct reset_control *rstc) rstc 273 drivers/reset/core.c return rstc->array; rstc 289 drivers/reset/core.c int reset_control_reset(struct reset_control *rstc) rstc 293 drivers/reset/core.c if (!rstc) rstc 296 drivers/reset/core.c if (WARN_ON(IS_ERR(rstc))) rstc 299 drivers/reset/core.c if (reset_control_is_array(rstc)) rstc 300 drivers/reset/core.c return reset_control_array_reset(rstc_to_array(rstc)); rstc 302 drivers/reset/core.c if (!rstc->rcdev->ops->reset) rstc 305 drivers/reset/core.c if (rstc->shared) { rstc 306 drivers/reset/core.c if (WARN_ON(atomic_read(&rstc->deassert_count) != 0)) rstc 309 drivers/reset/core.c if (atomic_inc_return(&rstc->triggered_count) != 1) rstc 312 drivers/reset/core.c if (!rstc->acquired) rstc 316 drivers/reset/core.c ret = rstc->rcdev->ops->reset(rstc->rcdev, rstc->id); rstc 317 drivers/reset/core.c if (rstc->shared && ret) rstc 318 drivers/reset/core.c atomic_dec(&rstc->triggered_count); rstc 341 drivers/reset/core.c int reset_control_assert(struct reset_control *rstc) rstc 343 drivers/reset/core.c if (!rstc) rstc 346 drivers/reset/core.c if (WARN_ON(IS_ERR(rstc))) rstc 349 drivers/reset/core.c if (reset_control_is_array(rstc)) rstc 350 drivers/reset/core.c return reset_control_array_assert(rstc_to_array(rstc)); rstc 352 drivers/reset/core.c if (rstc->shared) { rstc 353 drivers/reset/core.c if (WARN_ON(atomic_read(&rstc->triggered_count) != 0)) rstc 356 drivers/reset/core.c if (WARN_ON(atomic_read(&rstc->deassert_count) == 0)) rstc 359 drivers/reset/core.c if (atomic_dec_return(&rstc->deassert_count) != 0) rstc 366 drivers/reset/core.c if (!rstc->rcdev->ops->assert) rstc 374 drivers/reset/core.c if (!rstc->rcdev->ops->assert) rstc 377 drivers/reset/core.c if (!rstc->acquired) { rstc 379 drivers/reset/core.c rcdev_name(rstc->rcdev), rstc->id); rstc 384 drivers/reset/core.c return rstc->rcdev->ops->assert(rstc->rcdev, rstc->id); rstc 400 drivers/reset/core.c int reset_control_deassert(struct reset_control *rstc) rstc 402 drivers/reset/core.c if (!rstc) rstc 405 drivers/reset/core.c if (WARN_ON(IS_ERR(rstc))) rstc 408 drivers/reset/core.c if (reset_control_is_array(rstc)) rstc 409 drivers/reset/core.c return reset_control_array_deassert(rstc_to_array(rstc)); rstc 411 drivers/reset/core.c if (rstc->shared) { rstc 412 drivers/reset/core.c if (WARN_ON(atomic_read(&rstc->triggered_count) != 0)) rstc 415 drivers/reset/core.c if (atomic_inc_return(&rstc->deassert_count) != 1) rstc 418 drivers/reset/core.c if (!rstc->acquired) { rstc 420 drivers/reset/core.c rcdev_name(rstc->rcdev), rstc->id); rstc 432 drivers/reset/core.c if (!rstc->rcdev->ops->deassert) rstc 435 drivers/reset/core.c return rstc->rcdev->ops->deassert(rstc->rcdev, rstc->id); rstc 445 drivers/reset/core.c int reset_control_status(struct reset_control *rstc) rstc 447 drivers/reset/core.c if (!rstc) rstc 450 drivers/reset/core.c if (WARN_ON(IS_ERR(rstc)) || reset_control_is_array(rstc)) rstc 453 drivers/reset/core.c if (rstc->rcdev->ops->status) rstc 454 drivers/reset/core.c return rstc->rcdev->ops->status(rstc->rcdev, rstc->id); rstc 480 drivers/reset/core.c int reset_control_acquire(struct reset_control *rstc) rstc 484 drivers/reset/core.c if (!rstc) rstc 487 drivers/reset/core.c if (WARN_ON(IS_ERR(rstc))) rstc 490 drivers/reset/core.c if (reset_control_is_array(rstc)) rstc 491 drivers/reset/core.c return reset_control_array_acquire(rstc_to_array(rstc)); rstc 495 drivers/reset/core.c if (rstc->acquired) { rstc 500 drivers/reset/core.c list_for_each_entry(rc, &rstc->rcdev->reset_control_head, list) { rstc 501 drivers/reset/core.c if (rstc != rc && rstc->id == rc->id) { rstc 509 drivers/reset/core.c rstc->acquired = true; rstc 526 drivers/reset/core.c void reset_control_release(struct reset_control *rstc) rstc 528 drivers/reset/core.c if (!rstc || WARN_ON(IS_ERR(rstc))) rstc 531 drivers/reset/core.c if (reset_control_is_array(rstc)) rstc 532 drivers/reset/core.c reset_control_array_release(rstc_to_array(rstc)); rstc 534 drivers/reset/core.c rstc->acquired = false; rstc 542 drivers/reset/core.c struct reset_control *rstc; rstc 546 drivers/reset/core.c list_for_each_entry(rstc, &rcdev->reset_control_head, list) { rstc 547 drivers/reset/core.c if (rstc->id == index) { rstc 553 drivers/reset/core.c if (!rstc->shared && !shared && !acquired) rstc 556 drivers/reset/core.c if (WARN_ON(!rstc->shared || !shared)) rstc 559 drivers/reset/core.c kref_get(&rstc->refcnt); rstc 560 drivers/reset/core.c return rstc; rstc 564 drivers/reset/core.c rstc = kzalloc(sizeof(*rstc), GFP_KERNEL); rstc 565 drivers/reset/core.c if (!rstc) rstc 570 drivers/reset/core.c rstc->rcdev = rcdev; rstc 571 drivers/reset/core.c list_add(&rstc->list, &rcdev->reset_control_head); rstc 572 drivers/reset/core.c rstc->id = index; rstc 573 drivers/reset/core.c kref_init(&rstc->refcnt); rstc 574 drivers/reset/core.c rstc->acquired = acquired; rstc 575 drivers/reset/core.c rstc->shared = shared; rstc 577 drivers/reset/core.c return rstc; rstc 582 drivers/reset/core.c struct reset_control *rstc = container_of(kref, struct reset_control, rstc 587 drivers/reset/core.c module_put(rstc->rcdev->owner); rstc 589 drivers/reset/core.c list_del(&rstc->list); rstc 590 drivers/reset/core.c kfree(rstc); rstc 593 drivers/reset/core.c static void __reset_control_put_internal(struct reset_control *rstc) rstc 597 drivers/reset/core.c kref_put(&rstc->refcnt, __reset_control_release); rstc 604 drivers/reset/core.c struct reset_control *rstc; rstc 639 drivers/reset/core.c rstc = ERR_PTR(-EPROBE_DEFER); rstc 644 drivers/reset/core.c rstc = ERR_PTR(-EINVAL); rstc 650 drivers/reset/core.c rstc = ERR_PTR(rstc_id); rstc 655 drivers/reset/core.c rstc = __reset_control_get_internal(rcdev, rstc_id, shared, acquired); rstc 661 drivers/reset/core.c return rstc; rstc 690 drivers/reset/core.c struct reset_control *rstc = NULL; rstc 710 drivers/reset/core.c rstc = __reset_control_get_internal(rcdev, rstc 720 drivers/reset/core.c if (!rstc) rstc 723 drivers/reset/core.c return rstc; rstc 748 drivers/reset/core.c __reset_control_put_internal(resets->rstc[i]); rstc 757 drivers/reset/core.c void reset_control_put(struct reset_control *rstc) rstc 759 drivers/reset/core.c if (IS_ERR_OR_NULL(rstc)) rstc 762 drivers/reset/core.c if (reset_control_is_array(rstc)) { rstc 763 drivers/reset/core.c reset_control_array_put(rstc_to_array(rstc)); rstc 768 drivers/reset/core.c __reset_control_put_internal(rstc); rstc 782 drivers/reset/core.c struct reset_control **ptr, *rstc; rstc 789 drivers/reset/core.c rstc = __reset_control_get(dev, id, index, shared, optional, acquired); rstc 790 drivers/reset/core.c if (!IS_ERR_OR_NULL(rstc)) { rstc 791 drivers/reset/core.c *ptr = rstc; rstc 797 drivers/reset/core.c return rstc; rstc 813 drivers/reset/core.c struct reset_control *rstc; rstc 816 drivers/reset/core.c rstc = __reset_control_get(dev, NULL, 0, 0, optional, true); rstc 817 drivers/reset/core.c if (IS_ERR(rstc)) rstc 818 drivers/reset/core.c return PTR_ERR(rstc); rstc 820 drivers/reset/core.c ret = reset_control_reset(rstc); rstc 822 drivers/reset/core.c reset_control_put(rstc); rstc 871 drivers/reset/core.c struct reset_control *rstc; rstc 878 drivers/reset/core.c resets = kzalloc(struct_size(resets, rstc, num), GFP_KERNEL); rstc 883 drivers/reset/core.c rstc = __of_reset_control_get(np, NULL, i, shared, optional, rstc 885 drivers/reset/core.c if (IS_ERR(rstc)) rstc 887 drivers/reset/core.c resets->rstc[i] = rstc; rstc 897 drivers/reset/core.c __reset_control_put_internal(resets->rstc[i]); rstc 902 drivers/reset/core.c return rstc; rstc 923 drivers/reset/core.c struct reset_control *rstc; rstc 930 drivers/reset/core.c rstc = of_reset_control_array_get(dev->of_node, shared, optional, true); rstc 931 drivers/reset/core.c if (IS_ERR_OR_NULL(rstc)) { rstc 933 drivers/reset/core.c return rstc; rstc 936 drivers/reset/core.c *devres = rstc; rstc 939 drivers/reset/core.c return rstc; rstc 15 drivers/reset/reset-meson-audio-arb.c struct reset_controller_dev rstc; rstc 38 drivers/reset/reset-meson-audio-arb.c container_of(rcdev, struct meson_audio_arb_data, rstc); rstc 59 drivers/reset/reset-meson-audio-arb.c container_of(rcdev, struct meson_audio_arb_data, rstc); rstc 130 drivers/reset/reset-meson-audio-arb.c arb->rstc.nr_resets = ARRAY_SIZE(axg_audio_arb_reset_bits); rstc 131 drivers/reset/reset-meson-audio-arb.c arb->rstc.ops = &meson_audio_arb_rstc_ops; rstc 132 drivers/reset/reset-meson-audio-arb.c arb->rstc.of_node = dev->of_node; rstc 133 drivers/reset/reset-meson-audio-arb.c arb->rstc.owner = THIS_MODULE; rstc 148 drivers/reset/reset-meson-audio-arb.c ret = devm_reset_controller_register(dev, &arb->rstc); rstc 11 drivers/reset/tegra/reset-bpmp.c static struct tegra_bpmp *to_tegra_bpmp(struct reset_controller_dev *rstc) rstc 13 drivers/reset/tegra/reset-bpmp.c return container_of(rstc, struct tegra_bpmp, rstc); rstc 16 drivers/reset/tegra/reset-bpmp.c static int tegra_bpmp_reset_common(struct reset_controller_dev *rstc, rstc 20 drivers/reset/tegra/reset-bpmp.c struct tegra_bpmp *bpmp = to_tegra_bpmp(rstc); rstc 36 drivers/reset/tegra/reset-bpmp.c static int tegra_bpmp_reset_module(struct reset_controller_dev *rstc, rstc 39 drivers/reset/tegra/reset-bpmp.c return tegra_bpmp_reset_common(rstc, CMD_RESET_MODULE, id); rstc 42 drivers/reset/tegra/reset-bpmp.c static int tegra_bpmp_reset_assert(struct reset_controller_dev *rstc, rstc 45 drivers/reset/tegra/reset-bpmp.c return tegra_bpmp_reset_common(rstc, CMD_RESET_ASSERT, id); rstc 48 drivers/reset/tegra/reset-bpmp.c static int tegra_bpmp_reset_deassert(struct reset_controller_dev *rstc, rstc 51 drivers/reset/tegra/reset-bpmp.c return tegra_bpmp_reset_common(rstc, CMD_RESET_DEASSERT, id); rstc 62 drivers/reset/tegra/reset-bpmp.c bpmp->rstc.ops = &tegra_bpmp_reset_ops; rstc 63 drivers/reset/tegra/reset-bpmp.c bpmp->rstc.owner = THIS_MODULE; rstc 64 drivers/reset/tegra/reset-bpmp.c bpmp->rstc.of_node = bpmp->dev->of_node; rstc 65 drivers/reset/tegra/reset-bpmp.c bpmp->rstc.nr_resets = bpmp->soc->num_resets; rstc 67 drivers/reset/tegra/reset-bpmp.c return devm_reset_controller_register(bpmp->dev, &bpmp->rstc); rstc 229 drivers/soc/amlogic/meson-ee-pwrc.c struct reset_control *rstc; rstc 305 drivers/soc/amlogic/meson-ee-pwrc.c ret = reset_control_assert(pwrc_domain->rstc); rstc 314 drivers/soc/amlogic/meson-ee-pwrc.c ret = reset_control_deassert(pwrc_domain->rstc); rstc 339 drivers/soc/amlogic/meson-ee-pwrc.c dom->rstc = devm_reset_control_array_get(&pdev->dev, false, rstc 341 drivers/soc/amlogic/meson-ee-pwrc.c if (IS_ERR(dom->rstc)) rstc 342 drivers/soc/amlogic/meson-ee-pwrc.c return PTR_ERR(dom->rstc); rstc 36 drivers/soc/amlogic/meson-gx-pwrc-vpu.c struct reset_control *rstc; rstc 173 drivers/soc/amlogic/meson-gx-pwrc-vpu.c ret = reset_control_assert(pd->rstc); rstc 180 drivers/soc/amlogic/meson-gx-pwrc-vpu.c ret = reset_control_deassert(pd->rstc); rstc 227 drivers/soc/amlogic/meson-gx-pwrc-vpu.c ret = reset_control_assert(pd->rstc); rstc 234 drivers/soc/amlogic/meson-gx-pwrc-vpu.c ret = reset_control_deassert(pd->rstc); rstc 275 drivers/soc/amlogic/meson-gx-pwrc-vpu.c struct reset_control *rstc; rstc 306 drivers/soc/amlogic/meson-gx-pwrc-vpu.c rstc = devm_reset_control_array_get(&pdev->dev, false, false); rstc 307 drivers/soc/amlogic/meson-gx-pwrc-vpu.c if (IS_ERR(rstc)) { rstc 308 drivers/soc/amlogic/meson-gx-pwrc-vpu.c if (PTR_ERR(rstc) != -EPROBE_DEFER) rstc 310 drivers/soc/amlogic/meson-gx-pwrc-vpu.c return PTR_ERR(rstc); rstc 327 drivers/soc/amlogic/meson-gx-pwrc-vpu.c vpu_pd->rstc = rstc; rstc 980 drivers/soc/mediatek/mtk-pmic-wrap.c struct reset_control *rstc; rstc 1564 drivers/soc/mediatek/mtk-pmic-wrap.c if (wrp->rstc) rstc 1565 drivers/soc/mediatek/mtk-pmic-wrap.c reset_control_reset(wrp->rstc); rstc 1926 drivers/soc/mediatek/mtk-pmic-wrap.c wrp->rstc = devm_reset_control_get(wrp->dev, "pwrap"); rstc 1927 drivers/soc/mediatek/mtk-pmic-wrap.c if (IS_ERR(wrp->rstc)) { rstc 1928 drivers/soc/mediatek/mtk-pmic-wrap.c ret = PTR_ERR(wrp->rstc); rstc 537 drivers/spi/spi-stm32-qspi.c struct reset_control *rstc; rstc 602 drivers/spi/spi-stm32-qspi.c rstc = devm_reset_control_get_exclusive(dev, NULL); rstc 603 drivers/spi/spi-stm32-qspi.c if (!IS_ERR(rstc)) { rstc 604 drivers/spi/spi-stm32-qspi.c reset_control_assert(rstc); rstc 606 drivers/spi/spi-stm32-qspi.c reset_control_deassert(rstc); rstc 92 drivers/spi/spi-sun6i.c struct reset_control *rstc; rstc 403 drivers/spi/spi-sun6i.c ret = reset_control_deassert(sspi->rstc); rstc 427 drivers/spi/spi-sun6i.c reset_control_assert(sspi->rstc); rstc 498 drivers/spi/spi-sun6i.c sspi->rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL); rstc 499 drivers/spi/spi-sun6i.c if (IS_ERR(sspi->rstc)) { rstc 501 drivers/spi/spi-sun6i.c ret = PTR_ERR(sspi->rstc); rstc 151 drivers/staging/media/sunxi/cedrus/cedrus.h struct reset_control *rstc; rstc 220 drivers/staging/media/sunxi/cedrus/cedrus_hw.c dev->rstc = devm_reset_control_get(dev->dev, NULL); rstc 221 drivers/staging/media/sunxi/cedrus/cedrus_hw.c if (IS_ERR(dev->rstc)) { rstc 224 drivers/staging/media/sunxi/cedrus/cedrus_hw.c ret = PTR_ERR(dev->rstc); rstc 265 drivers/staging/media/sunxi/cedrus/cedrus_hw.c ret = reset_control_reset(dev->rstc); rstc 290 drivers/staging/media/sunxi/cedrus/cedrus_hw.c reset_control_assert(dev->rstc); rstc 200 drivers/watchdog/zx2967_wdt.c struct reset_control *rstc; rstc 238 drivers/watchdog/zx2967_wdt.c rstc = devm_reset_control_get_exclusive(dev, NULL); rstc 239 drivers/watchdog/zx2967_wdt.c if (IS_ERR(rstc)) { rstc 241 drivers/watchdog/zx2967_wdt.c return PTR_ERR(rstc); rstc 244 drivers/watchdog/zx2967_wdt.c reset_control_assert(rstc); rstc 245 drivers/watchdog/zx2967_wdt.c reset_control_deassert(rstc); rstc 15 include/linux/reset.h int reset_control_reset(struct reset_control *rstc); rstc 16 include/linux/reset.h int reset_control_assert(struct reset_control *rstc); rstc 17 include/linux/reset.h int reset_control_deassert(struct reset_control *rstc); rstc 18 include/linux/reset.h int reset_control_status(struct reset_control *rstc); rstc 19 include/linux/reset.h int reset_control_acquire(struct reset_control *rstc); rstc 20 include/linux/reset.h void reset_control_release(struct reset_control *rstc); rstc 28 include/linux/reset.h void reset_control_put(struct reset_control *rstc); rstc 44 include/linux/reset.h static inline int reset_control_reset(struct reset_control *rstc) rstc 49 include/linux/reset.h static inline int reset_control_assert(struct reset_control *rstc) rstc 54 include/linux/reset.h static inline int reset_control_deassert(struct reset_control *rstc) rstc 59 include/linux/reset.h static inline int reset_control_status(struct reset_control *rstc) rstc 64 include/linux/reset.h static inline int reset_control_acquire(struct reset_control *rstc) rstc 69 include/linux/reset.h static inline void reset_control_release(struct reset_control *rstc) rstc 73 include/linux/reset.h static inline void reset_control_put(struct reset_control *rstc) rstc 85 include/soc/tegra/bpmp.h struct reset_controller_dev rstc;