Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/md/
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->key = region; in __rh_alloc()
303 INIT_LIST_HEAD(&nreg->list); in __rh_alloc()
[all …]
/linux-6.6.21/net/wireless/
Dmlme.c540 struct cfg80211_mgmt_registration *reg, *nreg; in cfg80211_mlme_register_mgmt() local
581 nreg = kzalloc(sizeof(*reg) + match_len, GFP_KERNEL); in cfg80211_mlme_register_mgmt()
582 if (!nreg) in cfg80211_mlme_register_mgmt()
609 kfree(nreg); in cfg80211_mlme_register_mgmt()
611 memcpy(nreg->match, match_data, match_len); in cfg80211_mlme_register_mgmt()
612 nreg->match_len = match_len; in cfg80211_mlme_register_mgmt()
613 nreg->nlportid = snd_portid; in cfg80211_mlme_register_mgmt()
614 nreg->frame_type = cpu_to_le16(frame_type); in cfg80211_mlme_register_mgmt()
615 nreg->wdev = wdev; in cfg80211_mlme_register_mgmt()
616 nreg->multicast_rx = multicast_rx; in cfg80211_mlme_register_mgmt()
[all …]
Dnl80211.c14195 struct cfg80211_beacon_registration *reg, *nreg; in nl80211_register_beacons() local
14201 nreg = kzalloc(sizeof(*nreg), GFP_KERNEL); in nl80211_register_beacons()
14202 if (!nreg) in nl80211_register_beacons()
14214 nreg->nlportid = info->snd_portid; in nl80211_register_beacons()
14215 list_add(&nreg->list, &rdev->beacon_registrations); in nl80211_register_beacons()
14222 kfree(nreg); in nl80211_register_beacons()
/linux-6.6.21/sound/pci/
Dazt3328.c959 u16 oreg, nreg, val; in snd_azf3328_put_mixer() local
966 nreg = oreg & ~(reg.mask << reg.lchan_shift); in snd_azf3328_put_mixer()
967 nreg |= (val << reg.lchan_shift); in snd_azf3328_put_mixer()
972 nreg &= ~(reg.mask << reg.rchan_shift); in snd_azf3328_put_mixer()
973 nreg |= (val << reg.rchan_shift); in snd_azf3328_put_mixer()
977 chip, reg.reg, nreg >> 8, nreg & 0xff, in snd_azf3328_put_mixer()
982 snd_azf3328_mixer_outw(chip, reg.reg, nreg); in snd_azf3328_put_mixer()
988 nreg, snd_azf3328_mixer_inw(chip, reg.reg)); in snd_azf3328_put_mixer()
989 return (nreg != oreg); in snd_azf3328_put_mixer()
1062 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.6.21/drivers/regulator/
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-6.6.21/fs/proc/
Dproc_sysctl.c79 .nreg = 1,
199 head->nreg = 1; in init_header()
243 dir_h->nreg++; in insert_header()
1031 subdir->header.nreg++; in get_subdir()
1205 links->nreg = nr_entries; in new_links()
1238 tmp_head->nreg++; in get_links()
1260 core_parent->header.nreg++; in insert_links()
1384 dir->header.nreg++; in __register_sysctl_table()
1504 if (--header->nreg) in drop_sysctl_table()
/linux-6.6.21/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.6.21/include/linux/
Dsysctl.h180 int nreg; member
/linux-6.6.21/drivers/gpu/drm/loongson/
Dlsdc_drv.h129 unsigned int nreg; member
Dlsdc_crtc.c536 for (i = 0; i < lcrtc->nreg; i++) { in lsdc_crtc_show_regs()
681 lcrtc->nreg = ARRAY_SIZE(lsdc_crtc_regs_array[index]); in lsdc_crtc_late_register()
/linux-6.6.21/drivers/clk/
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()