Searched refs:rst (Results 26 - 50 of 289) sorted by relevance

1234567891011>>

/linux-master/drivers/memory/tegra/
H A Dmc.c137 const struct tegra_mc_reset *rst)
144 value = mc_readl(mc, rst->control) | BIT(rst->bit);
145 mc_writel(mc, value, rst->control);
153 const struct tegra_mc_reset *rst)
155 return (mc_readl(mc, rst->status) & BIT(rst->bit)) != 0;
159 const struct tegra_mc_reset *rst)
166 value = mc_readl(mc, rst->control) & ~BIT(rst
136 tegra_mc_block_dma_common(struct tegra_mc *mc, const struct tegra_mc_reset *rst) argument
152 tegra_mc_dma_idling_common(struct tegra_mc *mc, const struct tegra_mc_reset *rst) argument
158 tegra_mc_unblock_dma_common(struct tegra_mc *mc, const struct tegra_mc_reset *rst) argument
174 tegra_mc_reset_status_common(struct tegra_mc *mc, const struct tegra_mc_reset *rst) argument
209 const struct tegra_mc_reset *rst; local
269 const struct tegra_mc_reset *rst; local
308 const struct tegra_mc_reset *rst; local
[all...]
H A Dtegra20.c280 const struct tegra_mc_reset *rst)
287 value = mc_readl(mc, rst->reset);
288 mc_writel(mc, value & ~BIT(rst->bit), rst->reset);
296 const struct tegra_mc_reset *rst)
303 value = mc_readl(mc, rst->reset);
304 mc_writel(mc, value | BIT(rst->bit), rst->reset);
312 const struct tegra_mc_reset *rst)
319 value = mc_readl(mc, rst
279 tegra20_mc_hotreset_assert(struct tegra_mc *mc, const struct tegra_mc_reset *rst) argument
295 tegra20_mc_hotreset_deassert(struct tegra_mc *mc, const struct tegra_mc_reset *rst) argument
311 tegra20_mc_block_dma(struct tegra_mc *mc, const struct tegra_mc_reset *rst) argument
327 tegra20_mc_dma_idling(struct tegra_mc *mc, const struct tegra_mc_reset *rst) argument
333 tegra20_mc_reset_status(struct tegra_mc *mc, const struct tegra_mc_reset *rst) argument
339 tegra20_mc_unblock_dma(struct tegra_mc *mc, const struct tegra_mc_reset *rst) argument
[all...]
/linux-master/drivers/gpu/drm/tegra/
H A Dhub.h21 struct reset_control *rst; member in struct:tegra_windowgroup
46 struct reset_control *rst; member in struct:tegra_display_hub
/linux-master/drivers/iio/adc/
H A Dsun20i-gpadc-iio.c147 struct reset_control *rst = data; local
149 reset_control_assert(rst);
197 struct reset_control *rst; local
227 rst = devm_reset_control_get_exclusive(dev, NULL);
228 if (IS_ERR(rst))
229 return dev_err_probe(dev, PTR_ERR(rst), "failed to get reset control\n");
231 ret = reset_control_deassert(rst);
235 ret = devm_add_action_or_reset(dev, sun20i_gpadc_reset_assert, rst);
/linux-master/drivers/irqchip/
H A Dirq-starfive-jh8100-intc.c121 struct reset_control *rst; local
137 rst = of_reset_control_get_exclusive(intc, NULL);
138 if (IS_ERR(rst)) {
139 pr_err("Unable to get reset control %pe\n", rst);
140 ret = PTR_ERR(rst);
151 ret = reset_control_deassert(rst);
189 reset_control_assert(rst);
193 reset_control_put(rst);
/linux-master/drivers/reset/
H A Dreset-uniphier-glue.c26 struct reset_control_bulk_data rst[MAX_RSTS]; member in struct:uniphier_glue_reset_priv
42 reset_control_bulk_assert(priv->data->nrsts, priv->rst);
72 priv->rst[i].id = priv->data->reset_names[i];
74 priv->rst);
86 ret = reset_control_bulk_deassert(priv->data->nrsts, priv->rst);
/linux-master/drivers/phy/socionext/
H A Dphy-uniphier-pcie.c63 struct reset_control *rst, *rst_gio; member in struct:uniphier_pciephy_priv
155 ret = reset_control_deassert(priv->rst);
191 reset_control_assert(priv->rst);
207 reset_control_assert(priv->rst);
256 priv->rst = devm_reset_control_get_shared(dev, "link");
257 if (IS_ERR(priv->rst))
258 return PTR_ERR(priv->rst);
264 priv->rst = devm_reset_control_get_shared(dev, NULL);
265 if (IS_ERR(priv->rst))
266 return PTR_ERR(priv->rst);
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Ddenali_dt.c26 struct reset_control *rst; /* core reset */ member in struct:denali_dt
160 dt->rst = devm_reset_control_get_optional_shared(dev, "nand");
161 if (IS_ERR(dt->rst))
162 return PTR_ERR(dt->rst);
192 ret = reset_control_deassert(dt->rst);
222 reset_control_assert(dt->rst);
240 reset_control_assert(dt->rst);
/linux-master/drivers/remoteproc/
H A Drcar_rproc.c14 #include <linux/soc/renesas/rcar-rst.h>
19 struct reset_control *rst; member in struct:rcar_rproc
122 err = reset_control_deassert(priv->rst);
134 err = reset_control_assert(priv->rst);
168 priv->rst = devm_reset_control_get_exclusive(dev, NULL);
169 if (IS_ERR(priv->rst)) {
170 ret = PTR_ERR(priv->rst);
/linux-master/drivers/iio/dac/
H A Dstm32-dac-core.c97 struct reset_control *rst; local
141 rst = devm_reset_control_get_optional_exclusive(dev, NULL);
142 if (rst) {
143 if (IS_ERR(rst)) {
144 ret = dev_err_probe(dev, PTR_ERR(rst), "reset get failed\n");
148 reset_control_assert(rst);
150 reset_control_deassert(rst);
/linux-master/drivers/regulator/
H A Duniphier-regulator.c31 struct reset_control *rst[MAX_RSTS]; member in struct:uniphier_regulator_priv
72 priv->rst[i] = devm_reset_control_get_shared(dev, name);
73 if (IS_ERR(priv->rst[i]))
74 return PTR_ERR(priv->rst[i]);
82 ret = reset_control_deassert(priv->rst[nr]);
111 reset_control_assert(priv->rst[nr]);
124 reset_control_assert(priv->rst[i]);
/linux-master/drivers/bus/
H A Dtegra-gmi.c48 struct reset_control *rst; member in struct:tegra_gmi
66 reset_control_assert(gmi->rst);
68 reset_control_deassert(gmi->rst);
88 reset_control_assert(gmi->rst);
233 gmi->rst = devm_reset_control_get(dev, "gmi");
234 if (IS_ERR(gmi->rst)) {
236 return PTR_ERR(gmi->rst);
/linux-master/drivers/platform/x86/intel/
H A DMakefile57 intel-rst-y := rst.o
58 obj-$(CONFIG_INTEL_RST) += intel-rst.o
/linux-master/drivers/clk/meson/
H A Dclk-pll.c298 if (MESON_PARM_APPLICABLE(&pll->rst))
299 meson_parm_write(clk->map, &pll->rst, 1);
304 if (MESON_PARM_APPLICABLE(&pll->rst))
305 meson_parm_write(clk->map, &pll->rst, 0);
316 if (MESON_PARM_APPLICABLE(&pll->rst) &&
317 meson_parm_read(clk->map, &pll->rst))
351 if (MESON_PARM_APPLICABLE(&pll->rst))
352 meson_parm_write(clk->map, &pll->rst, 1);
358 if (MESON_PARM_APPLICABLE(&pll->rst))
359 meson_parm_write(clk->map, &pll->rst,
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dprm2xxx_3xxx.c85 u32 rst, st; local
88 rst = 1 << rst_shift;
92 if (omap2_prm_read_mod_bits_shift(prm_mod, OMAP2_RM_RSTCTRL, rst) == 0)
98 omap2_prm_rmw_mod_reg_bits(rst, 0, prm_mod, OMAP2_RM_RSTCTRL);
/linux-master/drivers/watchdog/
H A Drt2880_wdt.c47 struct reset_control *rst; member in struct:rt2880_wdt_data
159 drvdata->rst = devm_reset_control_get_exclusive(dev, NULL);
160 if (!IS_ERR(drvdata->rst))
161 reset_control_deassert(drvdata->rst);
/linux-master/drivers/usb/host/
H A Dehci-st.c35 struct reset_control *rst; member in struct:st_ehci_platform_priv
73 ret = reset_control_deassert(priv->rst);
107 reset_control_assert(priv->rst);
122 reset_control_assert(priv->rst);
205 priv->rst =
207 if (IS_ERR(priv->rst)) {
208 err = PTR_ERR(priv->rst);
211 priv->rst = NULL;
/linux-master/drivers/usb/chipidea/
H A Dci_hdrc_tegra.c102 struct reset_control *rst, *rst_utmi; local
106 rst = devm_reset_control_get_shared(dev, "usb");
107 if (IS_ERR(rst)) {
108 dev_err(dev, "can't get ehci reset: %pe\n", rst);
109 return PTR_ERR(rst);
136 err = reset_control_deassert(rst);
140 err = reset_control_assert(rst);
146 err = reset_control_deassert(rst);
/linux-master/drivers/nvmem/
H A Dlpc18xx_eeprom.c166 struct reset_control *rst; local
197 rst = devm_reset_control_get_exclusive(dev, NULL);
198 if (IS_ERR(rst)) {
199 dev_err(dev, "failed to get reset: %ld\n", PTR_ERR(rst));
200 ret = PTR_ERR(rst);
204 ret = reset_control_assert(rst);
/linux-master/drivers/phy/samsung/
H A Dphy-exynos4x12-usb2.c213 u32 rst; local
244 rst = readl(drv->reg_phy + EXYNOS_4x12_UPHYRST);
245 rst |= rstbits;
246 writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST);
248 rst &= ~rstbits;
249 writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST);
H A Dphy-exynos4210-usb2.c151 u32 rst; local
191 rst = readl(drv->reg_phy + EXYNOS_4210_UPHYRST);
192 rst |= rstbits;
193 writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST);
195 rst &= ~rstbits;
196 writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST);
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun8i_tcon_top.c149 tcon_top->rst = devm_reset_control_get(dev, NULL);
150 if (IS_ERR(tcon_top->rst)) {
152 return PTR_ERR(tcon_top->rst);
166 ret = reset_control_deassert(tcon_top->rst);
232 reset_control_assert(tcon_top->rst);
250 reset_control_assert(tcon_top->rst);
/linux-master/sound/soc/img/
H A Dimg-parallel-out.c41 struct reset_control *rst; member in struct:img_prl_out
85 reset_control_assert(prl->rst);
86 reset_control_deassert(prl->rst);
230 prl->rst = devm_reset_control_get_exclusive(&pdev->dev, "rst");
231 if (IS_ERR(prl->rst))
232 return dev_err_probe(&pdev->dev, PTR_ERR(prl->rst),
/linux-master/sound/soc/stm/
H A Dstm32_sai.c155 struct reset_control *rst; local
197 rst = devm_reset_control_get_optional_exclusive(&pdev->dev, NULL);
198 if (IS_ERR(rst))
199 return dev_err_probe(&pdev->dev, PTR_ERR(rst),
202 reset_control_assert(rst);
204 reset_control_deassert(rst);
/linux-master/drivers/crypto/starfive/
H A Djh7110-cryp.c151 cryp->rst = devm_reset_control_get_shared(cryp->dev, NULL);
152 if (IS_ERR(cryp->rst))
153 return dev_err_probe(&pdev->dev, PTR_ERR(cryp->rst),
168 reset_control_deassert(cryp->rst);
220 reset_control_assert(cryp->rst);
250 reset_control_assert(cryp->rst);

Completed in 388 milliseconds

1234567891011>>