Home
last modified time | relevance | path

Searched refs:rsts (Results 1 – 18 of 18) 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()
415 ret = dev_err_probe(dev, ret, "failed to deassert rsts\n"); in dwc3_google_probe()
454 reset_control_bulk_assert(google->num_rsts, google->rsts); in dwc3_google_probe()
[all...]
/linux/drivers/usb/renesas_usbhs/
H A Dcommon.c647 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()
868 ret = reset_control_assert(priv->rsts); in usbhsc_suspend()
880 ret = reset_control_deassert(priv->rsts); in usbhsc_resume()
H A Dcommon.h282 struct reset_control *rsts; member
/linux/drivers/phy/rockchip/
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/drivers/ata/
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()
/linux/drivers/net/pcs/
H A Dpcs-rzn1-miic.c205 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 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/bus/
H A Dti-sysc.c149 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 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/net/ethernet/intel/ixgbevf/
H A Dvf.h94 u32 rsts; member
/linux/drivers/net/ethernet/airoha/
H A Dairoha_eth.c1567 err = reset_control_bulk_assert(ARRAY_SIZE(eth->rsts), eth->rsts); in airoha_update_hw_stats()
1572 err = reset_control_bulk_deassert(ARRAY_SIZE(eth->rsts), eth->rsts); in airoha_update_hw_stats()
3374 eth->rsts[0].id = "fe";
3375 eth->rsts[1].id = "pdma";
3376 eth->rsts[2].id = "qdma";
3378 ARRAY_SIZE(eth->rsts),
3379 eth->rsts);
H A Dairoha_eth.h617 struct reset_control_bulk_data rsts[AIROHA_MAX_NUM_RSTS];
599 struct reset_control_bulk_data rsts[AIROHA_MAX_NUM_RSTS]; global() member