/linux-6.1.9/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); 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 …]
|
/linux-6.1.9/drivers/reset/ |
D | reset-bcm6345.c | 20 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()
|
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-k210.c | 20 struct reset_controller_dev rcdev; 24 to_k210_rst(struct reset_controller_dev *rcdev) in to_k210_rst() 29 static inline int k210_rst_assert(struct reset_controller_dev *rcdev, in k210_rst_assert() 37 static inline int k210_rst_deassert(struct reset_controller_dev *rcdev, in k210_rst_deassert() 45 static int k210_rst_reset(struct reset_controller_dev *rcdev, in k210_rst_reset() 59 static int k210_rst_status(struct reset_controller_dev *rcdev, in k210_rst_status() 73 static int k210_rst_xlate(struct reset_controller_dev *rcdev, in k210_rst_xlate()
|
D | reset-zynqmp.c | 24 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()
|
D | reset-starfive-jh7100.c | 52 struct reset_controller_dev rcdev; 59 jh7100_reset_from(struct reset_controller_dev *rcdev) in jh7100_reset_from() 64 static int jh7100_reset_update(struct reset_controller_dev *rcdev, in jh7100_reset_update() 96 static int jh7100_reset_assert(struct reset_controller_dev *rcdev, in jh7100_reset_assert() 102 static int jh7100_reset_deassert(struct reset_controller_dev *rcdev, in jh7100_reset_deassert() 108 static int jh7100_reset_reset(struct reset_controller_dev *rcdev, in jh7100_reset_reset() 120 static int jh7100_reset_status(struct reset_controller_dev *rcdev, in jh7100_reset_status()
|
D | reset-mpfs.c | 34 static int mpfs_assert(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_assert() 50 static int mpfs_deassert(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_deassert() 66 static int mpfs_status(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_status() 77 static int mpfs_reset(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_reset() 95 static int mpfs_reset_xlate(struct reset_controller_dev *rcdev, in mpfs_reset_xlate() 122 struct reset_controller_dev *rcdev; in mpfs_reset_probe()
|
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-sunplus.c | 102 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()
|
D | reset-tps380x.c | 21 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()
|
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-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-imx7.c | 31 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 …]
|
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-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_reset(struct reset_controller_dev *rcdev, in reset_simple_reset() 85 static int reset_simple_status(struct reset_controller_dev *rcdev, in reset_simple_status()
|
/linux-6.1.9/drivers/clk/mediatek/ |
D | reset.c | 15 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()
|
/linux-6.1.9/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 | 40 struct reset_controller_dev rc_dev; 44 static int hi6220_peripheral_assert(struct reset_controller_dev *rc_dev, in hi6220_peripheral_assert() 56 static int hi6220_peripheral_deassert(struct reset_controller_dev *rc_dev, in hi6220_peripheral_deassert() 73 static int hi6220_media_assert(struct reset_controller_dev *rc_dev, in hi6220_media_assert() 82 static int hi6220_media_deassert(struct reset_controller_dev *rc_dev, in hi6220_media_deassert() 106 static int hi6220_ao_assert(struct reset_controller_dev *rc_dev, in hi6220_ao_assert() 125 static int hi6220_ao_deassert(struct reset_controller_dev *rc_dev, in hi6220_ao_deassert()
|
/linux-6.1.9/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() 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()
|
/linux-6.1.9/drivers/clk/stm32/ |
D | reset-stm32.c | 21 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()
|
/linux-6.1.9/drivers/clk/ux500/ |
D | reset-prcc.c | 67 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()
|
/linux-6.1.9/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-6.1.9/drivers/clk/qcom/ |
D | gdsc.h | 14 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()
|
/linux-6.1.9/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-6.1.9/drivers/clk/visconti/ |
D | reset.c | 18 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()
|