rst 85 arch/arm/mach-omap2/prm2xxx_3xxx.c u32 rst, st; rst 88 arch/arm/mach-omap2/prm2xxx_3xxx.c rst = 1 << rst_shift; rst 92 arch/arm/mach-omap2/prm2xxx_3xxx.c if (omap2_prm_read_mod_bits_shift(prm_mod, OMAP2_RM_RSTCTRL, rst) == 0) rst 98 arch/arm/mach-omap2/prm2xxx_3xxx.c omap2_prm_rmw_mod_reg_bits(rst, 0, prm_mod, OMAP2_RM_RSTCTRL); rst 333 arch/mips/include/asm/octeon/cvmx-ipd.h pip_sft_rst.s.rst = 1; rst 2070 arch/mips/include/asm/octeon/cvmx-pip-defs.h uint64_t rst:1; rst 2072 arch/mips/include/asm/octeon/cvmx-pip-defs.h uint64_t rst:1; rst 44 arch/mips/lasat/ds1603.c rtc_reg_write(rtc_reg_read() | ds1603->rst); rst 49 arch/mips/lasat/ds1603.c rtc_reg_write(rtc_reg_read() & ~ds1603->rst); rst 14 arch/mips/lasat/ds1603.h u32 rst; rst 310 arch/mips/txx9/generic/setup_tx4927.c __u64 pcfg, rst = 0, ckd = 0; rst 317 arch/mips/txx9/generic/setup_tx4927.c rst |= TX4927_CLKCTR_ACLRST; rst 321 arch/mips/txx9/generic/setup_tx4927.c if (rst | ckd) { rst 322 arch/mips/txx9/generic/setup_tx4927.c txx9_set64(&tx4927_ccfgptr->clkctr, rst); rst 433 arch/mips/txx9/generic/setup_tx4938.c __u64 pcfg, rst = 0, ckd = 0; rst 442 arch/mips/txx9/generic/setup_tx4938.c rst |= TX4938_CLKCTR_ACLRST; rst 450 arch/mips/txx9/generic/setup_tx4938.c rst |= TX4938_CLKCTR_ACLRST; rst 458 arch/mips/txx9/generic/setup_tx4938.c rst |= TX4938_CLKCTR_NDFRST; rst 463 arch/mips/txx9/generic/setup_tx4938.c rst |= TX4938_CLKCTR_SPIRST; rst 469 arch/mips/txx9/generic/setup_tx4938.c if (rst | ckd) { rst 470 arch/mips/txx9/generic/setup_tx4938.c txx9_set64(&tx4938_ccfgptr->clkctr, rst); rst 519 arch/mips/txx9/generic/setup_tx4939.c __u64 pcfg, rst = 0, ckd = 0; rst 527 arch/mips/txx9/generic/setup_tx4939.c rst |= TX4939_CLKCTR_ACLRST; rst 535 arch/mips/txx9/generic/setup_tx4939.c rst |= TX4939_CLKCTR_I2SRST; rst 540 arch/mips/txx9/generic/setup_tx4939.c rst |= TX4939_CLKCTR_ATA0RST; rst 545 arch/mips/txx9/generic/setup_tx4939.c rst |= TX4939_CLKCTR_ATA1RST; rst 550 arch/mips/txx9/generic/setup_tx4939.c rst |= TX4939_CLKCTR_SPIRST; rst 555 arch/mips/txx9/generic/setup_tx4939.c rst |= TX4939_CLKCTR_VPCRST; rst 560 arch/mips/txx9/generic/setup_tx4939.c rst |= TX4939_CLKCTR_SIO2RST; rst 565 arch/mips/txx9/generic/setup_tx4939.c rst |= TX4939_CLKCTR_SIO3RST; rst 569 arch/mips/txx9/generic/setup_tx4939.c if (rst | ckd) { rst 570 arch/mips/txx9/generic/setup_tx4939.c txx9_set64(&tx4939_ccfgptr->clkctr, rst); rst 1058 arch/powerpc/platforms/powermac/feature.c const u32 *rst = of_get_property(np, "soft-reset", NULL); rst 1059 arch/powerpc/platforms/powermac/feature.c if (num == NULL || rst == NULL) rst 1062 arch/powerpc/platforms/powermac/feature.c reset_io = *rst; rst 1504 arch/powerpc/platforms/powermac/feature.c const u32 *rst = of_get_property(np, "soft-reset", NULL); rst 1505 arch/powerpc/platforms/powermac/feature.c if (num == NULL || rst == NULL) rst 1508 arch/powerpc/platforms/powermac/feature.c reset_io = *rst; rst 46 drivers/bus/tegra-gmi.c struct reset_control *rst; rst 63 drivers/bus/tegra-gmi.c reset_control_assert(gmi->rst); rst 65 drivers/bus/tegra-gmi.c reset_control_deassert(gmi->rst); rst 85 drivers/bus/tegra-gmi.c reset_control_assert(gmi->rst); rst 229 drivers/bus/tegra-gmi.c gmi->rst = devm_reset_control_get(dev, "gmi"); rst 230 drivers/bus/tegra-gmi.c if (IS_ERR(gmi->rst)) { rst 232 drivers/bus/tegra-gmi.c return PTR_ERR(gmi->rst); rst 34 drivers/char/hw_random/stm32-rng.c struct reset_control *rst; rst 137 drivers/char/hw_random/stm32-rng.c priv->rst = devm_reset_control_get(&ofdev->dev, NULL); rst 138 drivers/char/hw_random/stm32-rng.c if (!IS_ERR(priv->rst)) { rst 139 drivers/char/hw_random/stm32-rng.c reset_control_assert(priv->rst); rst 141 drivers/char/hw_random/stm32-rng.c reset_control_deassert(priv->rst); rst 187 drivers/clk/clk-aspeed.c u32 rst = BIT(gate->reset_idx); rst 199 drivers/clk/clk-aspeed.c if (reg & rst) rst 213 drivers/clk/clk-aspeed.c u32 rst = BIT(gate->reset_idx); rst 225 drivers/clk/clk-aspeed.c regmap_update_bits(gate->map, ASPEED_RESET_CTRL, rst, rst); rst 240 drivers/clk/clk-aspeed.c regmap_update_bits(gate->map, ASPEED_RESET_CTRL, rst, 0); rst 222 drivers/clk/clk-ast2600.c u32 rst = get_bit(gate->reset_idx); rst 235 drivers/clk/clk-ast2600.c if (reg & rst) rst 251 drivers/clk/clk-ast2600.c u32 rst = get_bit(gate->reset_idx); rst 262 drivers/clk/clk-ast2600.c regmap_write(gate->map, get_reset_reg(gate), rst); rst 280 drivers/clk/clk-ast2600.c regmap_write(gate->map, get_reset_reg(gate) + 0x4, rst); rst 316 drivers/clk/clk-ast2600.c u32 rst = get_bit(id); rst 320 drivers/clk/clk-ast2600.c return regmap_write(ar->map, reg + 0x04, rst); rst 327 drivers/clk/clk-ast2600.c u32 rst = get_bit(id); rst 330 drivers/clk/clk-ast2600.c return regmap_write(ar->map, reg, rst); rst 339 drivers/clk/clk-ast2600.c u32 rst = get_bit(id); rst 346 drivers/clk/clk-ast2600.c return !!(val & rst); rst 928 drivers/clk/meson/axg-audio.c static void axg_audio_reset_reg_and_bit(struct axg_audio_reset_data *rst, rst 933 drivers/clk/meson/axg-audio.c unsigned int stride = regmap_get_reg_stride(rst->map); rst 936 drivers/clk/meson/axg-audio.c *reg += rst->offset; rst 943 drivers/clk/meson/axg-audio.c struct axg_audio_reset_data *rst = rst 947 drivers/clk/meson/axg-audio.c axg_audio_reset_reg_and_bit(rst, id, &offset, &bit); rst 949 drivers/clk/meson/axg-audio.c regmap_update_bits(rst->map, offset, BIT(bit), rst 958 drivers/clk/meson/axg-audio.c struct axg_audio_reset_data *rst = rst 962 drivers/clk/meson/axg-audio.c axg_audio_reset_reg_and_bit(rst, id, &offset, &bit); rst 964 drivers/clk/meson/axg-audio.c regmap_read(rst->map, offset, &val); rst 1017 drivers/clk/meson/axg-audio.c struct axg_audio_reset_data *rst; rst 1081 drivers/clk/meson/axg-audio.c rst = devm_kzalloc(dev, sizeof(*rst), GFP_KERNEL); rst 1082 drivers/clk/meson/axg-audio.c if (!rst) rst 1085 drivers/clk/meson/axg-audio.c rst->map = map; rst 1086 drivers/clk/meson/axg-audio.c rst->offset = data->reset_offset; rst 1087 drivers/clk/meson/axg-audio.c rst->rstc.nr_resets = data->reset_num; rst 1088 drivers/clk/meson/axg-audio.c rst->rstc.ops = &axg_audio_rstc_ops; rst 1089 drivers/clk/meson/axg-audio.c rst->rstc.of_node = dev->of_node; rst 1090 drivers/clk/meson/axg-audio.c rst->rstc.owner = THIS_MODULE; rst 1092 drivers/clk/meson/axg-audio.c return devm_reset_controller_register(dev, &rst->rstc); rst 52 drivers/clk/meson/axg.c .rst = { rst 111 drivers/clk/meson/axg.c .rst = { rst 213 drivers/clk/meson/axg.c .rst = { rst 285 drivers/clk/meson/axg.c .rst = { rst 738 drivers/clk/meson/axg.c .rst = { rst 295 drivers/clk/meson/clk-pll.c meson_parm_write(clk->map, &pll->rst, 1); rst 298 drivers/clk/meson/clk-pll.c meson_parm_write(clk->map, &pll->rst, 0); rst 307 drivers/clk/meson/clk-pll.c if (meson_parm_read(clk->map, &pll->rst) || rst 335 drivers/clk/meson/clk-pll.c meson_parm_write(clk->map, &pll->rst, 1); rst 341 drivers/clk/meson/clk-pll.c meson_parm_write(clk->map, &pll->rst, 0); rst 355 drivers/clk/meson/clk-pll.c meson_parm_write(clk->map, &pll->rst, 1); rst 38 drivers/clk/meson/clk-pll.h struct parm rst; rst 56 drivers/clk/meson/g12a.c .rst = { rst 120 drivers/clk/meson/g12a.c .rst = { rst 179 drivers/clk/meson/g12a.c .rst = { rst 1637 drivers/clk/meson/g12a.c .rst = { rst 1702 drivers/clk/meson/g12a.c .rst = { rst 1777 drivers/clk/meson/g12a.c .rst = { rst 1869 drivers/clk/meson/g12a.c .rst = { rst 1963 drivers/clk/meson/g12a.c .rst = { rst 112 drivers/clk/meson/gxbb.c .rst = { rst 189 drivers/clk/meson/gxbb.c .rst = { rst 243 drivers/clk/meson/gxbb.c .rst = { rst 394 drivers/clk/meson/gxbb.c .rst = { rst 456 drivers/clk/meson/gxbb.c .rst = { rst 510 drivers/clk/meson/gxbb.c .rst = { rst 91 drivers/clk/meson/meson8b.c .rst = { rst 155 drivers/clk/meson/meson8b.c .rst = { rst 230 drivers/clk/meson/meson8b.c .rst = { rst 1940 drivers/clk/meson/meson8b.c .rst = { rst 25 drivers/clk/qcom/reset.c struct qcom_reset_controller *rst; rst 29 drivers/clk/qcom/reset.c rst = to_qcom_reset_controller(rcdev); rst 30 drivers/clk/qcom/reset.c map = &rst->reset_map[id]; rst 33 drivers/clk/qcom/reset.c return regmap_update_bits(rst->regmap, map->reg, mask, mask); rst 39 drivers/clk/qcom/reset.c struct qcom_reset_controller *rst; rst 43 drivers/clk/qcom/reset.c rst = to_qcom_reset_controller(rcdev); rst 44 drivers/clk/qcom/reset.c map = &rst->reset_map[id]; rst 47 drivers/clk/qcom/reset.c return regmap_update_bits(rst->regmap, map->reg, mask, 0); rst 303 drivers/crypto/rockchip/rk3288_crypto.c reset_control_assert(crypto_info->rst); rst 325 drivers/crypto/rockchip/rk3288_crypto.c crypto_info->rst = devm_reset_control_get(dev, "crypto-rst"); rst 326 drivers/crypto/rockchip/rk3288_crypto.c if (IS_ERR(crypto_info->rst)) { rst 327 drivers/crypto/rockchip/rk3288_crypto.c err = PTR_ERR(crypto_info->rst); rst 331 drivers/crypto/rockchip/rk3288_crypto.c reset_control_assert(crypto_info->rst); rst 333 drivers/crypto/rockchip/rk3288_crypto.c reset_control_deassert(crypto_info->rst); rst 190 drivers/crypto/rockchip/rk3288_crypto.h struct reset_control *rst; rst 1938 drivers/crypto/stm32/stm32-cryp.c struct reset_control *rst; rst 1986 drivers/crypto/stm32/stm32-cryp.c rst = devm_reset_control_get(dev, NULL); rst 1987 drivers/crypto/stm32/stm32-cryp.c if (!IS_ERR(rst)) { rst 1988 drivers/crypto/stm32/stm32-cryp.c reset_control_assert(rst); rst 1990 drivers/crypto/stm32/stm32-cryp.c reset_control_deassert(rst); rst 164 drivers/crypto/stm32/stm32-hash.c struct reset_control *rst; rst 1484 drivers/crypto/stm32/stm32-hash.c hdev->rst = devm_reset_control_get(&pdev->dev, NULL); rst 1485 drivers/crypto/stm32/stm32-hash.c if (!IS_ERR(hdev->rst)) { rst 1486 drivers/crypto/stm32/stm32-hash.c reset_control_assert(hdev->rst); rst 1488 drivers/crypto/stm32/stm32-hash.c reset_control_deassert(hdev->rst); rst 210 drivers/dma/stm32-dma.c struct reset_control *rst; rst 1312 drivers/dma/stm32-dma.c dmadev->rst = devm_reset_control_get(&pdev->dev, NULL); rst 1313 drivers/dma/stm32-dma.c if (!IS_ERR(dmadev->rst)) { rst 1314 drivers/dma/stm32-dma.c reset_control_assert(dmadev->rst); rst 1316 drivers/dma/stm32-dma.c reset_control_deassert(dmadev->rst); rst 38 drivers/dma/stm32-dmamux.c struct reset_control *rst; rst 259 drivers/dma/stm32-dmamux.c stm32_dmamux->rst = devm_reset_control_get(&pdev->dev, NULL); rst 260 drivers/dma/stm32-dmamux.c if (!IS_ERR(stm32_dmamux->rst)) { rst 261 drivers/dma/stm32-dmamux.c reset_control_assert(stm32_dmamux->rst); rst 263 drivers/dma/stm32-dmamux.c reset_control_deassert(stm32_dmamux->rst); rst 276 drivers/dma/stm32-mdma.c struct reset_control *rst; rst 1593 drivers/dma/stm32-mdma.c dmadev->rst = devm_reset_control_get(&pdev->dev, NULL); rst 1594 drivers/dma/stm32-mdma.c if (!IS_ERR(dmadev->rst)) { rst 1595 drivers/dma/stm32-mdma.c reset_control_assert(dmadev->rst); rst 1597 drivers/dma/stm32-mdma.c reset_control_deassert(dmadev->rst); rst 213 drivers/dma/tegra20-apb-dma.c struct reset_control *rst; rst 1412 drivers/dma/tegra20-apb-dma.c tdma->rst = devm_reset_control_get(&pdev->dev, "dma"); rst 1413 drivers/dma/tegra20-apb-dma.c if (IS_ERR(tdma->rst)) { rst 1415 drivers/dma/tegra20-apb-dma.c return PTR_ERR(tdma->rst); rst 1432 drivers/dma/tegra20-apb-dma.c reset_control_assert(tdma->rst); rst 1434 drivers/dma/tegra20-apb-dma.c reset_control_deassert(tdma->rst); rst 99 drivers/gpio/gpio-dwapb.c struct reset_control *rst; rst 677 drivers/gpio/gpio-dwapb.c gpio->rst = devm_reset_control_get_optional_shared(dev, NULL); rst 678 drivers/gpio/gpio-dwapb.c if (IS_ERR(gpio->rst)) rst 679 drivers/gpio/gpio-dwapb.c return PTR_ERR(gpio->rst); rst 681 drivers/gpio/gpio-dwapb.c reset_control_deassert(gpio->rst); rst 738 drivers/gpio/gpio-dwapb.c reset_control_assert(gpio->rst); rst 155 drivers/gpu/drm/amd/amdgpu/si_smc.c u32 rst = RREG32_SMC(SMC_SYSCON_RESET_CNTL); rst 158 drivers/gpu/drm/amd/amdgpu/si_smc.c if (!(rst & RST_REG) && !(clk & CK_DISABLE)) rst 10 drivers/gpu/drm/aspeed/aspeed_gfx.h struct reset_control *rst; rst 132 drivers/gpu/drm/aspeed/aspeed_gfx_drv.c priv->rst = devm_reset_control_get_exclusive(&pdev->dev, NULL); rst 133 drivers/gpu/drm/aspeed/aspeed_gfx_drv.c if (IS_ERR(priv->rst)) { rst 136 drivers/gpu/drm/aspeed/aspeed_gfx_drv.c return PTR_ERR(priv->rst); rst 138 drivers/gpu/drm/aspeed/aspeed_gfx_drv.c reset_control_deassert(priv->rst); rst 13 drivers/gpu/drm/nouveau/include/nvkm/core/tegra.h struct reset_control *rst; rst 55 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c reset_control_assert(tdev->rst); rst 65 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c reset_control_deassert(tdev->rst); rst 298 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c tdev->rst = devm_reset_control_get(&pdev->dev, "gpu"); rst 299 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c if (IS_ERR(tdev->rst)) { rst 300 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c ret = PTR_ERR(tdev->rst); rst 163 drivers/gpu/drm/radeon/si_smc.c u32 rst = RREG32_SMC(SMC_SYSCON_RESET_CNTL); rst 166 drivers/gpu/drm/radeon/si_smc.c if (!(rst & RST_REG) && !(clk & CK_DISABLE)) rst 67 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c struct reset_control *rst; rst 77 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c reset_control_assert(dp->rst); rst 79 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c reset_control_deassert(dp->rst); rst 292 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c dp->rst = devm_reset_control_get(dev, "dp"); rst 293 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c if (IS_ERR(dp->rst)) { rst 295 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c return PTR_ERR(dp->rst); rst 149 drivers/gpu/drm/sun4i/sun8i_tcon_top.c tcon_top->rst = devm_reset_control_get(dev, NULL); rst 150 drivers/gpu/drm/sun4i/sun8i_tcon_top.c if (IS_ERR(tcon_top->rst)) { rst 152 drivers/gpu/drm/sun4i/sun8i_tcon_top.c return PTR_ERR(tcon_top->rst); rst 167 drivers/gpu/drm/sun4i/sun8i_tcon_top.c ret = reset_control_deassert(tcon_top->rst); rst 234 drivers/gpu/drm/sun4i/sun8i_tcon_top.c reset_control_assert(tcon_top->rst); rst 252 drivers/gpu/drm/sun4i/sun8i_tcon_top.c reset_control_assert(tcon_top->rst); rst 30 drivers/gpu/drm/sun4i/sun8i_tcon_top.h struct reset_control *rst; rst 2441 drivers/gpu/drm/tegra/dc.c dc->rst = devm_reset_control_get(&pdev->dev, "dc"); rst 2442 drivers/gpu/drm/tegra/dc.c if (IS_ERR(dc->rst)) { rst 2444 drivers/gpu/drm/tegra/dc.c return PTR_ERR(dc->rst); rst 2454 drivers/gpu/drm/tegra/dc.c err = reset_control_assert(dc->rst); rst 2534 drivers/gpu/drm/tegra/dc.c err = reset_control_assert(dc->rst); rst 2555 drivers/gpu/drm/tegra/dc.c dc->rst); rst 2567 drivers/gpu/drm/tegra/dc.c err = reset_control_deassert(dc->rst); rst 81 drivers/gpu/drm/tegra/dc.h struct reset_control *rst; rst 41 drivers/gpu/drm/tegra/dpaux.c struct reset_control *rst; rst 456 drivers/gpu/drm/tegra/dpaux.c dpaux->rst = devm_reset_control_get(&pdev->dev, "dpaux"); rst 457 drivers/gpu/drm/tegra/dpaux.c if (IS_ERR(dpaux->rst)) { rst 460 drivers/gpu/drm/tegra/dpaux.c PTR_ERR(dpaux->rst)); rst 461 drivers/gpu/drm/tegra/dpaux.c return PTR_ERR(dpaux->rst); rst 585 drivers/gpu/drm/tegra/dpaux.c if (dpaux->rst) { rst 586 drivers/gpu/drm/tegra/dpaux.c err = reset_control_assert(dpaux->rst); rst 620 drivers/gpu/drm/tegra/dpaux.c if (dpaux->rst) { rst 621 drivers/gpu/drm/tegra/dpaux.c err = reset_control_deassert(dpaux->rst); rst 61 drivers/gpu/drm/tegra/dsi.c struct reset_control *rst; rst 1501 drivers/gpu/drm/tegra/dsi.c dsi->rst = devm_reset_control_get(&pdev->dev, "dsi"); rst 1502 drivers/gpu/drm/tegra/dsi.c if (IS_ERR(dsi->rst)) rst 1503 drivers/gpu/drm/tegra/dsi.c return PTR_ERR(dsi->rst); rst 1605 drivers/gpu/drm/tegra/dsi.c if (dsi->rst) { rst 1606 drivers/gpu/drm/tegra/dsi.c err = reset_control_assert(dsi->rst); rst 1648 drivers/gpu/drm/tegra/dsi.c if (dsi->rst) { rst 1649 drivers/gpu/drm/tegra/dsi.c err = reset_control_deassert(dsi->rst); rst 32 drivers/gpu/drm/tegra/gr3d.c struct reset_control *rst; rst 307 drivers/gpu/drm/tegra/gr3d.c gr3d->rst = devm_reset_control_get(&pdev->dev, "3d"); rst 308 drivers/gpu/drm/tegra/gr3d.c if (IS_ERR(gr3d->rst)) { rst 310 drivers/gpu/drm/tegra/gr3d.c return PTR_ERR(gr3d->rst); rst 329 drivers/gpu/drm/tegra/gr3d.c gr3d->rst); rst 69 drivers/gpu/drm/tegra/hdmi.c struct reset_control *rst; rst 1607 drivers/gpu/drm/tegra/hdmi.c hdmi->rst = devm_reset_control_get(&pdev->dev, "hdmi"); rst 1608 drivers/gpu/drm/tegra/hdmi.c if (IS_ERR(hdmi->rst)) { rst 1610 drivers/gpu/drm/tegra/hdmi.c return PTR_ERR(hdmi->rst); rst 1708 drivers/gpu/drm/tegra/hdmi.c err = reset_control_assert(hdmi->rst); rst 1734 drivers/gpu/drm/tegra/hdmi.c err = reset_control_deassert(hdmi->rst); rst 102 drivers/gpu/drm/tegra/hub.c reset_control_deassert(wgrp->rst); rst 118 drivers/gpu/drm/tegra/hub.c err = reset_control_assert(wgrp->rst); rst 777 drivers/gpu/drm/tegra/hub.c hub->rst = devm_reset_control_get(&pdev->dev, "misc"); rst 778 drivers/gpu/drm/tegra/hub.c if (IS_ERR(hub->rst)) { rst 779 drivers/gpu/drm/tegra/hub.c err = PTR_ERR(hub->rst); rst 797 drivers/gpu/drm/tegra/hub.c wgrp->rst = devm_reset_control_get(&pdev->dev, id); rst 798 drivers/gpu/drm/tegra/hub.c if (IS_ERR(wgrp->rst)) rst 799 drivers/gpu/drm/tegra/hub.c return PTR_ERR(wgrp->rst); rst 801 drivers/gpu/drm/tegra/hub.c err = reset_control_assert(wgrp->rst); rst 835 drivers/gpu/drm/tegra/hub.c err = reset_control_assert(hub->rst); rst 876 drivers/gpu/drm/tegra/hub.c err = reset_control_assert(hub->rst); rst 914 drivers/gpu/drm/tegra/hub.c err = reset_control_deassert(hub->rst); rst 21 drivers/gpu/drm/tegra/hub.h struct reset_control *rst; rst 46 drivers/gpu/drm/tegra/hub.h struct reset_control *rst; rst 405 drivers/gpu/drm/tegra/sor.c struct reset_control *rst; rst 2873 drivers/gpu/drm/tegra/sor.c if (sor->rst) { rst 2874 drivers/gpu/drm/tegra/sor.c err = reset_control_acquire(sor->rst); rst 2881 drivers/gpu/drm/tegra/sor.c err = reset_control_assert(sor->rst); rst 2897 drivers/gpu/drm/tegra/sor.c if (sor->rst) { rst 2898 drivers/gpu/drm/tegra/sor.c err = reset_control_deassert(sor->rst); rst 2905 drivers/gpu/drm/tegra/sor.c reset_control_release(sor->rst); rst 3348 drivers/gpu/drm/tegra/sor.c sor->rst = devm_reset_control_get_exclusive_released(&pdev->dev, "sor"); rst 3349 drivers/gpu/drm/tegra/sor.c if (IS_ERR(sor->rst)) { rst 3350 drivers/gpu/drm/tegra/sor.c err = PTR_ERR(sor->rst); rst 3364 drivers/gpu/drm/tegra/sor.c sor->rst = NULL; rst 3530 drivers/gpu/drm/tegra/sor.c if (sor->rst) { rst 3531 drivers/gpu/drm/tegra/sor.c err = reset_control_assert(sor->rst); rst 3537 drivers/gpu/drm/tegra/sor.c reset_control_release(sor->rst); rst 3560 drivers/gpu/drm/tegra/sor.c if (sor->rst) { rst 3561 drivers/gpu/drm/tegra/sor.c err = reset_control_acquire(sor->rst); rst 3568 drivers/gpu/drm/tegra/sor.c err = reset_control_deassert(sor->rst); rst 3571 drivers/gpu/drm/tegra/sor.c reset_control_release(sor->rst); rst 40 drivers/gpu/drm/tegra/vic.c struct reset_control *rst; rst 67 drivers/gpu/drm/tegra/vic.c err = reset_control_deassert(vic->rst); rst 85 drivers/gpu/drm/tegra/vic.c err = reset_control_assert(vic->rst); rst 404 drivers/gpu/drm/tegra/vic.c vic->rst = devm_reset_control_get(dev, "vic"); rst 405 drivers/gpu/drm/tegra/vic.c if (IS_ERR(vic->rst)) { rst 407 drivers/gpu/drm/tegra/vic.c return PTR_ERR(vic->rst); rst 258 drivers/gpu/host1x/dev.c host->rst = devm_reset_control_get(&pdev->dev, "host1x"); rst 259 drivers/gpu/host1x/dev.c if (IS_ERR(host->rst)) { rst 260 drivers/gpu/host1x/dev.c err = PTR_ERR(host->rst); rst 329 drivers/gpu/host1x/dev.c err = reset_control_deassert(host->rst); rst 363 drivers/gpu/host1x/dev.c reset_control_assert(host->rst); rst 392 drivers/gpu/host1x/dev.c reset_control_assert(host->rst); rst 114 drivers/gpu/host1x/dev.h struct reset_control *rst; rst 182 drivers/hwmon/aspeed-pwm-tacho.c struct reset_control *rst; rst 885 drivers/hwmon/aspeed-pwm-tacho.c reset_control_assert(priv->rst); rst 915 drivers/hwmon/aspeed-pwm-tacho.c priv->rst = devm_reset_control_get_exclusive(dev, NULL); rst 916 drivers/hwmon/aspeed-pwm-tacho.c if (IS_ERR(priv->rst)) { rst 919 drivers/hwmon/aspeed-pwm-tacho.c return PTR_ERR(priv->rst); rst 921 drivers/hwmon/aspeed-pwm-tacho.c reset_control_deassert(priv->rst); rst 146 drivers/i2c/busses/i2c-aspeed.c struct reset_control *rst; rst 986 drivers/i2c/busses/i2c-aspeed.c bus->rst = devm_reset_control_get_shared(&pdev->dev, NULL); rst 987 drivers/i2c/busses/i2c-aspeed.c if (IS_ERR(bus->rst)) { rst 990 drivers/i2c/busses/i2c-aspeed.c return PTR_ERR(bus->rst); rst 992 drivers/i2c/busses/i2c-aspeed.c reset_control_deassert(bus->rst); rst 1064 drivers/i2c/busses/i2c-aspeed.c reset_control_assert(bus->rst); rst 232 drivers/i2c/busses/i2c-designware-core.h struct reset_control *rst; rst 640 drivers/i2c/busses/i2c-designware-master.c reset_control_assert(dev->rst); rst 649 drivers/i2c/busses/i2c-designware-master.c reset_control_deassert(dev->rst); rst 281 drivers/i2c/busses/i2c-designware-platdrv.c dev->rst = devm_reset_control_get_optional_exclusive(&pdev->dev, NULL); rst 282 drivers/i2c/busses/i2c-designware-platdrv.c if (IS_ERR(dev->rst)) rst 283 drivers/i2c/busses/i2c-designware-platdrv.c return PTR_ERR(dev->rst); rst 285 drivers/i2c/busses/i2c-designware-platdrv.c reset_control_deassert(dev->rst); rst 409 drivers/i2c/busses/i2c-designware-platdrv.c reset_control_assert(dev->rst); rst 427 drivers/i2c/busses/i2c-designware-platdrv.c reset_control_assert(dev->rst); rst 763 drivers/i2c/busses/i2c-stm32f4.c struct reset_control *rst; rst 798 drivers/i2c/busses/i2c-stm32f4.c rst = devm_reset_control_get_exclusive(&pdev->dev, NULL); rst 799 drivers/i2c/busses/i2c-stm32f4.c if (IS_ERR(rst)) { rst 801 drivers/i2c/busses/i2c-stm32f4.c ret = PTR_ERR(rst); rst 804 drivers/i2c/busses/i2c-stm32f4.c reset_control_assert(rst); rst 806 drivers/i2c/busses/i2c-stm32f4.c reset_control_deassert(rst); rst 1832 drivers/i2c/busses/i2c-stm32f7.c struct reset_control *rst; rst 1888 drivers/i2c/busses/i2c-stm32f7.c rst = devm_reset_control_get(&pdev->dev, NULL); rst 1889 drivers/i2c/busses/i2c-stm32f7.c if (IS_ERR(rst)) { rst 1891 drivers/i2c/busses/i2c-stm32f7.c ret = PTR_ERR(rst); rst 1894 drivers/i2c/busses/i2c-stm32f7.c reset_control_assert(rst); rst 1896 drivers/i2c/busses/i2c-stm32f7.c reset_control_deassert(rst); rst 258 drivers/i2c/busses/i2c-tegra.c struct reset_control *rst; rst 716 drivers/i2c/busses/i2c-tegra.c reset_control_assert(i2c_dev->rst); rst 718 drivers/i2c/busses/i2c-tegra.c reset_control_deassert(i2c_dev->rst); rst 1555 drivers/i2c/busses/i2c-tegra.c i2c_dev->rst = devm_reset_control_get_exclusive(&pdev->dev, "i2c"); rst 1556 drivers/i2c/busses/i2c-tegra.c if (IS_ERR(i2c_dev->rst)) { rst 1558 drivers/i2c/busses/i2c-tegra.c return PTR_ERR(i2c_dev->rst); rst 58 drivers/iio/adc/aspeed_adc.c struct reset_control *rst; rst 218 drivers/iio/adc/aspeed_adc.c data->rst = devm_reset_control_get_exclusive(&pdev->dev, NULL); rst 219 drivers/iio/adc/aspeed_adc.c if (IS_ERR(data->rst)) { rst 222 drivers/iio/adc/aspeed_adc.c ret = PTR_ERR(data->rst); rst 225 drivers/iio/adc/aspeed_adc.c reset_control_deassert(data->rst); rst 275 drivers/iio/adc/aspeed_adc.c reset_control_assert(data->rst); rst 292 drivers/iio/adc/aspeed_adc.c reset_control_assert(data->rst); rst 28 drivers/iio/dac/stm32-dac-core.c struct reset_control *rst; rst 116 drivers/iio/dac/stm32-dac-core.c priv->rst = devm_reset_control_get_exclusive(dev, NULL); rst 117 drivers/iio/dac/stm32-dac-core.c if (!IS_ERR(priv->rst)) { rst 118 drivers/iio/dac/stm32-dac-core.c reset_control_assert(priv->rst); rst 120 drivers/iio/dac/stm32-dac-core.c reset_control_deassert(priv->rst); rst 514 drivers/infiniband/hw/i40iw/i40iw_cm.c tcph->rst = 1; rst 2813 drivers/infiniband/hw/i40iw/i40iw_cm.c if (tcph->rst) { rst 3215 drivers/infiniband/hw/i40iw/i40iw_cm.c if (!tcph->rst && !tcph->fin) { rst 106 drivers/input/keyboard/tegra-kbc.c struct reset_control *rst; rst 367 drivers/input/keyboard/tegra-kbc.c reset_control_assert(kbc->rst); rst 369 drivers/input/keyboard/tegra-kbc.c reset_control_deassert(kbc->rst); rst 656 drivers/input/keyboard/tegra-kbc.c kbc->rst = devm_reset_control_get(&pdev->dev, "kbc"); rst 657 drivers/input/keyboard/tegra-kbc.c if (IS_ERR(kbc->rst)) { rst 659 drivers/input/keyboard/tegra-kbc.c return PTR_ERR(kbc->rst); rst 762 drivers/media/i2c/imx274.c static void imx274_reset(struct stimx274 *priv, int rst) rst 766 drivers/media/i2c/imx274.c gpiod_set_value_cansleep(priv->reset_gpio, !!rst); rst 214 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c csi->rst = devm_reset_control_get(&pdev->dev, NULL); rst 215 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c if (IS_ERR(csi->rst)) { rst 217 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c return PTR_ERR(csi->rst); rst 293 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c reset_control_deassert(csi->rst); rst 312 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c reset_control_assert(csi->rst); rst 115 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h struct reset_control *rst; rst 100 drivers/media/rc/sunxi-cir.c struct reset_control *rst; rst 190 drivers/media/rc/sunxi-cir.c ir->rst = devm_reset_control_get_exclusive(dev, NULL); rst 191 drivers/media/rc/sunxi-cir.c if (IS_ERR(ir->rst)) rst 192 drivers/media/rc/sunxi-cir.c return PTR_ERR(ir->rst); rst 193 drivers/media/rc/sunxi-cir.c ret = reset_control_deassert(ir->rst); rst 304 drivers/media/rc/sunxi-cir.c reset_control_assert(ir->rst); rst 316 drivers/media/rc/sunxi-cir.c reset_control_assert(ir->rst); rst 78 drivers/memory/tegra/mc.c const struct tegra_mc_reset *rst) rst 85 drivers/memory/tegra/mc.c value = mc_readl(mc, rst->control) | BIT(rst->bit); rst 86 drivers/memory/tegra/mc.c mc_writel(mc, value, rst->control); rst 94 drivers/memory/tegra/mc.c const struct tegra_mc_reset *rst) rst 96 drivers/memory/tegra/mc.c return (mc_readl(mc, rst->status) & BIT(rst->bit)) != 0; rst 100 drivers/memory/tegra/mc.c const struct tegra_mc_reset *rst) rst 107 drivers/memory/tegra/mc.c value = mc_readl(mc, rst->control) & ~BIT(rst->bit); rst 108 drivers/memory/tegra/mc.c mc_writel(mc, value, rst->control); rst 116 drivers/memory/tegra/mc.c const struct tegra_mc_reset *rst) rst 118 drivers/memory/tegra/mc.c return (mc_readl(mc, rst->control) & BIT(rst->bit)) != 0; rst 150 drivers/memory/tegra/mc.c const struct tegra_mc_reset *rst; rst 154 drivers/memory/tegra/mc.c rst = tegra_mc_reset_find(mc, id); rst 155 drivers/memory/tegra/mc.c if (!rst) rst 164 drivers/memory/tegra/mc.c err = rst_ops->block_dma(mc, rst); rst 167 drivers/memory/tegra/mc.c rst->name, err); rst 174 drivers/memory/tegra/mc.c while (!rst_ops->dma_idling(mc, rst)) { rst 177 drivers/memory/tegra/mc.c rst->name); rst 187 drivers/memory/tegra/mc.c err = rst_ops->hotreset_assert(mc, rst); rst 190 drivers/memory/tegra/mc.c rst->name, err); rst 203 drivers/memory/tegra/mc.c const struct tegra_mc_reset *rst; rst 206 drivers/memory/tegra/mc.c rst = tegra_mc_reset_find(mc, id); rst 207 drivers/memory/tegra/mc.c if (!rst) rst 216 drivers/memory/tegra/mc.c err = rst_ops->hotreset_deassert(mc, rst); rst 219 drivers/memory/tegra/mc.c rst->name, err); rst 226 drivers/memory/tegra/mc.c err = rst_ops->unblock_dma(mc, rst); rst 229 drivers/memory/tegra/mc.c rst->name, err); rst 242 drivers/memory/tegra/mc.c const struct tegra_mc_reset *rst; rst 244 drivers/memory/tegra/mc.c rst = tegra_mc_reset_find(mc, id); rst 245 drivers/memory/tegra/mc.c if (!rst) rst 252 drivers/memory/tegra/mc.c return rst_ops->reset_status(mc, rst); rst 199 drivers/memory/tegra/tegra20.c const struct tegra_mc_reset *rst) rst 206 drivers/memory/tegra/tegra20.c value = mc_readl(mc, rst->reset); rst 207 drivers/memory/tegra/tegra20.c mc_writel(mc, value & ~BIT(rst->bit), rst->reset); rst 215 drivers/memory/tegra/tegra20.c const struct tegra_mc_reset *rst) rst 222 drivers/memory/tegra/tegra20.c value = mc_readl(mc, rst->reset); rst 223 drivers/memory/tegra/tegra20.c mc_writel(mc, value | BIT(rst->bit), rst->reset); rst 231 drivers/memory/tegra/tegra20.c const struct tegra_mc_reset *rst) rst 238 drivers/memory/tegra/tegra20.c value = mc_readl(mc, rst->control) & ~BIT(rst->bit); rst 239 drivers/memory/tegra/tegra20.c mc_writel(mc, value, rst->control); rst 247 drivers/memory/tegra/tegra20.c const struct tegra_mc_reset *rst) rst 249 drivers/memory/tegra/tegra20.c return mc_readl(mc, rst->status) == 0; rst 253 drivers/memory/tegra/tegra20.c const struct tegra_mc_reset *rst) rst 255 drivers/memory/tegra/tegra20.c return (mc_readl(mc, rst->reset) & BIT(rst->bit)) == 0; rst 259 drivers/memory/tegra/tegra20.c const struct tegra_mc_reset *rst) rst 266 drivers/memory/tegra/tegra20.c value = mc_readl(mc, rst->control) | BIT(rst->bit); rst 267 drivers/memory/tegra/tegra20.c mc_writel(mc, value, rst->control); rst 1928 drivers/mmc/host/mmci.c host->rst = devm_reset_control_get_optional_exclusive(&dev->dev, NULL); rst 1929 drivers/mmc/host/mmci.c if (IS_ERR(host->rst)) { rst 1930 drivers/mmc/host/mmci.c ret = PTR_ERR(host->rst); rst 382 drivers/mmc/host/mmci.h struct reset_control *rst; rst 240 drivers/mmc/host/mmci_stm32_sdmmc.c reset_control_assert(host->rst); rst 242 drivers/mmc/host/mmci_stm32_sdmmc.c reset_control_deassert(host->rst); rst 137 drivers/mmc/host/sdhci-tegra.c struct reset_control *rst; rst 1579 drivers/mmc/host/sdhci-tegra.c tegra_host->rst = devm_reset_control_get_exclusive(&pdev->dev, rst 1581 drivers/mmc/host/sdhci-tegra.c if (IS_ERR(tegra_host->rst)) { rst 1582 drivers/mmc/host/sdhci-tegra.c rc = PTR_ERR(tegra_host->rst); rst 1587 drivers/mmc/host/sdhci-tegra.c rc = reset_control_assert(tegra_host->rst); rst 1593 drivers/mmc/host/sdhci-tegra.c rc = reset_control_deassert(tegra_host->rst); rst 1606 drivers/mmc/host/sdhci-tegra.c reset_control_assert(tegra_host->rst); rst 1624 drivers/mmc/host/sdhci-tegra.c reset_control_assert(tegra_host->rst); rst 65 drivers/mmc/host/uniphier-sd.c struct reset_control *rst; rst 386 drivers/mmc/host/uniphier-sd.c ret = reset_control_deassert(priv->rst); rst 397 drivers/mmc/host/uniphier-sd.c reset_control_assert(priv->rst); rst 409 drivers/mmc/host/uniphier-sd.c reset_control_assert(priv->rst); rst 575 drivers/mmc/host/uniphier-sd.c priv->rst = devm_reset_control_get_shared(dev, "host"); rst 576 drivers/mmc/host/uniphier-sd.c if (IS_ERR(priv->rst)) { rst 578 drivers/mmc/host/uniphier-sd.c return PTR_ERR(priv->rst); rst 1138 drivers/mtd/nand/raw/tegra_nand.c struct reset_control *rst; rst 1156 drivers/mtd/nand/raw/tegra_nand.c rst = devm_reset_control_get(&pdev->dev, "nand"); rst 1157 drivers/mtd/nand/raw/tegra_nand.c if (IS_ERR(rst)) rst 1158 drivers/mtd/nand/raw/tegra_nand.c return PTR_ERR(rst); rst 1168 drivers/mtd/nand/raw/tegra_nand.c err = reset_control_reset(rst); rst 512 drivers/net/ethernet/dec/tulip/de4x5.c u_char *rst; /* Start of reset sequence in SROM */ rst 853 drivers/net/ethernet/dec/tulip/de4x5.c u_char *rst; /* Pointer to Type 5 reset info */ rst 3300 drivers/net/ethernet/dec/tulip/de4x5.c if (lp->phy[lp->active].rst) { rst 3301 drivers/net/ethernet/dec/tulip/de4x5.c srom_exec(dev, lp->phy[lp->active].rst); rst 3302 drivers/net/ethernet/dec/tulip/de4x5.c srom_exec(dev, lp->phy[lp->active].rst); rst 3303 drivers/net/ethernet/dec/tulip/de4x5.c } else if (lp->rst) { /* Type 5 infoblock reset */ rst 3304 drivers/net/ethernet/dec/tulip/de4x5.c srom_exec(dev, lp->rst); rst 3305 drivers/net/ethernet/dec/tulip/de4x5.c srom_exec(dev, lp->rst); rst 3841 drivers/net/ethernet/dec/tulip/de4x5.c srom_exec(dev, lp->phy[lp->active].rst); rst 4631 drivers/net/ethernet/dec/tulip/de4x5.c lp->phy[lp->active].rst = (*p ? p : NULL); p += (*p + 1); rst 4712 drivers/net/ethernet/dec/tulip/de4x5.c lp->phy[lp->active].rst = (*p ? p : NULL); p += (2 * (*p) + 1); rst 4796 drivers/net/ethernet/dec/tulip/de4x5.c lp->rst = p; rst 4797 drivers/net/ethernet/dec/tulip/de4x5.c srom_exec(dev, lp->rst); rst 201 drivers/net/ethernet/dec/tulip/media.c unsigned char *rst = rleaf->leafdata; rst 204 drivers/net/ethernet/dec/tulip/media.c for (i = 0; i < rst[0]; i++) rst 205 drivers/net/ethernet/dec/tulip/media.c iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15); rst 331 drivers/net/ethernet/dec/tulip/media.c unsigned char *rst = rleaf->leafdata; rst 334 drivers/net/ethernet/dec/tulip/media.c for (i = 0; i < rst[0]; i++) rst 335 drivers/net/ethernet/dec/tulip/media.c iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15); rst 2733 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (th->fin || th->rst) rst 2742 drivers/net/ethernet/intel/i40e/i40e_txrx.c !th->rst && rst 2767 drivers/net/ethernet/intel/i40e/i40e_txrx.c dtype_cmd |= (th->fin || th->rst) ? rst 8322 drivers/net/ethernet/neterion/s2io.c if (tcp->urg || tcp->psh || tcp->rst || rst 194 drivers/net/ethernet/sfc/tx_tso.c EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->rst); rst 258 drivers/net/ethernet/socionext/sni_ave.c struct reset_control *rst[AVE_MAX_RSTS]; rst 1184 drivers/net/ethernet/socionext/sni_ave.c ret = reset_control_deassert(priv->rst[nr]); rst 1240 drivers/net/ethernet/socionext/sni_ave.c reset_control_assert(priv->rst[nr]); rst 1258 drivers/net/ethernet/socionext/sni_ave.c reset_control_assert(priv->rst[i]); rst 1659 drivers/net/ethernet/socionext/sni_ave.c priv->rst[i] = devm_reset_control_get_shared(dev, name); rst 1660 drivers/net/ethernet/socionext/sni_ave.c if (IS_ERR(priv->rst[i])) { rst 1661 drivers/net/ethernet/socionext/sni_ave.c ret = PTR_ERR(priv->rst[i]); rst 31 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c struct reset_control *rst; rst 339 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c eqos->rst = devm_reset_control_get(&pdev->dev, "eqos"); rst 340 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c if (IS_ERR(eqos->rst)) { rst 341 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c err = PTR_ERR(eqos->rst); rst 345 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c err = reset_control_assert(eqos->rst); rst 351 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c err = reset_control_deassert(eqos->rst); rst 369 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c reset_control_assert(eqos->rst); rst 389 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c reset_control_assert(eqos->rst); rst 276 drivers/net/slip/slhc.c if(hlen > isize || th->syn || th->fin || th->rst || rst 156 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c bool rst = true; rst 160 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c rst = rtl92c_llt_write(hw, i , i + 1); rst 161 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c if (true != rst) { rst 163 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c return rst; rst 167 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c rst = rtl92c_llt_write(hw, (boundary - 1), 0xFF); rst 168 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c if (true != rst) { rst 170 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c return rst; rst 178 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c rst = rtl92c_llt_write(hw, i, (i + 1)); rst 179 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c if (true != rst) { rst 181 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c return rst; rst 185 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c rst = rtl92c_llt_write(hw, LLT_LAST_ENTRY_OF_TX_PKT_BUFFER, boundary); rst 186 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c if (true != rst) { rst 188 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c return rst; rst 190 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c return rst; rst 166 drivers/nvmem/lpc18xx_eeprom.c struct reset_control *rst; rst 197 drivers/nvmem/lpc18xx_eeprom.c rst = devm_reset_control_get_exclusive(dev, NULL); rst 198 drivers/nvmem/lpc18xx_eeprom.c if (IS_ERR(rst)) { rst 199 drivers/nvmem/lpc18xx_eeprom.c dev_err(dev, "failed to get reset: %ld\n", PTR_ERR(rst)); rst 200 drivers/nvmem/lpc18xx_eeprom.c ret = PTR_ERR(rst); rst 204 drivers/nvmem/lpc18xx_eeprom.c ret = reset_control_assert(rst); rst 139 drivers/pci/controller/dwc/pcie-qcom.c struct reset_control *rst[7]; rst 942 drivers/pci/controller/dwc/pcie-qcom.c res->rst[i] = devm_reset_control_get(dev, rst_names[i]); rst 943 drivers/pci/controller/dwc/pcie-qcom.c if (IS_ERR(res->rst[i])) rst 944 drivers/pci/controller/dwc/pcie-qcom.c return PTR_ERR(res->rst[i]); rst 969 drivers/pci/controller/dwc/pcie-qcom.c for (i = 0; i < ARRAY_SIZE(res->rst); i++) { rst 970 drivers/pci/controller/dwc/pcie-qcom.c ret = reset_control_assert(res->rst[i]); rst 979 drivers/pci/controller/dwc/pcie-qcom.c for (i = 0; i < ARRAY_SIZE(res->rst); i++) { rst 980 drivers/pci/controller/dwc/pcie-qcom.c ret = reset_control_deassert(res->rst[i]); rst 1065 drivers/pci/controller/dwc/pcie-qcom.c for (i = 0; i < ARRAY_SIZE(res->rst); i++) rst 1066 drivers/pci/controller/dwc/pcie-qcom.c reset_control_assert(res->rst[i]); rst 64 drivers/pci/controller/dwc/pcie-uniphier.c struct reset_control *rst; rst 364 drivers/pci/controller/dwc/pcie-uniphier.c ret = reset_control_deassert(priv->rst); rst 383 drivers/pci/controller/dwc/pcie-uniphier.c reset_control_assert(priv->rst); rst 394 drivers/pci/controller/dwc/pcie-uniphier.c reset_control_assert(priv->rst); rst 432 drivers/pci/controller/dwc/pcie-uniphier.c priv->rst = devm_reset_control_get_shared(dev, NULL); rst 433 drivers/pci/controller/dwc/pcie-uniphier.c if (IS_ERR(priv->rst)) rst 434 drivers/pci/controller/dwc/pcie-uniphier.c return PTR_ERR(priv->rst); rst 141 drivers/phy/hisilicon/phy-hisi-inno-usb2.c struct reset_control *rst; rst 144 drivers/phy/hisilicon/phy-hisi-inno-usb2.c rst = of_reset_control_get_exclusive(child, NULL); rst 145 drivers/phy/hisilicon/phy-hisi-inno-usb2.c if (IS_ERR(rst)) rst 146 drivers/phy/hisilicon/phy-hisi-inno-usb2.c return PTR_ERR(rst); rst 147 drivers/phy/hisilicon/phy-hisi-inno-usb2.c priv->ports[i].utmi_rst = rst; rst 1747 drivers/phy/qualcomm/phy-qcom-qmp.c struct reset_control *rst; rst 1750 drivers/phy/qualcomm/phy-qcom-qmp.c rst = devm_reset_control_get(dev, name); rst 1751 drivers/phy/qualcomm/phy-qcom-qmp.c if (IS_ERR(rst)) { rst 1753 drivers/phy/qualcomm/phy-qcom-qmp.c return PTR_ERR(rst); rst 1755 drivers/phy/qualcomm/phy-qcom-qmp.c qmp->resets[i] = rst; rst 151 drivers/phy/samsung/phy-exynos4210-usb2.c u32 rst; rst 191 drivers/phy/samsung/phy-exynos4210-usb2.c rst = readl(drv->reg_phy + EXYNOS_4210_UPHYRST); rst 192 drivers/phy/samsung/phy-exynos4210-usb2.c rst |= rstbits; rst 193 drivers/phy/samsung/phy-exynos4210-usb2.c writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST); rst 195 drivers/phy/samsung/phy-exynos4210-usb2.c rst &= ~rstbits; rst 196 drivers/phy/samsung/phy-exynos4210-usb2.c writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST); rst 213 drivers/phy/samsung/phy-exynos4x12-usb2.c u32 rst; rst 244 drivers/phy/samsung/phy-exynos4x12-usb2.c rst = readl(drv->reg_phy + EXYNOS_4x12_UPHYRST); rst 245 drivers/phy/samsung/phy-exynos4x12-usb2.c rst |= rstbits; rst 246 drivers/phy/samsung/phy-exynos4x12-usb2.c writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST); rst 248 drivers/phy/samsung/phy-exynos4x12-usb2.c rst &= ~rstbits; rst 249 drivers/phy/samsung/phy-exynos4x12-usb2.c writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST); rst 114 drivers/phy/samsung/phy-s5pv210-usb2.c u32 rst; rst 136 drivers/phy/samsung/phy-s5pv210-usb2.c rst = readl(drv->reg_phy + S5PV210_UPHYRST); rst 137 drivers/phy/samsung/phy-s5pv210-usb2.c rst |= rstbits; rst 138 drivers/phy/samsung/phy-s5pv210-usb2.c writel(rst, drv->reg_phy + S5PV210_UPHYRST); rst 140 drivers/phy/samsung/phy-s5pv210-usb2.c rst &= ~rstbits; rst 141 drivers/phy/samsung/phy-s5pv210-usb2.c writel(rst, drv->reg_phy + S5PV210_UPHYRST); rst 49 drivers/phy/socionext/phy-uniphier-pcie.c struct reset_control *rst; rst 120 drivers/phy/socionext/phy-uniphier-pcie.c ret = reset_control_deassert(priv->rst); rst 148 drivers/phy/socionext/phy-uniphier-pcie.c reset_control_assert(priv->rst); rst 188 drivers/phy/socionext/phy-uniphier-pcie.c priv->rst = devm_reset_control_get_shared(dev, NULL); rst 189 drivers/phy/socionext/phy-uniphier-pcie.c if (IS_ERR(priv->rst)) rst 190 drivers/phy/socionext/phy-uniphier-pcie.c return PTR_ERR(priv->rst); rst 70 drivers/phy/socionext/phy-uniphier-usb3hs.c struct reset_control *rst, *rst_parent; rst 213 drivers/phy/socionext/phy-uniphier-usb3hs.c ret = reset_control_deassert(priv->rst); rst 226 drivers/phy/socionext/phy-uniphier-usb3hs.c reset_control_assert(priv->rst); rst 242 drivers/phy/socionext/phy-uniphier-usb3hs.c reset_control_assert(priv->rst); rst 342 drivers/phy/socionext/phy-uniphier-usb3hs.c priv->rst = devm_reset_control_get_shared(dev, "phy"); rst 343 drivers/phy/socionext/phy-uniphier-usb3hs.c if (IS_ERR(priv->rst)) rst 344 drivers/phy/socionext/phy-uniphier-usb3hs.c return PTR_ERR(priv->rst); rst 56 drivers/phy/socionext/phy-uniphier-usb3ss.c struct reset_control *rst, *rst_parent, *rst_parent_gio; rst 118 drivers/phy/socionext/phy-uniphier-usb3ss.c ret = reset_control_deassert(priv->rst); rst 131 drivers/phy/socionext/phy-uniphier-usb3ss.c reset_control_assert(priv->rst); rst 147 drivers/phy/socionext/phy-uniphier-usb3ss.c reset_control_assert(priv->rst); rst 245 drivers/phy/socionext/phy-uniphier-usb3ss.c priv->rst = devm_reset_control_get_shared(dev, "phy"); rst 246 drivers/phy/socionext/phy-uniphier-usb3ss.c if (IS_ERR(priv->rst)) rst 247 drivers/phy/socionext/phy-uniphier-usb3ss.c return PTR_ERR(priv->rst); rst 70 drivers/phy/st/phy-stm32-usbphyc.c struct reset_control *rst; rst 343 drivers/phy/st/phy-stm32-usbphyc.c usbphyc->rst = devm_reset_control_get(dev, 0); rst 344 drivers/phy/st/phy-stm32-usbphyc.c if (!IS_ERR(usbphyc->rst)) { rst 345 drivers/phy/st/phy-stm32-usbphyc.c reset_control_assert(usbphyc->rst); rst 347 drivers/phy/st/phy-stm32-usbphyc.c reset_control_deassert(usbphyc->rst); rst 260 drivers/phy/tegra/xusb-tegra210.c err = reset_control_deassert(pcie->rst); rst 447 drivers/phy/tegra/xusb-tegra210.c reset_control_assert(pcie->rst); rst 465 drivers/phy/tegra/xusb-tegra210.c reset_control_assert(pcie->rst); rst 489 drivers/phy/tegra/xusb-tegra210.c err = reset_control_deassert(sata->rst); rst 689 drivers/phy/tegra/xusb-tegra210.c reset_control_assert(sata->rst); rst 707 drivers/phy/tegra/xusb-tegra210.c reset_control_assert(sata->rst); rst 1550 drivers/phy/tegra/xusb-tegra210.c pcie->rst = devm_reset_control_get(&pad->dev, "phy"); rst 1551 drivers/phy/tegra/xusb-tegra210.c if (IS_ERR(pcie->rst)) { rst 1552 drivers/phy/tegra/xusb-tegra210.c err = PTR_ERR(pcie->rst); rst 1714 drivers/phy/tegra/xusb-tegra210.c sata->rst = devm_reset_control_get(&pad->dev, "phy"); rst 1715 drivers/phy/tegra/xusb-tegra210.c if (IS_ERR(sata->rst)) { rst 1716 drivers/phy/tegra/xusb-tegra210.c err = PTR_ERR(sata->rst); rst 897 drivers/phy/tegra/xusb.c padctl->rst = devm_reset_control_get(&pdev->dev, NULL); rst 898 drivers/phy/tegra/xusb.c if (IS_ERR(padctl->rst)) { rst 899 drivers/phy/tegra/xusb.c err = PTR_ERR(padctl->rst); rst 920 drivers/phy/tegra/xusb.c err = reset_control_deassert(padctl->rst); rst 950 drivers/phy/tegra/xusb.c reset_control_assert(padctl->rst); rst 969 drivers/phy/tegra/xusb.c err = reset_control_assert(padctl->rst); rst 229 drivers/phy/tegra/xusb.h struct reset_control *rst; rst 244 drivers/phy/tegra/xusb.h struct reset_control *rst; rst 398 drivers/phy/tegra/xusb.h struct reset_control *rst; rst 294 drivers/pinctrl/mediatek/mtk-eint.c unsigned int rst, ctrl_offset; rst 302 drivers/pinctrl/mediatek/mtk-eint.c rst = MTK_EINT_DBNC_RST_BIT << ((index % 4) * 8); rst 303 drivers/pinctrl/mediatek/mtk-eint.c writel(rst, eint->base + ctrl_offset); rst 394 drivers/pinctrl/mediatek/mtk-eint.c unsigned int set_offset, bit, clr_bit, clr_offset, rst, i, unmask, rst 430 drivers/pinctrl/mediatek/mtk-eint.c rst = MTK_EINT_DBNC_RST_BIT << eint_offset; rst 431 drivers/pinctrl/mediatek/mtk-eint.c writel(rst | bit, eint->base + set_offset); rst 81 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c struct reset_control *rst; rst 896 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c padctl->rst = devm_reset_control_get_exclusive(&pdev->dev, NULL); rst 897 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c if (IS_ERR(padctl->rst)) rst 898 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c return PTR_ERR(padctl->rst); rst 900 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c err = reset_control_deassert(padctl->rst); rst 950 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c reset_control_assert(padctl->rst); rst 960 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c err = reset_control_assert(padctl->rst); rst 41 drivers/pwm/pwm-tegra.c struct reset_control*rst; rst 208 drivers/pwm/pwm-tegra.c pwm->rst = devm_reset_control_get_exclusive(&pdev->dev, "pwm"); rst 209 drivers/pwm/pwm-tegra.c if (IS_ERR(pwm->rst)) { rst 210 drivers/pwm/pwm-tegra.c ret = PTR_ERR(pwm->rst); rst 215 drivers/pwm/pwm-tegra.c reset_control_deassert(pwm->rst); rst 225 drivers/pwm/pwm-tegra.c reset_control_assert(pwm->rst); rst 257 drivers/pwm/pwm-tegra.c reset_control_assert(pc->rst); rst 31 drivers/regulator/uniphier-regulator.c struct reset_control *rst[MAX_RSTS]; rst 74 drivers/regulator/uniphier-regulator.c priv->rst[i] = devm_reset_control_get_shared(dev, name); rst 75 drivers/regulator/uniphier-regulator.c if (IS_ERR(priv->rst[i])) rst 76 drivers/regulator/uniphier-regulator.c return PTR_ERR(priv->rst[i]); rst 84 drivers/regulator/uniphier-regulator.c ret = reset_control_deassert(priv->rst[nr]); rst 113 drivers/regulator/uniphier-regulator.c reset_control_assert(priv->rst[nr]); rst 126 drivers/regulator/uniphier-regulator.c reset_control_assert(priv->rst[i]); rst 65 drivers/remoteproc/stm32_rproc.c struct reset_control *rst; rst 429 drivers/remoteproc/stm32_rproc.c err = reset_control_assert(ddata->rst); rst 534 drivers/remoteproc/stm32_rproc.c ddata->rst = devm_reset_control_get_by_index(dev, 0); rst 535 drivers/remoteproc/stm32_rproc.c if (IS_ERR(ddata->rst)) { rst 537 drivers/remoteproc/stm32_rproc.c return PTR_ERR(ddata->rst); rst 15 drivers/reset/hisilicon/reset-hi3660.c struct reset_controller_dev rst; rst 20 drivers/reset/hisilicon/reset-hi3660.c container_of(_rst, struct hi3660_reset_controller, rst) rst 92 drivers/reset/hisilicon/reset-hi3660.c rc->rst.ops = &hi3660_reset_ops, rst 93 drivers/reset/hisilicon/reset-hi3660.c rc->rst.of_node = np; rst 94 drivers/reset/hisilicon/reset-hi3660.c rc->rst.of_reset_n_cells = 2; rst 95 drivers/reset/hisilicon/reset-hi3660.c rc->rst.of_xlate = hi3660_reset_xlate; rst 97 drivers/reset/hisilicon/reset-hi3660.c return reset_controller_register(&rc->rst); rst 30 drivers/reset/reset-axs10x.c struct axs10x_rst *rst = to_axs10x_rst(rcdev); rst 33 drivers/reset/reset-axs10x.c spin_lock_irqsave(&rst->lock, flags); rst 34 drivers/reset/reset-axs10x.c writel(BIT(id), rst->regs_rst); rst 35 drivers/reset/reset-axs10x.c spin_unlock_irqrestore(&rst->lock, flags); rst 46 drivers/reset/reset-axs10x.c struct axs10x_rst *rst; rst 49 drivers/reset/reset-axs10x.c rst = devm_kzalloc(&pdev->dev, sizeof(*rst), GFP_KERNEL); rst 50 drivers/reset/reset-axs10x.c if (!rst) rst 54 drivers/reset/reset-axs10x.c rst->regs_rst = devm_ioremap_resource(&pdev->dev, mem); rst 55 drivers/reset/reset-axs10x.c if (IS_ERR(rst->regs_rst)) rst 56 drivers/reset/reset-axs10x.c return PTR_ERR(rst->regs_rst); rst 58 drivers/reset/reset-axs10x.c spin_lock_init(&rst->lock); rst 60 drivers/reset/reset-axs10x.c rst->rcdev.owner = THIS_MODULE; rst 61 drivers/reset/reset-axs10x.c rst->rcdev.ops = &axs10x_reset_ops; rst 62 drivers/reset/reset-axs10x.c rst->rcdev.of_node = pdev->dev.of_node; rst 63 drivers/reset/reset-axs10x.c rst->rcdev.nr_resets = AXS10X_MAX_RESETS; rst 65 drivers/reset/reset-axs10x.c return devm_reset_controller_register(&pdev->dev, &rst->rcdev); rst 52 drivers/reset/reset-hsdk.c static void hsdk_reset_config(struct hsdk_rst *rst, unsigned long id) rst 54 drivers/reset/reset-hsdk.c writel(rst_map[id], rst->regs_ctl + CGU_SYS_RST_CTRL); rst 57 drivers/reset/reset-hsdk.c static int hsdk_reset_do(struct hsdk_rst *rst) rst 61 drivers/reset/reset-hsdk.c reg = readl(rst->regs_rst + CGU_IP_SW_RESET); rst 65 drivers/reset/reset-hsdk.c writel(reg, rst->regs_rst + CGU_IP_SW_RESET); rst 68 drivers/reset/reset-hsdk.c return readl_poll_timeout_atomic(rst->regs_rst + CGU_IP_SW_RESET, reg, rst 75 drivers/reset/reset-hsdk.c struct hsdk_rst *rst = to_hsdk_rst(rcdev); rst 79 drivers/reset/reset-hsdk.c spin_lock_irqsave(&rst->lock, flags); rst 80 drivers/reset/reset-hsdk.c hsdk_reset_config(rst, id); rst 81 drivers/reset/reset-hsdk.c ret = hsdk_reset_do(rst); rst 82 drivers/reset/reset-hsdk.c spin_unlock_irqrestore(&rst->lock, flags); rst 94 drivers/reset/reset-hsdk.c struct hsdk_rst *rst; rst 97 drivers/reset/reset-hsdk.c rst = devm_kzalloc(&pdev->dev, sizeof(*rst), GFP_KERNEL); rst 98 drivers/reset/reset-hsdk.c if (!rst) rst 102 drivers/reset/reset-hsdk.c rst->regs_ctl = devm_ioremap_resource(&pdev->dev, mem); rst 103 drivers/reset/reset-hsdk.c if (IS_ERR(rst->regs_ctl)) rst 104 drivers/reset/reset-hsdk.c return PTR_ERR(rst->regs_ctl); rst 107 drivers/reset/reset-hsdk.c rst->regs_rst = devm_ioremap_resource(&pdev->dev, mem); rst 108 drivers/reset/reset-hsdk.c if (IS_ERR(rst->regs_rst)) rst 109 drivers/reset/reset-hsdk.c return PTR_ERR(rst->regs_rst); rst 111 drivers/reset/reset-hsdk.c spin_lock_init(&rst->lock); rst 113 drivers/reset/reset-hsdk.c rst->rcdev.owner = THIS_MODULE; rst 114 drivers/reset/reset-hsdk.c rst->rcdev.ops = &hsdk_reset_ops; rst 115 drivers/reset/reset-hsdk.c rst->rcdev.of_node = pdev->dev.of_node; rst 116 drivers/reset/reset-hsdk.c rst->rcdev.nr_resets = HSDK_MAX_RESETS; rst 117 drivers/reset/reset-hsdk.c rst->rcdev.of_reset_n_cells = 1; rst 119 drivers/reset/reset-hsdk.c return reset_controller_register(&rst->rcdev); rst 27 drivers/reset/reset-uniphier-glue.c struct reset_control *rst[MAX_RSTS]; rst 64 drivers/reset/reset-uniphier-glue.c priv->rst[i] = devm_reset_control_get_shared(dev, name); rst 65 drivers/reset/reset-uniphier-glue.c if (IS_ERR(priv->rst[i])) rst 66 drivers/reset/reset-uniphier-glue.c return PTR_ERR(priv->rst[i]); rst 74 drivers/reset/reset-uniphier-glue.c ret = reset_control_deassert(priv->rst[nr]); rst 96 drivers/reset/reset-uniphier-glue.c reset_control_assert(priv->rst[nr]); rst 109 drivers/reset/reset-uniphier-glue.c reset_control_assert(priv->rst[i]); rst 40 drivers/reset/sti/reset-syscfg.c struct reset_controller_dev rst; rst 46 drivers/reset/sti/reset-syscfg.c container_of(_rst, struct syscfg_reset_controller, rst) rst 51 drivers/reset/sti/reset-syscfg.c struct syscfg_reset_controller *rst = to_syscfg_reset_controller(rcdev); rst 53 drivers/reset/sti/reset-syscfg.c u32 ctrl_val = rst->active_low ? !assert : !!assert; rst 59 drivers/reset/sti/reset-syscfg.c ch = &rst->channels[idx]; rst 114 drivers/reset/sti/reset-syscfg.c struct syscfg_reset_controller *rst = to_syscfg_reset_controller(rcdev); rst 122 drivers/reset/sti/reset-syscfg.c ch = &rst->channels[idx]; rst 130 drivers/reset/sti/reset-syscfg.c return rst->active_low ? !ret_val : !!ret_val; rst 155 drivers/reset/sti/reset-syscfg.c rc->rst.ops = &syscfg_reset_ops, rst 156 drivers/reset/sti/reset-syscfg.c rc->rst.of_node = dev->of_node; rst 157 drivers/reset/sti/reset-syscfg.c rc->rst.nr_resets = data->nr_channels; rst 185 drivers/reset/sti/reset-syscfg.c err = reset_controller_register(&rc->rst); rst 835 drivers/scsi/aacraid/linit.c struct aac_hba_reset_req *rst; rst 839 drivers/scsi/aacraid/linit.c rst = (struct aac_hba_reset_req *)fib->hw_fib_va; rst 840 drivers/scsi/aacraid/linit.c memset(rst, 0, sizeof(*rst)); rst 841 drivers/scsi/aacraid/linit.c rst->it_nexus = info->rmw_nexus; rst 844 drivers/scsi/aacraid/linit.c rst->error_ptr_hi = cpu_to_le32((u32)(address >> 32)); rst 845 drivers/scsi/aacraid/linit.c rst->error_ptr_lo = cpu_to_le32((u32)(address & 0xffffffff)); rst 846 drivers/scsi/aacraid/linit.c rst->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); rst 847 drivers/scsi/aacraid/linit.c fib->hbacmd_size = sizeof(*rst); rst 2476 drivers/scsi/hisi_sas/hisi_sas_main.c struct hisi_sas_rst *rst = rst 2479 drivers/scsi/hisi_sas/hisi_sas_main.c if (!hisi_sas_controller_reset(rst->hisi_hba)) rst 2480 drivers/scsi/hisi_sas/hisi_sas_main.c rst->done = true; rst 2481 drivers/scsi/hisi_sas/hisi_sas_main.c complete(rst->completion); rst 2437 drivers/scsi/qla2xxx/qla_nx.c int rst; rst 2449 drivers/scsi/qla2xxx/qla_nx.c rst = qla82xx_rd_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET); rst 2450 drivers/scsi/qla2xxx/qla_nx.c rst &= ~((1 << 28) | (1 << 24)); rst 2451 drivers/scsi/qla2xxx/qla_nx.c qla82xx_wr_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET, rst); rst 1336 drivers/scsi/qla4xxx/ql4_nx.c u32 rst; rst 1352 drivers/scsi/qla4xxx/ql4_nx.c rst = qla4_82xx_rd_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET); rst 1354 drivers/scsi/qla4xxx/ql4_nx.c rst &= ~(1 << 28); rst 1355 drivers/scsi/qla4xxx/ql4_nx.c qla4_82xx_wr_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET, rst); rst 86 drivers/scsi/ufs/ufs-hisi.c if (!IS_ERR(host->rst)) rst 87 drivers/scsi/ufs/ufs-hisi.c reset_control_assert(host->rst); rst 134 drivers/scsi/ufs/ufs-hisi.c if (!IS_ERR(host->rst)) rst 135 drivers/scsi/ufs/ufs-hisi.c reset_control_deassert(host->rst); rst 484 drivers/scsi/ufs/ufs-hisi.c host->rst = devm_reset_control_get(dev, "rst"); rst 485 drivers/scsi/ufs/ufs-hisi.c if (IS_ERR(host->rst)) { rst 487 drivers/scsi/ufs/ufs-hisi.c return PTR_ERR(host->rst); rst 99 drivers/scsi/ufs/ufs-hisi.h struct reset_control *rst; rst 758 drivers/soc/tegra/pmc.c struct reset_control *rst) rst 773 drivers/soc/tegra/pmc.c pg->reset = rst; rst 297 drivers/spi/spi-stm32.c struct reset_control *rst; rst 1876 drivers/spi/spi-stm32.c spi->rst = devm_reset_control_get_exclusive(&pdev->dev, NULL); rst 1877 drivers/spi/spi-stm32.c if (!IS_ERR(spi->rst)) { rst 1878 drivers/spi/spi-stm32.c reset_control_assert(spi->rst); rst 1880 drivers/spi/spi-stm32.c reset_control_deassert(spi->rst); rst 172 drivers/spi/spi-tegra114.c struct reset_control *rst; rst 1083 drivers/spi/spi-tegra114.c reset_control_assert(tspi->rst); rst 1085 drivers/spi/spi-tegra114.c reset_control_deassert(tspi->rst); rst 1139 drivers/spi/spi-tegra114.c reset_control_assert(tspi->rst); rst 1141 drivers/spi/spi-tegra114.c reset_control_deassert(tspi->rst); rst 1214 drivers/spi/spi-tegra114.c reset_control_assert(tspi->rst); rst 1216 drivers/spi/spi-tegra114.c reset_control_deassert(tspi->rst); rst 1363 drivers/spi/spi-tegra114.c tspi->rst = devm_reset_control_get_exclusive(&pdev->dev, "spi"); rst 1364 drivers/spi/spi-tegra114.c if (IS_ERR(tspi->rst)) { rst 1366 drivers/spi/spi-tegra114.c ret = PTR_ERR(tspi->rst); rst 1398 drivers/spi/spi-tegra114.c reset_control_assert(tspi->rst); rst 1400 drivers/spi/spi-tegra114.c reset_control_deassert(tspi->rst); rst 109 drivers/spi/spi-tegra20-sflash.c struct reset_control *rst; rst 370 drivers/spi/spi-tegra20-sflash.c reset_control_assert(tsd->rst); rst 372 drivers/spi/spi-tegra20-sflash.c reset_control_deassert(tsd->rst); rst 475 drivers/spi/spi-tegra20-sflash.c tsd->rst = devm_reset_control_get_exclusive(&pdev->dev, "spi"); rst 476 drivers/spi/spi-tegra20-sflash.c if (IS_ERR(tsd->rst)) { rst 478 drivers/spi/spi-tegra20-sflash.c ret = PTR_ERR(tsd->rst); rst 497 drivers/spi/spi-tegra20-sflash.c reset_control_assert(tsd->rst); rst 499 drivers/spi/spi-tegra20-sflash.c reset_control_deassert(tsd->rst); rst 158 drivers/spi/spi-tegra20-slink.c struct reset_control *rst; rst 858 drivers/spi/spi-tegra20-slink.c reset_control_assert(tspi->rst); rst 860 drivers/spi/spi-tegra20-slink.c reset_control_deassert(tspi->rst); rst 931 drivers/spi/spi-tegra20-slink.c reset_control_assert(tspi->rst); rst 933 drivers/spi/spi-tegra20-slink.c reset_control_assert(tspi->rst); rst 1090 drivers/spi/spi-tegra20-slink.c tspi->rst = devm_reset_control_get_exclusive(&pdev->dev, "spi"); rst 1091 drivers/spi/spi-tegra20-slink.c if (IS_ERR(tspi->rst)) { rst 1093 drivers/spi/spi-tegra20-slink.c ret = PTR_ERR(tspi->rst); rst 793 drivers/staging/media/tegra-vde/vde.c ret = reset_control_reset(vde->rst); rst 839 drivers/staging/media/tegra-vde/vde.c err = reset_control_assert(vde->rst); rst 940 drivers/staging/media/tegra-vde/vde.c vde->clk, vde->rst); rst 1041 drivers/staging/media/tegra-vde/vde.c vde->rst = devm_reset_control_get(dev, NULL); rst 1042 drivers/staging/media/tegra-vde/vde.c if (IS_ERR(vde->rst)) { rst 1043 drivers/staging/media/tegra-vde/vde.c err = PTR_ERR(vde->rst); rst 41 drivers/staging/media/tegra-vde/vde.h struct reset_control *rst; rst 143 drivers/staging/mt7621-pci/pci-mt7621.c struct reset_control *rst; rst 394 drivers/staging/mt7621-pci/pci-mt7621.c pcie->rst = devm_reset_control_get_exclusive(dev, "pcie"); rst 395 drivers/staging/mt7621-pci/pci-mt7621.c if (PTR_ERR(pcie->rst) == -EPROBE_DEFER) { rst 397 drivers/staging/mt7621-pci/pci-mt7621.c return PTR_ERR(pcie->rst); rst 478 drivers/staging/mt7621-pci/pci-mt7621.c reset_control_assert(pcie->rst); rst 500 drivers/staging/mt7621-pci/pci-mt7621.c reset_control_deassert(pcie->rst); rst 727 drivers/staging/nvec/nvec.c reset_control_assert(nvec->rst); rst 729 drivers/staging/nvec/nvec.c reset_control_deassert(nvec->rst); rst 806 drivers/staging/nvec/nvec.c nvec->rst = devm_reset_control_get_exclusive(dev, "i2c"); rst 807 drivers/staging/nvec/nvec.c if (IS_ERR(nvec->rst)) { rst 809 drivers/staging/nvec/nvec.c return PTR_ERR(nvec->rst); rst 140 drivers/staging/nvec/nvec.h struct reset_control *rst; rst 64 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c s32 rst = _SUCCESS; rst 68 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c rst = iol_execute(padapter, CMD_INIT_LLT); rst 70 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c return rst; rst 46 drivers/tty/serial/8250/8250_dw.c struct reset_control *rst; rst 507 drivers/tty/serial/8250/8250_dw.c data->rst = devm_reset_control_get_optional_exclusive(dev, NULL); rst 508 drivers/tty/serial/8250/8250_dw.c if (IS_ERR(data->rst)) { rst 509 drivers/tty/serial/8250/8250_dw.c err = PTR_ERR(data->rst); rst 512 drivers/tty/serial/8250/8250_dw.c reset_control_deassert(data->rst); rst 544 drivers/tty/serial/8250/8250_dw.c reset_control_assert(data->rst); rst 566 drivers/tty/serial/8250/8250_dw.c reset_control_assert(data->rst); rst 24 drivers/tty/serial/8250/8250_of.c struct reset_control *rst; rst 163 drivers/tty/serial/8250/8250_of.c info->rst = devm_reset_control_get_optional_shared(&ofdev->dev, NULL); rst 164 drivers/tty/serial/8250/8250_of.c if (IS_ERR(info->rst)) { rst 165 drivers/tty/serial/8250/8250_of.c ret = PTR_ERR(info->rst); rst 169 drivers/tty/serial/8250/8250_of.c ret = reset_control_deassert(info->rst); rst 276 drivers/tty/serial/8250/8250_of.c reset_control_assert(info->rst); rst 107 drivers/tty/serial/serial-tegra.c struct reset_control *rst; rst 984 drivers/tty/serial/serial-tegra.c reset_control_assert(tup->rst); rst 986 drivers/tty/serial/serial-tegra.c reset_control_deassert(tup->rst); rst 1598 drivers/tty/serial/serial-tegra.c tup->rst = devm_reset_control_get_exclusive(&pdev->dev, "serial"); rst 1599 drivers/tty/serial/serial-tegra.c if (IS_ERR(tup->rst)) { rst 1601 drivers/tty/serial/serial-tegra.c return PTR_ERR(tup->rst); rst 35 drivers/usb/host/ehci-st.c struct reset_control *rst; rst 75 drivers/usb/host/ehci-st.c ret = reset_control_deassert(priv->rst); rst 109 drivers/usb/host/ehci-st.c reset_control_assert(priv->rst); rst 124 drivers/usb/host/ehci-st.c reset_control_assert(priv->rst); rst 212 drivers/usb/host/ehci-st.c priv->rst = rst 214 drivers/usb/host/ehci-st.c if (IS_ERR(priv->rst)) { rst 215 drivers/usb/host/ehci-st.c err = PTR_ERR(priv->rst); rst 218 drivers/usb/host/ehci-st.c priv->rst = NULL; rst 47 drivers/usb/host/ehci-tegra.c struct reset_control *rst; rst 59 drivers/usb/host/ehci-tegra.c struct reset_control *rst; rst 71 drivers/usb/host/ehci-tegra.c rst = of_reset_control_get_shared(phy_np, "utmi-pads"); rst 72 drivers/usb/host/ehci-tegra.c if (IS_ERR(rst)) { rst 82 drivers/usb/host/ehci-tegra.c reset_control_put(rst); rst 88 drivers/usb/host/ehci-tegra.c err = reset_control_deassert(tegra->rst); rst 92 drivers/usb/host/ehci-tegra.c err = reset_control_assert(tegra->rst); rst 98 drivers/usb/host/ehci-tegra.c err = reset_control_deassert(tegra->rst); rst 429 drivers/usb/host/ehci-tegra.c tegra->rst = devm_reset_control_get_shared(&pdev->dev, "usb"); rst 430 drivers/usb/host/ehci-tegra.c if (IS_ERR(tegra->rst)) { rst 432 drivers/usb/host/ehci-tegra.c err = PTR_ERR(tegra->rst); rst 529 drivers/usb/host/ehci-tegra.c reset_control_assert(tegra->rst); rst 33 drivers/usb/host/ohci-st.c struct reset_control *rst; rst 55 drivers/usb/host/ohci-st.c ret = reset_control_deassert(priv->rst); rst 89 drivers/usb/host/ohci-st.c reset_control_assert(priv->rst); rst 105 drivers/usb/host/ohci-st.c reset_control_assert(priv->rst); rst 191 drivers/usb/host/ohci-st.c priv->rst = rst 193 drivers/usb/host/ohci-st.c if (IS_ERR(priv->rst)) { rst 194 drivers/usb/host/ohci-st.c err = PTR_ERR(priv->rst); rst 78 drivers/usb/musb/sunxi.c struct reset_control *rst; rst 235 drivers/usb/musb/sunxi.c ret = reset_control_deassert(glue->rst); rst 261 drivers/usb/musb/sunxi.c reset_control_assert(glue->rst); rst 283 drivers/usb/musb/sunxi.c reset_control_assert(glue->rst); rst 737 drivers/usb/musb/sunxi.c glue->rst = devm_reset_control_get(&pdev->dev, NULL); rst 738 drivers/usb/musb/sunxi.c if (IS_ERR(glue->rst)) { rst 739 drivers/usb/musb/sunxi.c if (PTR_ERR(glue->rst) == -EPROBE_DEFER) rst 742 drivers/usb/musb/sunxi.c PTR_ERR(glue->rst)); rst 743 drivers/usb/musb/sunxi.c return PTR_ERR(glue->rst); rst 59 drivers/watchdog/asm9260_wdt.c struct reset_control *rst; rst 121 drivers/watchdog/asm9260_wdt.c reset_control_assert(priv->rst); rst 122 drivers/watchdog/asm9260_wdt.c reset_control_deassert(priv->rst); rst 303 drivers/watchdog/asm9260_wdt.c priv->rst = devm_reset_control_get_exclusive(dev, "wdt_rst"); rst 304 drivers/watchdog/asm9260_wdt.c if (IS_ERR(priv->rst)) rst 305 drivers/watchdog/asm9260_wdt.c return PTR_ERR(priv->rst); rst 76 drivers/watchdog/cadence_wdt.c bool rst; rst 205 drivers/watchdog/cadence_wdt.c if (wdt->rst) { rst 315 drivers/watchdog/cadence_wdt.c wdt->rst = of_property_read_bool(dev->of_node, "reset-on-timeout"); rst 317 drivers/watchdog/cadence_wdt.c if (!wdt->rst && irq >= 0) { rst 53 drivers/watchdog/dw_wdt.c struct reset_control *rst; rst 147 drivers/watchdog/dw_wdt.c if (!dw_wdt->rst) { rst 152 drivers/watchdog/dw_wdt.c reset_control_assert(dw_wdt->rst); rst 153 drivers/watchdog/dw_wdt.c reset_control_deassert(dw_wdt->rst); rst 261 drivers/watchdog/dw_wdt.c dw_wdt->rst = devm_reset_control_get_optional_shared(&pdev->dev, NULL); rst 262 drivers/watchdog/dw_wdt.c if (IS_ERR(dw_wdt->rst)) { rst 263 drivers/watchdog/dw_wdt.c ret = PTR_ERR(dw_wdt->rst); rst 267 drivers/watchdog/dw_wdt.c reset_control_deassert(dw_wdt->rst); rst 314 drivers/watchdog/dw_wdt.c reset_control_assert(dw_wdt->rst); rst 1483 include/net/tcp.h int rst) rst 1500 include/net/tcp.h if (rst && !time_before32(ktime_get_seconds(), rst 131 include/soc/tegra/mc.h const struct tegra_mc_reset *rst); rst 133 include/soc/tegra/mc.h const struct tegra_mc_reset *rst); rst 135 include/soc/tegra/mc.h const struct tegra_mc_reset *rst); rst 137 include/soc/tegra/mc.h const struct tegra_mc_reset *rst); rst 139 include/soc/tegra/mc.h const struct tegra_mc_reset *rst); rst 141 include/soc/tegra/mc.h const struct tegra_mc_reset *rst); rst 161 include/soc/tegra/pmc.h struct reset_control *rst); rst 192 include/soc/tegra/pmc.h struct reset_control *rst) rst 35 include/uapi/linux/tcp.h rst:1, rst 49 include/uapi/linux/tcp.h rst:1, rst 5811 net/core/filter.c if (!th->ack || th->rst || th->syn) rst 5877 net/core/filter.c if (!th->syn || th->ack || th->fin || th->rst) rst 42 net/core/tso.c tcph->rst = 0; rst 31 net/ipv4/netfilter/ipt_SYNPROXY.c if (th->syn && !(th->ack || th->fin || th->rst)) { rst 51 net/ipv4/netfilter/ipt_SYNPROXY.c } else if (th->ack && !(th->fin || th->rst || th->syn)) { rst 33 net/ipv4/netfilter/nf_reject_ipv4.c if (oth->rst) rst 90 net/ipv4/netfilter/nf_reject_ipv4.c tcph->rst = 1; rst 31 net/ipv4/netfilter/nf_tproxy_ipv4.c if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { rst 2989 net/ipv4/route.c tcph->rst = 1; rst 300 net/ipv4/syncookies.c if (!sock_net(sk)->ipv4.sysctl_tcp_syncookies || !th->ack || th->rst) rst 5429 net/ipv4/tcp_input.c if (!th->rst) { rst 5448 net/ipv4/tcp_input.c if (!th->rst) { rst 5462 net/ipv4/tcp_input.c if (th->rst) { rst 5693 net/ipv4/tcp_input.c if (!th->ack && !th->rst && !th->syn) rst 5912 net/ipv4/tcp_input.c if (th->rst) { rst 6015 net/ipv4/tcp_input.c if (th->rst) { rst 6152 net/ipv4/tcp_input.c if (th->rst) rst 6202 net/ipv4/tcp_input.c if (!th->ack && !th->rst && !th->syn) rst 673 net/ipv4/tcp_ipv4.c if (th->rst) rst 687 net/ipv4/tcp_ipv4.c rep.th.rst = 1; rst 108 net/ipv4/tcp_minisocks.c paws_reject = tcp_paws_reject(&tmp_opt, th->rst); rst 123 net/ipv4/tcp_minisocks.c if (th->rst) rst 175 net/ipv4/tcp_minisocks.c (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { rst 178 net/ipv4/tcp_minisocks.c if (th->rst) { rst 218 net/ipv4/tcp_minisocks.c if (th->syn && !th->rst && !th->ack && !paws_reject && rst 232 net/ipv4/tcp_minisocks.c if (!th->rst) { rst 592 net/ipv4/tcp_minisocks.c paws_reject = tcp_paws_reject(&tmp_opt, th->rst); rst 31 net/ipv6/netfilter/ip6t_SYNPROXY.c if (th->syn && !(th->ack || th->fin || th->rst)) { rst 52 net/ipv6/netfilter/ip6t_SYNPROXY.c } else if (th->ack && !(th->fin || th->rst || th->syn)) { rst 48 net/ipv6/netfilter/nf_reject_ipv6.c if (otcph->rst) { rst 114 net/ipv6/netfilter/nf_reject_ipv6.c tcph->rst = 1; rst 54 net/ipv6/netfilter/nf_tproxy_ipv6.c if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { rst 144 net/ipv6/syncookies.c if (!sock_net(sk)->ipv4.sysctl_tcp_syncookies || !th->ack || th->rst) rst 807 net/ipv6/tcp_ipv6.c int oif, struct tcp_md5sig_key *key, int rst, rst 845 net/ipv6/tcp_ipv6.c t1->ack = !rst || !th->ack; rst 846 net/ipv6/tcp_ipv6.c t1->rst = rst; rst 915 net/ipv6/tcp_ipv6.c if (rst) rst 940 net/ipv6/tcp_ipv6.c if (th->rst) rst 1090 net/netfilter/ipvs/ip_vs_core.c return th->rst; rst 51 net/netfilter/ipvs/ip_vs_proto_tcp.c if (th->rst || !(sysctl_sloppy_tcp(ipvs) || th->syn)) rst 500 net/netfilter/ipvs/ip_vs_proto_tcp.c if (th->rst) rst 550 net/netfilter/ipvs/ip_vs_proto_tcp.c th->rst ? 'R' : '.', rst 285 net/netfilter/nf_conntrack_proto_tcp.c if (tcph->rst) return TCP_RST_SET; rst 584 net/netfilter/nf_conntrack_proto_tcp.c if (tcph->rst && seq == 0 && state->state == TCP_CONNTRACK_SYN_SENT) rst 1105 net/netfilter/nf_conntrack_proto_tcp.c (th->fin ? 1 : 0), (th->rst ? 1 : 0), rst 1141 net/netfilter/nf_conntrack_proto_tcp.c if (th->rst) { rst 31 net/netfilter/nf_flow_table_ip.c if (unlikely(tcph->fin || tcph->rst)) { rst 98 net/netfilter/nf_log_common.c if (th->rst) rst 690 net/netfilter/nf_synproxy_core.c if (th->rst && CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) { rst 1114 net/netfilter/nf_synproxy_core.c if (th->rst && CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) { rst 95 net/netfilter/nft_flow_offload.c if (unlikely(!tcph || tcph->fin || tcph->rst)) rst 55 sound/soc/codecs/sti-sas.c struct reset_control *rst; rst 423 sound/soc/img/img-i2s-in.c struct reset_control *rst; rst 481 sound/soc/img/img-i2s-in.c rst = devm_reset_control_get_exclusive(dev, "rst"); rst 482 sound/soc/img/img-i2s-in.c if (IS_ERR(rst)) { rst 483 sound/soc/img/img-i2s-in.c if (PTR_ERR(rst) == -EPROBE_DEFER) { rst 495 sound/soc/img/img-i2s-in.c reset_control_assert(rst); rst 496 sound/soc/img/img-i2s-in.c reset_control_deassert(rst); rst 61 sound/soc/img/img-i2s-out.c struct reset_control *rst; rst 172 sound/soc/img/img-i2s-out.c reset_control_assert(i2s->rst); rst 173 sound/soc/img/img-i2s-out.c reset_control_deassert(i2s->rst); rst 458 sound/soc/img/img-i2s-out.c i2s->rst = devm_reset_control_get_exclusive(&pdev->dev, "rst"); rst 459 sound/soc/img/img-i2s-out.c if (IS_ERR(i2s->rst)) { rst 460 sound/soc/img/img-i2s-out.c if (PTR_ERR(i2s->rst) != -EPROBE_DEFER) rst 462 sound/soc/img/img-i2s-out.c return PTR_ERR(i2s->rst); rst 41 sound/soc/img/img-parallel-out.c struct reset_control *rst; rst 85 sound/soc/img/img-parallel-out.c reset_control_assert(prl->rst); rst 86 sound/soc/img/img-parallel-out.c reset_control_deassert(prl->rst); rst 230 sound/soc/img/img-parallel-out.c prl->rst = devm_reset_control_get_exclusive(&pdev->dev, "rst"); rst 231 sound/soc/img/img-parallel-out.c if (IS_ERR(prl->rst)) { rst 232 sound/soc/img/img-parallel-out.c if (PTR_ERR(prl->rst) != -EPROBE_DEFER) rst 234 sound/soc/img/img-parallel-out.c return PTR_ERR(prl->rst); rst 723 sound/soc/img/img-spdif-in.c struct reset_control *rst; rst 759 sound/soc/img/img-spdif-in.c rst = devm_reset_control_get_exclusive(&pdev->dev, "rst"); rst 760 sound/soc/img/img-spdif-in.c if (IS_ERR(rst)) { rst 761 sound/soc/img/img-spdif-in.c if (PTR_ERR(rst) == -EPROBE_DEFER) { rst 770 sound/soc/img/img-spdif-in.c reset_control_assert(rst); rst 771 sound/soc/img/img-spdif-in.c reset_control_deassert(rst); rst 46 sound/soc/img/img-spdif-out.c struct reset_control *rst; rst 103 sound/soc/img/img-spdif-out.c reset_control_assert(spdif->rst); rst 104 sound/soc/img/img-spdif-out.c reset_control_deassert(spdif->rst); rst 345 sound/soc/img/img-spdif-out.c spdif->rst = devm_reset_control_get_exclusive(&pdev->dev, "rst"); rst 346 sound/soc/img/img-spdif-out.c if (IS_ERR(spdif->rst)) { rst 347 sound/soc/img/img-spdif-out.c if (PTR_ERR(spdif->rst) != -EPROBE_DEFER) rst 349 sound/soc/img/img-spdif-out.c return PTR_ERR(spdif->rst); rst 811 sound/soc/stm/stm32_i2s.c struct reset_control *rst; rst 869 sound/soc/stm/stm32_i2s.c rst = devm_reset_control_get_exclusive(&pdev->dev, NULL); rst 870 sound/soc/stm/stm32_i2s.c if (!IS_ERR(rst)) { rst 871 sound/soc/stm/stm32_i2s.c reset_control_assert(rst); rst 873 sound/soc/stm/stm32_i2s.c reset_control_deassert(rst); rst 154 sound/soc/stm/stm32_sai.c struct reset_control *rst; rst 200 sound/soc/stm/stm32_sai.c rst = devm_reset_control_get_exclusive(&pdev->dev, NULL); rst 201 sound/soc/stm/stm32_sai.c if (!IS_ERR(rst)) { rst 202 sound/soc/stm/stm32_sai.c reset_control_assert(rst); rst 204 sound/soc/stm/stm32_sai.c reset_control_deassert(rst); rst 932 sound/soc/stm/stm32_spdifrx.c struct reset_control *rst; rst 967 sound/soc/stm/stm32_spdifrx.c rst = devm_reset_control_get_exclusive(&pdev->dev, NULL); rst 968 sound/soc/stm/stm32_spdifrx.c if (!IS_ERR(rst)) { rst 969 sound/soc/stm/stm32_spdifrx.c reset_control_assert(rst); rst 971 sound/soc/stm/stm32_spdifrx.c reset_control_deassert(rst); rst 240 sound/soc/sunxi/sun4i-codec.c struct reset_control *rst; rst 1741 sound/soc/sunxi/sun4i-codec.c scodec->rst = devm_reset_control_get_exclusive(&pdev->dev, rst 1743 sound/soc/sunxi/sun4i-codec.c if (IS_ERR(scodec->rst)) { rst 1745 sound/soc/sunxi/sun4i-codec.c return PTR_ERR(scodec->rst); rst 1776 sound/soc/sunxi/sun4i-codec.c if (scodec->rst) { rst 1777 sound/soc/sunxi/sun4i-codec.c ret = reset_control_deassert(scodec->rst); rst 1834 sound/soc/sunxi/sun4i-codec.c if (scodec->rst) rst 1835 sound/soc/sunxi/sun4i-codec.c reset_control_assert(scodec->rst); rst 1847 sound/soc/sunxi/sun4i-codec.c if (scodec->rst) rst 1848 sound/soc/sunxi/sun4i-codec.c reset_control_assert(scodec->rst); rst 166 sound/soc/sunxi/sun4i-i2s.c struct reset_control *rst; rst 1230 sound/soc/sunxi/sun4i-i2s.c i2s->rst = devm_reset_control_get_exclusive(&pdev->dev, NULL); rst 1231 sound/soc/sunxi/sun4i-i2s.c if (IS_ERR(i2s->rst)) { rst 1233 sound/soc/sunxi/sun4i-i2s.c return PTR_ERR(i2s->rst); rst 1237 sound/soc/sunxi/sun4i-i2s.c if (!IS_ERR(i2s->rst)) { rst 1238 sound/soc/sunxi/sun4i-i2s.c ret = reset_control_deassert(i2s->rst); rst 1287 sound/soc/sunxi/sun4i-i2s.c if (!IS_ERR(i2s->rst)) rst 1288 sound/soc/sunxi/sun4i-i2s.c reset_control_assert(i2s->rst); rst 1301 sound/soc/sunxi/sun4i-i2s.c if (!IS_ERR(i2s->rst)) rst 1302 sound/soc/sunxi/sun4i-i2s.c reset_control_assert(i2s->rst); rst 184 sound/soc/sunxi/sun4i-spdif.c struct reset_control *rst; rst 556 sound/soc/sunxi/sun4i-spdif.c host->rst = devm_reset_control_get_optional_exclusive(&pdev->dev, rst 558 sound/soc/sunxi/sun4i-spdif.c if (IS_ERR(host->rst) && PTR_ERR(host->rst) == -EPROBE_DEFER) { rst 563 sound/soc/sunxi/sun4i-spdif.c if (!IS_ERR(host->rst)) rst 564 sound/soc/sunxi/sun4i-spdif.c reset_control_deassert(host->rst); rst 512 sound/soc/tegra/tegra30_ahub.c struct reset_control *rst; rst 536 sound/soc/tegra/tegra30_ahub.c rst = reset_control_get_exclusive(&pdev->dev, rst 538 sound/soc/tegra/tegra30_ahub.c if (IS_ERR(rst)) { rst 541 sound/soc/tegra/tegra30_ahub.c ret = PTR_ERR(rst); rst 545 sound/soc/tegra/tegra30_ahub.c ret = reset_control_deassert(rst); rst 546 sound/soc/tegra/tegra30_ahub.c reset_control_put(rst); rst 429 sound/soc/uniphier/aio-cpu.c reset_control_assert(aio->chip->rst); rst 450 sound/soc/uniphier/aio-cpu.c ret = reset_control_deassert(aio->chip->rst); rst 480 sound/soc/uniphier/aio-cpu.c reset_control_assert(aio->chip->rst); rst 627 sound/soc/uniphier/aio-cpu.c chip->rst = devm_reset_control_get_shared(dev, "aio"); rst 628 sound/soc/uniphier/aio-cpu.c if (IS_ERR(chip->rst)) rst 629 sound/soc/uniphier/aio-cpu.c return PTR_ERR(chip->rst); rst 670 sound/soc/uniphier/aio-cpu.c ret = reset_control_deassert(chip->rst); rst 691 sound/soc/uniphier/aio-cpu.c reset_control_assert(chip->rst); rst 704 sound/soc/uniphier/aio-cpu.c reset_control_assert(chip->rst); rst 293 sound/soc/uniphier/aio.h struct reset_control *rst; rst 49 sound/soc/uniphier/evea.c struct reset_control *rst, *rst_exiv, *rst_adamv; rst 334 sound/soc/uniphier/evea.c reset_control_assert(evea->rst); rst 355 sound/soc/uniphier/evea.c ret = reset_control_deassert(evea->rst); rst 376 sound/soc/uniphier/evea.c reset_control_assert(evea->rst); rst 469 sound/soc/uniphier/evea.c evea->rst = devm_reset_control_get_shared(&pdev->dev, "evea"); rst 470 sound/soc/uniphier/evea.c if (IS_ERR(evea->rst)) rst 471 sound/soc/uniphier/evea.c return PTR_ERR(evea->rst); rst 494 sound/soc/uniphier/evea.c ret = reset_control_deassert(evea->rst); rst 529 sound/soc/uniphier/evea.c reset_control_assert(evea->rst); rst 546 sound/soc/uniphier/evea.c reset_control_assert(evea->rst);