| /linux-6.15/drivers/md/ |
| H A D | dm-region-hash.c | 243 struct dm_region *reg, *nreg; in dm_region_hash_destroy() local 293 struct dm_region *reg, *nreg; in __rh_alloc() local 296 if (unlikely(!nreg)) in __rh_alloc() 297 nreg = kmalloc(sizeof(*nreg), GFP_NOIO | __GFP_NOFAIL); 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() 304 atomic_set(&nreg->pending, 0); in __rh_alloc() 313 __rh_insert(rh, nreg); in __rh_alloc() 314 if (nreg->state == DM_RH_CLEAN) { in __rh_alloc() [all …]
|
| /linux-6.15/net/wireless/ |
| H A D | mlme.c | 649 struct cfg80211_mgmt_registration *reg, *nreg; in cfg80211_mlme_register_mgmt() local 691 if (!nreg) in cfg80211_mlme_register_mgmt() 718 kfree(nreg); in cfg80211_mlme_register_mgmt() 720 memcpy(nreg->match, match_data, match_len); in cfg80211_mlme_register_mgmt() 721 nreg->match_len = match_len; in cfg80211_mlme_register_mgmt() 722 nreg->nlportid = snd_portid; in cfg80211_mlme_register_mgmt() 723 nreg->frame_type = cpu_to_le16(frame_type); in cfg80211_mlme_register_mgmt() 724 nreg->wdev = wdev; in cfg80211_mlme_register_mgmt() 725 nreg->multicast_rx = multicast_rx; in cfg80211_mlme_register_mgmt() 726 list_add(&nreg->list, &wdev->mgmt_registrations); in cfg80211_mlme_register_mgmt() [all …]
|
| H A D | nl80211.c | 14371 struct cfg80211_beacon_registration *reg, *nreg; in nl80211_register_beacons() local 14377 nreg = kzalloc(sizeof(*nreg), GFP_KERNEL); in nl80211_register_beacons() 14378 if (!nreg) in nl80211_register_beacons() 14390 nreg->nlportid = info->snd_portid; in nl80211_register_beacons() 14391 list_add(&nreg->list, &rdev->beacon_registrations); in nl80211_register_beacons() 14398 kfree(nreg); in nl80211_register_beacons()
|
| /linux-6.15/sound/pci/ |
| H A D | azt3328.c | 957 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() 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 1078 nreg = val; in snd_azf3328_put_mixer_enum() [all …]
|
| H A D | cmipci.c | 2206 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-6.15/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()
|
| /linux-6.15/fs/proc/ |
| H A D | proc_sysctl.c | 80 .nreg = 1, 201 head->nreg = 1; in init_header() 246 dir_h->nreg++; in insert_header() 1027 subdir->header.nreg++; in get_subdir() 1216 links->nreg = head->ctl_table_size; in new_links() 1249 tmp_head->nreg++; in get_links() 1271 core_parent->header.nreg++; in insert_links() 1389 dir->header.nreg++; in __register_sysctl_table() 1509 if (--header->nreg) in drop_sysctl_table()
|
| /linux-6.15/drivers/net/wireless/ath/carl9170/ |
| H A D | debug.h | 50 char nreg[32]; member
|
| H A D | debug.c | 504 name##_regs[i].nreg, ar->debug.stats.name ##_sum[i],\ 532 name##_regs[i].nreg, \
|
| /linux-6.15/include/linux/ |
| H A D | sysctl.h | 167 int nreg; member
|
| /linux-6.15/drivers/gpu/drm/loongson/ |
| H A D | lsdc_drv.h | 129 unsigned int nreg; member
|
| H A D | lsdc_crtc.c | 537 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-6.15/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()
|