/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/ |
D | rse.h | 58 ia64_rse_skip_regs (unsigned long *addr, long num_regs) in ia64_rse_skip_regs() argument 60 long delta = ia64_rse_slot_num(addr) + num_regs; in ia64_rse_skip_regs() 62 if (num_regs < 0) in ia64_rse_skip_regs() 64 return addr + num_regs + delta/0x3f; in ia64_rse_skip_regs()
|
/kernel/linux/linux-5.10/drivers/clk/mediatek/ |
D | reset.c | 94 unsigned int num_regs, int regofs, in mtk_register_reset_controller_common() argument 115 data->rcdev.nr_resets = num_regs * 32; in mtk_register_reset_controller_common() 128 unsigned int num_regs, int regofs) in mtk_register_reset_controller() argument 130 mtk_register_reset_controller_common(np, num_regs, regofs, in mtk_register_reset_controller() 135 unsigned int num_regs, int regofs) in mtk_register_reset_controller_set_clr() argument 137 mtk_register_reset_controller_common(np, num_regs, regofs, in mtk_register_reset_controller_set_clr()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-adnp.c | 185 unsigned int num_regs = 1 << adnp->reg_shift, i, j; in adnp_gpio_dbg_show() local 188 for (i = 0; i < num_regs; i++) { in adnp_gpio_dbg_show() 244 unsigned int num_regs, i; in adnp_irq() local 246 num_regs = 1 << adnp->reg_shift; in adnp_irq() 248 for (i = 0; i < num_regs; i++) { in adnp_irq() 363 unsigned int num_regs = 1 << adnp->reg_shift, i; in adnp_irq_bus_unlock() local 367 for (i = 0; i < num_regs; i++) in adnp_irq_bus_unlock() 385 unsigned int num_regs = 1 << adnp->reg_shift, i; in adnp_irq_setup() local 399 adnp->irq_enable = devm_kcalloc(chip->parent, num_regs, 6, in adnp_irq_setup() 404 adnp->irq_level = adnp->irq_enable + (num_regs * 1); in adnp_irq_setup() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/rockchip/ |
D | softrst.c | 16 int num_regs; member 81 unsigned int num_regs, in rockchip_register_softrst() argument 95 softrst->num_regs = num_regs; in rockchip_register_softrst() 100 softrst->rcdev.nr_resets = num_regs * softrst->num_per_reg; in rockchip_register_softrst()
|
/kernel/linux/linux-5.10/drivers/phy/cadence/ |
D | phy-cadence-torrent.c | 336 u32 num_regs; member 1837 u32 num_regs; in cdns_torrent_phy_init() local 1857 num_regs = link_cmn_vals->num_regs; in cdns_torrent_phy_init() 1866 for (i = 1; i < num_regs; i++) in cdns_torrent_phy_init() 1874 num_regs = xcvr_diag_vals->num_regs; in cdns_torrent_phy_init() 1877 for (j = 0; j < num_regs; j++) in cdns_torrent_phy_init() 1887 num_regs = pcs_cmn_vals->num_regs; in cdns_torrent_phy_init() 1889 for (i = 0; i < num_regs; i++) in cdns_torrent_phy_init() 1898 num_regs = cmn_vals->num_regs; in cdns_torrent_phy_init() 1900 for (i = 0; i < num_regs; i++) in cdns_torrent_phy_init() [all …]
|
/kernel/linux/linux-5.10/drivers/memory/samsung/ |
D | exynos-srom.c | 161 unsigned int num_regs) in exynos_srom_save() argument 163 for (; num_regs > 0; --num_regs, ++rd) in exynos_srom_save() 169 unsigned int num_regs) in exynos_srom_restore() argument 171 for (; num_regs > 0; --num_regs, ++rd) in exynos_srom_restore()
|
/kernel/linux/linux-5.10/drivers/clk/samsung/ |
D | clk-exynos5-subcmu.c | 22 unsigned int num_regs) in exynos5_subcmu_clk_save() argument 24 for (; num_regs > 0; --num_regs, ++rd) { in exynos5_subcmu_clk_save() 33 unsigned int num_regs) in exynos5_subcmu_clk_restore() argument 35 for (; num_regs > 0; --num_regs, ++rd) in exynos5_subcmu_clk_restore()
|
D | clk.c | 25 unsigned int num_regs) in samsung_clk_save() argument 27 for (; num_regs > 0; --num_regs, ++rd) in samsung_clk_save() 33 unsigned int num_regs) in samsung_clk_restore() argument 35 for (; num_regs > 0; --num_regs, ++rd) in samsung_clk_restore()
|
/kernel/linux/linux-5.10/drivers/bus/ |
D | imx-weim.c | 136 int reg_idx, num_regs; in weim_timing_setup() local 153 num_regs = of_property_count_elems_of_size(np, "reg", OF_REG_SIZE); in weim_timing_setup() 154 if (num_regs < 0) in weim_timing_setup() 155 return num_regs; in weim_timing_setup() 156 if (!num_regs) in weim_timing_setup() 158 for (reg_idx = 0; reg_idx < num_regs; reg_idx++) { in weim_timing_setup()
|
/kernel/linux/linux-5.10/drivers/base/regmap/ |
D | regmap-irq.c | 89 for (i = 0; i < d->chip->num_regs; i++) { in regmap_irq_sync_unlock() 107 for (i = 0; i < d->chip->num_regs; i++) { in regmap_irq_sync_unlock() 351 for (i = 0; i < subreg->num_regs; i++) { in read_sub_irq_data() 394 size = chip->num_regs * sizeof(unsigned int); in regmap_irq_thread() 397 chip->num_main_status_bits : chip->num_regs; in regmap_irq_thread() 450 chip->num_regs); in regmap_irq_thread() 457 for (i = 0; i < data->chip->num_regs; i++) { in regmap_irq_thread() 475 for (i = 0; i < data->chip->num_regs; i++) { in regmap_irq_thread() 497 for (i = 0; i < data->chip->num_regs; i++) { in regmap_irq_thread() 591 if (chip->num_regs <= 0) in regmap_add_irq_chip_fwnode() [all …]
|
D | regmap.c | 2278 size_t num_regs) in _regmap_raw_multi_reg_write() argument 2288 size_t len = pair_size * num_regs; in _regmap_raw_multi_reg_write() 2301 for (i = 0; i < num_regs; i++) { in _regmap_raw_multi_reg_write() 2317 for (i = 0; i < num_regs; i++) { in _regmap_raw_multi_reg_write() 2335 size_t num_regs) in _regmap_range_multi_paged_reg_write() argument 2349 for (i = 0, n = 0; i < num_regs; i++, n++) { in _regmap_range_multi_paged_reg_write() 2416 size_t num_regs) in _regmap_multi_reg_write() argument 2422 for (i = 0; i < num_regs; i++) { in _regmap_multi_reg_write() 2441 for (i = 0; i < num_regs; i++) { in _regmap_multi_reg_write() 2450 for (i = 0; i < num_regs; i++) { in _regmap_multi_reg_write() [all …]
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-davinci-cp-intc.c | 162 unsigned int num_regs = BITS_TO_LONGS(config->num_irqs); in davinci_cp_intc_do_init() local 187 for (offset = 0; offset < num_regs; offset++) in davinci_cp_intc_do_init() 196 for (offset = 0; offset < num_regs; offset++) in davinci_cp_intc_do_init() 204 num_regs = (config->num_irqs + 3) >> 2; /* 4 channels per register */ in davinci_cp_intc_do_init() 205 for (offset = 0; offset < num_regs; offset++) in davinci_cp_intc_do_init()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | ltc2945.c | 241 int num_regs; in ltc2945_value_store() local 256 num_regs = 3; in ltc2945_value_store() 261 num_regs = 2; in ltc2945_value_store() 263 ret = regmap_bulk_write(regmap, reg, regbuf, num_regs); in ltc2945_value_store() 274 int num_regs = is_power_reg(reg) ? 3 : 2; in ltc2945_history_store() local 290 ret = regmap_bulk_write(regmap, reg, buf_min, num_regs); in ltc2945_history_store() 312 ret = regmap_bulk_write(regmap, reg, buf_max, num_regs); in ltc2945_history_store()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | floppy_32.h | 283 int num_regs; in sun_floppy_init() local 313 num_regs = prom_getproperty(fd_node, "reg", (char *) fd_regs, sizeof(fd_regs)); in sun_floppy_init() 314 num_regs = (num_regs / sizeof(fd_regs[0])); in sun_floppy_init() 315 prom_apply_obio_ranges(fd_regs, num_regs); in sun_floppy_init()
|
/kernel/linux/linux-5.10/drivers/leds/ |
D | leds-mc13783.c | 25 int num_regs; member 130 leds->devtype->num_regs); in mc13xxx_led_probe_dt() 215 for (i = 0; i < devtype->num_regs; i++) { in mc13xxx_led_probe() 278 .num_regs = 6, 285 .num_regs = 4, 292 .num_regs = 1,
|
D | leds-acer-a500.c | 42 unsigned int num_regs = 1; in a500_ec_led_brightness_set() local 56 num_regs = 2; in a500_ec_led_brightness_set() 62 return regmap_multi_reg_write(led->rmap, control_seq, num_regs); in a500_ec_led_brightness_set()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_phy.c | 16 phy->regs = devm_kcalloc(dev, cfg->num_regs, sizeof(phy->regs[0]), in msm_hdmi_phy_resource_init() 26 for (i = 0; i < cfg->num_regs; i++) { in msm_hdmi_phy_resource_init() 69 for (i = 0; i < cfg->num_regs; i++) { in msm_hdmi_phy_resource_enable() 95 for (i = cfg->num_regs - 1; i >= 0; i--) in msm_hdmi_phy_resource_disable()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | ptrace.c | 229 unsigned start, num_regs, i; in gpr32_set() local 233 num_regs = count / sizeof(u32); in gpr32_set() 235 if (start + num_regs > ELF_NGREG) in gpr32_set() 243 for (i = start; i < num_regs; i++) { in gpr32_set() 294 unsigned start, num_regs, i; in gpr64_set() local 298 num_regs = count / sizeof(u64); in gpr64_set() 300 if (start + num_regs > ELF_NGREG) in gpr64_set() 308 for (i = start; i < num_regs; i++) { in gpr64_set() 719 unsigned int start, num_regs, i; in dsp32_set() local 729 num_regs = count / sizeof(u32); in dsp32_set() [all …]
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | sec-irq.c | 379 .num_regs = 3, 388 .num_regs = 3, \ 412 .num_regs = 3, 422 .num_regs = 3, 432 .num_regs = 4,
|
D | intel_soc_pmic_bxtwc.c | 146 .num_regs = 1, 155 .num_regs = 1, 164 .num_regs = 1, 173 .num_regs = 1, 182 .num_regs = 1, 191 .num_regs = 2, 200 .num_regs = 1,
|
D | max77693.c | 70 .num_regs = 1, 86 .num_regs = 1, 104 .num_regs = 1, 141 .num_regs = 3,
|
D | motorola-cpcap.c | 95 .num_regs = 1, 104 .num_regs = 1, 113 .num_regs = 4,
|
D | max8907.c | 135 .num_regs = 2, 158 .num_regs = 2, 172 .num_regs = 1,
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
D | ltc2941-battery-gauge.c | 97 enum ltc294x_reg reg, u8 *buf, int num_regs) in ltc294x_read_regs() argument 108 msgs[1].len = num_regs; in ltc294x_read_regs() 119 __func__, reg, num_regs, *buf); in ltc294x_read_regs() 125 enum ltc294x_reg reg, const u8 *buf, int num_regs) in ltc294x_write_regs() argument 130 ret = i2c_smbus_write_i2c_block_data(client, reg_start, num_regs, buf); in ltc294x_write_regs() 137 __func__, reg, num_regs, *buf); in ltc294x_write_regs()
|
/kernel/linux/linux-5.10/sound/isa/sb/ |
D | sb_mixer.c | 875 static void save_mixer(struct snd_sb *chip, const unsigned char *regs, int num_regs) in save_mixer() argument 878 if (snd_BUG_ON(num_regs > ARRAY_SIZE(chip->saved_regs))) in save_mixer() 880 for (; num_regs; num_regs--) in save_mixer() 884 static void restore_mixer(struct snd_sb *chip, const unsigned char *regs, int num_regs) in restore_mixer() argument 887 if (snd_BUG_ON(num_regs > ARRAY_SIZE(chip->saved_regs))) in restore_mixer() 889 for (; num_regs; num_regs--) in restore_mixer()
|