Home
last modified time | relevance | path

Searched refs:resets (Results 1 – 25 of 99) sorted by relevance

1234

/drivers/reset/
Dcore.c198 static int reset_control_array_reset(struct reset_control_array *resets) in reset_control_array_reset() argument
202 for (i = 0; i < resets->num_rstcs; i++) { in reset_control_array_reset()
203 ret = reset_control_reset(resets->rstc[i]); in reset_control_array_reset()
211 static int reset_control_array_assert(struct reset_control_array *resets) in reset_control_array_assert() argument
215 for (i = 0; i < resets->num_rstcs; i++) { in reset_control_array_assert()
216 ret = reset_control_assert(resets->rstc[i]); in reset_control_array_assert()
225 reset_control_deassert(resets->rstc[i]); in reset_control_array_assert()
229 static int reset_control_array_deassert(struct reset_control_array *resets) in reset_control_array_deassert() argument
233 for (i = 0; i < resets->num_rstcs; i++) { in reset_control_array_deassert()
234 ret = reset_control_deassert(resets->rstc[i]); in reset_control_array_deassert()
[all …]
Dreset-qcom-aoss.c19 const struct qcom_aoss_reset_map *resets; member
40 .resets = sdm845_aoss_resets,
54 const struct qcom_aoss_reset_map *map = &data->desc->resets[idx]; in qcom_aoss_control_assert()
66 const struct qcom_aoss_reset_map *map = &data->desc->resets[idx]; in qcom_aoss_control_deassert()
/drivers/usb/dwc3/
Ddwc3-of-simple.c29 struct reset_control *resets; member
55 simple->resets = of_reset_control_array_get(np, false, true, in dwc3_of_simple_probe()
57 if (IS_ERR(simple->resets)) { in dwc3_of_simple_probe()
58 ret = PTR_ERR(simple->resets); in dwc3_of_simple_probe()
63 ret = reset_control_deassert(simple->resets); in dwc3_of_simple_probe()
91 reset_control_assert(simple->resets); in dwc3_of_simple_probe()
94 reset_control_put(simple->resets); in dwc3_of_simple_probe()
106 reset_control_assert(simple->resets); in __dwc3_of_simple_teardown()
108 reset_control_put(simple->resets); in __dwc3_of_simple_teardown()
152 reset_control_assert(simple->resets); in dwc3_of_simple_suspend()
[all …]
Ddwc3-qcom.c73 struct reset_control *resets; member
771 qcom->resets = devm_reset_control_array_get_optional_exclusive(dev); in dwc3_qcom_probe()
772 if (IS_ERR(qcom->resets)) { in dwc3_qcom_probe()
773 ret = PTR_ERR(qcom->resets); in dwc3_qcom_probe()
778 ret = reset_control_assert(qcom->resets); in dwc3_qcom_probe()
786 ret = reset_control_deassert(qcom->resets); in dwc3_qcom_probe()
896 reset_control_assert(qcom->resets); in dwc3_qcom_probe()
924 reset_control_assert(qcom->resets); in dwc3_qcom_remove()
/drivers/phy/
Dphy-lgm-usb.c41 struct reset_control *resets[ARRAY_SIZE(PHY_RESETS)]; member
78 reset_control_deassert(ta->resets[i]); in phy_init()
115 reset_control_assert(ta->resets[i]); in phy_shutdown()
189 struct reset_control *resets[ARRAY_SIZE(CTL_RESETS)]; in phy_probe() local
221 resets[i] = devm_reset_control_get_exclusive(dev, CTL_RESETS[i]); in phy_probe()
222 if (IS_ERR(resets[i])) { in phy_probe()
224 return PTR_ERR(resets[i]); in phy_probe()
229 ta->resets[i] = devm_reset_control_get_exclusive(dev, PHY_RESETS[i]); in phy_probe()
230 if (IS_ERR(ta->resets[i])) { in phy_probe()
232 return PTR_ERR(ta->resets[i]); in phy_probe()
[all …]
/drivers/usb/host/
Dohci-platform.c40 struct reset_control *resets; member
158 priv->resets = devm_reset_control_array_get_optional_shared( in ohci_platform_probe()
160 if (IS_ERR(priv->resets)) { in ohci_platform_probe()
161 err = PTR_ERR(priv->resets); in ohci_platform_probe()
165 err = reset_control_deassert(priv->resets); in ohci_platform_probe()
228 reset_control_assert(priv->resets); in ohci_platform_probe()
254 reset_control_assert(priv->resets); in ohci_platform_remove()
/drivers/clk/sunxi-ng/
Dccu-sun8i-de2.c227 .resets = sun8i_a83t_de2_resets,
237 .resets = sun8i_h3_de2_resets,
247 .resets = sun8i_a83t_de2_resets,
257 .resets = sun8i_a83t_de2_resets,
267 .resets = sun50i_a64_de2_resets,
277 .resets = sun50i_h5_de2_resets,
Dccu-sun8i-r.c233 .resets = sun8i_a83t_r_ccu_resets,
243 .resets = sun8i_h3_r_ccu_resets,
253 .resets = sun50i_a64_r_ccu_resets,
Dccu_common.h48 struct ccu_reset_map *resets; member
Dccu_common.c130 reset->reset_map = desc->resets; in sunxi_ccu_probe()
Dccu-sun9i-a80-usb.c89 .resets = sun9i_a80_usb_resets,
Dccu-sun50i-h6-r.c174 .resets = sun50i_h6_r_ccu_resets,
Dccu-sun50i-a100-r.c187 .resets = sun50i_a100_r_ccu_resets,
/drivers/staging/mt7621-dts/
Dmt7621.dtsi105 resets = <&rstctrl 16>;
123 resets = <&rstctrl 17>;
177 resets = <&rstctrl 18>;
191 resets = <&rstctrl 14>;
208 resets = <&rstctrl 5>;
407 resets = <&rstctrl 6 &rstctrl 23>;
447 resets = <&rstctrl 2>;
535 resets = <&rstctrl 24 &rstctrl 25 &rstctrl 26>;
/drivers/gpu/drm/i915/gt/
Dselftest_rc6.c202 unsigned int resets = in live_rc6_ctx_wa() local
232 if (resets != in live_rc6_ctx_wa()
/drivers/clk/actions/
Dowl-common.h29 const struct owl_reset_map *resets; member
/drivers/staging/mt7621-pci/
Dmediatek,mt7621-pci.txt18 - resets: Must contain an entry for each entry in reset-names.
71 resets = <&rstctrl 24 &rstctrl 25 &rstctrl 26>;
/drivers/clk/qcom/
Dgpucc-msm8998.c256 .resets = (unsigned int []){ GPU_GX_BCR },
306 .resets = gpucc_msm8998_resets,
Dgdsc.h62 unsigned int *resets; member
Dcommon.h26 const struct qcom_reset_map *resets; member
Dgdsc.c175 sc->rcdev->ops->deassert(sc->rcdev, sc->resets[i]); in gdsc_deassert_reset()
184 sc->rcdev->ops->assert(sc->rcdev, sc->resets[i]); in gdsc_assert_reset()
Dq6sstop-qcs404.c137 .resets = q6sstop_qcs404_resets,
/drivers/firmware/
Dti_sci.h202 u32 resets; member
226 u32 resets; member
/drivers/platform/mellanox/
DKconfig34 to system resets operation, system reset causes monitoring and some
/drivers/scsi/arm/
Dacornscsi.h310 unsigned int resets; member

1234