Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pinctrl/
Dpinctrl-microchip-sgpio.c118 u32 bitcount; member
136 addr->port = pin / priv->bitcount; in sgpio_pin_to_addr()
137 addr->bit = pin % priv->bitcount; in sgpio_pin_to_addr()
142 return bit + port * priv->bitcount; in sgpio_addr_to_pin()
185 int width = priv->bitcount - 1; in sgpio_configure_bitstream()
586 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.1.9/kernel/
Dsys.c2658 unsigned int mem_unit, bitcount; in do_sysinfo() local
2686 bitcount = 0; in do_sysinfo()
2689 bitcount++; in do_sysinfo()
2705 info->totalram <<= bitcount; in do_sysinfo()
2706 info->freeram <<= bitcount; in do_sysinfo()
2707 info->sharedram <<= bitcount; in do_sysinfo()
2708 info->bufferram <<= bitcount; in do_sysinfo()
2709 info->totalswap <<= bitcount; in do_sysinfo()
2710 info->freeswap <<= bitcount; in do_sysinfo()
2711 info->totalhigh <<= bitcount; in do_sysinfo()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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()