Home
last modified time | relevance | path

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

/linux-4.4.14/arch/sparc/prom/
Dranges.c20 prom_adjust_regs(struct linux_prom_registers *regp, int nregs, in prom_adjust_regs() argument
25 for (regc = 0; regc < nregs; regc++) { in prom_adjust_regs()
61 prom_apply_obio_ranges(struct linux_prom_registers *regs, int nregs) in prom_apply_obio_ranges() argument
64 prom_adjust_regs(regs, nregs, promlib_obio_ranges, num_obio_ranges); in prom_apply_obio_ranges()
92 struct linux_prom_registers *regs, int nregs) in prom_apply_generic_ranges() argument
115 prom_adjust_regs(regs, nregs, ranges, num_ranges); in prom_apply_generic_ranges()
/linux-4.4.14/drivers/nvmem/
Dimx-ocotp.c31 unsigned int nregs; member
46 if (count > (priv->nregs - index)) in imx_ocotp_read()
47 count = priv->nregs - index; in imx_ocotp_read()
116 priv->nregs = (unsigned int)of_id->data; in imx_ocotp_probe()
117 imx_ocotp_regmap_config.max_register = 4 * priv->nregs - 4; in imx_ocotp_probe()
/linux-4.4.14/tools/perf/arch/x86/util/
Dunwind-libdw.c10 unsigned nregs; in libdw__arch_set_initial_registers() local
28 nregs = 9; in libdw__arch_set_initial_registers()
47 nregs = 17; in libdw__arch_set_initial_registers()
50 return dwfl_thread_state_registers(thread, 0, nregs, dwarf_regs); in libdw__arch_set_initial_registers()
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dcmd.c62 int carl9170_read_mreg(struct ar9170 *ar, const int nregs, in carl9170_read_mreg() argument
70 for (i = 0; i < nregs; i++) in carl9170_read_mreg()
77 4 * nregs, (u8 *)offs, in carl9170_read_mreg()
78 4 * nregs, (u8 *)res); in carl9170_read_mreg()
88 for (i = 0; i < nregs; i++) in carl9170_read_mreg()
Dcmd.h47 int carl9170_read_mreg(struct ar9170 *ar, const int nregs,
/linux-4.4.14/drivers/pinctrl/mvebu/
Dpinctrl-armada-xp.c415 int i, nregs; in armada_xp_pinctrl_suspend() local
417 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_suspend()
419 for (i = 0; i < nregs; i++) in armada_xp_pinctrl_suspend()
429 int i, nregs; in armada_xp_pinctrl_resume() local
431 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_resume()
433 for (i = 0; i < nregs; i++) in armada_xp_pinctrl_resume()
445 int nregs; in armada_xp_pinctrl_probe() local
493 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_probe()
495 mpp_saved_regs = devm_kmalloc(&pdev->dev, nregs * sizeof(u32), in armada_xp_pinctrl_probe()
/linux-4.4.14/arch/m68k/include/asm/
Doplib.h276 extern void prom_adjust_regs(struct linux_prom_registers *regp, int nregs,
284 extern void prom_apply_obio_ranges(struct linux_prom_registers *obioregs, int nregs);
288 struct linux_prom_registers *sbusregs, int nregs);
/linux-4.4.14/arch/powerpc/include/asm/
Delf.h45 int i, nregs = min(sizeof(*regs) / sizeof(unsigned long), \
47 for (i = 0; i < nregs; i++) \
/linux-4.4.14/arch/sparc/include/asm/
Doplib_32.h168 void prom_apply_obio_ranges(struct linux_prom_registers *obioregs, int nregs);
172 struct linux_prom_registers *sbusregs, int nregs);
/linux-4.4.14/arch/arm/mach-shmobile/
Dregulator-quirk-rcar-gen2.c63 unsigned int nregs) in da9xxx_mask_irqs() argument
69 for (i = 0; i < nregs; i++) { in da9xxx_mask_irqs()
/linux-4.4.14/include/linux/
Ddebugfs.h38 int nregs; member
108 int nregs, void __iomem *base, char *prefix);
268 int nregs, void __iomem *base, char *prefix) in debugfs_print_regs32() argument
/linux-4.4.14/fs/debugfs/
Dfile.c720 int nregs, void __iomem *base, char *prefix) in debugfs_print_regs32() argument
724 for (i = 0; i < nregs; i++, regs++) { in debugfs_print_regs32()
739 debugfs_print_regs32(s, regset->regs, regset->nregs, regset->base, ""); in debugfs_show_regset32()
/linux-4.4.14/sound/soc/codecs/
Dwm5110.c273 int nregs; in wm5110_hp_pre_enable() local
279 nregs = ARRAY_SIZE(wm5110_dre_left_enable); in wm5110_hp_pre_enable()
282 nregs = ARRAY_SIZE(wm5110_no_dre_left_enable); in wm5110_hp_pre_enable()
289 nregs = ARRAY_SIZE(wm5110_dre_right_enable); in wm5110_hp_pre_enable()
292 nregs = ARRAY_SIZE(wm5110_no_dre_right_enable); in wm5110_hp_pre_enable()
300 return regmap_multi_reg_write(arizona->regmap, wseq, nregs); in wm5110_hp_pre_enable()
/linux-4.4.14/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-debugfs.c249 fei->regset->nregs = ARRAY_SIZE(fei_sys_regs); in c8sectpfe_debugfs_init()
/linux-4.4.14/Documentation/filesystems/
Ddebugfs.txt154 int nregs;
163 int nregs, void __iomem *base, char *prefix);
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h1208 unsigned int nregs, unsigned int start_idx);
1210 unsigned int data_reg, u32 *vals, unsigned int nregs,
Dt4_hw.c115 unsigned int nregs, unsigned int start_idx) in t4_read_indirect() argument
117 while (nregs--) { in t4_read_indirect()
138 unsigned int nregs, unsigned int start_idx) in t4_write_indirect() argument
140 while (nregs--) { in t4_write_indirect()
4612 static void t4_fw_tp_pio_rw(struct adapter *adap, u32 *vals, unsigned int nregs, in t4_fw_tp_pio_rw() argument
4619 for (i = 0 ; i < nregs; i++) { in t4_fw_tp_pio_rw()
/linux-4.4.14/drivers/usb/dwc3/
Ddebugfs.c642 dwc->regset->nregs = ARRAY_SIZE(dwc3_regs); in dwc3_debugfs_init()
/linux-4.4.14/drivers/usb/dwc2/
Ddebugfs.c750 hsotg->regset->nregs = ARRAY_SIZE(dwc2_regs); in dwc2_debugfs_init()
/linux-4.4.14/drivers/usb/musb/
Dmusb_dsps.c409 glue->regset.nregs = ARRAY_SIZE(dsps_musb_regs); in dsps_musb_dbg_init()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c126 unsigned int nregs, unsigned int start_idx) in t3_read_indirect() argument
128 while (nregs--) { in t3_read_indirect()