/drivers/clk/qcom/ |
H A D | reset.c | 33 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 D | nouveau_platform.h | 33 struct reset_control *rst; member in struct:nouveau_platform_gpu
|
H A D | nouveau_platform.c | 52 reset_control_assert(gpu->rst); 60 reset_control_deassert(gpu->rst); 79 reset_control_assert(gpu->rst); 108 gpu->rst = devm_reset_control_get(&pdev->dev, "gpu"); 109 if (IS_ERR(gpu->rst)) 110 return PTR_ERR(gpu->rst);
|
/drivers/reset/sti/ |
H A D | reset-syscfg.c | 38 * @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/staging/rtl8188eu/include/ |
H A D | usb_ops_linux.h | 58 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/phy/ |
H A D | phy-s5pv210-usb2.c | 117 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 D | phy-exynos4210-usb2.c | 154 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 D | phy-exynos4x12-usb2.c | 216 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/usb/host/ |
H A D | ehci-platform.c | 45 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 D | ohci-platform.c | 40 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 D | ehci-st.c | 37 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 D | ohci-st.c | 36 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 D | ehci-tegra.c | 58 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/gpu/drm/tegra/ |
H A D | gr3d.c | 28 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 D | dpaux.c | 38 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);
|
/drivers/tty/serial/8250/ |
H A D | 8250_dw.c | 64 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/net/wireless/rtlwifi/rtl8192cu/ |
H A D | mac.c | 195 bool rst = true; local 199 rst = rtl92c_llt_write(hw, i , i + 1); 200 if (true != rst) { 202 return rst; 206 rst = rtl92c_llt_write(hw, (boundary - 1), 0xFF); 207 if (true != rst) { 209 return rst; 217 rst = rtl92c_llt_write(hw, i, (i + 1)); 218 if (true != rst) { 220 return rst; [all...] |
/drivers/spi/ |
H A D | spi-tegra20-sflash.c | 120 struct reset_control *rst; member in struct:tegra_sflash_data 381 reset_control_assert(tsd->rst); 383 reset_control_deassert(tsd->rst); 488 tsd->rst = devm_reset_control_get(&pdev->dev, "spi"); 489 if (IS_ERR(tsd->rst)) { 491 ret = PTR_ERR(tsd->rst); 510 reset_control_assert(tsd->rst); 512 reset_control_deassert(tsd->rst);
|
/drivers/staging/nvec/ |
H A D | nvec.h | 114 * @rst: The reset of the I2C device 144 struct reset_control *rst; member in struct:nvec_chip
|
/drivers/watchdog/ |
H A D | cadence_wdt.c | 69 * @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) {
|
/drivers/net/ethernet/dec/tulip/ |
H A D | media.c | 201 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/staging/rtl8188eu/hal/ |
H A D | hal_intf.c | 177 u32 rst = _FAIL; local 180 rst = adapt->HalFunc.inirp_init(adapt); 183 return rst;
|
/drivers/block/ |
H A D | mg_disk.c | 129 unsigned int rst; member in struct:mg_host 409 /* hdd rst low */ 410 gpio_set_value(host->rst, 0); 415 /* hdd rst high */ 416 gpio_set_value(host->rst, 1); 886 host->rst = rsc->start; 888 /* init rst pin */ 889 err = gpio_request(host->rst, MG_RST_PIN); 892 gpio_direction_output(host->rst, 1); 1028 gpio_free(host->rst); [all...] |
/drivers/gpu/drm/radeon/ |
H A D | si_smc.c | 163 u32 rst = RREG32_SMC(SMC_SYSCON_RESET_CNTL); local 166 if (!(rst & RST_REG) && !(clk & CK_DISABLE))
|
/drivers/platform/x86/ |
H A D | Makefile | 56 obj-$(CONFIG_INTEL_RST) += intel-rst.o
|