Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-region-hash.c240 struct dm_region *reg, *nreg; in dm_region_hash_destroy() local
244 list_for_each_entry_safe(reg, nreg, rh->buckets + h, in dm_region_hash_destroy()
290 struct dm_region *reg, *nreg; in __rh_alloc() local
292 nreg = mempool_alloc(&rh->region_pool, GFP_ATOMIC); in __rh_alloc()
293 if (unlikely(!nreg)) in __rh_alloc()
294 nreg = kmalloc(sizeof(*nreg), GFP_NOIO | __GFP_NOFAIL); in __rh_alloc()
296 nreg->state = rh->log->type->in_sync(rh->log, region, 1) ? in __rh_alloc()
298 nreg->rh = rh; in __rh_alloc()
299 nreg->key = region; in __rh_alloc()
300 INIT_LIST_HEAD(&nreg->list); in __rh_alloc()
[all …]
/linux-6.1.9/net/wireless/
Dmlme.c521 struct cfg80211_mgmt_registration *reg, *nreg; in cfg80211_mlme_register_mgmt() local
562 nreg = kzalloc(sizeof(*reg) + match_len, GFP_KERNEL); in cfg80211_mlme_register_mgmt()
563 if (!nreg) in cfg80211_mlme_register_mgmt()
590 kfree(nreg); in cfg80211_mlme_register_mgmt()
592 memcpy(nreg->match, match_data, match_len); in cfg80211_mlme_register_mgmt()
593 nreg->match_len = match_len; in cfg80211_mlme_register_mgmt()
594 nreg->nlportid = snd_portid; in cfg80211_mlme_register_mgmt()
595 nreg->frame_type = cpu_to_le16(frame_type); in cfg80211_mlme_register_mgmt()
596 nreg->wdev = wdev; in cfg80211_mlme_register_mgmt()
597 nreg->multicast_rx = multicast_rx; in cfg80211_mlme_register_mgmt()
[all …]
Dnl80211.c13913 struct cfg80211_beacon_registration *reg, *nreg; in nl80211_register_beacons() local
13919 nreg = kzalloc(sizeof(*nreg), GFP_KERNEL); in nl80211_register_beacons()
13920 if (!nreg) in nl80211_register_beacons()
13932 nreg->nlportid = info->snd_portid; in nl80211_register_beacons()
13933 list_add(&nreg->list, &rdev->beacon_registrations); in nl80211_register_beacons()
13940 kfree(nreg); in nl80211_register_beacons()
/linux-6.1.9/sound/pci/
Dazt3328.c968 u16 oreg, nreg, val; in snd_azf3328_put_mixer() local
975 nreg = oreg & ~(reg.mask << reg.lchan_shift); in snd_azf3328_put_mixer()
976 nreg |= (val << reg.lchan_shift); in snd_azf3328_put_mixer()
981 nreg &= ~(reg.mask << reg.rchan_shift); in snd_azf3328_put_mixer()
982 nreg |= (val << reg.rchan_shift); in snd_azf3328_put_mixer()
986 chip, reg.reg, nreg >> 8, nreg & 0xff, in snd_azf3328_put_mixer()
991 snd_azf3328_mixer_outw(chip, reg.reg, nreg); in snd_azf3328_put_mixer()
997 nreg, snd_azf3328_mixer_inw(chip, reg.reg)); in snd_azf3328_put_mixer()
998 return (nreg != oreg); in snd_azf3328_put_mixer()
1071 u16 oreg, nreg, val; in snd_azf3328_put_mixer_enum() local
[all …]
Dcmipci.c2222 unsigned char oreg, nreg, val; in snd_cmipci_put_native_mixer() local
2230 nreg = oreg & ~(reg.mask << reg.left_shift); in snd_cmipci_put_native_mixer()
2231 nreg |= (val << reg.left_shift); in snd_cmipci_put_native_mixer()
2236 nreg &= ~(reg.mask << reg.right_shift); in snd_cmipci_put_native_mixer()
2237 nreg |= (val << reg.right_shift); in snd_cmipci_put_native_mixer()
2239 outb(nreg, cm->iobase + reg.left_reg); in snd_cmipci_put_native_mixer()
2241 return (nreg != oreg); in snd_cmipci_put_native_mixer()
/linux-6.1.9/drivers/regulator/
Dlp8755.c36 int nreg; member
204 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_init_data()
254 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_regulator_init()
/linux-6.1.9/fs/proc/
Dproc_sysctl.c86 .nreg = 1,
205 head->nreg = 1; in init_header()
246 dir->header.nreg++; in insert_header()
1035 subdir->header.nreg++; in get_subdir()
1206 links->nreg = nr_entries; in new_links()
1234 head->nreg++; in get_links()
1256 core_parent->header.nreg++; in insert_links()
1350 dir->header.nreg++; in __register_sysctl_table()
1700 if (--header->nreg) in drop_sysctl_table()
/linux-6.1.9/drivers/net/wireless/ath/carl9170/
Ddebug.h50 char nreg[32]; member
Ddebug.c508 name##_regs[i].nreg, ar->debug.stats.name ##_sum[i],\
536 name##_regs[i].nreg, \
/linux-6.1.9/include/linux/
Dsysctl.h160 int nreg; member
/linux-6.1.9/drivers/clk/
Dclk-stm32h7.c672 void __iomem *nreg; member
756 val = readl(fd->nreg); in pll_fd_recalc_rate()
820 div->nreg = base + cfg->offset_divr; in clk_register_stm32_pll()