[go: nahoru, domu]

Searched defs:rst (Results 1 - 25 of 40) sorted by relevance

12

/drivers/clk/qcom/
H A Dreset.c33 struct qcom_reset_controller *rst; local
37 rst = to_qcom_reset_controller(rcdev);
38 map = &rst->reset_map[id];
41 return regmap_update_bits(rst->regmap, map->reg, mask, mask);
47 struct qcom_reset_controller *rst; local
51 rst = to_qcom_reset_controller(rcdev);
52 map = &rst->reset_map[id];
55 return regmap_update_bits(rst->regmap, map->reg, mask, 0);
/drivers/gpu/drm/nouveau/
H A Dnouveau_platform.h33 struct reset_control *rst; member in struct:nouveau_platform_gpu
/drivers/staging/rtl8188eu/include/
H A Dusb_ops_linux.h58 u8 rst = true; local
62 rst = (0 == (buf_len) % USB_HIGH_SPEED_BULK_SIZE) ?
65 rst = (0 == (buf_len) % USB_FULL_SPEED_BULK_SIZE) ?
67 return rst;
/drivers/gpu/drm/radeon/
H A Dsi_smc.c163 u32 rst = RREG32_SMC(SMC_SYSCON_RESET_CNTL); local
166 if (!(rst & RST_REG) && !(clk & CK_DISABLE))
/drivers/gpu/drm/tegra/
H A Dgr3d.c28 struct reset_control *rst; member in struct:gr3d
263 gr3d->rst = devm_reset_control_get(&pdev->dev, "3d");
264 if (IS_ERR(gr3d->rst)) {
266 return PTR_ERR(gr3d->rst);
285 gr3d->rst);
H A Ddpaux.c38 struct reset_control *rst; member in struct:tegra_dpaux
299 dpaux->rst = devm_reset_control_get(&pdev->dev, "dpaux");
300 if (IS_ERR(dpaux->rst))
301 return PTR_ERR(dpaux->rst);
311 reset_control_deassert(dpaux->rst);
375 reset_control_assert(dpaux->rst);
H A Ddrm.h107 struct reset_control *rst; member in struct:tegra_dc
H A Ddsi.c39 struct reset_control *rst; member in struct:tegra_dsi
463 reset_control_deassert(dsi->rst);
860 dsi->rst = devm_reset_control_get(&pdev->dev, "dsi");
861 if (IS_ERR(dsi->rst))
862 return PTR_ERR(dsi->rst);
971 reset_control_assert(dsi->rst);
H A Dsor.c30 struct reset_control *rst; member in struct:tegra_sor
506 reset_control_deassert(sor->rst);
1107 reset_control_assert(sor->rst);
1395 sor->rst = devm_reset_control_get(&pdev->dev, "sor");
1396 if (IS_ERR(sor->rst))
1397 return PTR_ERR(sor->rst);
/drivers/reset/sti/
H A Dreset-syscfg.c38 * @rst: base reset controller structure.
44 struct reset_controller_dev rst; member in struct:syscfg_reset_controller
50 container_of(_rst, struct syscfg_reset_controller, rst)
55 struct syscfg_reset_controller *rst = to_syscfg_reset_controller(rcdev); local
57 u32 ctrl_val = rst->active_low ? !assert : !!assert;
63 ch = &rst->channels[idx];
136 rc->rst.ops = &syscfg_reset_ops,
137 rc->rst.of_node = dev->of_node;
138 rc->rst.nr_resets = data->nr_channels;
166 err = reset_controller_register(&rc->rst);
[all...]
/drivers/usb/host/
H A Dehci-platform.c45 struct reset_control *rst; member in struct:ehci_platform_priv
213 priv->rst = devm_reset_control_get_optional(&dev->dev, NULL);
214 if (IS_ERR(priv->rst)) {
215 err = PTR_ERR(priv->rst);
218 priv->rst = NULL;
220 err = reset_control_deassert(priv->rst);
274 if (priv->rst)
275 reset_control_assert(priv->rst);
300 if (priv->rst)
301 reset_control_assert(priv->rst);
[all...]
H A Dehci-st.c37 struct reset_control *rst; member in struct:st_ehci_platform_priv
82 ret = reset_control_deassert(priv->rst);
116 reset_control_assert(priv->rst);
131 reset_control_assert(priv->rst);
222 priv->rst = devm_reset_control_get_optional(&dev->dev, "softreset");
223 if (IS_ERR(priv->rst)) {
224 err = PTR_ERR(priv->rst);
227 priv->rst = NULL;
H A Dohci-platform.c40 struct reset_control *rst; member in struct:ohci_platform_priv
199 priv->rst = devm_reset_control_get_optional(&dev->dev, NULL);
200 if (IS_ERR(priv->rst)) {
201 err = PTR_ERR(priv->rst);
204 priv->rst = NULL;
206 err = reset_control_deassert(priv->rst);
261 if (priv->rst)
262 reset_control_assert(priv->rst);
287 if (priv->rst)
288 reset_control_assert(priv->rst);
[all...]
H A Dohci-st.c36 struct reset_control *rst; member in struct:st_ohci_platform_priv
58 ret = reset_control_deassert(priv->rst);
92 reset_control_assert(priv->rst);
108 reset_control_assert(priv->rst);
197 priv->rst = devm_reset_control_get_optional(&dev->dev, "softreset");
198 if (IS_ERR(priv->rst)) {
199 err = PTR_ERR(priv->rst);
H A Dehci-tegra.c58 struct reset_control *rst; member in struct:tegra_ehci_hcd
109 reset_control_assert(tegra->rst);
111 reset_control_deassert(tegra->rst);
437 tegra->rst = devm_reset_control_get(&pdev->dev, "usb");
438 if (IS_ERR(tegra->rst)) {
440 err = PTR_ERR(tegra->rst);
/drivers/net/ethernet/dec/tulip/
H A Dmedia.c201 unsigned char *rst = rleaf->leafdata; local
204 for (i = 0; i < rst[0]; i++)
205 iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15);
331 unsigned char *rst = rleaf->leafdata; local
334 for (i = 0; i < rst[0]; i++)
335 iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15);
/drivers/phy/
H A Dphy-s5pv210-usb2.c117 u32 rst; local
139 rst = readl(drv->reg_phy + S5PV210_UPHYRST);
140 rst |= rstbits;
141 writel(rst, drv->reg_phy + S5PV210_UPHYRST);
143 rst &= ~rstbits;
144 writel(rst, drv->reg_phy + S5PV210_UPHYRST);
H A Dphy-exynos4210-usb2.c154 u32 rst; local
194 rst = readl(drv->reg_phy + EXYNOS_4210_UPHYRST);
195 rst |= rstbits;
196 writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST);
198 rst &= ~rstbits;
199 writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST);
H A Dphy-exynos4x12-usb2.c216 u32 rst; local
247 rst = readl(drv->reg_phy + EXYNOS_4x12_UPHYRST);
248 rst |= rstbits;
249 writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST);
251 rst &= ~rstbits;
252 writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST);
/drivers/staging/nvec/
H A Dnvec.h114 * @rst: The reset of the I2C device
144 struct reset_control *rst; member in struct:nvec_chip
/drivers/net/irda/
H A Dmcs7780.c574 int rst = 0; local
597 if ((rst = (mcs->speed > 115200)))
603 if ((rst = !(mcs->speed == 576000 || mcs->speed == 1152000)))
609 if ((rst = (mcs->speed != 4000000)))
621 if (rst)
/drivers/staging/rtl8188eu/hal/
H A Dhal_intf.c177 u32 rst = _FAIL; local
180 rst = adapt->HalFunc.inirp_init(adapt);
183 return rst;
H A Drtl8188e_hal_init.c77 s32 rst = _SUCCESS; local
80 rst = iol_execute(padapter, CMD_INIT_LLT);
82 return rst;
/drivers/tty/serial/8250/
H A D8250_dw.c64 struct reset_control *rst; member in struct:dw8250_data
391 data->rst = devm_reset_control_get_optional(&pdev->dev, NULL);
392 if (IS_ERR(data->rst) && PTR_ERR(data->rst) == -EPROBE_DEFER) {
396 if (!IS_ERR(data->rst))
397 reset_control_deassert(data->rst);
435 if (!IS_ERR(data->rst))
436 reset_control_assert(data->rst);
457 if (!IS_ERR(data->rst))
458 reset_control_assert(data->rst);
[all...]
/drivers/watchdog/
H A Dcadence_wdt.c69 * @rst: reset flag
81 bool rst; member in struct:cdns_wdt
211 if (wdt->rst) {
340 wdt->rst = of_property_read_bool(pdev->dev.of_node, "reset-on-timeout");
342 if (!wdt->rst && irq >= 0) {

Completed in 449 milliseconds

12