/Linux-v5.4/include/linux/ |
D | reset-controller.h | 7 struct reset_controller_dev; 19 int (*reset)(struct reset_controller_dev *rcdev, unsigned long id); 20 int (*assert)(struct reset_controller_dev *rcdev, unsigned long id); 21 int (*deassert)(struct reset_controller_dev *rcdev, unsigned long id); 22 int (*status)(struct reset_controller_dev *rcdev, unsigned long id); 68 struct reset_controller_dev { struct 76 int (*of_xlate)(struct reset_controller_dev *rcdev, argument 81 int reset_controller_register(struct reset_controller_dev *rcdev); argument 82 void reset_controller_unregister(struct reset_controller_dev *rcdev); 86 struct reset_controller_dev *rcdev);
|
/Linux-v5.4/drivers/reset/ |
D | reset-lantiq.c | 22 struct reset_controller_dev rcdev; 30 struct reset_controller_dev *rcdev) in to_lantiq_rcu_reset_priv() 35 static int lantiq_rcu_reset_status(struct reset_controller_dev *rcdev, in lantiq_rcu_reset_status() 50 static int lantiq_rcu_reset_status_timeout(struct reset_controller_dev *rcdev, in lantiq_rcu_reset_status_timeout() 68 static int lantiq_rcu_reset_update(struct reset_controller_dev *rcdev, in lantiq_rcu_reset_update() 92 static int lantiq_rcu_reset_assert(struct reset_controller_dev *rcdev, in lantiq_rcu_reset_assert() 98 static int lantiq_rcu_reset_deassert(struct reset_controller_dev *rcdev, in lantiq_rcu_reset_deassert() 104 static int lantiq_rcu_reset_reset(struct reset_controller_dev *rcdev, in lantiq_rcu_reset_reset() 152 static int lantiq_rcu_reset_xlate(struct reset_controller_dev *rcdev, in lantiq_rcu_reset_xlate()
|
D | reset-zynqmp.c | 17 struct reset_controller_dev rcdev; 22 to_zynqmp_reset_data(struct reset_controller_dev *rcdev) in to_zynqmp_reset_data() 27 static int zynqmp_reset_assert(struct reset_controller_dev *rcdev, in zynqmp_reset_assert() 36 static int zynqmp_reset_deassert(struct reset_controller_dev *rcdev, in zynqmp_reset_deassert() 45 static int zynqmp_reset_status(struct reset_controller_dev *rcdev, in zynqmp_reset_status() 58 static int zynqmp_reset_reset(struct reset_controller_dev *rcdev, in zynqmp_reset_reset()
|
D | reset-a10sr.c | 20 struct reset_controller_dev rcdev; 24 static inline struct a10sr_reset *to_a10sr_rst(struct reset_controller_dev *rc) in to_a10sr_rst() 44 static int a10sr_reset_update(struct reset_controller_dev *rcdev, in a10sr_reset_update() 55 static int a10sr_reset_assert(struct reset_controller_dev *rcdev, in a10sr_reset_assert() 61 static int a10sr_reset_deassert(struct reset_controller_dev *rcdev, in a10sr_reset_deassert() 67 static int a10sr_reset_status(struct reset_controller_dev *rcdev, in a10sr_reset_status()
|
D | reset-stm32mp1.c | 17 struct reset_controller_dev rcdev; 22 to_stm32_reset_data(struct reset_controller_dev *rcdev) in to_stm32_reset_data() 27 static int stm32_reset_update(struct reset_controller_dev *rcdev, in stm32_reset_update() 45 static int stm32_reset_assert(struct reset_controller_dev *rcdev, in stm32_reset_assert() 51 static int stm32_reset_deassert(struct reset_controller_dev *rcdev, in stm32_reset_deassert() 57 static int stm32_reset_status(struct reset_controller_dev *rcdev, in stm32_reset_status()
|
D | reset-brcmstb.c | 19 struct reset_controller_dev rcdev; 35 struct brcmstb_reset *to_brcmstb(struct reset_controller_dev *rcdev) in to_brcmstb() 40 static int brcmstb_reset_assert(struct reset_controller_dev *rcdev, in brcmstb_reset_assert() 51 static int brcmstb_reset_deassert(struct reset_controller_dev *rcdev, in brcmstb_reset_deassert() 67 static int brcmstb_reset_status(struct reset_controller_dev *rcdev, in brcmstb_reset_status()
|
D | reset-meson.c | 24 struct reset_controller_dev rcdev; 28 static int meson_reset_reset(struct reset_controller_dev *rcdev, in meson_reset_reset() 42 static int meson_reset_level(struct reset_controller_dev *rcdev, in meson_reset_level() 66 static int meson_reset_assert(struct reset_controller_dev *rcdev, in meson_reset_assert() 72 static int meson_reset_deassert(struct reset_controller_dev *rcdev, in meson_reset_deassert()
|
D | reset-qcom-aoss.c | 24 struct reset_controller_dev rcdev; 45 struct reset_controller_dev *rcdev) in to_qcom_aoss_reset_data() 50 static int qcom_aoss_control_assert(struct reset_controller_dev *rcdev, in qcom_aoss_control_assert() 62 static int qcom_aoss_control_deassert(struct reset_controller_dev *rcdev, in qcom_aoss_control_deassert() 74 static int qcom_aoss_control_reset(struct reset_controller_dev *rcdev, in qcom_aoss_control_reset()
|
D | reset-ath79.c | 17 struct reset_controller_dev rcdev; 25 static int ath79_reset_update(struct reset_controller_dev *rcdev, in ath79_reset_update() 45 static int ath79_reset_assert(struct reset_controller_dev *rcdev, in ath79_reset_assert() 51 static int ath79_reset_deassert(struct reset_controller_dev *rcdev, in ath79_reset_deassert() 57 static int ath79_reset_status(struct reset_controller_dev *rcdev, in ath79_reset_status()
|
D | reset-ti-sci.c | 45 struct reset_controller_dev rcdev; 70 static int ti_sci_reset_set(struct reset_controller_dev *rcdev, in ti_sci_reset_set() 114 static int ti_sci_reset_assert(struct reset_controller_dev *rcdev, in ti_sci_reset_assert() 132 static int ti_sci_reset_deassert(struct reset_controller_dev *rcdev, in ti_sci_reset_deassert() 151 static int ti_sci_reset_status(struct reset_controller_dev *rcdev, in ti_sci_reset_status() 192 static int ti_sci_reset_of_xlate(struct reset_controller_dev *rcdev, in ti_sci_reset_of_xlate()
|
D | reset-scmi.c | 20 struct reset_controller_dev rcdev; 38 scmi_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) in scmi_reset_assert() 56 scmi_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) in scmi_reset_deassert() 74 scmi_reset_reset(struct reset_controller_dev *rcdev, unsigned long id) in scmi_reset_reset()
|
D | reset-imx7.c | 30 struct reset_controller_dev rcdev; 85 static struct imx7_src *to_imx7_src(struct reset_controller_dev *rcdev) in to_imx7_src() 90 static int imx7_reset_set(struct reset_controller_dev *rcdev, in imx7_reset_set() 115 static int imx7_reset_assert(struct reset_controller_dev *rcdev, in imx7_reset_assert() 121 static int imx7_reset_deassert(struct reset_controller_dev *rcdev, in imx7_reset_deassert() 203 static int imx8mq_reset_set(struct reset_controller_dev *rcdev, in imx8mq_reset_set() 235 static int imx8mq_reset_assert(struct reset_controller_dev *rcdev, in imx8mq_reset_assert() 241 static int imx8mq_reset_deassert(struct reset_controller_dev *rcdev, in imx8mq_reset_deassert()
|
D | reset-meson-audio-arb.c | 15 struct reset_controller_dev rstc; 33 static int meson_audio_arb_update(struct reset_controller_dev *rcdev, in meson_audio_arb_update() 54 static int meson_audio_arb_status(struct reset_controller_dev *rcdev, in meson_audio_arb_status() 66 static int meson_audio_arb_assert(struct reset_controller_dev *rcdev, in meson_audio_arb_assert() 72 static int meson_audio_arb_deassert(struct reset_controller_dev *rcdev, in meson_audio_arb_deassert()
|
D | reset-oxnas.c | 26 struct reset_controller_dev rcdev; 29 static int oxnas_reset_reset(struct reset_controller_dev *rcdev, in oxnas_reset_reset() 42 static int oxnas_reset_assert(struct reset_controller_dev *rcdev, in oxnas_reset_assert() 53 static int oxnas_reset_deassert(struct reset_controller_dev *rcdev, in oxnas_reset_deassert()
|
D | reset-qcom-pdc.c | 21 struct reset_controller_dev rcdev; 48 struct reset_controller_dev *rcdev) in to_qcom_pdc_reset_data() 53 static int qcom_pdc_control_assert(struct reset_controller_dev *rcdev, in qcom_pdc_control_assert() 63 static int qcom_pdc_control_deassert(struct reset_controller_dev *rcdev, in qcom_pdc_control_deassert()
|
D | reset-simple.c | 26 to_reset_simple_data(struct reset_controller_dev *rcdev) in to_reset_simple_data() 31 static int reset_simple_update(struct reset_controller_dev *rcdev, in reset_simple_update() 55 static int reset_simple_assert(struct reset_controller_dev *rcdev, in reset_simple_assert() 61 static int reset_simple_deassert(struct reset_controller_dev *rcdev, in reset_simple_deassert() 67 static int reset_simple_status(struct reset_controller_dev *rcdev, in reset_simple_status()
|
/Linux-v5.4/drivers/clk/mediatek/ |
D | reset.c | 19 struct reset_controller_dev rcdev; 22 static int mtk_reset_assert_set_clr(struct reset_controller_dev *rcdev, in mtk_reset_assert_set_clr() 31 static int mtk_reset_deassert_set_clr(struct reset_controller_dev *rcdev, in mtk_reset_deassert_set_clr() 40 static int mtk_reset_assert(struct reset_controller_dev *rcdev, in mtk_reset_assert() 49 static int mtk_reset_deassert(struct reset_controller_dev *rcdev, in mtk_reset_deassert() 58 static int mtk_reset(struct reset_controller_dev *rcdev, in mtk_reset() 70 static int mtk_reset_set_clr(struct reset_controller_dev *rcdev, in mtk_reset_set_clr()
|
/Linux-v5.4/drivers/reset/hisilicon/ |
D | reset-hi3660.c | 15 struct reset_controller_dev rst; 22 static int hi3660_reset_program_hw(struct reset_controller_dev *rcdev, in hi3660_reset_program_hw() 35 static int hi3660_reset_assert(struct reset_controller_dev *rcdev, in hi3660_reset_assert() 41 static int hi3660_reset_deassert(struct reset_controller_dev *rcdev, in hi3660_reset_deassert() 47 static int hi3660_reset_dev(struct reset_controller_dev *rcdev, in hi3660_reset_dev() 65 static int hi3660_reset_xlate(struct reset_controller_dev *rcdev, in hi3660_reset_xlate()
|
D | hi6220_reset.c | 39 struct reset_controller_dev rc_dev; 43 static int hi6220_peripheral_assert(struct reset_controller_dev *rc_dev, in hi6220_peripheral_assert() 55 static int hi6220_peripheral_deassert(struct reset_controller_dev *rc_dev, in hi6220_peripheral_deassert() 72 static int hi6220_media_assert(struct reset_controller_dev *rc_dev, in hi6220_media_assert() 81 static int hi6220_media_deassert(struct reset_controller_dev *rc_dev, in hi6220_media_deassert()
|
/Linux-v5.4/drivers/reset/tegra/ |
D | reset-bpmp.c | 11 static struct tegra_bpmp *to_tegra_bpmp(struct reset_controller_dev *rstc) in to_tegra_bpmp() 16 static int tegra_bpmp_reset_common(struct reset_controller_dev *rstc, in tegra_bpmp_reset_common() 36 static int tegra_bpmp_reset_module(struct reset_controller_dev *rstc, in tegra_bpmp_reset_module() 42 static int tegra_bpmp_reset_assert(struct reset_controller_dev *rstc, in tegra_bpmp_reset_assert() 48 static int tegra_bpmp_reset_deassert(struct reset_controller_dev *rstc, in tegra_bpmp_reset_deassert()
|
/Linux-v5.4/drivers/clk/qcom/ |
D | gdsc.h | 13 struct reset_controller_dev; 52 struct reset_controller_dev *rcdev; 64 int gdsc_register(struct gdsc_desc *desc, struct reset_controller_dev *, 69 struct reset_controller_dev *rcdev, in gdsc_register()
|
/Linux-v5.4/drivers/clk/actions/ |
D | owl-reset.c | 14 static int owl_reset_assert(struct reset_controller_dev *rcdev, in owl_reset_assert() 23 static int owl_reset_deassert(struct reset_controller_dev *rcdev, in owl_reset_deassert() 32 static int owl_reset_reset(struct reset_controller_dev *rcdev, in owl_reset_reset() 42 static int owl_reset_status(struct reset_controller_dev *rcdev, in owl_reset_status()
|
/Linux-v5.4/arch/mips/ralink/ |
D | reset.c | 25 static int ralink_assert_device(struct reset_controller_dev *rcdev, in ralink_assert_device() 40 static int ralink_deassert_device(struct reset_controller_dev *rcdev, in ralink_deassert_device() 55 static int ralink_reset_device(struct reset_controller_dev *rcdev, in ralink_reset_device() 68 static struct reset_controller_dev reset_dev = {
|
/Linux-v5.4/drivers/clk/sunxi-ng/ |
D | ccu_reset.c | 13 static int ccu_reset_assert(struct reset_controller_dev *rcdev, in ccu_reset_assert() 31 static int ccu_reset_deassert(struct reset_controller_dev *rcdev, in ccu_reset_deassert() 49 static int ccu_reset_reset(struct reset_controller_dev *rcdev, in ccu_reset_reset() 59 static int ccu_reset_status(struct reset_controller_dev *rcdev, in ccu_reset_status()
|
/Linux-v5.4/drivers/reset/sti/ |
D | reset-syscfg.c | 40 struct reset_controller_dev rst; 48 static int syscfg_reset_program_hw(struct reset_controller_dev *rcdev, in syscfg_reset_program_hw() 87 static int syscfg_reset_assert(struct reset_controller_dev *rcdev, in syscfg_reset_assert() 93 static int syscfg_reset_deassert(struct reset_controller_dev *rcdev, in syscfg_reset_deassert() 99 static int syscfg_reset_dev(struct reset_controller_dev *rcdev, in syscfg_reset_dev() 111 static int syscfg_reset_status(struct reset_controller_dev *rcdev, in syscfg_reset_status()
|