/linux-master/drivers/gpu/drm/tegra/ |
H A D | vic.c | 37 struct reset_control *rst; member in struct:vic 317 err = reset_control_deassert(vic->rst); 334 reset_control_assert(vic->rst); 347 err = reset_control_assert(vic->rst); 489 vic->rst = devm_reset_control_get(dev, "vic"); 490 if (IS_ERR(vic->rst)) { 492 return PTR_ERR(vic->rst);
|
H A D | dpaux.c | 50 struct reset_control *rst; member in struct:tegra_dpaux 472 dpaux->rst = devm_reset_control_get(&pdev->dev, "dpaux"); 473 if (IS_ERR(dpaux->rst)) { 476 PTR_ERR(dpaux->rst)); 477 return PTR_ERR(dpaux->rst); 608 if (dpaux->rst) { 609 err = reset_control_assert(dpaux->rst); 643 if (dpaux->rst) { 644 err = reset_control_deassert(dpaux->rst);
|
/linux-master/drivers/media/platform/nvidia/tegra-vde/ |
H A D | vde.c | 172 reset_control_release(vde->rst); 189 err = reset_control_acquire(vde->rst); 197 vde->clk, vde->rst); 217 reset_control_release(vde->rst); 282 vde->rst = devm_reset_control_get_exclusive_released(dev, NULL); 283 if (IS_ERR(vde->rst)) { 284 err = PTR_ERR(vde->rst);
|
/linux-master/drivers/char/hw_random/ |
H A D | jh7110-trng.c | 100 struct reset_control *rst; member in struct:starfive_trng 240 reset_control_assert(trng->rst); 316 trng->rst = devm_reset_control_get_shared(&pdev->dev, NULL); 317 if (IS_ERR(trng->rst)) 318 return dev_err_probe(&pdev->dev, PTR_ERR(trng->rst), 323 reset_control_deassert(trng->rst); 342 reset_control_assert(trng->rst);
|
/linux-master/drivers/pci/controller/dwc/ |
H A D | pcie-qcom.c | 185 struct reset_control_bulk_data rst[QCOM_PCIE_2_3_3_MAX_RESETS]; member in struct:qcom_pcie_resources_2_3_3 203 struct reset_control *rst; member in struct:qcom_pcie_resources_2_7_0 209 struct reset_control *rst; member in struct:qcom_pcie_resources_2_9_0 755 res->rst[0].id = "axi_m"; 756 res->rst[1].id = "axi_s"; 757 res->rst[2].id = "pipe"; 758 res->rst[3].id = "axi_m_sticky"; 759 res->rst[4].id = "sticky"; 760 res->rst[5].id = "ahb"; 761 res->rst[ [all...] |
H A D | pcie-fu740.c | 38 struct reset_control *rst; member in struct:fu740_pcie 261 ret = reset_control_deassert(afp->rst); 325 afp->rst = devm_reset_control_get_exclusive(dev, NULL); 326 if (IS_ERR(afp->rst)) 327 return dev_err_probe(dev, PTR_ERR(afp->rst), "unable to get reset\n");
|
H A D | pcie-uniphier.c | 68 struct reset_control *rst; member in struct:uniphier_pcie 325 ret = reset_control_deassert(pcie->rst); 344 reset_control_assert(pcie->rst); 378 pcie->rst = devm_reset_control_get_shared(dev, NULL); 379 if (IS_ERR(pcie->rst)) 380 return PTR_ERR(pcie->rst);
|
H A D | pcie-uniphier-ep.c | 76 struct reset_control *rst, *rst_gio; member in struct:uniphier_pcie_ep_priv 303 ret = reset_control_deassert(priv->rst); 335 reset_control_assert(priv->rst); 384 priv->rst = devm_reset_control_get_shared(dev, "link"); 385 if (IS_ERR(priv->rst)) 386 return PTR_ERR(priv->rst);
|
/linux-master/drivers/pwm/ |
H A D | pwm-sun4i.c | 86 struct reset_control *rst; member in struct:sun4i_pwm_chip 433 sun4ichip->rst = devm_reset_control_get_optional_shared(&pdev->dev, NULL); 434 if (IS_ERR(sun4ichip->rst)) 435 return dev_err_probe(&pdev->dev, PTR_ERR(sun4ichip->rst), 439 ret = reset_control_deassert(sun4ichip->rst); 474 reset_control_assert(sun4ichip->rst); 487 reset_control_assert(sun4ichip->rst);
|
/linux-master/drivers/crypto/rockchip/ |
H A D | rk3288_crypto.c | 122 reset_control_assert(rkdev->rst); 136 reset_control_deassert(rkdev->rst); 338 crypto_info->rst = devm_reset_control_array_get_exclusive(dev); 339 if (IS_ERR(crypto_info->rst)) { 340 err = PTR_ERR(crypto_info->rst); 344 reset_control_assert(crypto_info->rst); 346 reset_control_deassert(crypto_info->rst);
|
/linux-master/drivers/watchdog/ |
H A D | dw_wdt.c | 90 struct reset_control *rst; member in struct:dw_wdt 289 if (!dw_wdt->rst) { 294 reset_control_assert(dw_wdt->rst); 295 reset_control_deassert(dw_wdt->rst); 591 dw_wdt->rst = devm_reset_control_get_optional_shared(&pdev->dev, NULL); 592 if (IS_ERR(dw_wdt->rst)) 593 return PTR_ERR(dw_wdt->rst); 620 reset_control_deassert(dw_wdt->rst); 663 reset_control_assert(dw_wdt->rst); 674 reset_control_assert(dw_wdt->rst); [all...] |
H A D | sp805_wdt.c | 236 struct reset_control *rst; local 269 rst = devm_reset_control_get_optional_exclusive(&adev->dev, NULL); 270 if (IS_ERR(rst)) 271 return dev_err_probe(&adev->dev, PTR_ERR(rst), "Can not get reset\n"); 273 reset_control_deassert(rst);
|
/linux-master/drivers/peci/controller/ |
H A D | peci-aspeed.c | 127 struct reset_control *rst; member in struct:aspeed_peci 180 ret = reset_control_assert(priv->rst); 186 ret = reset_control_deassert(priv->rst); 480 static int devm_aspeed_peci_reset_control_deassert(struct device *dev, struct reset_control *rst) argument 484 ret = reset_control_deassert(rst); 488 return devm_add_action_or_reset(dev, aspeed_peci_reset_control_release, rst); 537 priv->rst = devm_reset_control_get(&pdev->dev, NULL); 538 if (IS_ERR(priv->rst)) 539 return dev_err_probe(priv->dev, PTR_ERR(priv->rst), 542 ret = devm_aspeed_peci_reset_control_deassert(priv->dev, priv->rst); [all...] |
/linux-master/drivers/usb/misc/ |
H A D | usb3503.c | 113 int rst, bypass, conn; local 118 rst = 0; 123 rst = 1; 129 rst = 0; 141 gpiod_set_value_cansleep(hub->reset, rst);
|
/linux-master/sound/soc/sunxi/ |
H A D | sun50i-dmic.c | 52 struct reset_control *rst; member in struct:sun50i_dmic_dev 344 host->rst = devm_reset_control_get_optional_exclusive(&pdev->dev, NULL); 345 if (IS_ERR(host->rst)) 346 return dev_err_probe(&pdev->dev, PTR_ERR(host->rst), 348 reset_control_deassert(host->rst);
|
/linux-master/drivers/media/platform/sunxi/sun4i-csi/ |
H A D | sun4i_csi.c | 206 csi->rst = devm_reset_control_get(&pdev->dev, NULL); 207 if (IS_ERR(csi->rst)) { 209 return PTR_ERR(csi->rst); 299 reset_control_deassert(csi->rst); 318 reset_control_assert(csi->rst);
|
/linux-master/sound/soc/uniphier/ |
H A D | aio-cpu.c | 534 reset_control_assert(aio->chip->rst); 564 ret = reset_control_deassert(aio->chip->rst); 594 reset_control_assert(aio->chip->rst); 752 chip->rst = devm_reset_control_get_shared(dev, "aio"); 753 if (IS_ERR(chip->rst)) 754 return PTR_ERR(chip->rst); 795 ret = reset_control_deassert(chip->rst); 816 reset_control_assert(chip->rst); 829 reset_control_assert(chip->rst);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | mac.c | 156 bool rst = true; local 160 rst = rtl92c_llt_write(hw, i , i + 1); 161 if (!rst) { 163 return rst; 167 rst = rtl92c_llt_write(hw, (boundary - 1), 0xFF); 168 if (!rst) { 170 return rst; 178 rst = rtl92c_llt_write(hw, i, (i + 1)); 179 if (!rst) { 181 return rst; [all...] |
/linux-master/sound/soc/img/ |
H A D | img-spdif-out.c | 46 struct reset_control *rst; member in struct:img_spdif_out 103 reset_control_assert(spdif->rst); 104 reset_control_deassert(spdif->rst); 345 spdif->rst = devm_reset_control_get_exclusive(&pdev->dev, "rst"); 346 if (IS_ERR(spdif->rst)) 347 return dev_err_probe(&pdev->dev, PTR_ERR(spdif->rst),
|
/linux-master/drivers/dma/ |
H A D | stm32-dmamux.c | 185 struct reset_control *rst; local 259 rst = devm_reset_control_get(&pdev->dev, NULL); 260 if (IS_ERR(rst)) { 261 ret = PTR_ERR(rst); 265 reset_control_assert(rst); 267 reset_control_deassert(rst);
|
/linux-master/drivers/gpu/drm/rockchip/ |
H A D | analogix_dp-rockchip.c | 66 struct reset_control *rst; member in struct:rockchip_dp_device 88 reset_control_assert(dp->rst); 90 reset_control_deassert(dp->rst); 299 dp->rst = devm_reset_control_get(dev, "dp"); 300 if (IS_ERR(dp->rst)) { 302 return PTR_ERR(dp->rst);
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-designware-platdrv.c | 303 dev->rst = devm_reset_control_get_optional_exclusive(&pdev->dev, NULL); 304 if (IS_ERR(dev->rst)) 305 return PTR_ERR(dev->rst); 307 reset_control_deassert(dev->rst); 398 reset_control_assert(dev->rst); 418 reset_control_assert(dev->rst);
|
/linux-master/net/ipv6/netfilter/ |
H A D | ip6t_SYNPROXY.c | 31 if (th->syn && !(th->ack || th->fin || th->rst)) { 52 } else if (th->ack && !(th->fin || th->rst || th->syn)) {
|
/linux-master/net/ipv4/netfilter/ |
H A D | ipt_SYNPROXY.c | 31 if (th->syn && !(th->ack || th->fin || th->rst)) { 51 } else if (th->ack && !(th->fin || th->rst || th->syn)) {
|
/linux-master/drivers/iio/adc/ |
H A D | aspeed_adc.c | 117 struct reset_control *rst; member in struct:aspeed_adc_data 387 struct reset_control *rst = data; local 389 reset_control_assert(rst); 551 data->rst = devm_reset_control_get_shared(&pdev->dev, NULL); 552 if (IS_ERR(data->rst)) { 555 return PTR_ERR(data->rst); 557 reset_control_deassert(data->rst); 560 data->rst);
|