/kernel/linux/linux-5.10/drivers/md/ |
D | dm-region-hash.c | 240 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 …]
|
/kernel/linux/linux-5.10/net/wireless/ |
D | mlme.c | 503 struct cfg80211_mgmt_registration *reg, *nreg; in cfg80211_mlme_register_mgmt() local 544 nreg = kzalloc(sizeof(*reg) + match_len, GFP_KERNEL); in cfg80211_mlme_register_mgmt() 545 if (!nreg) in cfg80211_mlme_register_mgmt() 572 kfree(nreg); in cfg80211_mlme_register_mgmt() 574 memcpy(nreg->match, match_data, match_len); in cfg80211_mlme_register_mgmt() 575 nreg->match_len = match_len; in cfg80211_mlme_register_mgmt() 576 nreg->nlportid = snd_portid; in cfg80211_mlme_register_mgmt() 577 nreg->frame_type = cpu_to_le16(frame_type); in cfg80211_mlme_register_mgmt() 578 nreg->wdev = wdev; in cfg80211_mlme_register_mgmt() 579 nreg->multicast_rx = multicast_rx; in cfg80211_mlme_register_mgmt() [all …]
|
D | nl80211.c | 12764 struct cfg80211_beacon_registration *reg, *nreg; in nl80211_register_beacons() local 12770 nreg = kzalloc(sizeof(*nreg), GFP_KERNEL); in nl80211_register_beacons() 12771 if (!nreg) in nl80211_register_beacons() 12783 nreg->nlportid = info->snd_portid; in nl80211_register_beacons() 12784 list_add(&nreg->list, &rdev->beacon_registrations); in nl80211_register_beacons() 12791 kfree(nreg); in nl80211_register_beacons()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-intel-mid.c | 71 unsigned nreg = chip->ngpio / 32; in gpio_reg() local 74 return priv->reg_base + reg_type * nreg * 4 + reg * 4; in gpio_reg() 81 unsigned nreg = chip->ngpio / 32; in gpio_reg_2bit() local 84 return priv->reg_base + reg_type * nreg * 4 + reg * 4; in gpio_reg_2bit()
|
/kernel/linux/linux-5.10/sound/pci/ |
D | azt3328.c | 969 u16 oreg, nreg, val; in snd_azf3328_put_mixer() local 976 nreg = oreg & ~(reg.mask << reg.lchan_shift); in snd_azf3328_put_mixer() 977 nreg |= (val << reg.lchan_shift); in snd_azf3328_put_mixer() 982 nreg &= ~(reg.mask << reg.rchan_shift); in snd_azf3328_put_mixer() 983 nreg |= (val << reg.rchan_shift); in snd_azf3328_put_mixer() 987 chip, reg.reg, nreg >> 8, nreg & 0xff, in snd_azf3328_put_mixer() 992 snd_azf3328_mixer_outw(chip, reg.reg, nreg); in snd_azf3328_put_mixer() 998 nreg, snd_azf3328_mixer_inw(chip, reg.reg)); in snd_azf3328_put_mixer() 999 return (nreg != oreg); in snd_azf3328_put_mixer() 1072 u16 oreg, nreg, val; in snd_azf3328_put_mixer_enum() local [all …]
|
D | cmipci.c | 2215 unsigned char oreg, nreg, val; in snd_cmipci_put_native_mixer() local 2223 nreg = oreg & ~(reg.mask << reg.left_shift); in snd_cmipci_put_native_mixer() 2224 nreg |= (val << reg.left_shift); in snd_cmipci_put_native_mixer() 2229 nreg &= ~(reg.mask << reg.right_shift); in snd_cmipci_put_native_mixer() 2230 nreg |= (val << reg.right_shift); in snd_cmipci_put_native_mixer() 2232 outb(nreg, cm->iobase + reg.left_reg); in snd_cmipci_put_native_mixer() 2234 return (nreg != oreg); in snd_cmipci_put_native_mixer()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | lp8755.c | 36 int nreg; member 247 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_init_data() 293 for (icnt = 0; icnt < mphase_buck[pchip->mphase].nreg; icnt++) { in lp8755_regulator_init()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | proc_sysctl.c | 72 .nreg = 1, 196 head->nreg = 1; in init_header() 233 dir->header.nreg++; in insert_header() 1020 subdir->header.nreg++; in get_subdir() 1183 links->nreg = nr_entries; in new_links() 1211 head->nreg++; in get_links() 1233 core_parent->header.nreg++; in insert_links() 1327 dir->header.nreg++; in __register_sysctl_table() 1634 if (--header->nreg) in drop_sysctl_table()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
D | debug.h | 50 char nreg[32]; member
|
D | debug.c | 508 name##_regs[i].nreg, ar->debug.stats.name ##_sum[i],\ 536 name##_regs[i].nreg, \
|
/kernel/linux/linux-5.10/include/linux/ |
D | sysctl.h | 137 int nreg; member
|
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-stm32h7.c | 672 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()
|