Home
last modified time | relevance | path

Searched refs:rsts (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dwkup_m3_rproc.c47 * @rsts: reset control
53 struct reset_control *rsts; member
64 error = reset_control_deassert(wkupm3->rsts); in wkup_m3_rproc_start()
66 if (!wkupm3->rsts && pdata->deassert_reset(pdev, pdata->reset_name)) { in wkup_m3_rproc_start()
82 error = reset_control_assert(wkupm3->rsts); in wkup_m3_rproc_stop()
84 if (!wkupm3->rsts && pdata->assert_reset(pdev, pdata->reset_name)) { in wkup_m3_rproc_stop()
172 wkupm3->rsts = devm_reset_control_get_optional_shared(dev, "rstctrl"); in wkup_m3_rproc_probe()
173 if (IS_ERR(wkupm3->rsts)) in wkup_m3_rproc_probe()
174 return PTR_ERR(wkupm3->rsts); in wkup_m3_rproc_probe()
175 if (!wkupm3->rsts) { in wkup_m3_rproc_probe()
[all...]
/kernel/linux/linux-5.10/drivers/clk/renesas/
H A Drcar-usb2-clock-sel.c39 struct reset_control *rsts; member
67 ret = reset_control_deassert(priv->rsts); in usb2_clock_sel_enable()
73 reset_control_assert(priv->rsts); in usb2_clock_sel_enable()
89 reset_control_assert(priv->rsts); in usb2_clock_sel_disable()
161 priv->rsts = devm_reset_control_array_get(dev, true, false); in rcar_usb2_clock_sel_probe()
162 if (IS_ERR(priv->rsts)) in rcar_usb2_clock_sel_probe()
163 return PTR_ERR(priv->rsts); in rcar_usb2_clock_sel_probe()
/kernel/linux/linux-6.6/drivers/clk/renesas/
H A Drcar-usb2-clock-sel.c38 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()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dehci-platform.c50 struct reset_control *rsts; member
318 priv->rsts = devm_reset_control_array_get_optional_shared(&dev->dev); in ehci_platform_probe()
319 if (IS_ERR(priv->rsts)) { in ehci_platform_probe()
320 err = PTR_ERR(priv->rsts); in ehci_platform_probe()
324 err = reset_control_deassert(priv->rsts); in ehci_platform_probe()
386 reset_control_assert(priv->rsts); in ehci_platform_probe()
414 reset_control_assert(priv->rsts); in ehci_platform_remove()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dehci-platform.c49 struct reset_control *rsts; member
318 priv->rsts = devm_reset_control_array_get_optional_shared(&dev->dev); in ehci_platform_probe()
319 if (IS_ERR(priv->rsts)) { in ehci_platform_probe()
320 err = PTR_ERR(priv->rsts); in ehci_platform_probe()
324 err = reset_control_deassert(priv->rsts); in ehci_platform_probe()
389 reset_control_assert(priv->rsts); in ehci_platform_probe()
417 reset_control_assert(priv->rsts); in ehci_platform_remove()
/kernel/linux/linux-6.6/drivers/ata/
H A Dlibahci_platform.c163 return reset_control_reset(hpriv->rsts); in ahci_platform_deassert_rsts()
165 return reset_control_deassert(hpriv->rsts); in ahci_platform_deassert_rsts()
182 return reset_control_rearm(hpriv->rsts); in ahci_platform_assert_rsts()
184 return reset_control_assert(hpriv->rsts); in ahci_platform_assert_rsts()
537 hpriv->rsts = devm_reset_control_array_get_optional_shared(dev); in ahci_platform_get_resources()
538 if (IS_ERR(hpriv->rsts)) { in ahci_platform_get_resources()
539 rc = PTR_ERR(hpriv->rsts); in ahci_platform_get_resources()
H A Dahci_ceva.c263 hpriv->rsts = devm_reset_control_get_optional_exclusive(&pdev->dev, in ceva_ahci_probe()
265 if (IS_ERR(hpriv->rsts)) in ceva_ahci_probe()
266 return dev_err_probe(&pdev->dev, PTR_ERR(hpriv->rsts), in ceva_ahci_probe()
/kernel/linux/linux-6.6/drivers/watchdog/
H A Dstarfive-wdt.c184 struct reset_control *rsts; in starfive_wdt_reset_init() local
187 rsts = devm_reset_control_array_get_exclusive(dev); in starfive_wdt_reset_init()
188 if (IS_ERR(rsts)) in starfive_wdt_reset_init()
189 return dev_err_probe(dev, PTR_ERR(rsts), "failed to get resets\n"); in starfive_wdt_reset_init()
191 ret = reset_control_deassert(rsts); in starfive_wdt_reset_init()
/kernel/linux/linux-5.10/drivers/ata/
H A Dlibahci_platform.c239 rc = reset_control_deassert(hpriv->rsts); in ahci_platform_enable_resources()
250 reset_control_assert(hpriv->rsts); in ahci_platform_enable_resources()
277 reset_control_assert(hpriv->rsts); in ahci_platform_disable_resources()
447 hpriv->rsts = devm_reset_control_array_get_optional_shared(dev); in ahci_platform_get_resources()
448 if (IS_ERR(hpriv->rsts)) { in ahci_platform_get_resources()
449 rc = PTR_ERR(hpriv->rsts); in ahci_platform_get_resources()
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/
H A Dcommon.c632 priv->rsts = devm_reset_control_array_get_optional_shared(dev); in usbhs_probe()
633 if (IS_ERR(priv->rsts)) in usbhs_probe()
634 return PTR_ERR(priv->rsts); in usbhs_probe()
695 ret = reset_control_deassert(priv->rsts); in usbhs_probe()
756 reset_control_assert(priv->rsts); in usbhs_probe()
783 reset_control_assert(priv->rsts); in usbhs_remove()
/kernel/linux/linux-6.6/drivers/usb/renesas_usbhs/
H A Dcommon.c630 priv->rsts = devm_reset_control_array_get_optional_shared(dev); in usbhs_probe()
631 if (IS_ERR(priv->rsts)) in usbhs_probe()
632 return PTR_ERR(priv->rsts); in usbhs_probe()
691 ret = reset_control_deassert(priv->rsts); in usbhs_probe()
752 reset_control_assert(priv->rsts); in usbhs_probe()
779 reset_control_assert(priv->rsts); in usbhs_remove()
H A Dcommon.h282 struct reset_control *rsts; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/
H A Dmbx.c112 hw->mbx.stats.rsts++; in ixgbevf_clear_rst_vf()
188 hw->mbx.stats.rsts++; in ixgbevf_check_for_rst_vf()
426 mbx->stats.rsts = 0; in ixgbevf_init_mbx_params_vf()
/kernel/linux/linux-6.6/drivers/clk/baikal-t1/
H A Dclk-ccu-div.c120 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
H A Dmbx.c194 hw->mbx.stats.rsts++; in ixgbevf_check_for_rst_vf()
310 mbx->stats.rsts = 0; in ixgbevf_init_mbx_params_vf()
H A Dvf.h95 u32 rsts; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/
H A Dmbx.c199 hw->mbx.stats.rsts++; in e1000_check_for_rst_vf()
333 mbx->stats.rsts = 0; in e1000_init_mbx_params_vf()
H A Dvf.h200 u32 rsts; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igbvf/
H A Dmbx.c199 hw->mbx.stats.rsts++; in e1000_check_for_rst_vf()
333 mbx->stats.rsts = 0; in e1000_init_mbx_params_vf()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
H A De1000_mbx.c308 hw->mbx.stats.rsts++; in igb_check_for_rst_pf()
471 mbx->stats.rsts = 0; in igb_init_mbx_params_pf()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_mbx.c294 hw->mbx.stats.rsts++; in ixgbe_check_for_rst_pf()
420 mbx->stats.rsts = 0; in ixgbe_init_mbx_params_pf()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A De1000_mbx.c308 hw->mbx.stats.rsts++; in igb_check_for_rst_pf()
471 mbx->stats.rsts = 0; in igb_init_mbx_params_pf()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_mbx.c294 hw->mbx.stats.rsts++; in ixgbe_check_for_rst_pf()
420 mbx->stats.rsts = 0; in ixgbe_init_mbx_params_pf()
/kernel/linux/linux-5.10/drivers/bus/
H A Dti-sysc.c106 * @rsts: resets used by the interconnect target module
137 struct reset_control *rsts; member
632 ddata->rsts = in sysc_init_resets()
635 return PTR_ERR_OR_ZERO(ddata->rsts); in sysc_init_resets()
1280 reset_control_assert(ddata->rsts); in sysc_runtime_suspend_legacy()
1303 reset_control_deassert(ddata->rsts); in sysc_runtime_resume_legacy()
1338 reset_control_assert(ddata->rsts); in sysc_runtime_suspend()
1368 reset_control_deassert(ddata->rsts); in sysc_runtime_resume()
2155 error = reset_control_deassert(ddata->rsts); in sysc_init_module()
2185 reset_control_assert(ddata->rsts); in sysc_init_module()
[all...]
/kernel/linux/linux-6.6/drivers/bus/
H A Dti-sysc.c106 * @rsts: resets used by the interconnect target module
138 struct reset_control *rsts; member
635 ddata->rsts = in sysc_init_resets()
638 return PTR_ERR_OR_ZERO(ddata->rsts); in sysc_init_resets()
1274 reset_control_assert(ddata->rsts); in sysc_runtime_suspend_legacy()
1297 reset_control_deassert(ddata->rsts); in sysc_runtime_resume_legacy()
1334 reset_control_assert(ddata->rsts); in sysc_runtime_suspend()
1362 reset_control_deassert(ddata->rsts); in sysc_runtime_resume()
2221 error = reset_control_deassert(ddata->rsts); in sysc_init_module()
2262 reset_control_assert(ddata->rsts); in sysc_init_module()
[all...]

Completed in 22 milliseconds

12