| /linux/drivers/clk/renesas/ |
| H A D | rcar-usb2-clock-sel.c | 38 struct reset_control *rsts; member 66 ret = reset_control_deassert(priv->rsts); in usb2_clock_sel_enable() 72 reset_control_assert(priv->rsts); in usb2_clock_sel_enable() 88 reset_control_assert(priv->rsts); in usb2_clock_sel_disable() 158 priv->rsts = devm_reset_control_array_get_shared(dev); in rcar_usb2_clock_sel_probe() 159 if (IS_ERR(priv->rsts)) in rcar_usb2_clock_sel_probe() 160 return PTR_ERR(priv->rsts); in rcar_usb2_clock_sel_probe()
|
| /linux/drivers/usb/host/ |
| H A D | uhci-platform.c | 142 uhci->rsts = devm_reset_control_array_get_optional_shared(&pdev->dev); in uhci_hcd_platform_probe() 143 if (IS_ERR(uhci->rsts)) { in uhci_hcd_platform_probe() 144 ret = PTR_ERR(uhci->rsts); in uhci_hcd_platform_probe() 147 ret = reset_control_deassert(uhci->rsts); in uhci_hcd_platform_probe() 163 reset_control_assert(uhci->rsts); in uhci_hcd_platform_probe() 177 reset_control_assert(uhci->rsts); in uhci_hcd_platform_remove()
|
| H A D | ehci-platform.c | 50 struct reset_control *rsts; member 328 priv->rsts = devm_reset_control_array_get_optional_shared(&dev->dev); in ehci_platform_probe() 329 if (IS_ERR(priv->rsts)) { in ehci_platform_probe() 330 err = PTR_ERR(priv->rsts); in ehci_platform_probe() 334 err = reset_control_deassert(priv->rsts); in ehci_platform_probe() 399 reset_control_assert(priv->rsts); in ehci_platform_probe() 427 reset_control_assert(priv->rsts); in ehci_platform_remove() 457 ret = reset_control_assert(priv->rsts); in ehci_platform_suspend() 480 err = reset_control_deassert(priv->rsts); in ehci_platform_resume() 487 reset_control_assert(priv->rsts); in ehci_platform_resume()
|
| H A D | uhci-hcd.h | 448 struct reset_control *rsts; /* (optional) clock reset */ member
|
| /linux/drivers/usb/renesas_usbhs/ |
| H A D | common.c | 647 priv->rsts = devm_reset_control_array_get_optional_shared(dev); in usbhs_probe() 648 if (IS_ERR(priv->rsts)) in usbhs_probe() 649 return PTR_ERR(priv->rsts); in usbhs_probe() 727 ret = reset_control_deassert(priv->rsts); in usbhs_probe() 787 reset_control_assert(priv->rsts); in usbhs_probe() 817 reset_control_assert(priv->rsts); in usbhs_remove() 859 ret = reset_control_assert(priv->rsts); in usbhsc_suspend() 871 ret = reset_control_deassert(priv->rsts); in usbhsc_resume()
|
| H A D | common.h | 282 struct reset_control *rsts; member
|
| /linux/drivers/ata/ |
| H A D | libahci_platform.c | 172 return reset_control_reset(hpriv->rsts); in ahci_platform_deassert_rsts() 174 return reset_control_deassert(hpriv->rsts); in ahci_platform_deassert_rsts() 191 return reset_control_rearm(hpriv->rsts); in ahci_platform_assert_rsts() 193 return reset_control_assert(hpriv->rsts); in ahci_platform_assert_rsts() 557 hpriv->rsts = devm_reset_control_array_get_optional_shared(dev); in ahci_platform_get_resources() 558 if (IS_ERR(hpriv->rsts)) { in ahci_platform_get_resources() 559 rc = PTR_ERR(hpriv->rsts); in ahci_platform_get_resources()
|
| H A D | ahci_ceva.c | 269 hpriv->rsts = devm_reset_control_get_optional_exclusive(&pdev->dev, in ceva_ahci_probe() 271 if (IS_ERR(hpriv->rsts)) in ceva_ahci_probe() 272 return dev_err_probe(&pdev->dev, PTR_ERR(hpriv->rsts), in ceva_ahci_probe()
|
| H A D | ahci.h | 352 struct reset_control *rsts; /* Optional */ member
|
| /linux/drivers/clk/baikal-t1/ |
| H A D | clk-ccu-div.c | 120 struct ccu_rst *rsts; member 437 data->rsts = ccu_rst_hw_register(&init); in ccu_div_rst_register() 438 if (IS_ERR(data->rsts)) { in ccu_div_rst_register() 441 return PTR_ERR(data->rsts); in ccu_div_rst_register()
|
| /linux/drivers/phy/rockchip/ |
| H A D | phy-rockchip-usbdp.c | 170 struct reset_control_bulk_data *rsts; member 449 return reset_control_bulk_assert(udphy->num_rsts, udphy->rsts); in rk_udphy_reset_assert_all() 454 return reset_control_bulk_deassert(udphy->num_rsts, udphy->rsts); in rk_udphy_reset_deassert_all() 459 struct reset_control_bulk_data *list = udphy->rsts; in rk_udphy_reset_deassert() 476 udphy->rsts = devm_kcalloc(dev, udphy->num_rsts, in rk_udphy_reset_init() 477 sizeof(*udphy->rsts), GFP_KERNEL); in rk_udphy_reset_init() 478 if (!udphy->rsts) in rk_udphy_reset_init() 482 udphy->rsts[idx].id = cfg->rst_list[idx]; in rk_udphy_reset_init() 485 udphy->rsts); in rk_udphy_reset_init()
|
| /linux/drivers/net/pcs/ |
| H A D | pcs-rzn1-miic.c | 205 struct reset_control_bulk_data rsts[MIIC_MAX_NUM_RSTS]; member 717 ret = reset_control_bulk_assert(miic->of_data->reset_count, miic->rsts); in miic_reset_control_bulk_assert() 733 miic->rsts[i].id = of_data->reset_ids[i]; in miic_reset_control_init() 736 miic->rsts); in miic_reset_control_init() 741 ret = reset_control_bulk_deassert(of_data->reset_count, miic->rsts); in miic_reset_control_init()
|
| /linux/drivers/net/ethernet/intel/igbvf/ |
| H A D | mbx.c | 200 hw->mbx.stats.rsts++; in e1000_check_for_rst_vf() 334 mbx->stats.rsts = 0; in e1000_init_mbx_params_vf()
|
| H A D | vf.h | 200 u32 rsts; member
|
| /linux/drivers/bus/ |
| H A D | ti-sysc.c | 149 struct reset_control *rsts; member 646 ddata->rsts = in sysc_init_resets() 649 return PTR_ERR_OR_ZERO(ddata->rsts); in sysc_init_resets() 1236 reset_control_assert(ddata->rsts); in sysc_runtime_suspend_legacy() 1259 reset_control_deassert(ddata->rsts); in sysc_runtime_resume_legacy() 1296 reset_control_assert(ddata->rsts); in sysc_runtime_suspend() 1324 reset_control_deassert(ddata->rsts); in sysc_runtime_resume() 2194 error = reset_control_deassert(ddata->rsts); in sysc_init_module() 2237 reset_control_assert(ddata->rsts); in sysc_init_module() 3232 reset_control_assert(ddata->rsts); in sysc_probe() [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_mbx.c | 308 hw->mbx.stats.rsts++; in igb_check_for_rst_pf() 471 mbx->stats.rsts = 0; in igb_init_mbx_params_pf()
|
| H A D | e1000_hw.h | 494 u32 rsts; member
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | vf.h | 94 u32 rsts; member
|
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_eth.c | 1381 err = reset_control_bulk_assert(ARRAY_SIZE(eth->rsts), eth->rsts); in airoha_hw_init() 1386 err = reset_control_bulk_deassert(ARRAY_SIZE(eth->rsts), eth->rsts); in airoha_hw_init() 2980 eth->rsts[0].id = "fe"; in airoha_probe() 2981 eth->rsts[1].id = "pdma"; in airoha_probe() 2982 eth->rsts[2].id = "qdma"; in airoha_probe() 2984 ARRAY_SIZE(eth->rsts), in airoha_probe() 2985 eth->rsts); in airoha_probe()
|