Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ata/
H A Dahci_mtk.c30 struct reset_control *sw_rst; member
56 plat->sw_rst = devm_reset_control_get_optional_exclusive(dev, "sw"); in mtk_ahci_platform_resets()
57 if (PTR_ERR(plat->sw_rst) == -EPROBE_DEFER) in mtk_ahci_platform_resets()
58 return PTR_ERR(plat->sw_rst); in mtk_ahci_platform_resets()
70 err = reset_control_assert(plat->sw_rst); in mtk_ahci_platform_resets()
88 err = reset_control_deassert(plat->sw_rst); in mtk_ahci_platform_resets()
H A Dahci_st.c35 struct reset_control *sw_rst; member
68 if (drv_data->sw_rst) { in st_ahci_deassert_resets()
69 err = reset_control_deassert(drv_data->sw_rst); in st_ahci_deassert_resets()
114 drv_data->sw_rst = devm_reset_control_get(dev, "sw-rst"); in st_ahci_probe_resets()
115 if (IS_ERR(drv_data->sw_rst)) { in st_ahci_probe_resets()
117 drv_data->sw_rst = NULL; in st_ahci_probe_resets()
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-esdhc-imx.c1124 u8 sw_rst; in esdhc_prepare_tuning() local
1132 ret = readb_poll_timeout(host->ioaddr + SDHCI_SOFTWARE_RESET, sw_rst, in esdhc_prepare_tuning()
1133 !(sw_rst & SDHCI_RESET_ALL), 10, 100); in esdhc_prepare_tuning()
/openbmc/u-boot/cmd/aspeed/nettest/
H A Dcomminf.h322 uint32_t sw_rst : 1; /* bit[31] */ member
H A Dmac.c905 maccr.b.sw_rst = 1; in init_mac()
911 } while(maccr.b.sw_rst); in init_mac()