Searched refs:nr_resets (Results 1 – 21 of 21) sorted by relevance
/drivers/clk/mmp/ |
D | reset.c | 21 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()
|
D | clk-of-pxa1928.c | 188 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()
|
D | clk-of-pxa168.c | 232 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()
|
D | reset.h | 23 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
|
D | clk-of-mmp2.c | 283 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()
|
D | clk-of-pxa910.c | 238 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/ |
D | reset-syscfg.c | 60 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/ |
D | reset-sunxi.c | 108 data->rcdev.nr_resets = size * 32; in sunxi_reset_init() 165 data->rcdev.nr_resets = resource_size(res) * 32; in sunxi_reset_probe()
|
D | reset-ath79.c | 97 ath79_reset->rcdev.nr_resets = 32; in ath79_reset_probe()
|
D | reset-zynq.c | 121 priv->rcdev.nr_resets = resource_size(res) / 4 * BITS_PER_LONG; in zynq_reset_probe()
|
D | reset-socfpga.c | 133 data->rcdev.nr_resets = NR_BANKS * BITS_PER_LONG; in socfpga_reset_probe()
|
D | core.c | 52 if (reset_spec->args[0] >= rcdev->nr_resets) in of_reset_simple_xlate()
|
D | reset-lpc18xx.c | 196 rc->rcdev.nr_resets = 64; in lpc18xx_rgu_probe()
|
/drivers/clk/mediatek/ |
D | reset.c | 87 data->rcdev.nr_resets = num_regs * 32; in mtk_register_reset_controller()
|
/drivers/clk/rockchip/ |
D | softrst.c | 109 softrst->rcdev.nr_resets = num_regs * softrst->num_per_reg; in rockchip_register_softrst()
|
/drivers/clk/qcom/ |
D | common.c | 138 reset->rcdev.nr_resets = desc->num_resets; in qcom_cc_really_probe()
|
/drivers/clk/sunxi/ |
D | clk-sun9i-mmc.c | 161 data->rcdev.nr_resets = count; in sun9i_a80_mmc_config_clk_probe()
|
D | clk-usb.c | 167 reset_data->rcdev.nr_resets = __fls(data->reset_mask) + 1; in sunxi_usb_clk_setup()
|
/drivers/clk/tegra/ |
D | clk.c | 304 rst_ctlr.nr_resets = periph_banks * 32 + num_special_reset; in tegra_add_of_provider()
|
/drivers/soc/dove/ |
D | pmu.c | 99 .nr_resets = 32,
|
/drivers/clk/sirf/ |
D | clk-atlas7.c | 1680 atlas7_rst_ctlr.nr_resets = ARRAY_SIZE(atlas7_reset_unit); in atlas7_clk_init()
|