Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/
H A Dpinctrl-microchip-sgpio.c119 u32 bitcount; member
137 addr->port = pin / priv->bitcount; in sgpio_pin_to_addr()
138 addr->bit = pin % priv->bitcount; in sgpio_pin_to_addr()
143 return bit + port * priv->bitcount; in sgpio_addr_to_pin()
186 int width = priv->bitcount - 1; in sgpio_configure_bitstream()
585 gpiospec->args[1] > priv->bitcount) in microchip_sgpio_of_xlate()
766 for (bit = 0; bit < priv->bitcount; bit++) { in sgpio_irq_handler()
805 priv->bitcount = ngpios / SGPIO_BITS_PER_WORD; in microchip_sgpio_register_bank()
806 if (priv->bitcount > SGPIO_MAX_BITS) { in microchip_sgpio_register_bank()
/linux/drivers/virtio/
H A Dvirtio_input.c142 unsigned long *bits, unsigned int bitcount) in virtinput_cfg_bits() argument
151 if (bitcount > bytes * 8) in virtinput_cfg_bits()
152 bitcount = bytes * 8; in virtinput_cfg_bits()
165 for (bit = 0; bit < bitcount; bit++) { in virtinput_cfg_bits()
/linux/tools/lib/bpf/
H A Dlibbpf_utils.c240 const __be64 bitcount = cpu_to_be64((__u64)len * 8); in libbpf_sha256() local
250 memcpy(&final_data[final_len - 8], &bitcount, 8); in libbpf_sha256()
/linux/drivers/video/fbdev/
H A Darcfb.c410 unsigned int bitppos, startpos, endpos, bitcount; in arcfb_damage_range() local
416 bitcount = endpos - startpos; in arcfb_damage_range()
421 height = bitcount / xres; in arcfb_damage_range()
/linux/lib/crypto/
H A Dmd5.c173 u64 bitcount = ctx->bytecount << 3; in __md5_final() local
183 *(__le64 *)&ctx->buf[MD5_BLOCK_SIZE - 8] = cpu_to_le64(bitcount); in __md5_final()
H A Dsha256.c221 u64 bitcount = ctx->bytecount << 3; in __sha256_final() local
231 *(__be64 *)&ctx->buf[SHA256_BLOCK_SIZE - 8] = cpu_to_be64(bitcount); in __sha256_final()
/linux/drivers/mtd/
H A Dinftlcore.c447 static int nrbits(unsigned int val, int bitcount) in nrbits() argument
451 for (i = 0; (i < bitcount); i++) in nrbits()
/linux/drivers/scsi/
H A 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_sdev_configure() local
2012 mhba->target_map[sdev->id / bitcount] |= (1 << (sdev->id % bitcount)); in mvumi_sdev_configure()