Searched refs:nreg (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/md/ |
H A D | dm-region-hash.c | 243 struct dm_region *reg, *nreg; in dm_region_hash_destroy() local 247 list_for_each_entry_safe(reg, nreg, rh->buckets + h, in dm_region_hash_destroy() 293 struct dm_region *reg, *nreg; in __rh_alloc() local 295 nreg = mempool_alloc(&rh->region_pool, GFP_ATOMIC); in __rh_alloc() 296 if (unlikely(!nreg)) in __rh_alloc() 297 nreg = kmalloc(sizeof(*nreg), GFP_NOIO | __GFP_NOFAIL); in __rh_alloc() 299 nreg->state = rh->log->type->in_sync(rh->log, region, 1) ? in __rh_alloc() 301 nreg->rh = rh; in __rh_alloc() 302 nreg->key = region; in __rh_alloc() 303 INIT_LIST_HEAD(&nreg->list); in __rh_alloc() [all …]
|
/linux/sound/pci/ |
H A D | azt3328.c | 957 u16 oreg, nreg, val; in snd_azf3328_put_mixer() local 964 nreg = oreg & ~(reg.mask << reg.lchan_shift); in snd_azf3328_put_mixer() 965 nreg |= (val << reg.lchan_shift); in snd_azf3328_put_mixer() 970 nreg &= ~(reg.mask << reg.rchan_shift); in snd_azf3328_put_mixer() 971 nreg |= (val << reg.rchan_shift); in snd_azf3328_put_mixer() 975 chip, reg.reg, nreg >> 8, nreg & 0xff, in snd_azf3328_put_mixer() 980 snd_azf3328_mixer_outw(chip, reg.reg, nreg); in snd_azf3328_put_mixer() 986 nreg, snd_azf3328_mixer_inw(chip, reg.reg)); in snd_azf3328_put_mixer() 987 return (nreg != oreg); in snd_azf3328_put_mixer() 1060 u16 oreg, nreg, val; in snd_azf3328_put_mixer_enum() local [all …]
|
H A D | cmipci.c | 2206 unsigned char oreg, nreg, val; in snd_cmipci_put_native_mixer() local 2214 nreg = oreg & ~(reg.mask << reg.left_shift); in snd_cmipci_put_native_mixer() 2215 nreg |= (val << reg.left_shift); in snd_cmipci_put_native_mixer() 2220 nreg &= ~(reg.mask << reg.right_shift); in snd_cmipci_put_native_mixer() 2221 nreg |= (val << reg.right_shift); in snd_cmipci_put_native_mixer() 2223 outb(nreg, cm->iobase + reg.left_reg); in snd_cmipci_put_native_mixer() 2225 return (nreg != oreg); in snd_cmipci_put_native_mixer()
|
/linux/drivers/regulator/ |
H A D | lp8755.c | 35 int nreg; member 203 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_init_data() 253 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_regulator_init()
|
/linux/fs/proc/ |
H A D | proc_sysctl.c | 80 .nreg = 1, 201 head->nreg = 1; in init_header() 246 dir_h->nreg++; in insert_header() 1027 subdir->header.nreg++; in get_subdir() 1216 links->nreg = head->ctl_table_size; in new_links() 1249 tmp_head->nreg++; in get_links() 1271 core_parent->header.nreg++; in insert_links() 1389 dir->header.nreg++; in __register_sysctl_table() 1509 if (--header->nreg) in drop_sysctl_table()
|
/linux/drivers/net/wireless/ath/carl9170/ |
H A D | debug.h | 50 char nreg[32]; member
|
H A D | debug.c | 504 name##_regs[i].nreg, ar->debug.stats.name ##_sum[i],\ 532 name##_regs[i].nreg, \
|
/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_drv.h | 129 unsigned int nreg; member
|
H A D | lsdc_crtc.c | 537 for (i = 0; i < lcrtc->nreg; i++) { in lsdc_crtc_show_regs() 682 lcrtc->nreg = ARRAY_SIZE(lsdc_crtc_regs_array[index]); in lsdc_crtc_late_register()
|
/linux/drivers/clk/ |
H A D | clk-stm32h7.c | 671 void __iomem *nreg; member 755 val = readl(fd->nreg); in pll_fd_recalc_rate() 819 div->nreg = base + cfg->offset_divr; in clk_register_stm32_pll()
|
/linux/net/wireless/ |
H A D | nl80211.c | 14353 struct cfg80211_beacon_registration *reg, *nreg; in nl80211_register_beacons() local 14359 nreg = kzalloc(sizeof(*nreg), GFP_KERNEL); in nl80211_register_beacons() 14360 if (!nreg) in nl80211_register_beacons() 14372 nreg->nlportid = info->snd_portid; in nl80211_register_beacons() 14373 list_add(&nreg->list, &rdev->beacon_registrations); in nl80211_register_beacons() 14380 kfree(nreg); in nl80211_register_beacons()
|