Searched refs:bitcount (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/drivers/pinctrl/ |
D | pinctrl-microchip-sgpio.c | 117 u32 bitcount; member 135 addr->port = pin / priv->bitcount; in sgpio_pin_to_addr() 136 addr->bit = pin % priv->bitcount; in sgpio_pin_to_addr() 141 return bit + port * priv->bitcount; in sgpio_addr_to_pin() 184 int width = priv->bitcount - 1; in sgpio_configure_bitstream() 585 gpiospec->args[1] > priv->bitcount) in microchip_sgpio_of_xlate() 768 for (bit = 0; bit < priv->bitcount; bit++) { in sgpio_irq_handler() 807 priv->bitcount = ngpios / SGPIO_BITS_PER_WORD; in microchip_sgpio_register_bank() 808 if (priv->bitcount > SGPIO_MAX_BITS) { in microchip_sgpio_register_bank()
|
/linux-5.19.10/kernel/ |
D | sys.c | 2653 unsigned int mem_unit, bitcount; in do_sysinfo() local 2681 bitcount = 0; in do_sysinfo() 2684 bitcount++; in do_sysinfo() 2700 info->totalram <<= bitcount; in do_sysinfo() 2701 info->freeram <<= bitcount; in do_sysinfo() 2702 info->sharedram <<= bitcount; in do_sysinfo() 2703 info->bufferram <<= bitcount; in do_sysinfo() 2704 info->totalswap <<= bitcount; in do_sysinfo() 2705 info->freeswap <<= bitcount; in do_sysinfo() 2706 info->totalhigh <<= bitcount; in do_sysinfo() [all …]
|
/linux-5.19.10/drivers/virtio/ |
D | virtio_input.c | 139 unsigned long *bits, unsigned int bitcount) in virtinput_cfg_bits() argument 148 if (bitcount > bytes * 8) in virtinput_cfg_bits() 149 bitcount = bytes * 8; in virtinput_cfg_bits() 162 for (bit = 0; bit < bitcount; bit++) { in virtinput_cfg_bits()
|
/linux-5.19.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()
|
/linux-5.19.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()
|
/linux-5.19.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()
|
/linux-5.19.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)))
|
/linux-5.19.10/fs/ocfs2/ |
D | suballoc.c | 1625 unsigned int bitcount = le16_to_cpu(rec->e_leaf_clusters) * bpc; in ocfs2_bg_discontig_fix_by_rec() local 1629 if (res->sr_bit_offset >= (bitoff + bitcount)) in ocfs2_bg_discontig_fix_by_rec() 1633 if ((res->sr_bit_offset + res->sr_bits) > (bitoff + bitcount)) in ocfs2_bg_discontig_fix_by_rec() 1634 res->sr_bits = (bitoff + bitcount) - res->sr_bit_offset; in ocfs2_bg_discontig_fix_by_rec()
|
/linux-5.19.10/drivers/crypto/axis/ |
D | artpec6_crypto.c | 1001 create_hash_pad(int oper, unsigned char *dst, u64 dgstlen, u64 bitcount) in create_hash_pad() argument 1004 __be64 bits = __cpu_to_be64(bitcount); in create_hash_pad()
|