Searched refs:reset_ctrl (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/mmc/core/ |
| H A D | pwrseq_simple.c | 34 struct reset_control *reset_ctrl; member 72 if (pwrseq->reset_ctrl) { in mmc_pwrseq_simple_pre_power_on() 73 reset_control_deassert(pwrseq->reset_ctrl); in mmc_pwrseq_simple_pre_power_on() 74 reset_control_assert(pwrseq->reset_ctrl); in mmc_pwrseq_simple_pre_power_on() 83 if (pwrseq->reset_ctrl) in mmc_pwrseq_simple_post_power_on() 84 reset_control_deassert(pwrseq->reset_ctrl); in mmc_pwrseq_simple_post_power_on() 96 if (pwrseq->reset_ctrl) in mmc_pwrseq_simple_power_off() 97 reset_control_assert(pwrseq->reset_ctrl); in mmc_pwrseq_simple_power_off() 139 pwrseq->reset_ctrl = devm_reset_control_get_optional_shared(dev, NULL); in mmc_pwrseq_simple_probe() 140 if (IS_ERR(pwrseq->reset_ctrl)) in mmc_pwrseq_simple_probe() [all …]
|
| /linux/drivers/net/phy/ |
| H A D | mdio_device.c | 138 mdiodev->reset_ctrl = reset; in mdio_device_register_reset() 158 reset_control_put(mdiodev->reset_ctrl); in mdio_device_unregister_reset() 159 mdiodev->reset_ctrl = NULL; in mdio_device_unregister_reset() 168 if (!mdiodev->reset_gpio && !mdiodev->reset_ctrl) in mdio_device_reset() 177 if (mdiodev->reset_ctrl) { in mdio_device_reset() 179 reset_control_assert(mdiodev->reset_ctrl); in mdio_device_reset() 181 reset_control_deassert(mdiodev->reset_ctrl); in mdio_device_reset()
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pcie-spacemit-k1.c | 134 u32 reset_ctrl; in k1_pcie_init() local 157 reset_ctrl = k1->pmu_off + PCIE_CLK_RESET_CONTROL; in k1_pcie_init() 158 regmap_set_bits(k1->pmu, reset_ctrl, PCIE_RC_PERST); in k1_pcie_init() 159 regmap_read(k1->pmu, reset_ctrl, &val); in k1_pcie_init() 166 regmap_set_bits(k1->pmu, reset_ctrl, DEVICE_TYPE_RC | PCIE_AUX_PWR_DET); in k1_pcie_init() 176 regmap_clear_bits(k1->pmu, reset_ctrl, PCIE_RC_PERST); in k1_pcie_init()
|
| /linux/drivers/regulator/ |
| H A D | pf9453-regulator.c | 763 unsigned int reset_ctrl; in pf9453_i2c_probe() local 825 reset_ctrl = WDOG_B_CFG_WARM; in pf9453_i2c_probe() 827 reset_ctrl = WDOG_B_CFG_COLD; in pf9453_i2c_probe() 830 ret = pf9453_pmic_write(pf9453, PF9453_REG_RESET_CTRL, WDOG_B_CFG_MASK, reset_ctrl); in pf9453_i2c_probe()
|
| H A D | pca9450-regulator.c | 1155 unsigned int reset_ctrl; in pca9450_of_init() local 1162 reset_ctrl = WDOG_B_CFG_WARM; in pca9450_of_init() 1164 reset_ctrl = WDOG_B_CFG_COLD_LDO12; in pca9450_of_init() 1168 WDOG_B_CFG_MASK, reset_ctrl); in pca9450_of_init()
|
| /linux/include/linux/ |
| H A D | mdio.h | 42 struct reset_control *reset_ctrl; member
|
| /linux/drivers/clk/meson/ |
| H A D | a1-peripherals.c | 1858 static A1_PCLK(reset_ctrl, SYS_CLK_EN0, 1, CLK_IGNORE_UNUSED);
|