Home
last modified time | relevance | path

Searched refs:bitcount (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/drivers/pinctrl/
Dpinctrl-microchip-sgpio.c117 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/
Dsys.c2653 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/
Dvirtio_input.c139 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/
Darcfb.c450 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/
Dinftlcore.c447 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/
Dmvumi.c771 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/
D3c59x.c504 #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/
Dsuballoc.c1625 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/
Dartpec6_crypto.c1001 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()