Searched refs:num_regs (Results 1 - 8 of 8) sorted by relevance
/drivers/base/regmap/ |
H A D | regmap-irq.c | 60 for (i = 0; i < d->chip->num_regs; i++) { 107 chip->num_regs); 120 for (i = 0; i < data->chip->num_regs; i++) { 195 d->status_buf = kzalloc(sizeof(unsigned int) * chip->num_regs, 200 d->status_reg_buf = kzalloc(map->format.val_bytes * chip->num_regs, 205 d->mask_buf = kzalloc(sizeof(unsigned int) * chip->num_regs, 210 d->mask_buf_def = kzalloc(sizeof(unsigned int) * chip->num_regs, 225 for (i = 0; i < chip->num_regs; i++) {
|
H A D | regmap.c | 863 * @num_regs: Number of entries in regs. 872 int num_regs) 888 for (i = 0; i < num_regs; i++) { 897 map->patch = kcalloc(num_regs, sizeof(struct reg_default), GFP_KERNEL); 900 num_regs * sizeof(struct reg_default)); 901 map->patch_regs = num_regs; 871 regmap_register_patch(struct regmap *map, const struct reg_default *regs, int num_regs) argument
|
/drivers/mfd/ |
H A D | wm8350-core.c | 70 static int wm8350_phys_read(struct wm8350 *wm8350, u8 reg, int num_regs, argument 74 int bytes = num_regs * 2; 79 for (i = reg; i < reg + num_regs; i++) { 87 dump(num_regs, dest); 92 static int wm8350_read(struct wm8350 *wm8350, u8 reg, int num_regs, u16 *dest) argument 95 int end = reg + num_regs; 97 int bytes = num_regs * 2; 102 if ((reg + num_regs - 1) > WM8350_MAX_REGISTER) { 104 reg + num_regs - 1); 109 "%s R%d(0x%2.2x) %d regs\n", __func__, reg, reg, num_regs); 146 wm8350_write(struct wm8350 *wm8350, u8 reg, int num_regs, u16 *src) argument [all...] |
H A D | wm8400-core.c | 120 static int wm8400_read(struct wm8400 *wm8400, u8 reg, int num_regs, u16 *dest) argument 124 BUG_ON(reg + num_regs > ARRAY_SIZE(wm8400->reg_cache)); 127 for (i = reg; i < reg + num_regs; i++) 130 num_regs); 135 memcpy(dest, &wm8400->reg_cache[reg], num_regs * sizeof(u16)); 140 static int wm8400_write(struct wm8400 *wm8400, u8 reg, int num_regs, argument 145 BUG_ON(reg + num_regs > ARRAY_SIZE(wm8400->reg_cache)); 147 for (i = 0; i < num_regs; i++) {
|
H A D | wm8994-irq.c | 133 .num_regs = 2,
|
H A D | da9052-core.c | 625 .num_regs = DA9052_NUM_IRQ_REGS,
|
/drivers/net/wireless/ath/ath9k/ |
H A D | debug.c | 1113 unsigned long num_regs, regdump_len, max_reg_offset; local 1116 num_regs = max_reg_offset / 4 + 1; 1117 regdump_len = num_regs * REGDUMP_LINE_SIZE + 1; 1123 for (i = 0; i < num_regs; i++)
|
/drivers/media/common/tuners/ |
H A D | mt2063.c | 241 u32 num_regs; member in struct:mt2063_state 1944 state->num_regs = MT2063_REG_END_REGS;
|
Completed in 129 milliseconds