Searched refs:bitcount (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/kernel/ |
D | sys.c | 2623 unsigned int mem_unit, bitcount; in do_sysinfo() local 2651 bitcount = 0; in do_sysinfo() 2654 bitcount++; in do_sysinfo() 2670 info->totalram <<= bitcount; in do_sysinfo() 2671 info->freeram <<= bitcount; in do_sysinfo() 2672 info->sharedram <<= bitcount; in do_sysinfo() 2673 info->bufferram <<= bitcount; in do_sysinfo() 2674 info->totalswap <<= bitcount; in do_sysinfo() 2675 info->freeswap <<= bitcount; in do_sysinfo() 2676 info->totalhigh <<= bitcount; in do_sysinfo() [all …]
|
/kernel/linux/linux-5.10/drivers/virtio/ |
D | virtio_input.c | 123 unsigned long *bits, unsigned int bitcount) in virtinput_cfg_bits() argument 132 if (bitcount > bytes * 8) in virtinput_cfg_bits() 133 bitcount = bytes * 8; in virtinput_cfg_bits() 146 for (bit = 0; bit < bitcount; bit++) { in virtinput_cfg_bits()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | arcfb.c | 450 unsigned int fbmemlength,x,y,w,h, bitppos, startpos, endpos, bitcount; in arcfb_write() local 481 bitcount = endpos - startpos; in arcfb_write() 486 h = bitcount / xres; in arcfb_write()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | inftlcore.c | 447 static int nrbits(unsigned int val, int bitcount) in nrbits() argument 451 for (i = 0; (i < bitcount); i++) in nrbits()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | mvumi.c | 771 unsigned char bitcount = sizeof(unsigned char) * 8; in mvumi_flush_cache() local 774 if (!(mhba->target_map[device_id / bitcount] & in mvumi_flush_cache() 775 (1 << (device_id % bitcount)))) in mvumi_flush_cache() 2006 unsigned char bitcount = sizeof(unsigned char) * 8; in mvumi_slave_configure() local 2012 mhba->target_map[sdev->id / bitcount] |= (1 << (sdev->id % bitcount)); in mvumi_slave_configure()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/ |
D | 3c59x.c | 504 #define BFEXT(value, offset, bitcount) \ argument 505 ((((unsigned long)(value)) >> (offset)) & ((1 << (bitcount)) - 1)) 507 #define BFINS(lhs, rhs, offset, bitcount) \ argument 508 (((lhs) & ~((((1 << (bitcount)) - 1)) << (offset))) | \ 509 (((rhs) & ((1 << (bitcount)) - 1)) << (offset)))
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | suballoc.c | 1627 unsigned int bitcount = le16_to_cpu(rec->e_leaf_clusters) * bpc; in ocfs2_bg_discontig_fix_by_rec() local 1631 if (res->sr_bit_offset >= (bitoff + bitcount)) in ocfs2_bg_discontig_fix_by_rec() 1635 if ((res->sr_bit_offset + res->sr_bits) > (bitoff + bitcount)) in ocfs2_bg_discontig_fix_by_rec() 1636 res->sr_bits = (bitoff + bitcount) - res->sr_bit_offset; in ocfs2_bg_discontig_fix_by_rec()
|
/kernel/linux/linux-5.10/drivers/crypto/axis/ |
D | artpec6_crypto.c | 1000 create_hash_pad(int oper, unsigned char *dst, u64 dgstlen, u64 bitcount) in create_hash_pad() argument 1003 __be64 bits = __cpu_to_be64(bitcount); in create_hash_pad()
|