Home
last modified time | relevance | path

Searched refs:reset_controller_dev (Results 1 – 25 of 101) sorted by relevance

12345

/openbmc/linux/include/linux/
H A Dreset-controller.h7 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);
69 struct reset_controller_dev { struct
77 int (*of_xlate)(struct reset_controller_dev *rcdev, argument
83 int reset_controller_register(struct reset_controller_dev *rcdev); argument
84 void reset_controller_unregister(struct reset_controller_dev *rcdev);
88 struct reset_controller_dev *rcdev);
[all …]
/openbmc/linux/drivers/reset/
H A Dreset-bcm6345.c20 struct reset_controller_dev rcdev;
26 to_bcm6345_reset(struct reset_controller_dev *rcdev) in to_bcm6345_reset()
31 static int bcm6345_reset_update(struct reset_controller_dev *rcdev, in bcm6345_reset_update()
50 static int bcm6345_reset_assert(struct reset_controller_dev *rcdev, in bcm6345_reset_assert()
56 static int bcm6345_reset_deassert(struct reset_controller_dev *rcdev, in bcm6345_reset_deassert()
62 static int bcm6345_reset_reset(struct reset_controller_dev *rcdev, in bcm6345_reset_reset()
81 static int bcm6345_reset_status(struct reset_controller_dev *rcdev, in bcm6345_reset_status()
H A Dreset-lantiq.c22 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()
H A Dreset-k210.c19 struct reset_controller_dev rcdev;
23 to_k210_rst(struct reset_controller_dev *rcdev) in to_k210_rst()
28 static inline int k210_rst_assert(struct reset_controller_dev *rcdev, in k210_rst_assert()
36 static inline int k210_rst_deassert(struct reset_controller_dev *rcdev, in k210_rst_deassert()
44 static int k210_rst_reset(struct reset_controller_dev *rcdev, in k210_rst_reset()
58 static int k210_rst_status(struct reset_controller_dev *rcdev, in k210_rst_status()
72 static int k210_rst_xlate(struct reset_controller_dev *rcdev, in k210_rst_xlate()
H A Dreset-zynqmp.c24 struct reset_controller_dev rcdev;
29 to_zynqmp_reset_data(struct reset_controller_dev *rcdev) in to_zynqmp_reset_data()
34 static int zynqmp_reset_assert(struct reset_controller_dev *rcdev, in zynqmp_reset_assert()
43 static int zynqmp_reset_deassert(struct reset_controller_dev *rcdev, in zynqmp_reset_deassert()
52 static int zynqmp_reset_status(struct reset_controller_dev *rcdev, in zynqmp_reset_status()
66 static int zynqmp_reset_reset(struct reset_controller_dev *rcdev, in zynqmp_reset_reset()
75 static int zynqmp_reset_of_xlate(struct reset_controller_dev *rcdev, in zynqmp_reset_of_xlate()
H A Dreset-a10sr.c20 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()
H A Dreset-mpfs.c35 static int mpfs_assert(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_assert()
51 static int mpfs_deassert(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_deassert()
67 static int mpfs_status(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_status()
78 static int mpfs_reset(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_reset()
96 static int mpfs_reset_xlate(struct reset_controller_dev *rcdev, in mpfs_reset_xlate()
123 struct reset_controller_dev *rcdev; in mpfs_reset_probe()
H A Dreset-sunplus.c102 struct reset_controller_dev rcdev;
107 static inline struct sp_reset *to_sp_reset(struct reset_controller_dev *rcdev) in to_sp_reset()
112 static int sp_reset_update(struct reset_controller_dev *rcdev, in sp_reset_update()
126 static int sp_reset_assert(struct reset_controller_dev *rcdev, in sp_reset_assert()
132 static int sp_reset_deassert(struct reset_controller_dev *rcdev, in sp_reset_deassert()
138 static int sp_reset_status(struct reset_controller_dev *rcdev, in sp_reset_status()
H A Dreset-tps380x.c21 struct reset_controller_dev rcdev;
33 struct tps380x_reset *to_tps380x_reset(struct reset_controller_dev *rcdev) in to_tps380x_reset()
39 tps380x_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) in tps380x_reset_assert()
49 tps380x_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) in tps380x_reset_deassert()
64 static int tps380x_reset_of_xlate(struct reset_controller_dev *rcdev, in tps380x_reset_of_xlate()
H A Dreset-brcmstb.c19 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()
H A Dreset-qcom-aoss.c24 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()
H A Dreset-ath79.c17 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()
H A Dreset-imx7.c31 struct reset_controller_dev rcdev;
86 static struct imx7_src *to_imx7_src(struct reset_controller_dev *rcdev) in to_imx7_src()
91 static int imx7_reset_set(struct reset_controller_dev *rcdev, in imx7_reset_set()
116 static int imx7_reset_assert(struct reset_controller_dev *rcdev, in imx7_reset_assert()
122 static int imx7_reset_deassert(struct reset_controller_dev *rcdev, in imx7_reset_deassert()
219 static int imx8mq_reset_set(struct reset_controller_dev *rcdev, in imx8mq_reset_set()
252 static int imx8mq_reset_assert(struct reset_controller_dev *rcdev, in imx8mq_reset_assert()
258 static int imx8mq_reset_deassert(struct reset_controller_dev *rcdev, in imx8mq_reset_deassert()
314 static int imx8mp_reset_set(struct reset_controller_dev *rcdev, in imx8mp_reset_set()
340 static int imx8mp_reset_assert(struct reset_controller_dev *rcdev, in imx8mp_reset_assert()
[all …]
/openbmc/linux/drivers/clk/mediatek/
H A Dreset.c15 static inline struct mtk_clk_rst_data *to_mtk_clk_rst_data(struct reset_controller_dev *rcdev) in to_mtk_clk_rst_data()
20 static int mtk_reset_update(struct reset_controller_dev *rcdev, in mtk_reset_update()
31 static int mtk_reset_assert(struct reset_controller_dev *rcdev, in mtk_reset_assert()
37 static int mtk_reset_deassert(struct reset_controller_dev *rcdev, in mtk_reset_deassert()
43 static int mtk_reset(struct reset_controller_dev *rcdev, unsigned long id) in mtk_reset()
54 static int mtk_reset_update_set_clr(struct reset_controller_dev *rcdev, in mtk_reset_update_set_clr()
66 static int mtk_reset_assert_set_clr(struct reset_controller_dev *rcdev, in mtk_reset_assert_set_clr()
72 static int mtk_reset_deassert_set_clr(struct reset_controller_dev *rcdev, in mtk_reset_deassert_set_clr()
78 static int mtk_reset_set_clr(struct reset_controller_dev *rcdev, in mtk_reset_set_clr()
101 static int reset_xlate(struct reset_controller_dev *rcdev, in reset_xlate()
/openbmc/linux/drivers/reset/starfive/
H A Dreset-starfive-jh71x0.c18 struct reset_controller_dev rcdev;
27 jh71x0_reset_from(struct reset_controller_dev *rcdev) in jh71x0_reset_from()
32 static int jh71x0_reset_update(struct reset_controller_dev *rcdev, in jh71x0_reset_update()
64 static int jh71x0_reset_assert(struct reset_controller_dev *rcdev, in jh71x0_reset_assert()
70 static int jh71x0_reset_deassert(struct reset_controller_dev *rcdev, in jh71x0_reset_deassert()
76 static int jh71x0_reset_reset(struct reset_controller_dev *rcdev, in jh71x0_reset_reset()
88 static int jh71x0_reset_status(struct reset_controller_dev *rcdev, in jh71x0_reset_status()
/openbmc/linux/drivers/reset/hisilicon/
H A Dreset-hi3660.c15 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()
H A Dhi6220_reset.c39 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()
105 static int hi6220_ao_assert(struct reset_controller_dev *rc_dev, in hi6220_ao_assert()
124 static int hi6220_ao_deassert(struct reset_controller_dev *rc_dev, in hi6220_ao_deassert()
/openbmc/linux/drivers/reset/tegra/
H A Dreset-bpmp.c11 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()
43 static int tegra_bpmp_reset_module(struct reset_controller_dev *rstc, in tegra_bpmp_reset_module()
49 static int tegra_bpmp_reset_assert(struct reset_controller_dev *rstc, in tegra_bpmp_reset_assert()
55 static int tegra_bpmp_reset_deassert(struct reset_controller_dev *rstc, in tegra_bpmp_reset_deassert()
/openbmc/linux/drivers/clk/stm32/
H A Dreset-stm32.c21 struct reset_controller_dev rcdev;
27 to_stm32_reset_data(struct reset_controller_dev *rcdev) in to_stm32_reset_data()
32 static int stm32_reset_update(struct reset_controller_dev *rcdev, in stm32_reset_update()
70 static int stm32_reset_assert(struct reset_controller_dev *rcdev, in stm32_reset_assert()
76 static int stm32_reset_deassert(struct reset_controller_dev *rcdev, in stm32_reset_deassert()
82 static int stm32_reset_status(struct reset_controller_dev *rcdev, in stm32_reset_status()
/openbmc/linux/drivers/clk/bcm/
H A Dclk-bcm63268-timer.c26 struct reset_controller_dev rcdev;
78 to_bcm63268_timer_reset(struct reset_controller_dev *rcdev) in to_bcm63268_timer_reset()
83 static int bcm63268_timer_reset_update(struct reset_controller_dev *rcdev, in bcm63268_timer_reset_update()
102 static int bcm63268_timer_reset_assert(struct reset_controller_dev *rcdev, in bcm63268_timer_reset_assert()
108 static int bcm63268_timer_reset_deassert(struct reset_controller_dev *rcdev, in bcm63268_timer_reset_deassert()
114 static int bcm63268_timer_reset_reset(struct reset_controller_dev *rcdev, in bcm63268_timer_reset_reset()
133 static int bcm63268_timer_reset_status(struct reset_controller_dev *rcdev, in bcm63268_timer_reset_status()
/openbmc/linux/drivers/clk/qcom/
H A Dreset.c14 static int qcom_reset(struct reset_controller_dev *rcdev, unsigned long id) in qcom_reset()
25 static int qcom_reset_set_assert(struct reset_controller_dev *rcdev, in qcom_reset_set_assert()
44 static int qcom_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) in qcom_reset_assert()
49 static int qcom_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) in qcom_reset_deassert()
H A Dgdsc.h14 struct reset_controller_dev;
70 struct reset_controller_dev *rcdev;
85 int gdsc_register(struct gdsc_desc *desc, struct reset_controller_dev *,
91 struct reset_controller_dev *rcdev, in gdsc_register()
/openbmc/linux/drivers/clk/actions/
H A Dowl-reset.c14 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()
/openbmc/linux/drivers/clk/ux500/
H A Dreset-prcc.c67 static int u8500_prcc_reset(struct reset_controller_dev *rcdev, in u8500_prcc_reset()
88 static int u8500_prcc_reset_assert(struct reset_controller_dev *rcdev, in u8500_prcc_reset_assert()
101 static int u8500_prcc_reset_deassert(struct reset_controller_dev *rcdev, in u8500_prcc_reset_deassert()
114 static int u8500_prcc_reset_status(struct reset_controller_dev *rcdev, in u8500_prcc_reset_status()
136 static int u8500_prcc_reset_xlate(struct reset_controller_dev *rcdev, in u8500_prcc_reset_xlate()
161 struct reset_controller_dev *rcdev = &ur->rcdev; in u8500_prcc_reset_init()
/openbmc/linux/drivers/clk/visconti/
H A Dreset.c18 static inline struct visconti_reset *to_visconti_reset(struct reset_controller_dev *rcdev) in to_visconti_reset()
23 static int visconti_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) in visconti_reset_assert()
38 static int visconti_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) in visconti_reset_deassert()
53 static int visconti_reset_reset(struct reset_controller_dev *rcdev, unsigned long id) in visconti_reset_reset()
62 static int visconti_reset_status(struct reset_controller_dev *rcdev, unsigned long id) in visconti_reset_status()

12345