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

/linux-master/drivers/virtio/
H A Dvirtio_input.c139 unsigned long *bits, unsigned int bitcount)
148 if (bitcount > bytes * 8)
149 bitcount = bytes * 8;
162 for (bit = 0; bit < bitcount; bit++) {
138 virtinput_cfg_bits(struct virtio_input *vi, int select, int subsel, unsigned long *bits, unsigned int bitcount) argument
/linux-master/drivers/pinctrl/
H A Dpinctrl-microchip-sgpio.c120 u32 bitcount; member in struct:sgpio_priv
138 addr->port = pin / priv->bitcount;
139 addr->bit = pin % priv->bitcount;
144 return bit + port * priv->bitcount;
187 int width = priv->bitcount - 1;
588 gpiospec->args[1] > priv->bitcount)
769 for (bit = 0; bit < priv->bitcount; bit++) {
808 priv->bitcount = ngpios / SGPIO_BITS_PER_WORD;
809 if (priv->bitcount > SGPIO_MAX_BITS) {
/linux-master/kernel/
H A Dsys.c2790 unsigned int mem_unit, bitcount; local
2818 bitcount = 0;
2821 bitcount++;
2837 info->totalram <<= bitcount;
2838 info->freeram <<= bitcount;
2839 info->sharedram <<= bitcount;
2840 info->bufferram <<= bitcount;
2841 info->totalswap <<= bitcount;
2842 info->freeswap <<= bitcount;
2843 info->totalhigh <<= bitcount;
2891 int bitcount = 0; local
[all...]
/linux-master/drivers/video/fbdev/
H A Darcfb.c410 unsigned int bitppos, startpos, endpos, bitcount; local
416 bitcount = endpos - startpos;
421 height = bitcount / xres;
/linux-master/drivers/scsi/
H A Dmvumi.c771 unsigned char bitcount = sizeof(unsigned char) * 8; local
774 if (!(mhba->target_map[device_id / bitcount] &
775 (1 << (device_id % bitcount))))
2006 unsigned char bitcount = sizeof(unsigned char) * 8; local
2012 mhba->target_map[sdev->id / bitcount] |= (1 << (sdev->id % bitcount));
/linux-master/drivers/mtd/
H A Dinftlcore.c447 static int nrbits(unsigned int val, int bitcount) argument
451 for (i = 0; (i < bitcount); i++)
/linux-master/fs/ocfs2/
H A Dsuballoc.c1625 unsigned int bitcount = le16_to_cpu(rec->e_leaf_clusters) * bpc; local
1629 if (res->sr_bit_offset >= (bitoff + bitcount))
1633 if ((res->sr_bit_offset + res->sr_bits) > (bitoff + bitcount))
1634 res->sr_bits = (bitoff + bitcount) - res->sr_bit_offset;
/linux-master/drivers/net/ethernet/3com/
H A D3c59x.c504 #define BFEXT(value, offset, bitcount) \
505 ((((unsigned long)(value)) >> (offset)) & ((1 << (bitcount)) - 1))
507 #define BFINS(lhs, rhs, offset, bitcount) \
508 (((lhs) & ~((((1 << (bitcount)) - 1)) << (offset))) | \
509 (((rhs) & ((1 << (bitcount)) - 1)) << (offset)))
/linux-master/drivers/crypto/axis/
H A Dartpec6_crypto.c996 * @bitcount: The total length of the digest in bits
1001 create_hash_pad(int oper, unsigned char *dst, u64 dgstlen, u64 bitcount) argument
1004 __be64 bits = __cpu_to_be64(bitcount);

Completed in 341 milliseconds