Home
last modified time | relevance | path

Searched refs:nreg (Results 1 – 5 of 5) sorted by relevance

/drivers/md/
Ddm-region-hash.c238 struct dm_region *reg, *nreg; in dm_region_hash_destroy() local
242 list_for_each_entry_safe(reg, nreg, rh->buckets + h, in dm_region_hash_destroy()
288 struct dm_region *reg, *nreg; in __rh_alloc() local
290 nreg = mempool_alloc(rh->region_pool, GFP_ATOMIC); in __rh_alloc()
291 if (unlikely(!nreg)) in __rh_alloc()
292 nreg = kmalloc(sizeof(*nreg), GFP_NOIO | __GFP_NOFAIL); in __rh_alloc()
294 nreg->state = rh->log->type->in_sync(rh->log, region, 1) ? in __rh_alloc()
296 nreg->rh = rh; in __rh_alloc()
297 nreg->key = region; in __rh_alloc()
298 INIT_LIST_HEAD(&nreg->list); in __rh_alloc()
[all …]
/drivers/gpio/
Dgpio-intel-mid.c85 unsigned nreg = chip->ngpio / 32; in gpio_reg() local
88 return priv->reg_base + reg_type * nreg * 4 + reg * 4; in gpio_reg()
95 unsigned nreg = chip->ngpio / 32; in gpio_reg_2bit() local
98 return priv->reg_base + reg_type * nreg * 4 + reg * 4; in gpio_reg_2bit()
/drivers/regulator/
Dlp8755.c40 int nreg; member
291 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_init_data()
337 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_regulator_init()
/drivers/net/wireless/ath/carl9170/
Ddebug.h50 char nreg[32]; member
Ddebug.c506 name##_regs[i].nreg, ar->debug.stats.name ##_sum[i],\
534 name##_regs[i].nreg, \