Home
last modified time | relevance | path

Searched refs:rsts (Results 1 – 24 of 24) sorted by relevance

/linux-6.15/drivers/remoteproc/
H A Dwkup_m3_rproc.c53 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()
/linux-6.15/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()
/linux-6.15/drivers/phy/rockchip/
H A Dphy-rockchip-samsung-hdptx.c433 struct reset_control_bulk_data rsts[RST_MAX]; member
841 reset_control_assert(hdptx->rsts[RST_APB].rstc); in rk_hdptx_pre_power_up()
846 reset_control_assert(hdptx->rsts[RST_CMN].rstc); in rk_hdptx_pre_power_up()
913 reset_control_assert(hdptx->rsts[RST_APB].rstc); in rk_hdptx_phy_disable()
926 reset_control_assert(hdptx->rsts[RST_CMN].rstc); in rk_hdptx_phy_disable()
1097 reset_control_assert(hdptx->rsts[RST_CMN].rstc); in rk_hdptx_dp_reset()
1100 reset_control_assert(hdptx->rsts[RST_APB].rstc); in rk_hdptx_dp_reset()
1976 hdptx->rsts[RST_APB].id = "apb"; in rk_hdptx_phy_probe()
1977 hdptx->rsts[RST_INIT].id = "init"; in rk_hdptx_phy_probe()
1978 hdptx->rsts[RST_CMN].id = "cmn"; in rk_hdptx_phy_probe()
[all …]
H A Dphy-rockchip-usbdp.c170 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-6.15/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()
/linux-6.15/tools/net/ynl/generated/
H A DMakefile73 install-rsts: $(RSTS)
85 install: install-headers install-rsts install-specs
87 .PHONY: all clean distclean regen install install-headers install-rsts install-specs
/linux-6.15/drivers/ata/
H A Dlibahci_platform.c172 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 Dahci_ceva.c269 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 Dahci.h351 struct reset_control *rsts; /* Optional */ member
/linux-6.15/drivers/usb/renesas_usbhs/
H A Dcommon.c643 priv->rsts = devm_reset_control_array_get_optional_shared(dev); in usbhs_probe()
644 if (IS_ERR(priv->rsts)) in usbhs_probe()
645 return PTR_ERR(priv->rsts); in usbhs_probe()
704 ret = reset_control_deassert(priv->rsts); in usbhs_probe()
765 reset_control_assert(priv->rsts); in usbhs_probe()
794 reset_control_assert(priv->rsts); in usbhs_remove()
H A Dcommon.h282 struct reset_control *rsts; member
/linux-6.15/drivers/watchdog/
H A Dstarfive-wdt.c186 struct reset_control *rsts; in starfive_wdt_reset_init() local
189 rsts = devm_reset_control_array_get_exclusive(dev); in starfive_wdt_reset_init()
190 if (IS_ERR(rsts)) in starfive_wdt_reset_init()
191 return dev_err_probe(dev, PTR_ERR(rsts), "failed to get resets\n"); in starfive_wdt_reset_init()
193 ret = reset_control_deassert(rsts); in starfive_wdt_reset_init()
/linux-6.15/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()
/linux-6.15/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()
H A Dvf.h93 u32 rsts; member
/linux-6.15/drivers/net/ethernet/intel/igbvf/
H A Dmbx.c200 hw->mbx.stats.rsts++; in e1000_check_for_rst_vf()
334 mbx->stats.rsts = 0; in e1000_init_mbx_params_vf()
H A Dvf.h200 u32 rsts; member
/linux-6.15/drivers/bus/
H A Dti-sysc.c148 struct reset_control *rsts; member
645 ddata->rsts = in sysc_init_resets()
648 return PTR_ERR_OR_ZERO(ddata->rsts); in sysc_init_resets()
1284 reset_control_assert(ddata->rsts); in sysc_runtime_suspend_legacy()
1307 reset_control_deassert(ddata->rsts); in sysc_runtime_resume_legacy()
1344 reset_control_assert(ddata->rsts); in sysc_runtime_suspend()
1372 reset_control_deassert(ddata->rsts); in sysc_runtime_resume()
2269 reset_control_assert(ddata->rsts); in sysc_init_module()
3258 reset_control_assert(ddata->rsts); in sysc_probe()
3318 if (!reset_control_status(ddata->rsts)) in sysc_remove()
[all …]
/linux-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_mbx.c295 hw->mbx.stats.rsts++; in ixgbe_check_for_rst_pf()
422 mbx->stats.rsts = 0; in ixgbe_init_mbx_params_pf()
H A Dixgbe_type.h3661 u32 rsts; member
/linux-6.15/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()
H A De1000_hw.h494 u32 rsts; member
/linux-6.15/drivers/net/ethernet/airoha/
H A Dairoha_eth.c1300 err = reset_control_bulk_assert(ARRAY_SIZE(eth->rsts), eth->rsts); in airoha_hw_init()
1305 err = reset_control_bulk_deassert(ARRAY_SIZE(eth->rsts), eth->rsts); in airoha_hw_init()
2570 eth->rsts[0].id = "fe"; in airoha_probe()
2571 eth->rsts[1].id = "pdma"; in airoha_probe()
2572 eth->rsts[2].id = "qdma"; in airoha_probe()
2574 ARRAY_SIZE(eth->rsts), in airoha_probe()
2575 eth->rsts); in airoha_probe()
H A Dairoha_eth.h500 struct reset_control_bulk_data rsts[AIROHA_MAX_NUM_RSTS]; member