Home
last modified time | relevance | path

Searched refs:nr_resets (Results 1 – 21 of 21) sorted by relevance

/drivers/clk/mmp/
Dreset.c21 for (i = 0; i < rcdev->nr_resets; i++) { in mmp_of_reset_xlate()
27 if (i == rcdev->nr_resets) in mmp_of_reset_xlate()
83 struct mmp_clk_reset_cell *cells, int nr_resets) in mmp_clk_reset_register() argument
93 unit->rcdev.nr_resets = nr_resets; in mmp_clk_reset_register()
Dclk-of-pxa1928.c188 int i, base, nr_resets; in pxa1928_clk_reset_init() local
190 nr_resets = ARRAY_SIZE(apbc_gate_clks); in pxa1928_clk_reset_init()
191 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in pxa1928_clk_reset_init()
196 for (i = 0; i < nr_resets; i++) { in pxa1928_clk_reset_init()
205 mmp_clk_reset_register(np, cells, nr_resets); in pxa1928_clk_reset_init()
Dclk-of-pxa168.c232 int i, nr_resets; in pxa168_clk_reset_init() local
234 nr_resets = ARRAY_SIZE(apbc_gate_clks); in pxa168_clk_reset_init()
235 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in pxa168_clk_reset_init()
239 for (i = 0; i < nr_resets; i++) { in pxa168_clk_reset_init()
247 mmp_clk_reset_register(np, cells, nr_resets); in pxa168_clk_reset_init()
Dreset.h23 struct mmp_clk_reset_cell *cells, int nr_resets);
26 struct mmp_clk_reset_cell *cells, int nr_resets) in mmp_clk_reset_register() argument
Dclk-of-mmp2.c283 int i, nr_resets; in mmp2_clk_reset_init() local
285 nr_resets = ARRAY_SIZE(apbc_gate_clks); in mmp2_clk_reset_init()
286 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in mmp2_clk_reset_init()
290 for (i = 0; i < nr_resets; i++) { in mmp2_clk_reset_init()
298 mmp_clk_reset_register(np, cells, nr_resets); in mmp2_clk_reset_init()
Dclk-of-pxa910.c238 int i, base, nr_resets_apbc, nr_resets_apbcp, nr_resets; in pxa910_clk_reset_init() local
242 nr_resets = nr_resets_apbc + nr_resets_apbcp; in pxa910_clk_reset_init()
243 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in pxa910_clk_reset_init()
267 mmp_clk_reset_register(np, cells, nr_resets); in pxa910_clk_reset_init()
/drivers/reset/sti/
Dreset-syscfg.c60 if (idx >= rcdev->nr_resets) in syscfg_reset_program_hw()
138 rc->rst.nr_resets = data->nr_channels; in syscfg_reset_controller_register()
/drivers/reset/
Dreset-sunxi.c108 data->rcdev.nr_resets = size * 32; in sunxi_reset_init()
165 data->rcdev.nr_resets = resource_size(res) * 32; in sunxi_reset_probe()
Dreset-ath79.c97 ath79_reset->rcdev.nr_resets = 32; in ath79_reset_probe()
Dreset-zynq.c121 priv->rcdev.nr_resets = resource_size(res) / 4 * BITS_PER_LONG; in zynq_reset_probe()
Dreset-socfpga.c133 data->rcdev.nr_resets = NR_BANKS * BITS_PER_LONG; in socfpga_reset_probe()
Dcore.c52 if (reset_spec->args[0] >= rcdev->nr_resets) in of_reset_simple_xlate()
Dreset-lpc18xx.c196 rc->rcdev.nr_resets = 64; in lpc18xx_rgu_probe()
/drivers/clk/mediatek/
Dreset.c87 data->rcdev.nr_resets = num_regs * 32; in mtk_register_reset_controller()
/drivers/clk/rockchip/
Dsoftrst.c109 softrst->rcdev.nr_resets = num_regs * softrst->num_per_reg; in rockchip_register_softrst()
/drivers/clk/qcom/
Dcommon.c138 reset->rcdev.nr_resets = desc->num_resets; in qcom_cc_really_probe()
/drivers/clk/sunxi/
Dclk-sun9i-mmc.c161 data->rcdev.nr_resets = count; in sun9i_a80_mmc_config_clk_probe()
Dclk-usb.c167 reset_data->rcdev.nr_resets = __fls(data->reset_mask) + 1; in sunxi_usb_clk_setup()
/drivers/clk/tegra/
Dclk.c304 rst_ctlr.nr_resets = periph_banks * 32 + num_special_reset; in tegra_add_of_provider()
/drivers/soc/dove/
Dpmu.c99 .nr_resets = 32,
/drivers/clk/sirf/
Dclk-atlas7.c1680 atlas7_rst_ctlr.nr_resets = ARRAY_SIZE(atlas7_reset_unit); in atlas7_clk_init()