Home
last modified time | relevance | path

Searched refs:reset_spec (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.12.1/drivers/clk/ux500/
Dreset-prcc.c137 const struct of_phandle_args *reset_spec) in u8500_prcc_reset_xlate() argument
141 if (reset_spec->args_count != 2) in u8500_prcc_reset_xlate()
144 prcc_num = reset_spec->args[0]; in u8500_prcc_reset_xlate()
145 bit = reset_spec->args[1]; in u8500_prcc_reset_xlate()
/linux-6.12.1/drivers/clk/mediatek/
Dreset.c102 const struct of_phandle_args *reset_spec) in reset_xlate() argument
106 if (reset_spec->args[0] >= rcdev->nr_resets || in reset_xlate()
107 reset_spec->args[0] >= data->desc->rst_idx_map_nr) in reset_xlate()
110 return data->desc->rst_idx_map[reset_spec->args[0]]; in reset_xlate()
/linux-6.12.1/drivers/reset/
Dreset-berlin.c56 const struct of_phandle_args *reset_spec) in berlin_reset_xlate() argument
60 offset = reset_spec->args[0]; in berlin_reset_xlate()
61 bit = reset_spec->args[1]; in berlin_reset_xlate()
Dreset-ti-sci.c185 const struct of_phandle_args *reset_spec) in ti_sci_reset_of_xlate() argument
190 if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells)) in ti_sci_reset_of_xlate()
197 control->dev_id = reset_spec->args[0]; in ti_sci_reset_of_xlate()
198 control->reset_mask = reset_spec->args[1]; in ti_sci_reset_of_xlate()
Dreset-lantiq.c153 const struct of_phandle_args *reset_spec) in lantiq_rcu_reset_xlate() argument
157 set = reset_spec->args[0]; in lantiq_rcu_reset_xlate()
158 status = reset_spec->args[1]; in lantiq_rcu_reset_xlate()
Dreset-eyeq.c402 const struct of_phandle_args *reset_spec) in eqr_of_xlate_onecell() argument
404 return eqr_of_xlate_internal(rcdev, 0, reset_spec->args[0]); in eqr_of_xlate_onecell()
408 const struct of_phandle_args *reset_spec) in eqr_of_xlate_twocells() argument
410 return eqr_of_xlate_internal(rcdev, reset_spec->args[0], reset_spec->args[1]); in eqr_of_xlate_twocells()
Dreset-gpio.c54 const struct of_phandle_args *reset_spec) in reset_gpio_of_xlate() argument
56 return reset_spec->args[0]; in reset_gpio_of_xlate()
Dreset-k210.c73 const struct of_phandle_args *reset_spec) in k210_rst_xlate() argument
75 unsigned long id = reset_spec->args[0]; in k210_rst_xlate()
Dreset-zynqmp.c76 const struct of_phandle_args *reset_spec) in zynqmp_reset_of_xlate() argument
78 return reset_spec->args[0]; in zynqmp_reset_of_xlate()
Dreset-mpfs.c111 const struct of_phandle_args *reset_spec) in mpfs_reset_xlate() argument
113 unsigned int index = reset_spec->args[0]; in mpfs_reset_xlate()
Dreset-npcm.c154 const struct of_phandle_args *reset_spec) in npcm_reset_xlate() argument
161 offset = reset_spec->args[0]; in npcm_reset_xlate()
174 bit = reset_spec->args[1]; in npcm_reset_xlate()
Dreset-tps380x.c65 const struct of_phandle_args *reset_spec) in tps380x_reset_of_xlate() argument
Dreset-brcmstb-rescal.c56 const struct of_phandle_args *reset_spec) in brcm_rescal_reset_xlate() argument
Dcore.c111 const struct of_phandle_args *reset_spec) in of_reset_simple_xlate() argument
113 if (reset_spec->args[0] >= rcdev->nr_resets) in of_reset_simple_xlate()
116 return reset_spec->args[0]; in of_reset_simple_xlate()
/linux-6.12.1/drivers/clk/mmp/
Dreset.c13 const struct of_phandle_args *reset_spec) in mmp_of_reset_xlate() argument
19 if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells)) in mmp_of_reset_xlate()
24 if (cell->clk_id == reset_spec->args[0]) in mmp_of_reset_xlate()
/linux-6.12.1/drivers/reset/hisilicon/
Dreset-hi3660.c66 const struct of_phandle_args *reset_spec) in hi3660_reset_xlate() argument
70 offset = reset_spec->args[0]; in hi3660_reset_xlate()
71 bit = reset_spec->args[1]; in hi3660_reset_xlate()
/linux-6.12.1/drivers/clk/hisilicon/
Dreset.c31 const struct of_phandle_args *reset_spec) in hisi_reset_of_xlate() argument
36 offset = (reset_spec->args[0] << HISI_RESET_OFFSET_SHIFT) in hisi_reset_of_xlate()
38 bit = reset_spec->args[1] & HISI_RESET_BIT_MASK; in hisi_reset_of_xlate()
/linux-6.12.1/drivers/power/reset/
Dat91-reset.c306 const struct of_phandle_args *reset_spec) in at91_reset_of_xlate() argument
311 (reset_spec->args[0] < reset->data->device_reset_min_id || in at91_reset_of_xlate()
312 reset_spec->args[0] > reset->data->device_reset_max_id)) in at91_reset_of_xlate()
315 return reset_spec->args[0]; in at91_reset_of_xlate()
/linux-6.12.1/drivers/clk/sunxi/
Dclk-a10-ve.c72 const struct of_phandle_args *reset_spec) in sunxi_ve_of_xlate() argument
74 if (WARN_ON(reset_spec->args_count != 0)) in sunxi_ve_of_xlate()
/linux-6.12.1/include/linux/
Dreset-controller.h82 const struct of_phandle_args *reset_spec);
/linux-6.12.1/drivers/clk/
Dclk-en7523.c509 const struct of_phandle_args *reset_spec) in en7523_reset_xlate() argument
513 if (reset_spec->args[0] >= rcdev->nr_resets) in en7523_reset_xlate()
516 return rst_data->idx_map[reset_spec->args[0]]; in en7523_reset_xlate()
/linux-6.12.1/drivers/clk/davinci/
Dpsc.c329 const struct of_phandle_args *reset_spec) in davinci_psc_reset_of_xlate() argument
331 struct of_phandle_args clkspec = *reset_spec; /* discard const qualifier */ in davinci_psc_reset_of_xlate()
/linux-6.12.1/drivers/clk/ralink/
Dclk-mt7621.c451 const struct of_phandle_args *reset_spec) in mt7621_rst_xlate() argument
453 unsigned long id = reset_spec->args[0]; in mt7621_rst_xlate()
/linux-6.12.1/drivers/pmdomain/ti/
Domap_prm.c862 const struct of_phandle_args *reset_spec) in omap_prm_reset_xlate() argument
866 if (!_is_valid_reset(reset, reset_spec->args[0])) in omap_prm_reset_xlate()
869 return reset_spec->args[0]; in omap_prm_reset_xlate()
/linux-6.12.1/drivers/pmdomain/apple/
Dpmgr-pwrstate.c188 const struct of_phandle_args *reset_spec) in apple_pmgr_reset_xlate() argument

12