Searched refs:BITS_PER_LONG (Results 51 - 75 of 558) sorted by relevance

1234567891011>>

/linux-master/arch/loongarch/include/asm/
H A Dbootinfo.h27 #define NR_WORDS DIV_ROUND_UP(NR_CPUS, BITS_PER_LONG)
/linux-master/tools/lib/
H A Dhweight.c45 #if BITS_PER_LONG == 32
48 #elif BITS_PER_LONG == 64
/linux-master/drivers/irqchip/
H A Dirq-riscv-intc.c25 static unsigned int riscv_intc_nr_irqs __ro_after_init = BITS_PER_LONG;
26 static unsigned int riscv_intc_custom_base __ro_after_init = BITS_PER_LONG;
54 if (IS_ENABLED(CONFIG_32BIT) && d->hwirq >= BITS_PER_LONG)
55 csr_clear(CSR_IEH, BIT(d->hwirq - BITS_PER_LONG));
62 if (IS_ENABLED(CONFIG_32BIT) && d->hwirq >= BITS_PER_LONG)
63 csr_set(CSR_IEH, BIT(d->hwirq - BITS_PER_LONG));
75 unsigned int mask = BIT(d->hwirq % BITS_PER_LONG);
85 unsigned int mask = BIT(d->hwirq % BITS_PER_LONG);
/linux-master/drivers/video/fbdev/core/
H A Dfb_draw.h24 #if BITS_PER_LONG == 64
79 #if BITS_PER_LONG == 64
136 if(index + bswapmask < BITS_PER_LONG)
174 #define cpu_to_le_long _cpu_to_le_long(BITS_PER_LONG)
178 #define le_long_to_cpu _le_long_to_cpu(BITS_PER_LONG)
H A Dfb_info.c24 #define BYTES_PER_LONG (BITS_PER_LONG/8)
/linux-master/net/ipv6/
H A Daddrconf_core.c223 const struct in6_addr in6addr_loopback __aligned(BITS_PER_LONG/8)
226 const struct in6_addr in6addr_any __aligned(BITS_PER_LONG/8)
229 const struct in6_addr in6addr_linklocal_allnodes __aligned(BITS_PER_LONG/8)
232 const struct in6_addr in6addr_linklocal_allrouters __aligned(BITS_PER_LONG/8)
235 const struct in6_addr in6addr_interfacelocal_allnodes __aligned(BITS_PER_LONG/8)
238 const struct in6_addr in6addr_interfacelocal_allrouters __aligned(BITS_PER_LONG/8)
241 const struct in6_addr in6addr_sitelocal_allrouters __aligned(BITS_PER_LONG/8)
/linux-master/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A Dtopaz_pcie_ipc.h49 #if BITS_PER_LONG == 64
53 #elif BITS_PER_LONG == 32
58 #error Unexpected BITS_PER_LONG value
/linux-master/include/trace/stages/
H A Dstage5_get_offsets.h99 ((BITS_PER_LONG / 8) - 1)) / (BITS_PER_LONG / 8))
107 (__bitmask_size_in_longs(nr_bits) * (BITS_PER_LONG / 8))
/linux-master/include/linux/mlx4/
H A Ddoorbell.h44 #if BITS_PER_LONG == 64
65 * BITS_PER_LONG is 32 -- there's no portable way to do atomic 64-bit
/linux-master/lib/math/
H A Dint_sqrt.c43 #if BITS_PER_LONG < 64
/linux-master/arch/x86/events/
H A Dprobe.c25 if (cnt >= BITS_PER_LONG)
/linux-master/arch/mips/include/asm/
H A Ddiv64.h14 #if BITS_PER_LONG == 32
87 #endif /* BITS_PER_LONG == 32 */
/linux-master/include/asm-generic/bitops/
H A Dle.h14 #define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7)
H A Dgeneric-non-atomic.h128 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1)));
140 return 1UL & (smp_load_acquire(p) >> (nr & (BITS_PER_LONG-1)));
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dhwcr_msr_test.c43 for (bit = 0; bit < BITS_PER_LONG; bit++)
/linux-master/arch/s390/include/asm/
H A Dword-at-a-time.h28 return (data ^ (BITS_PER_LONG - 1)) >> 3;
H A Dairq.h76 const unsigned long be_to_le = BITS_PER_LONG - 1;
82 const unsigned long be_to_le = BITS_PER_LONG - 1;
/linux-master/include/linux/mtd/
H A Dmap.h72 # if BITS_PER_LONG < 64
74 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8)
80 # define map_bankwidth_is_large(map) (BITS_PER_LONG < 64)
95 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8)
115 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8)
167 #define MAX_MAP_LONGS (((MAX_MAP_BANKWIDTH * 8) + BITS_PER_LONG - 1) / BITS_PER_LONG)
331 #if BITS_PER_LONG >= 64
367 #if BITS_PER_LONG < 64
399 #if BITS_PER_LONG >
[all...]
/linux-master/lib/
H A Dhweight.c49 #if BITS_PER_LONG == 32
52 #elif BITS_PER_LONG == 64
/linux-master/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-prng.c47 for (i = 0; i < SS_SEED_LEN / BITS_PER_LONG; i++)
57 for (i = 0; i < SS_SEED_LEN / BITS_PER_LONG; i++) {
/linux-master/drivers/mmc/host/
H A Drenesas_sdhi.h89 DECLARE_BITMAP(taps, BITS_PER_LONG);
91 DECLARE_BITMAP(smpcmp, BITS_PER_LONG);
/linux-master/arch/riscv/include/asm/
H A Dbitops.h38 #if (BITS_PER_LONG == 64)
41 #elif (BITS_PER_LONG == 32)
45 #error "Unexpected BITS_PER_LONG"
89 return BITS_PER_LONG - 1 - word;
103 (unsigned long)(BITS_PER_LONG - 1 - __builtin_clzl(word)) : \
188 #if (BITS_PER_LONG == 64)
190 #elif (BITS_PER_LONG == 32)
193 #error "Unexpected BITS_PER_LONG"
/linux-master/include/linux/
H A Dmod_devicetable.h371 kernel_ulong_t evbit[INPUT_DEVICE_ID_EV_MAX / BITS_PER_LONG + 1];
372 kernel_ulong_t keybit[INPUT_DEVICE_ID_KEY_MAX / BITS_PER_LONG + 1];
373 kernel_ulong_t relbit[INPUT_DEVICE_ID_REL_MAX / BITS_PER_LONG + 1];
374 kernel_ulong_t absbit[INPUT_DEVICE_ID_ABS_MAX / BITS_PER_LONG + 1];
375 kernel_ulong_t mscbit[INPUT_DEVICE_ID_MSC_MAX / BITS_PER_LONG + 1];
376 kernel_ulong_t ledbit[INPUT_DEVICE_ID_LED_MAX / BITS_PER_LONG + 1];
377 kernel_ulong_t sndbit[INPUT_DEVICE_ID_SND_MAX / BITS_PER_LONG + 1];
378 kernel_ulong_t ffbit[INPUT_DEVICE_ID_FF_MAX / BITS_PER_LONG + 1];
379 kernel_ulong_t swbit[INPUT_DEVICE_ID_SW_MAX / BITS_PER_LONG + 1];
380 kernel_ulong_t propbit[INPUT_DEVICE_ID_PROP_MAX / BITS_PER_LONG
[all...]
/linux-master/fs/exfat/
H A Dballoc.c14 #if BITS_PER_LONG == 32
18 #elif BITS_PER_LONG == 64
23 #error "BITS_PER_LONG not 32 or 64"
189 ent_idx = ALIGN_DOWN(CLUSTER_TO_BITMAP_ENT(clu), BITS_PER_LONG);
197 i += BITS_PER_LONG) {
209 clu_base += BITS_PER_LONG;
231 unsigned int last_mask = total_clus & (BITS_PER_LONG - 1);
235 for (i = 0; i < total_clus; i += BITS_PER_LONG) {
/linux-master/arch/riscv/kvm/
H A Daia.c23 struct kvm_vcpu *owners[BITS_PER_LONG];
251 switch (bitpos / BITS_PER_LONG) {
273 return (hviprio >> (bitpos % BITS_PER_LONG)) & TOPI_IPRIO_MASK;
284 switch (bitpos / BITS_PER_LONG) {
306 hviprio &= ~(TOPI_IPRIO_MASK << (bitpos % BITS_PER_LONG));
307 hviprio |= (unsigned long)prio << (bitpos % BITS_PER_LONG);
309 switch (bitpos / BITS_PER_LONG) {
345 nirqs = 4 * (BITS_PER_LONG / 32);
468 for_each_set_bit(i, &hgei_mask, BITS_PER_LONG) {

Completed in 240 milliseconds

1234567891011>>