Searched refs:BITS_PER_BYTE (Results 1 – 12 of 12) sorted by relevance
35 int bank = id / (reg_width * BITS_PER_BYTE); in socfpga_reset_assert()36 int offset = id % (reg_width * BITS_PER_BYTE); in socfpga_reset_assert()47 int bank = id / (reg_width * BITS_PER_BYTE); in socfpga_reset_deassert()48 int offset = id % (reg_width * BITS_PER_BYTE); in socfpga_reset_deassert()
16 #ifndef BITS_PER_BYTE17 #define BITS_PER_BYTE 8 macro21 #define BITS_PER_LONG (BITS_PER_BYTE * sizeof(long))
15 #define BITS_PER_BYTE 8 macro16 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))
196 #define BITS_PER_BYTE 8 macro197 #define BITS_TO_BYTES(x) ( ((x) + (BITS_PER_BYTE-1)) / BITS_PER_BYTE )198 #define BYTES_TO_BITS(x) ( (x) * BITS_PER_BYTE )
70 #define BITS_PER_BYTE 8 macro73 DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) 88 #undef BITS_PER_BYTE
215 #define NR_OF_BYTE_LANES (32 / BITS_PER_BYTE)217 #define LINES_PER_BYTE_LANE (BITS_PER_BYTE + 3)
281 #define BITS_PER_BYTE 8 macro1069 #define SIZE_OF_DENTRY_BITMAP ((NR_DENTRY_IN_BLOCK + BITS_PER_BYTE - 1) / \1070 BITS_PER_BYTE)1098 #define NR_INLINE_DENTRY(node) (MAX_INLINE_DATA(node) * BITS_PER_BYTE / \1100 BITS_PER_BYTE + 1))1102 BITS_PER_BYTE - 1) / BITS_PER_BYTE)
348 #define BITMAP_FIRST_BYTE_MASK(start) (0xff << ((start) & (BITS_PER_BYTE - 1)))357 tmp = addr[start / BITS_PER_BYTE] ^ invert; in _find_next_bit_le()361 start = round_down(start, BITS_PER_BYTE); in _find_next_bit_le()364 start += BITS_PER_BYTE; in _find_next_bit_le()368 tmp = addr[start / BITS_PER_BYTE] ^ invert; in _find_next_bit_le()
27 #define BITS_PER_BYTE (8) macro28 #define BITS_PER_LONG (sizeof(long) * BITS_PER_BYTE)
151 #define BITS_PER_BYTE (8) macro152 #define BITS_PER_LONG (sizeof(long) * BITS_PER_BYTE)
1031 int nid_bitmap_size = (nm_i->max_nid + BITS_PER_BYTE - 1) / BITS_PER_BYTE; in f2fs_init_nid_bitmap()
1109 bitflips += BITS_PER_BYTE - weight; in nand_check_erased_buf()1123 bitflips += BITS_PER_BYTE - weight; in nand_check_erased_buf()