/kernel/linux/linux-5.10/drivers/md/ |
H A 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 in __rh_alloc() [all...] |
/kernel/linux/linux-6.6/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 in __rh_alloc() [all...] |
/kernel/linux/linux-5.10/net/wireless/ |
H A 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 in cfg80211_mlme_register_mgmt() [all...] |
H A D | nl80211.c | 12788 struct cfg80211_beacon_registration *reg, *nreg; in nl80211_register_beacons() local 12794 nreg = kzalloc(sizeof(*nreg), GFP_KERNEL); in nl80211_register_beacons() 12795 if (!nreg) in nl80211_register_beacons() 12807 nreg->nlportid = info->snd_portid; in nl80211_register_beacons() 12808 list_add(&nreg->list, &rdev->beacon_registrations); in nl80211_register_beacons() 12815 kfree(nreg); in nl80211_register_beacons()
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | mlme.c | 540 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 in cfg80211_mlme_register_mgmt() [all...] |
H A D | nl80211.c | 14195 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()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-intel-mid.c | 35 * nreg = ngpio / 32; 38 * reg_addr = reg_base + GPDR * nreg * 4 + reg * 4; 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/ |
H A 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() 995 "put: %02x to %02lx|%02lx, oreg %04x; shift %02d|%02d -> nreg %04x; after: %04x\n", in snd_azf3328_put_mixer() 998 nreg, snd_azf3328_mixer_in in snd_azf3328_put_mixer() 1072 u16 oreg, nreg, val; snd_azf3328_put_mixer_enum() local [all...] |
H A D | cmipci.c | 2214 unsigned char oreg, nreg, val; in snd_cmipci_put_native_mixer() local 2222 nreg = oreg & ~(reg.mask << reg.left_shift); in snd_cmipci_put_native_mixer() 2223 nreg |= (val << reg.left_shift); in snd_cmipci_put_native_mixer() 2228 nreg &= ~(reg.mask << reg.right_shift); in snd_cmipci_put_native_mixer() 2229 nreg |= (val << reg.right_shift); in snd_cmipci_put_native_mixer() 2231 outb(nreg, cm->iobase + reg.left_reg); in snd_cmipci_put_native_mixer() 2233 return (nreg != oreg); in snd_cmipci_put_native_mixer()
|
/kernel/linux/linux-6.6/sound/pci/ |
H A D | azt3328.c | 959 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() 985 "put: %02x to %02lx|%02lx, oreg %04x; shift %02d|%02d -> nreg %04x; after: %04x\n", in snd_azf3328_put_mixer() 988 nreg, snd_azf3328_mixer_in in snd_azf3328_put_mixer() 1062 u16 oreg, nreg, val; snd_azf3328_put_mixer_enum() local [all...] |
H A D | cmipci.c | 2222 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()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
H A 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-6.6/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()
|
/kernel/linux/linux-5.10/fs/proc/ |
H A D | proc_sysctl.c | 73 .nreg = 1, 197 head->nreg = 1; in init_header() 234 dir->header.nreg++; in insert_header() 1019 subdir->header.nreg++; in get_subdir() 1188 links->nreg = nr_entries; in new_links() 1216 head->nreg++; in get_links() 1238 core_parent->header.nreg++; in insert_links() 1332 dir->header.nreg++; in __register_sysctl_table() 1671 if (--header->nreg) in drop_sysctl_table()
|
/kernel/linux/linux-6.6/fs/proc/ |
H A D | proc_sysctl.c | 79 .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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
H A D | debug.h | 50 char nreg[32]; member
|
H A D | debug.c | 508 name##_regs[i].nreg, ar->debug.stats.name ##_sum[i],\ 536 name##_regs[i].nreg, \
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/ |
H A D | debug.h | 50 char nreg[32]; member
|
H A 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/ |
H A D | sysctl.h | 146 int nreg; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | sysctl.h | 169 * @nreg: When nreg drops to 0 the ctl_table_header will be unregistered. 180 int nreg; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
H A D | lsdc_drv.h | 129 unsigned int nreg; member
|
H A D | lsdc_crtc.c | 536 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()
|
/kernel/linux/linux-5.10/drivers/clk/ |
H A 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()
|
/kernel/linux/linux-6.6/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()
|