Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-region-hash.c243 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 in __rh_alloc()
[all...]
/linux/net/wireless/
H A Dmlme.c666 struct cfg80211_mgmt_registration *reg, *nreg; in cfg80211_mlme_register_mgmt() local
707 nreg = kzalloc(sizeof(*reg) + match_len, GFP_KERNEL); in cfg80211_mlme_register_mgmt()
708 if (!nreg) in cfg80211_mlme_register_mgmt()
735 kfree(nreg); in cfg80211_mlme_register_mgmt()
737 memcpy(nreg->match, match_data, match_len); in cfg80211_mlme_register_mgmt()
738 nreg->match_len = match_len; in cfg80211_mlme_register_mgmt()
739 nreg->nlportid = snd_portid; in cfg80211_mlme_register_mgmt()
740 nreg->frame_type = cpu_to_le16(frame_type); in cfg80211_mlme_register_mgmt()
741 nreg->wdev = wdev; in cfg80211_mlme_register_mgmt()
742 nreg in cfg80211_mlme_register_mgmt()
[all...]
H A Dnl80211.c15033 struct cfg80211_beacon_registration *reg, *nreg; in nl80211_register_beacons() local
15039 nreg = kzalloc(sizeof(*nreg), GFP_KERNEL); in nl80211_register_beacons()
15040 if (!nreg) in nl80211_register_beacons()
15052 nreg->nlportid = info->snd_portid; in nl80211_register_beacons()
15053 list_add(&nreg->list, &rdev->beacon_registrations); in nl80211_register_beacons()
15060 kfree(nreg); in nl80211_register_beacons()
/linux/sound/pci/
H A Dazt3328.c957 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 Dcmipci.c2206 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 Dlp8755.c35 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 Dproc_sysctl.c80 .nreg = 1,
201 head->nreg = 1; in init_header()
246 dir_h->nreg++; in insert_header()
1030 subdir->header.nreg++; in get_subdir()
1219 links->nreg = head->ctl_table_size; in new_links()
1252 tmp_head->nreg++; in get_links()
1274 core_parent->header.nreg++; in insert_links()
1392 dir->header.nreg++; in __register_sysctl_table()
1512 if (--header->nreg) in drop_sysctl_table()
/linux/drivers/net/wireless/ath/carl9170/
H A Ddebug.h50 char nreg[32]; member
H A Ddebug.c504 name##_regs[i].nreg, ar->debug.stats.name ##_sum[i],\
532 name##_regs[i].nreg, \
/linux/include/linux/
H A Dsysctl.h156 * @nreg: When nreg drops to 0 the ctl_table_header will be unregistered.
167 int nreg; member
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_drv.h129 unsigned int nreg; member
H A Dlsdc_crtc.c537 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 Dclk-stm32h7.c671 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()