Home
last modified time | relevance | path

Searched refs:num_regs (Results 1 – 25 of 42) sorted by relevance

12

/drivers/gpio/
Dgpio-adnp.c191 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/
Dregmap-irq.c79 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 …]
Dregmap.c1746 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/
Dsoftrst.c25 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()
Dclk.h376 unsigned int num_regs,
380 unsigned int num_regs, in rockchip_register_softrst() argument
/drivers/clk/samsung/
Dclk.c19 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()
Dclk.h369 unsigned int num_regs);
372 unsigned int num_regs);
/drivers/leds/
Dleds-mc13783.c29 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/
Dltc2945.c250 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/
Dsec-irq.c386 .num_regs = 3,
396 .num_regs = 3,
406 .num_regs = 3,
416 .num_regs = 3,
426 .num_regs = 4,
Dmax77693.c74 .num_regs = 1,
90 .num_regs = 1,
108 .num_regs = 1,
145 .num_regs = 3,
Dmax77686.c154 .num_regs = 2,
173 .num_regs = 1,
182 .num_regs = 2,
191 .num_regs = 1,
Dmax8907.c138 .num_regs = 2,
161 .num_regs = 2,
175 .num_regs = 1,
Dmax14577.c224 .num_regs = 3,
254 .num_regs = 3,
269 .num_regs = 1,
Dretu-mfd.c78 .num_regs = 1,
114 .num_regs = 1,
Dintel_soc_pmic_crc.c147 .num_regs = 1,
Dtps65910.c211 .num_regs = 3,
222 .num_regs = 2,
Dda9063-irq.c161 .num_regs = 4,
Dtps65090.c138 .num_regs = NUM_INT_REG,
D88pm805.c184 .num_regs = 2,
Dwm8994-irq.c136 .num_regs = 2,
Dda9052-irq.c174 .num_regs = DA9052_NUM_IRQ_REGS,
Dwm8997-tables.c56 .num_regs = 1,
152 .num_regs = 5,
Drk808.c142 .num_regs = 2,
Dtps65218.c205 .num_regs = 2,

12