/openbmc/linux/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->key = region; in __rh_alloc() 303 INIT_LIST_HEAD(&nreg->list); in __rh_alloc() [all …]
|
/openbmc/qemu/tests/tcg/i386/ |
H A D | test-avx.py | 252 nreg = len(self.args) 253 if nreg == 0: 257 nreg -= 1 279 elif nreg == 1: 283 elif nreg == 2: 292 elif nreg == 3: 307 elif nreg == 4: 333 raise Exception("Too many regs: %s(%d)" % (self.op, nreg)) 337 for i in range(nreg):
|
H A D | test-mmx.py | 172 nreg = len(self.args) 173 if nreg == 0: 177 nreg -= 1 186 if nreg == 1: 190 elif nreg == 2: 200 raise Exception("Too many regs: %s(%d)" % (self.op, nreg)) 204 for i in range(nreg):
|
/openbmc/qemu/hw/dma/ |
H A D | i8257.c | 143 int ichan, nreg, iport, ff, val, dir; in i8257_read_chan() local 148 nreg = iport & 1; in i8257_read_chan() 153 if (nreg) in i8257_read_chan() 166 int iport, ichan, nreg; in i8257_write_chan() local 171 nreg = iport & 1; in i8257_write_chan() 174 r->base[nreg] = (r->base[nreg] & 0xff) | ((data << 8) & 0xff00); in i8257_write_chan() 177 r->base[nreg] = (r->base[nreg] & 0xff00) | (data & 0xff); in i8257_write_chan()
|
/openbmc/linux/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->multicast_rx = multicast_rx; in cfg80211_mlme_register_mgmt() [all …]
|
H A D | nl80211.c | 14236 struct cfg80211_beacon_registration *reg, *nreg; in nl80211_register_beacons() local 14242 nreg = kzalloc(sizeof(*nreg), GFP_KERNEL); in nl80211_register_beacons() 14243 if (!nreg) in nl80211_register_beacons() 14255 nreg->nlportid = info->snd_portid; in nl80211_register_beacons() 14256 list_add(&nreg->list, &rdev->beacon_registrations); in nl80211_register_beacons() 14263 kfree(nreg); in nl80211_register_beacons()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | sve.decode | 86 &rprr_load rd pg rn rm dtype nreg 87 &rpri_load rd pg rn imm dtype nreg 88 &rprr_store rd pg rn rm msz esz nreg 89 &rpri_store rd pg rn imm msz esz nreg 250 &rprr_store nreg=0 1135 &rpri_load dtype=%dtype_23_13 nreg=0 1153 LD_zprr 1010010 .... ..... 010 ... ..... ..... @rprr_load_dt nreg=0 1156 LDFF1_zprr 1010010 .... ..... 011 ... ..... ..... @rprr_load_dt nreg=0 1159 LD_zpri 1010010 .... 0.... 101 ... ..... ..... @rpri_load_dt nreg=0 1162 LDNF1_zpri 1010010 .... 1.... 101 ... ..... ..... @rpri_load_dt nreg=0 [all …]
|
H A D | translate-sve.c | 4499 TCGv_i64 addr, int dtype, int nreg) in do_ld_zpa() argument 4502 = ldr_fns[s->mte_active[0]][s->be_data == MO_BE][dtype][nreg]; in do_ld_zpa() 4509 do_mem_zpa(s, zt, pg, addr, dtype, nreg + 1, false, fn); in do_ld_zpa() 4521 do_ld_zpa(s, a->rd, a->pg, addr, a->dtype, a->nreg); in trans_LD_zprr() 4537 (a->imm * elements * (a->nreg + 1)) in trans_LD_zpri() 4539 do_ld_zpa(s, a->rd, a->pg, addr, a->dtype, a->nreg); in trans_LD_zpri() 4975 int msz, int esz, int nreg) in do_st_zpa() argument 5085 if (nreg == 0) { in do_st_zpa() 5091 fn = fn_multiple[s->mte_active[0]][be][nreg - 1][msz]; in do_st_zpa() 5094 do_mem_zpa(s, zt, pg, addr, msz_dtype(s, msz), nreg + 1, true, fn); in do_st_zpa() [all …]
|
/openbmc/linux/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() 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 …]
|
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()
|
/openbmc/linux/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()
|
/openbmc/linux/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() 1029 subdir->header.nreg++; in get_subdir() 1203 links->nreg = nr_entries; in new_links() 1236 tmp_head->nreg++; in get_links() 1258 core_parent->header.nreg++; in insert_links() 1382 dir->header.nreg++; in __register_sysctl_table() 1502 if (--header->nreg) in drop_sysctl_table()
|
/openbmc/linux/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, \
|
/openbmc/linux/include/linux/ |
H A D | sysctl.h | 180 int nreg; member
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/qemu/tcg/ |
H A D | tcg.c | 1025 unsigned nreg = ARRAY_SIZE(tcg_target_call_iarg_regs); in arg_slot_reg_p() local 1026 return arg_slot < nreg; in arg_slot_reg_p()
|