Searched refs:bitcount (Results 1 – 8 of 8) sorted by relevance
119 u32 bitcount; member137 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()
142 unsigned long *bits, unsigned int bitcount) in virtinput_cfg_bits() argument151 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()
240 const __be64 bitcount = cpu_to_be64((__u64)len * 8); in libbpf_sha256() local250 memcpy(&final_data[final_len - 8], &bitcount, 8); in libbpf_sha256()
410 unsigned int bitppos, startpos, endpos, bitcount; in arcfb_damage_range() local416 bitcount = endpos - startpos; in arcfb_damage_range()421 height = bitcount / xres; in arcfb_damage_range()
173 u64 bitcount = ctx->bytecount << 3; in __md5_final() local183 *(__le64 *)&ctx->buf[MD5_BLOCK_SIZE - 8] = cpu_to_le64(bitcount); in __md5_final()
221 u64 bitcount = ctx->bytecount << 3; in __sha256_final() local 231 *(__be64 *)&ctx->buf[SHA256_BLOCK_SIZE - 8] = cpu_to_be64(bitcount); in __sha256_final()
447 static int nrbits(unsigned int val, int bitcount) in nrbits() argument451 for (i = 0; (i < bitcount); i++) in nrbits()
771 unsigned char bitcount = sizeof(unsigned char) * 8; in mvumi_flush_cache() local774 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() local2012 mhba->target_map[sdev->id / bitcount] |= (1 << (sdev->id % bitcount)); in mvumi_sdev_configure()