Home
last modified time | relevance | path

Searched refs:sw_rst (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/ata/
Dahci_mtk.c37 struct reset_control *sw_rst; member
63 plat->sw_rst = devm_reset_control_get_optional_exclusive(dev, "sw"); in mtk_ahci_platform_resets()
64 if (PTR_ERR(plat->sw_rst) == -EPROBE_DEFER) in mtk_ahci_platform_resets()
65 return PTR_ERR(plat->sw_rst); in mtk_ahci_platform_resets()
77 err = reset_control_assert(plat->sw_rst); in mtk_ahci_platform_resets()
95 err = reset_control_deassert(plat->sw_rst); in mtk_ahci_platform_resets()
Dahci_st.c38 struct reset_control *sw_rst; member
71 if (drv_data->sw_rst) { in st_ahci_deassert_resets()
72 err = reset_control_deassert(drv_data->sw_rst); in st_ahci_deassert_resets()
117 drv_data->sw_rst = devm_reset_control_get(dev, "sw-rst"); in st_ahci_probe_resets()
118 if (IS_ERR(drv_data->sw_rst)) { in st_ahci_probe_resets()
120 drv_data->sw_rst = NULL; in st_ahci_probe_resets()