Home
last modified time | relevance | path

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

/linux/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/drivers/usb/host/
H A Duhci-platform.c142 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 Dehci-platform.c50 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 Duhci-hcd.h448 struct reset_control *rsts; /* (optional) clock reset */ member
/linux/drivers/usb/dwc3/
H A Ddwc3-google.c58 struct reset_control_bulk_data rsts[DWC3_GOOGLE_MAX_RESETS]; member
82 google->rsts[0].id = "non_sticky"; in dwc3_google_rst_init()
83 google->rsts[1].id = "sticky"; in dwc3_google_rst_init()
84 google->rsts[2].id = "drd_bus"; in dwc3_google_rst_init()
85 google->rsts[3].id = "top"; in dwc3_google_rst_init()
89 google->rsts); in dwc3_google_rst_init()
94 google->non_sticky_rst = google->rsts[0].rstc; in dwc3_google_rst_init()
413 ret = reset_control_bulk_deassert(google->num_rsts, google->rsts); in dwc3_google_probe()
455 reset_control_bulk_assert(google->num_rsts, google->rsts); in dwc3_google_probe()
470 reset_control_bulk_assert(google->num_rsts, google->rsts); in dwc3_google_remove()
[all …]
/linux/drivers/phy/rockchip/
H A Dphy-rockchip-samsung-hdptx.c419 struct reset_control_bulk_data rsts[RST_MAX]; member
951 reset_control_assert(hdptx->rsts[RST_APB].rstc); in rk_hdptx_pre_power_up()
953 reset_control_deassert(hdptx->rsts[RST_APB].rstc); in rk_hdptx_pre_power_up()
955 reset_control_assert(hdptx->rsts[RST_LANE].rstc); in rk_hdptx_pre_power_up()
956 reset_control_assert(hdptx->rsts[RST_CMN].rstc); in rk_hdptx_pre_power_up()
957 reset_control_assert(hdptx->rsts[RST_INIT].rstc); in rk_hdptx_pre_power_up()
970 reset_control_deassert(hdptx->rsts[RST_LANE].rstc); in rk_hdptx_post_enable_lane()
1007 reset_control_deassert(hdptx->rsts[RST_INIT].rstc); in rk_hdptx_post_enable_pll()
1013 reset_control_deassert(hdptx->rsts[RST_CMN].rstc); in rk_hdptx_post_enable_pll()
1031 reset_control_assert(hdptx->rsts[RST_APB].rstc); in rk_hdptx_phy_disable()
[all …]
H A Dphy-rockchip-usbdp.c169 struct reset_control_bulk_data *rsts; member
448 return reset_control_bulk_assert(udphy->num_rsts, udphy->rsts); in rk_udphy_reset_assert_all()
453 return reset_control_bulk_deassert(udphy->num_rsts, udphy->rsts); in rk_udphy_reset_deassert_all()
458 struct reset_control_bulk_data *list = udphy->rsts; in rk_udphy_reset_deassert()
475 udphy->rsts = devm_kcalloc(dev, udphy->num_rsts, in rk_udphy_reset_init()
476 sizeof(*udphy->rsts), GFP_KERNEL); in rk_udphy_reset_init()
477 if (!udphy->rsts) in rk_udphy_reset_init()
481 udphy->rsts[idx].id = cfg->rst_list[idx]; in rk_udphy_reset_init()
484 udphy->rsts); in rk_udphy_reset_init()
/linux/tools/net/ynl/generated/
H A DMakefile72 install-rsts: $(RSTS)
84 install: install-headers install-rsts install-specs
86 .PHONY: all clean distclean regen install install-headers install-rsts install-specs
/linux/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()
571 hpriv->rsts = devm_reset_control_array_get_optional_shared(dev); in ahci_platform_get_resources()
572 if (IS_ERR(hpriv->rsts)) { in ahci_platform_get_resources()
573 rc = PTR_ERR(hpriv->rsts); in ahci_platform_get_resources()
H A Dahci_ceva.c279 hpriv->rsts = devm_reset_control_get_optional_exclusive(&pdev->dev, in ceva_ahci_probe()
281 if (IS_ERR(hpriv->rsts)) in ceva_ahci_probe()
282 return dev_err_probe(&pdev->dev, PTR_ERR(hpriv->rsts), in ceva_ahci_probe()
/linux/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/drivers/net/pcs/
H A Dpcs-rzn1-miic.c197 * @rsts: Reset controls for the MII converter
205 struct reset_control_bulk_data rsts[MIIC_MAX_NUM_RSTS]; member
721 ret = reset_control_bulk_assert(miic->of_data->reset_count, miic->rsts); in miic_reset_control_bulk_assert()
737 miic->rsts[i].id = of_data->reset_ids[i]; in miic_reset_control_init()
740 miic->rsts); in miic_reset_control_init()
745 ret = reset_control_bulk_deassert(of_data->reset_count, miic->rsts); in miic_reset_control_init()
/linux/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/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/drivers/usb/renesas_usbhs/
H A Dcommon.h282 struct reset_control *rsts; member
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.h94 u32 rsts; member
/linux/drivers/net/ethernet/airoha/
H A Dairoha_eth.c1622 err = reset_control_bulk_assert(ARRAY_SIZE(eth->rsts), eth->rsts); in airoha_hw_init()
1627 err = reset_control_bulk_deassert(ARRAY_SIZE(eth->rsts), eth->rsts); in airoha_hw_init()
3637 eth->rsts[0].id = "fe"; in airoha_probe()
3638 eth->rsts[1].id = "pdma"; in airoha_probe()
3639 eth->rsts[2].id = "qdma"; in airoha_probe()
3641 ARRAY_SIZE(eth->rsts), in airoha_probe()
3642 eth->rsts); in airoha_probe()
H A Dairoha_eth.h660 struct reset_control_bulk_data rsts[AIROHA_MAX_NUM_RSTS];
658 struct reset_control_bulk_data rsts[AIROHA_MAX_NUM_RSTS]; global() member