Home
last modified time | relevance | path

Searched refs:rcdev (Results 1 – 25 of 119) sorted by relevance

12345

/linux-6.1.9/drivers/clk/mediatek/
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() argument
17 return container_of(rcdev, struct mtk_clk_rst_data, rcdev); in to_mtk_clk_rst_data()
20 static int mtk_reset_update(struct reset_controller_dev *rcdev, in mtk_reset_update() argument
23 struct mtk_clk_rst_data *data = to_mtk_clk_rst_data(rcdev); in mtk_reset_update()
31 static int mtk_reset_assert(struct reset_controller_dev *rcdev, in mtk_reset_assert() argument
34 return mtk_reset_update(rcdev, id, false); in mtk_reset_assert()
37 static int mtk_reset_deassert(struct reset_controller_dev *rcdev, in mtk_reset_deassert() argument
40 return mtk_reset_update(rcdev, id, true); in mtk_reset_deassert()
43 static int mtk_reset(struct reset_controller_dev *rcdev, unsigned long id) in mtk_reset() argument
47 ret = mtk_reset_assert(rcdev, id); in mtk_reset()
[all …]
/linux-6.1.9/drivers/reset/
Dreset-mpfs.c34 static int mpfs_assert(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_assert() argument
41 reg = mpfs_reset_read(rcdev->dev); in mpfs_assert()
43 mpfs_reset_write(rcdev->dev, reg); in mpfs_assert()
50 static int mpfs_deassert(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_deassert() argument
57 reg = mpfs_reset_read(rcdev->dev); in mpfs_deassert()
59 mpfs_reset_write(rcdev->dev, reg); in mpfs_deassert()
66 static int mpfs_status(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_status() argument
68 u32 reg = mpfs_reset_read(rcdev->dev); in mpfs_status()
77 static int mpfs_reset(struct reset_controller_dev *rcdev, unsigned long id) in mpfs_reset() argument
79 mpfs_assert(rcdev, id); in mpfs_reset()
[all …]
Dreset-lantiq.c22 struct reset_controller_dev rcdev; member
30 struct reset_controller_dev *rcdev) in to_lantiq_rcu_reset_priv() argument
32 return container_of(rcdev, struct lantiq_rcu_reset_priv, rcdev); in to_lantiq_rcu_reset_priv()
35 static int lantiq_rcu_reset_status(struct reset_controller_dev *rcdev, in lantiq_rcu_reset_status() argument
38 struct lantiq_rcu_reset_priv *priv = to_lantiq_rcu_reset_priv(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() argument
57 ret = lantiq_rcu_reset_status(rcdev, id); in lantiq_rcu_reset_status_timeout()
68 static int lantiq_rcu_reset_update(struct reset_controller_dev *rcdev, in lantiq_rcu_reset_update() argument
71 struct lantiq_rcu_reset_priv *priv = to_lantiq_rcu_reset_priv(rcdev); in lantiq_rcu_reset_update()
84 ret = lantiq_rcu_reset_status_timeout(rcdev, id, assert); in lantiq_rcu_reset_update()
[all …]
Dreset-k210.c20 struct reset_controller_dev rcdev; member
24 to_k210_rst(struct reset_controller_dev *rcdev) in to_k210_rst() argument
26 return container_of(rcdev, struct k210_rst, rcdev); in to_k210_rst()
29 static inline int k210_rst_assert(struct reset_controller_dev *rcdev, in k210_rst_assert() argument
32 struct k210_rst *ksr = to_k210_rst(rcdev); in k210_rst_assert()
37 static inline int k210_rst_deassert(struct reset_controller_dev *rcdev, in k210_rst_deassert() argument
40 struct k210_rst *ksr = to_k210_rst(rcdev); in k210_rst_deassert()
45 static int k210_rst_reset(struct reset_controller_dev *rcdev, in k210_rst_reset() argument
50 ret = k210_rst_assert(rcdev, id); in k210_rst_reset()
53 ret = k210_rst_deassert(rcdev, id); in k210_rst_reset()
[all …]
Dreset-bcm6345.c20 struct reset_controller_dev rcdev; member
26 to_bcm6345_reset(struct reset_controller_dev *rcdev) in to_bcm6345_reset() argument
28 return container_of(rcdev, struct bcm6345_reset, rcdev); in to_bcm6345_reset()
31 static int bcm6345_reset_update(struct reset_controller_dev *rcdev, in bcm6345_reset_update() argument
34 struct bcm6345_reset *bcm6345_reset = to_bcm6345_reset(rcdev); in bcm6345_reset_update()
50 static int bcm6345_reset_assert(struct reset_controller_dev *rcdev, in bcm6345_reset_assert() argument
53 return bcm6345_reset_update(rcdev, id, true); in bcm6345_reset_assert()
56 static int bcm6345_reset_deassert(struct reset_controller_dev *rcdev, in bcm6345_reset_deassert() argument
59 return bcm6345_reset_update(rcdev, id, false); in bcm6345_reset_deassert()
62 static int bcm6345_reset_reset(struct reset_controller_dev *rcdev, in bcm6345_reset_reset() argument
[all …]
Dreset-zynqmp.c24 struct reset_controller_dev rcdev; member
29 to_zynqmp_reset_data(struct reset_controller_dev *rcdev) in to_zynqmp_reset_data() argument
31 return container_of(rcdev, struct zynqmp_reset_data, rcdev); in to_zynqmp_reset_data()
34 static int zynqmp_reset_assert(struct reset_controller_dev *rcdev, in zynqmp_reset_assert() argument
37 struct zynqmp_reset_data *priv = to_zynqmp_reset_data(rcdev); in zynqmp_reset_assert()
43 static int zynqmp_reset_deassert(struct reset_controller_dev *rcdev, in zynqmp_reset_deassert() argument
46 struct zynqmp_reset_data *priv = to_zynqmp_reset_data(rcdev); in zynqmp_reset_deassert()
52 static int zynqmp_reset_status(struct reset_controller_dev *rcdev, in zynqmp_reset_status() argument
55 struct zynqmp_reset_data *priv = to_zynqmp_reset_data(rcdev); in zynqmp_reset_status()
66 static int zynqmp_reset_reset(struct reset_controller_dev *rcdev, in zynqmp_reset_reset() argument
[all …]
Dreset-sunplus.c102 struct reset_controller_dev rcdev; member
107 static inline struct sp_reset *to_sp_reset(struct reset_controller_dev *rcdev) in to_sp_reset() argument
109 return container_of(rcdev, struct sp_reset, rcdev); in to_sp_reset()
112 static int sp_reset_update(struct reset_controller_dev *rcdev, in sp_reset_update() argument
115 struct sp_reset *reset = to_sp_reset(rcdev); in sp_reset_update()
126 static int sp_reset_assert(struct reset_controller_dev *rcdev, in sp_reset_assert() argument
129 return sp_reset_update(rcdev, id, true); in sp_reset_assert()
132 static int sp_reset_deassert(struct reset_controller_dev *rcdev, in sp_reset_deassert() argument
135 return sp_reset_update(rcdev, id, false); in sp_reset_deassert()
138 static int sp_reset_status(struct reset_controller_dev *rcdev, in sp_reset_status() argument
[all …]
Dreset-tps380x.c21 struct reset_controller_dev rcdev; member
33 struct tps380x_reset *to_tps380x_reset(struct reset_controller_dev *rcdev) in to_tps380x_reset() argument
35 return container_of(rcdev, struct tps380x_reset, rcdev); in to_tps380x_reset()
39 tps380x_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) in tps380x_reset_assert() argument
41 struct tps380x_reset *tps380x = to_tps380x_reset(rcdev); in tps380x_reset_assert()
49 tps380x_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) in tps380x_reset_deassert() argument
51 struct tps380x_reset *tps380x = to_tps380x_reset(rcdev); in tps380x_reset_deassert()
64 static int tps380x_reset_of_xlate(struct reset_controller_dev *rcdev, in tps380x_reset_of_xlate() argument
92 tps380x->rcdev.ops = &reset_tps380x_ops; in tps380x_reset_probe()
93 tps380x->rcdev.owner = THIS_MODULE; in tps380x_reset_probe()
[all …]
Dreset-starfive-jh7100.c52 struct reset_controller_dev rcdev; member
59 jh7100_reset_from(struct reset_controller_dev *rcdev) in jh7100_reset_from() argument
61 return container_of(rcdev, struct jh7100_reset, rcdev); in jh7100_reset_from()
64 static int jh7100_reset_update(struct reset_controller_dev *rcdev, in jh7100_reset_update() argument
67 struct jh7100_reset *data = jh7100_reset_from(rcdev); in jh7100_reset_update()
96 static int jh7100_reset_assert(struct reset_controller_dev *rcdev, in jh7100_reset_assert() argument
99 return jh7100_reset_update(rcdev, id, true); in jh7100_reset_assert()
102 static int jh7100_reset_deassert(struct reset_controller_dev *rcdev, in jh7100_reset_deassert() argument
105 return jh7100_reset_update(rcdev, id, false); in jh7100_reset_deassert()
108 static int jh7100_reset_reset(struct reset_controller_dev *rcdev, in jh7100_reset_reset() argument
[all …]
Dreset-ath79.c17 struct reset_controller_dev rcdev; member
25 static int ath79_reset_update(struct reset_controller_dev *rcdev, in ath79_reset_update() argument
29 container_of(rcdev, struct ath79_reset, rcdev); in ath79_reset_update()
45 static int ath79_reset_assert(struct reset_controller_dev *rcdev, in ath79_reset_assert() argument
48 return ath79_reset_update(rcdev, id, true); in ath79_reset_assert()
51 static int ath79_reset_deassert(struct reset_controller_dev *rcdev, in ath79_reset_deassert() argument
54 return ath79_reset_update(rcdev, id, false); in ath79_reset_deassert()
57 static int ath79_reset_status(struct reset_controller_dev *rcdev, in ath79_reset_status() argument
61 container_of(rcdev, struct ath79_reset, rcdev); in ath79_reset_status()
81 ath79_reset_assert(&ath79_reset->rcdev, FULL_CHIP_RESET); in ath79_reset_restart_handler()
[all …]
Dreset-simple.c26 to_reset_simple_data(struct reset_controller_dev *rcdev) in to_reset_simple_data() argument
28 return container_of(rcdev, struct reset_simple_data, rcdev); in to_reset_simple_data()
31 static int reset_simple_update(struct reset_controller_dev *rcdev, in reset_simple_update() argument
34 struct reset_simple_data *data = to_reset_simple_data(rcdev); in reset_simple_update()
55 static int reset_simple_assert(struct reset_controller_dev *rcdev, in reset_simple_assert() argument
58 return reset_simple_update(rcdev, id, true); in reset_simple_assert()
61 static int reset_simple_deassert(struct reset_controller_dev *rcdev, in reset_simple_deassert() argument
64 return reset_simple_update(rcdev, id, false); in reset_simple_deassert()
67 static int reset_simple_reset(struct reset_controller_dev *rcdev, in reset_simple_reset() argument
70 struct reset_simple_data *data = to_reset_simple_data(rcdev); in reset_simple_reset()
[all …]
Dreset-qcom-aoss.c24 struct reset_controller_dev rcdev; member
45 struct reset_controller_dev *rcdev) in to_qcom_aoss_reset_data() argument
47 return container_of(rcdev, struct qcom_aoss_reset_data, rcdev); in to_qcom_aoss_reset_data()
50 static int qcom_aoss_control_assert(struct reset_controller_dev *rcdev, in qcom_aoss_control_assert() argument
53 struct qcom_aoss_reset_data *data = to_qcom_aoss_reset_data(rcdev); in qcom_aoss_control_assert()
62 static int qcom_aoss_control_deassert(struct reset_controller_dev *rcdev, in qcom_aoss_control_deassert() argument
65 struct qcom_aoss_reset_data *data = to_qcom_aoss_reset_data(rcdev); in qcom_aoss_control_deassert()
74 static int qcom_aoss_control_reset(struct reset_controller_dev *rcdev, in qcom_aoss_control_reset() argument
77 qcom_aoss_control_assert(rcdev, idx); in qcom_aoss_control_reset()
79 return qcom_aoss_control_deassert(rcdev, idx); in qcom_aoss_control_reset()
[all …]
Dreset-oxnas.c26 struct reset_controller_dev rcdev; member
29 static int oxnas_reset_reset(struct reset_controller_dev *rcdev, in oxnas_reset_reset() argument
33 container_of(rcdev, struct oxnas_reset, rcdev); in oxnas_reset_reset()
42 static int oxnas_reset_assert(struct reset_controller_dev *rcdev, in oxnas_reset_assert() argument
46 container_of(rcdev, struct oxnas_reset, rcdev); in oxnas_reset_assert()
53 static int oxnas_reset_deassert(struct reset_controller_dev *rcdev, in oxnas_reset_deassert() argument
57 container_of(rcdev, struct oxnas_reset, rcdev); in oxnas_reset_deassert()
99 data->rcdev.owner = THIS_MODULE; in oxnas_reset_probe()
100 data->rcdev.nr_resets = 32; in oxnas_reset_probe()
101 data->rcdev.ops = &oxnas_reset_ops; in oxnas_reset_probe()
[all …]
Dreset-ti-sci.c37 struct reset_controller_dev rcdev; member
44 container_of((p), struct ti_sci_reset_data, rcdev)
62 static int ti_sci_reset_set(struct reset_controller_dev *rcdev, in ti_sci_reset_set() argument
65 struct ti_sci_reset_data *data = to_ti_sci_reset_data(rcdev); in ti_sci_reset_set()
106 static int ti_sci_reset_assert(struct reset_controller_dev *rcdev, in ti_sci_reset_assert() argument
109 return ti_sci_reset_set(rcdev, id, true); in ti_sci_reset_assert()
124 static int ti_sci_reset_deassert(struct reset_controller_dev *rcdev, in ti_sci_reset_deassert() argument
127 return ti_sci_reset_set(rcdev, id, false); in ti_sci_reset_deassert()
143 static int ti_sci_reset_status(struct reset_controller_dev *rcdev, in ti_sci_reset_status() argument
146 struct ti_sci_reset_data *data = to_ti_sci_reset_data(rcdev); in ti_sci_reset_status()
[all …]
Dcore.c43 struct reset_controller_dev *rcdev; member
66 static const char *rcdev_name(struct reset_controller_dev *rcdev) in rcdev_name() argument
68 if (rcdev->dev) in rcdev_name()
69 return dev_name(rcdev->dev); in rcdev_name()
71 if (rcdev->of_node) in rcdev_name()
72 return rcdev->of_node->full_name; in rcdev_name()
87 static int of_reset_simple_xlate(struct reset_controller_dev *rcdev, in of_reset_simple_xlate() argument
90 if (reset_spec->args[0] >= rcdev->nr_resets) in of_reset_simple_xlate()
100 int reset_controller_register(struct reset_controller_dev *rcdev) in reset_controller_register() argument
102 if (!rcdev->of_xlate) { in reset_controller_register()
[all …]
Dreset-a10sr.c20 struct reset_controller_dev rcdev; member
26 return container_of(rc, struct a10sr_reset, rcdev); in to_a10sr_rst()
44 static int a10sr_reset_update(struct reset_controller_dev *rcdev, in a10sr_reset_update() argument
47 struct a10sr_reset *a10r = to_a10sr_rst(rcdev); in a10sr_reset_update()
55 static int a10sr_reset_assert(struct reset_controller_dev *rcdev, in a10sr_reset_assert() argument
58 return a10sr_reset_update(rcdev, id, true); in a10sr_reset_assert()
61 static int a10sr_reset_deassert(struct reset_controller_dev *rcdev, in a10sr_reset_deassert() argument
64 return a10sr_reset_update(rcdev, id, false); in a10sr_reset_deassert()
67 static int a10sr_reset_status(struct reset_controller_dev *rcdev, in a10sr_reset_status() argument
71 struct a10sr_reset *a10r = to_a10sr_rst(rcdev); in a10sr_reset_status()
[all …]
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/
Dav7110_ir.c23 struct rc_dev *rcdev = av7110->ir.rcdev; in av7110_ir_handler() local
30 if (rcdev) { in av7110_ir_handler()
67 rc_keydown(rcdev, proto, scancode, toggle != 0); in av7110_ir_handler()
79 static int change_protocol(struct rc_dev *rcdev, u64 *rc_type) in change_protocol() argument
81 struct av7110 *av7110 = rcdev->priv; in change_protocol()
107 struct rc_dev *rcdev; in av7110_ir_init() local
111 rcdev = rc_allocate_device(RC_DRIVER_SCANCODE); in av7110_ir_init()
112 if (!rcdev) in av7110_ir_init()
120 rcdev->device_name = av7110->card_name; in av7110_ir_init()
121 rcdev->driver_name = KBUILD_MODNAME; in av7110_ir_init()
[all …]
/linux-6.1.9/drivers/media/rc/
Dgpio-ir-recv.c22 struct rc_dev *rcdev; member
50 ir_raw_event_store_edge(gpio_dev->rcdev, val == 1); in gpio_ir_recv_irq()
65 struct rc_dev *rcdev; in gpio_ir_recv_probe() local
88 rcdev = devm_rc_allocate_device(dev, RC_DRIVER_IR_RAW); in gpio_ir_recv_probe()
89 if (!rcdev) in gpio_ir_recv_probe()
92 rcdev->priv = gpio_dev; in gpio_ir_recv_probe()
93 rcdev->device_name = GPIO_IR_DEVICE_NAME; in gpio_ir_recv_probe()
94 rcdev->input_phys = GPIO_IR_DEVICE_NAME "/input0"; in gpio_ir_recv_probe()
95 rcdev->input_id.bustype = BUS_HOST; in gpio_ir_recv_probe()
96 rcdev->input_id.vendor = 0x0001; in gpio_ir_recv_probe()
[all …]
Dbpf-lirc.c137 static int lirc_bpf_attach(struct rc_dev *rcdev, struct bpf_prog *prog) in lirc_bpf_attach() argument
144 if (rcdev->driver_type != RC_DRIVER_IR_RAW) in lirc_bpf_attach()
151 raw = rcdev->raw; in lirc_bpf_attach()
175 static int lirc_bpf_detach(struct rc_dev *rcdev, struct bpf_prog *prog) in lirc_bpf_detach() argument
182 if (rcdev->driver_type != RC_DRIVER_IR_RAW) in lirc_bpf_detach()
189 raw = rcdev->raw; in lirc_bpf_detach()
213 void lirc_bpf_run(struct rc_dev *rcdev, u32 sample) in lirc_bpf_run() argument
215 struct ir_raw_event_ctrl *raw = rcdev->raw; in lirc_bpf_run()
233 void lirc_bpf_free(struct rc_dev *rcdev) in lirc_bpf_free() argument
238 array = lirc_rcu_dereference(rcdev->raw->progs); in lirc_bpf_free()
[all …]
Dimon_raw.c16 struct rc_dev *rcdev; member
66 ir_raw_event_store_with_filter(imon->rcdev, &rawir); in imon_ir_data()
74 if (packet_no == 0x0a && !imon->rcdev->idle) { in imon_ir_data()
75 ir_raw_event_set_idle(imon->rcdev, true); in imon_ir_data()
76 ir_raw_event_handle(imon->rcdev); in imon_ir_data()
111 struct rc_dev *rcdev; in imon_probe() local
152 rcdev = devm_rc_allocate_device(&intf->dev, RC_DRIVER_IR_RAW); in imon_probe()
153 if (!rcdev) { in imon_probe()
160 rcdev->device_name = "iMON Station"; in imon_probe()
161 rcdev->driver_name = KBUILD_MODNAME; in imon_probe()
[all …]
/linux-6.1.9/drivers/clk/mmp/
Dreset.c10 #define rcdev_to_unit(rcdev) container_of(rcdev, struct mmp_clk_reset_unit, rcdev) argument
12 static int mmp_of_reset_xlate(struct reset_controller_dev *rcdev, in mmp_of_reset_xlate() argument
15 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); in mmp_of_reset_xlate()
19 if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells)) in mmp_of_reset_xlate()
22 for (i = 0; i < rcdev->nr_resets; i++) { in mmp_of_reset_xlate()
28 if (i == rcdev->nr_resets) in mmp_of_reset_xlate()
34 static int mmp_clk_reset_assert(struct reset_controller_dev *rcdev, in mmp_clk_reset_assert() argument
37 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); in mmp_clk_reset_assert()
56 static int mmp_clk_reset_deassert(struct reset_controller_dev *rcdev, in mmp_clk_reset_deassert() argument
59 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); in mmp_clk_reset_deassert()
[all …]
/linux-6.1.9/drivers/clk/stm32/
Dreset-stm32.c21 struct reset_controller_dev rcdev; member
27 to_stm32_reset_data(struct reset_controller_dev *rcdev) in to_stm32_reset_data() argument
29 return container_of(rcdev, struct stm32_reset_data, rcdev); in to_stm32_reset_data()
32 static int stm32_reset_update(struct reset_controller_dev *rcdev, in stm32_reset_update() argument
35 struct stm32_reset_data *data = to_stm32_reset_data(rcdev); in stm32_reset_update()
70 static int stm32_reset_assert(struct reset_controller_dev *rcdev, in stm32_reset_assert() argument
73 return stm32_reset_update(rcdev, id, true); in stm32_reset_assert()
76 static int stm32_reset_deassert(struct reset_controller_dev *rcdev, in stm32_reset_deassert() argument
79 return stm32_reset_update(rcdev, id, false); in stm32_reset_deassert()
82 static int stm32_reset_status(struct reset_controller_dev *rcdev, in stm32_reset_status() argument
[all …]
/linux-6.1.9/drivers/clk/ux500/
Dreset-prcc.c19 #define to_u8500_prcc_reset(p) container_of((p), struct u8500_prcc_reset, rcdev)
67 static int u8500_prcc_reset(struct reset_controller_dev *rcdev, in u8500_prcc_reset() argument
70 struct u8500_prcc_reset *ur = to_u8500_prcc_reset(rcdev); in u8500_prcc_reset()
88 static int u8500_prcc_reset_assert(struct reset_controller_dev *rcdev, in u8500_prcc_reset_assert() argument
91 struct u8500_prcc_reset *ur = to_u8500_prcc_reset(rcdev); in u8500_prcc_reset_assert()
101 static int u8500_prcc_reset_deassert(struct reset_controller_dev *rcdev, in u8500_prcc_reset_deassert() argument
104 struct u8500_prcc_reset *ur = to_u8500_prcc_reset(rcdev); in u8500_prcc_reset_deassert()
114 static int u8500_prcc_reset_status(struct reset_controller_dev *rcdev, in u8500_prcc_reset_status() argument
117 struct u8500_prcc_reset *ur = to_u8500_prcc_reset(rcdev); in u8500_prcc_reset_status()
136 static int u8500_prcc_reset_xlate(struct reset_controller_dev *rcdev, in u8500_prcc_reset_xlate() argument
[all …]
/linux-6.1.9/drivers/clk/visconti/
Dreset.c18 static inline struct visconti_reset *to_visconti_reset(struct reset_controller_dev *rcdev) in to_visconti_reset() argument
20 return container_of(rcdev, struct visconti_reset, rcdev); in to_visconti_reset()
23 static int visconti_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) in visconti_reset_assert() argument
25 struct visconti_reset *reset = to_visconti_reset(rcdev); in visconti_reset_assert()
38 static int visconti_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) in visconti_reset_deassert() argument
40 struct visconti_reset *reset = to_visconti_reset(rcdev); in visconti_reset_deassert()
53 static int visconti_reset_reset(struct reset_controller_dev *rcdev, unsigned long id) in visconti_reset_reset() argument
55 visconti_reset_assert(rcdev, id); in visconti_reset_reset()
57 visconti_reset_deassert(rcdev, id); in visconti_reset_reset()
62 static int visconti_reset_status(struct reset_controller_dev *rcdev, unsigned long id) in visconti_reset_status() argument
[all …]
/linux-6.1.9/drivers/clk/hisilicon/
Dreset.c23 struct reset_controller_dev rcdev; member
27 #define to_hisi_reset_controller(rcdev) \ argument
28 container_of(rcdev, struct hisi_reset_controller, rcdev)
30 static int hisi_reset_of_xlate(struct reset_controller_dev *rcdev, in hisi_reset_of_xlate() argument
43 static int hisi_reset_assert(struct reset_controller_dev *rcdev, in hisi_reset_assert() argument
46 struct hisi_reset_controller *rstc = to_hisi_reset_controller(rcdev); in hisi_reset_assert()
64 static int hisi_reset_deassert(struct reset_controller_dev *rcdev, in hisi_reset_deassert() argument
67 struct hisi_reset_controller *rstc = to_hisi_reset_controller(rcdev); in hisi_reset_deassert()
103 rstc->rcdev.owner = THIS_MODULE; in hisi_reset_init()
104 rstc->rcdev.ops = &hisi_reset_ops; in hisi_reset_init()
[all …]

12345