Lines Matching refs:bval
540 * bval(x, n): extracts a byte from a word
551 #define bval(x, n) to_byte((x) >> (8 * (n)))
561 #define bval(x, n) to_byte((x) >> (24 - 8 * (n)))
572 #define word_out(x, c, v) { ((uint8_t *)(x) + 4 * c)[0] = bval(v, 0); \
573 ((uint8_t *)(x) + 4 * c)[1] = bval(v, 1); \
574 ((uint8_t *)(x) + 4 * c)[2] = bval(v, 2); \
575 ((uint8_t *)(x) + 4 * c)[3] = bval(v, 3); }
696 box[bval(vf(x, 0, c), rf(0, c))], \
697 box[bval(vf(x, 1, c), rf(1, c))], \
698 box[bval(vf(x, 2, c), rf(2, c))], \
699 box[bval(vf(x, 3, c), rf(3, c))])
702 (tab[bval(vf(x, 0, c), rf(0, c))] \
703 ^ op(tab[bval(vf(x, 1, c), rf(1, c))], 1) \
704 ^ op(tab[bval(vf(x, 2, c), rf(2, c))], 2) \
705 ^ op(tab[bval(vf(x, 3, c), rf(3, c))], 3))
708 (tab[0][bval(vf(x, 0, c), rf(0, c))] \
709 ^ tab[1][bval(vf(x, 1, c), rf(1, c))] \
710 ^ tab[2][bval(vf(x, 2, c), rf(2, c))] \
711 ^ tab[3][bval(vf(x, 3, c), rf(3, c))])