Searched refs:bitcount (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/pinctrl/ |
D | pinctrl-microchip-sgpio.c | 120 u32 bitcount; member 138 addr->port = pin / priv->bitcount; in sgpio_pin_to_addr() 139 addr->bit = pin % priv->bitcount; in sgpio_pin_to_addr() 144 return bit + port * priv->bitcount; in sgpio_addr_to_pin() 187 int width = priv->bitcount - 1; in sgpio_configure_bitstream() 588 gpiospec->args[1] > priv->bitcount) in microchip_sgpio_of_xlate() 769 for (bit = 0; bit < priv->bitcount; bit++) { in sgpio_irq_handler() 808 priv->bitcount = ngpios / SGPIO_BITS_PER_WORD; in microchip_sgpio_register_bank() 809 if (priv->bitcount > SGPIO_MAX_BITS) { in microchip_sgpio_register_bank()
|
/linux-6.6.21/kernel/ |
D | sys.c | 2774 unsigned int mem_unit, bitcount; in do_sysinfo() local 2802 bitcount = 0; in do_sysinfo() 2805 bitcount++; in do_sysinfo() 2821 info->totalram <<= bitcount; in do_sysinfo() 2822 info->freeram <<= bitcount; in do_sysinfo() 2823 info->sharedram <<= bitcount; in do_sysinfo() 2824 info->bufferram <<= bitcount; in do_sysinfo() 2825 info->totalswap <<= bitcount; in do_sysinfo() 2826 info->freeswap <<= bitcount; in do_sysinfo() 2827 info->totalhigh <<= bitcount; in do_sysinfo() [all …]
|
/linux-6.6.21/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-6.6.21/drivers/video/fbdev/ |
D | arcfb.c | 451 unsigned int fbmemlength,x,y,w,h, bitppos, startpos, endpos, bitcount; in arcfb_write() local 485 bitcount = endpos - startpos; in arcfb_write() 490 h = bitcount / xres; in arcfb_write()
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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()
|