Searched refs:nr_bits (Results 1 - 25 of 41) sorted by path

12

/linux-master/arch/sh/boards/
H A Dboard-polaris.c70 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
H A Dboard-sh7757lcr.c36 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/linux-master/arch/sh/boards/mach-se/7206/
H A Dsetup.c53 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/linux-master/arch/sh/boards/mach-se/770x/
H A Dsetup.c97 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/linux-master/arch/sh/boards/mach-se/7721/
H A Dsetup.c21 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/linux-master/arch/sh/boards/mach-se/7751/
H A Dsetup.c23 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/linux-master/arch/sh/include/asm/
H A Dheartbeat.h12 unsigned int nr_bits; member in struct:heartbeat_data
/linux-master/arch/sh/boards/mach-ecovec24/
H A Dsetup.c93 .nr_bits = 4,
/linux-master/arch/sh/boards/mach-highlander/
H A Dsetup.c139 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/linux-master/arch/sh/drivers/
H A Dheartbeat.c67 if ((bit == 0) || (bit == (hd->nr_bits)-1))
109 if (!hd->nr_bits) {
111 hd->nr_bits = ARRAY_SIZE(default_bit_pos);
115 for (i = 0; i < hd->nr_bits; i++)
/linux-master/arch/x86/kernel/
H A Dprocess_64.c801 static int prctl_enable_tagged_addr(struct mm_struct *mm, unsigned long nr_bits) argument
822 if (!nr_bits) {
825 } else if (nr_bits <= LAM_U57_BITS) {
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_device_info.c56 const u32 nr_bits = min(bitmask_size * 64, mapping_max); local
78 for (u32 i = 0; i < nr_bits; i++) {
221 const u32 nr_bits = min(features_size * 64, mapping_max); local
239 for (u32 i = 0; i < nr_bits; i++) {
/linux-master/drivers/md/
H A Ddm-cache-metadata.c1584 static int __set_dirty_bits_v1(struct dm_cache_metadata *cmd, unsigned int nr_bits, unsigned long *bits) argument
1589 for (i = 0; i < nr_bits; i++) {
1605 static int __set_dirty_bits_v2(struct dm_cache_metadata *cmd, unsigned int nr_bits, unsigned long *bits) argument
1609 /* nr_bits is really just a sanity check */
1610 if (nr_bits != from_cblock(cmd->cache_blocks)) {
1620 return dm_bitset_new(&cmd->dirty_info, &cmd->dirty_root, nr_bits, is_dirty_callback, bits);
1624 unsigned int nr_bits,
1631 r = __set_dirty_bits_v2(cmd, nr_bits, bits);
1633 r = __set_dirty_bits_v1(cmd, nr_bits, bits);
1623 dm_cache_set_dirty_bits(struct dm_cache_metadata *cmd, unsigned int nr_bits, unsigned long *bits) argument
H A Ddm-cache-metadata.h100 unsigned int nr_bits, unsigned long *bits);
H A Ddm-clone-metadata.c468 static size_t bitmap_size(unsigned long nr_bits) argument
470 return BITS_TO_LONGS(nr_bits) * sizeof(long);
H A Ddm-era-target.c31 uint32_t nr_bits; member in struct:writeset_metadata
56 unsigned int nr_bits, dm_block_t *root)
64 return dm_bitset_resize(info, *root, 0, nr_bits, false, root);
67 static size_t bitset_size(unsigned int nr_bits) argument
69 return sizeof(unsigned long) * dm_div_up(nr_bits, BITS_PER_LONG);
96 ws->md.nr_bits = nr_blocks;
97 r = setup_on_disk_bitset(info, ws->md.nr_bits, &ws->md.root);
163 __le32 nr_bits; member in struct:writeset_disk
366 disk->nr_bits = cpu_to_le32(core->nr_bits);
55 setup_on_disk_bitset(struct dm_disk_bitset *info, unsigned int nr_bits, dm_block_t *root) argument
683 unsigned int nr_bits, current_bit; member in struct:digest
[all...]
H A Ddm-zoned-metadata.c2369 * Set @nr_bits bits in @bitmap starting from @bit.
2373 unsigned int bit, unsigned int nr_bits)
2376 unsigned int end = bit + nr_bits;
2482 unsigned int count, bit, nr_bits; local
2501 nr_bits = min(nr_blocks, zmd->zone_bits_per_mblk - bit);
2503 count = dmz_set_bits((unsigned long *)mblk->data, bit, nr_bits);
2510 nr_blocks -= nr_bits;
2511 chunk_block += nr_bits;
2527 * Clear nr_bits bits in bitmap starting from bit.
2530 static int dmz_clear_bits(unsigned long *bitmap, int bit, int nr_bits) argument
2372 dmz_set_bits(unsigned long *bitmap, unsigned int bit, unsigned int nr_bits) argument
2563 unsigned int count, bit, nr_bits; local
2639 unsigned int bit, set_bit, nr_bits; local
2718 dmz_count_bits(void *bitmap, int bit, int nr_bits) argument
2750 unsigned int bit, nr_bits; local
[all...]
/linux-master/drivers/md/persistent-data/
H A Ddm-bitset.c45 unsigned int nr_bits; member in struct:packer_context
53 unsigned int bit, nr = min(64u, p->nr_bits - (index * 64));
79 p.nr_bits = size;
/linux-master/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c2739 u32 nr_bits = 0; local
2823 nr_bits = 8;
2826 nr_bits = 7;
2829 nr_bits = 6;
2832 nr_bits = 5;
2835 nr_bits = 4;
2840 /* max_bit_rate = symbol_rate * nr_bits * coef */
2843 (ext_attr->curr_symbol_rate / 8) * nr_bits * 188;
/linux-master/drivers/memory/
H A Domap-gpmc.c447 int nr_bits; local
452 nr_bits = end_bit - st_bit + 1;
453 mask = (1 << nr_bits) - 1;
616 int ticks, mask, nr_bits; local
622 nr_bits = end_bit - st_bit + 1;
623 mask = (1 << nr_bits) - 1;
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c85 u8 nr_bits, int start_kwi, int offset, u8 intf)
101 if (offset + nr_bits <= 64) {
105 field->kw_mask[start_kwi] |= GENMASK_ULL(nr_bits - 1, 0)
108 } else if (offset + nr_bits > 64 &&
109 offset + nr_bits <= 128) {
118 bits_in_kw = nr_bits + offset - 64;
132 bits_in_kw = nr_bits + offset - 128;
204 u8 nr_bits, lid, lt, ld; local
231 nr_bits = dummy->layer_mdata.len * 8;
233 npc_set_kw_masks(mcam, NPC_UNKNOWN, nr_bits,
84 npc_set_kw_masks(struct npc_mcam *mcam, u8 type, u8 nr_bits, int start_kwi, int offset, u8 intf) argument
261 u8 nr_bits = 4; /* bits in a nibble */ local
280 u8 nr_bits = 4; /* bits in a nibble */ local
[all...]
/linux-master/fs/bcachefs/
H A Dutil.c244 void bch2_prt_u64_base2_nbits(struct printbuf *out, u64 v, unsigned nr_bits) argument
246 while (nr_bits)
247 prt_char(out, '0' + ((v >> --nr_bits) & 1));
/linux-master/fs/btrfs/
H A Dsubpage.c92 unsigned int nr_bits; local
96 nr_bits = PAGE_SIZE / sectorsize;
97 subpage_info->bitmap_nr_bits = nr_bits;
100 cur += nr_bits;
103 cur += nr_bits;
106 cur += nr_bits;
109 cur += nr_bits;
112 cur += nr_bits;
115 cur += nr_bits;
/linux-master/include/linux/
H A Dnetdevice.h3723 * @nr_bits: number of bits in the bitmask
3729 unsigned int nr_bits)
3731 cpu_max_bits_warn(j, nr_bits);
3739 * @nr_bits: number of bits in the bitmask
3745 unsigned int nr_bits)
3747 cpu_max_bits_warn(j, nr_bits);
3752 return (j < nr_bits);
3759 * @nr_bits: number of bits in the bitmask
3761 * Returns >= nr_bits if no further CPUs/Rx queues set.
3764 unsigned int nr_bits)
3727 netif_attr_test_mask(unsigned long j, const unsigned long *mask, unsigned int nr_bits) argument
3743 netif_attr_test_online(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits) argument
3763 netif_attrmask_next(int n, const unsigned long *srcp, unsigned int nr_bits) argument
3785 netif_attrmask_next_and(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits) argument
[all...]
/linux-master/include/trace/stages/
H A Dstage1_struct_define.h33 #define __bitmask(item, nr_bits) __dynamic_array(char, item, -1)
51 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(char, item, -1)

Completed in 401 milliseconds

12