/drivers/gpio/ |
D | gpio-adnp.c | 191 unsigned int num_regs = 1 << adnp->reg_shift, i, j; in adnp_gpio_dbg_show() local 194 for (i = 0; i < num_regs; i++) { in adnp_gpio_dbg_show() 283 unsigned int num_regs, i; in adnp_irq() local 285 num_regs = 1 << adnp->reg_shift; in adnp_irq() 287 for (i = 0; i < num_regs; i++) { in adnp_irq() 402 unsigned int num_regs = 1 << adnp->reg_shift, i; in adnp_irq_bus_unlock() local 406 for (i = 0; i < num_regs; i++) in adnp_irq_bus_unlock() 424 unsigned int num_regs = 1 << adnp->reg_shift, i; in adnp_irq_setup() local 438 adnp->irq_enable = devm_kzalloc(chip->dev, num_regs * 6, GFP_KERNEL); in adnp_irq_setup() 442 adnp->irq_level = adnp->irq_enable + (num_regs * 1); in adnp_irq_setup() [all …]
|
/drivers/base/regmap/ |
D | regmap-irq.c | 79 for (i = 0; i < d->chip->num_regs; i++) { in regmap_irq_sync_unlock() 222 chip->num_regs); in regmap_irq_thread() 229 for (i = 0; i < data->chip->num_regs; i++) { in regmap_irq_thread() 247 for (i = 0; i < data->chip->num_regs; i++) { in regmap_irq_thread() 271 for (i = 0; i < data->chip->num_regs; i++) { in regmap_irq_thread() 350 if (chip->num_regs <= 0) in regmap_add_irq_chip() 357 chip->num_regs) in regmap_add_irq_chip() 374 d->status_buf = kzalloc(sizeof(unsigned int) * chip->num_regs, in regmap_add_irq_chip() 379 d->mask_buf = kzalloc(sizeof(unsigned int) * chip->num_regs, in regmap_add_irq_chip() 384 d->mask_buf_def = kzalloc(sizeof(unsigned int) * chip->num_regs, in regmap_add_irq_chip() [all …]
|
D | regmap.c | 1746 size_t num_regs) in _regmap_raw_multi_reg_write() argument 1756 size_t len = pair_size * num_regs; in _regmap_raw_multi_reg_write() 1769 for (i = 0; i < num_regs; i++) { in _regmap_raw_multi_reg_write() 1785 for (i = 0; i < num_regs; i++) { in _regmap_raw_multi_reg_write() 1803 size_t num_regs) in _regmap_range_multi_paged_reg_write() argument 1815 for (i = 0, n = 0; i < num_regs; i++, n++) { in _regmap_range_multi_paged_reg_write() 1846 size_t num_regs) in _regmap_multi_reg_write() argument 1852 for (i = 0; i < num_regs; i++) { in _regmap_multi_reg_write() 1864 for (i = 0; i < num_regs; i++) { in _regmap_multi_reg_write() 1873 for (i = 0; i < num_regs; i++) { in _regmap_multi_reg_write() [all …]
|
/drivers/clk/rockchip/ |
D | softrst.c | 25 int num_regs; member 90 unsigned int num_regs, in rockchip_register_softrst() argument 104 softrst->num_regs = num_regs; in rockchip_register_softrst() 109 softrst->rcdev.nr_resets = num_regs * softrst->num_per_reg; in rockchip_register_softrst()
|
D | clk.h | 376 unsigned int num_regs, 380 unsigned int num_regs, in rockchip_register_softrst() argument
|
/drivers/clk/samsung/ |
D | clk.c | 19 unsigned int num_regs) in samsung_clk_save() argument 21 for (; num_regs > 0; --num_regs, ++rd) in samsung_clk_save() 27 unsigned int num_regs) in samsung_clk_restore() argument 29 for (; num_regs > 0; --num_regs, ++rd) in samsung_clk_restore()
|
D | clk.h | 369 unsigned int num_regs); 372 unsigned int num_regs);
|
/drivers/leds/ |
D | leds-mc13783.c | 29 int num_regs; member 145 leds->devtype->num_regs); in mc13xxx_led_probe_dt() 230 for (i = 0; i < devtype->num_regs; i++) { in mc13xxx_led_probe() 299 .num_regs = 6, 306 .num_regs = 4, 313 .num_regs = 1,
|
/drivers/hwmon/ |
D | ltc2945.c | 250 int num_regs; in ltc2945_set_value() local 265 num_regs = 3; in ltc2945_set_value() 270 num_regs = 2; in ltc2945_set_value() 272 ret = regmap_bulk_write(regmap, reg, regbuf, num_regs); in ltc2945_set_value() 283 int num_regs = is_power_reg(reg) ? 3 : 2; in ltc2945_reset_history() local 299 ret = regmap_bulk_write(regmap, reg, buf_min, num_regs); in ltc2945_reset_history() 321 ret = regmap_bulk_write(regmap, reg, buf_max, num_regs); in ltc2945_reset_history()
|
/drivers/mfd/ |
D | sec-irq.c | 386 .num_regs = 3, 396 .num_regs = 3, 406 .num_regs = 3, 416 .num_regs = 3, 426 .num_regs = 4,
|
D | max77693.c | 74 .num_regs = 1, 90 .num_regs = 1, 108 .num_regs = 1, 145 .num_regs = 3,
|
D | max77686.c | 154 .num_regs = 2, 173 .num_regs = 1, 182 .num_regs = 2, 191 .num_regs = 1,
|
D | max8907.c | 138 .num_regs = 2, 161 .num_regs = 2, 175 .num_regs = 1,
|
D | max14577.c | 224 .num_regs = 3, 254 .num_regs = 3, 269 .num_regs = 1,
|
D | retu-mfd.c | 78 .num_regs = 1, 114 .num_regs = 1,
|
D | intel_soc_pmic_crc.c | 147 .num_regs = 1,
|
D | tps65910.c | 211 .num_regs = 3, 222 .num_regs = 2,
|
D | da9063-irq.c | 161 .num_regs = 4,
|
D | tps65090.c | 138 .num_regs = NUM_INT_REG,
|
D | 88pm805.c | 184 .num_regs = 2,
|
D | wm8994-irq.c | 136 .num_regs = 2,
|
D | da9052-irq.c | 174 .num_regs = DA9052_NUM_IRQ_REGS,
|
D | wm8997-tables.c | 56 .num_regs = 1, 152 .num_regs = 5,
|
D | rk808.c | 142 .num_regs = 2,
|
D | tps65218.c | 205 .num_regs = 2,
|