Home
last modified time | relevance | path

Searched refs:nbits (Results 1 – 11 of 11) sorted by relevance

/arch/ia64/mm/
Dtlb.c241 unsigned long end, unsigned long nbits) in ia64_global_tlb_purge() argument
264 ia64_ptcga(start, (nbits << 2)); in ia64_global_tlb_purge()
266 start += (1UL << nbits); in ia64_global_tlb_purge()
306 unsigned long nbits; in flush_tlb_range() local
315 nbits = ia64_fls(size + 0xfff); in flush_tlb_range()
316 while (unlikely (((1UL << nbits) & purge.mask) == 0) && in flush_tlb_range()
317 (nbits < purge.max_bits)) in flush_tlb_range()
318 ++nbits; in flush_tlb_range()
319 if (nbits > purge.max_bits) in flush_tlb_range()
320 nbits = purge.max_bits; in flush_tlb_range()
[all …]
/arch/c6x/platforms/
Ddscr.c74 u8 nbits; /* number of bits per device */ member
92 u8 nbits; /* number of bits per device */ member
212 ctl_shift = ctl->shift + ctl->nbits * (id - ctl->start_id); in dscr_set_devstate()
213 ctl_mask = ((1 << ctl->nbits) - 1) << ctl_shift; in dscr_set_devstate()
241 ctl_shift = stat->shift + stat->nbits * (id - stat->start_id); in dscr_set_devstate()
251 val &= ((1 << stat->nbits) - 1); in dscr_set_devstate()
494 r->nbits = be32_to_cpup(p++); in dscr_parse_devstate_ctl_regs()
548 r->nbits = be32_to_cpup(p++); in dscr_parse_devstate_stat_regs()
/arch/tile/include/asm/
Dsmp.h129 int nbits) in __cpulist_parse_crop() argument
131 return bitmap_parselist_crop(buf, cpumask_bits(dstp), nbits); in __cpulist_parse_crop()
/arch/ia64/sn/kernel/sn2/
Dsn2_smp.c165 unsigned long end, unsigned long nbits) in sn2_global_tlb_purge() argument
198 ia64_ptcl(start, nbits << 2); in sn2_global_tlb_purge()
199 start += (1UL << nbits); in sn2_global_tlb_purge()
230 (nbits << SH1_PTC_0_PS_SHFT) | in sn2_global_tlb_purge()
237 (nbits << SH2_PTC_PS_SHFT) | in sn2_global_tlb_purge()
276 ia64_ptcga(start, nbits << 2); in sn2_global_tlb_purge()
297 start += (1UL << nbits); in sn2_global_tlb_purge()
/arch/x86/include/asm/uv/
Duv_bau.h718 int nbits) in bau_uvhubs_clear() argument
720 bitmap_zero(&dstp->bits[0], nbits); in bau_uvhubs_clear()
728 static inline void bau_cpubits_clear(struct bau_local_cpumask *dstp, int nbits) in bau_cpubits_clear() argument
730 bitmap_zero(&dstp->bits, nbits); in bau_cpubits_clear()
/arch/parisc/include/asm/
Dirq.h40 extern int txn_alloc_irq(unsigned int nbits);
/arch/parisc/math-emu/
Ddriver.c82 extern void printbinary(unsigned long x, int nbits); in handle_fpe()
/arch/x86/kernel/
Daperture_64.c138 int nbits; in read_agp() local
157 nbits = hweight16(apsize); in read_agp()
158 *order = 7 - nbits; in read_agp()
/arch/ia64/kernel/
Dptrace.c49 #define MASK(nbits) ((1UL << (nbits)) - 1) /* mask with NBITS bits set */ argument
79 unsigned long nbits = (last - first + 1); \ in ia64_get_scratch_nat_bits()
80 unsigned long mask = MASK(nbits) << first; \ in ia64_get_scratch_nat_bits()
118 unsigned long nbits = (last - first + 1); \ in ia64_put_scratch_nat_bits()
119 unsigned long mask = MASK(nbits) << first; \ in ia64_put_scratch_nat_bits()
256 long num_regs, nbits; in get_rnat() local
264 nbits = ia64_rse_num_regs(urnat_addr - 63, urbs_end); in get_rnat()
266 nbits = 63; in get_rnat()
267 mask = MASK(nbits); in get_rnat()
315 long num_regs, nbits; in put_rnat() local
[all …]
/arch/parisc/kernel/
Dtraps.c55 static int printbinary(char *buf, unsigned long x, int nbits) in printbinary() argument
57 unsigned long mask = 1UL << (nbits - 1); in printbinary()
64 return nbits; in printbinary()
/arch/ia64/kvm/
Dvcpu.h287 #define CLEARLSB(ppn, nbits) (((ppn) >> (nbits)) << (nbits)) argument