Lines Matching refs:rx_block
39 static int verify_buf(int16_t *rx_block, int att) in verify_buf() argument
53 } while (rx_block[2 * offset] != data_l[0] >> att); in verify_buf()
58 rx_block += 2 * offset; in verify_buf()
63 if (rx_block[2 * i] != data_l[i] >> att) { in verify_buf()
66 att, i, data_l[i] >> att, rx_block[2 * i]); in verify_buf()
69 if (rx_block[2 * i + 1] != data_r[i] >> att) { in verify_buf()
72 att, i, data_r[i] >> att, rx_block[2 * i + 1]); in verify_buf()
88 int verify_buf_const(int16_t *rx_block, int16_t val_l, int16_t val_r) in verify_buf_const() argument
91 if (rx_block[2 * i] != val_l) { in verify_buf_const()
94 i, val_l, rx_block[2 * i]); in verify_buf_const()
97 if (rx_block[2 * i + 1] != val_r) { in verify_buf_const()
100 i, val_r, rx_block[2 * i + 1]); in verify_buf_const()
133 char rx_block[BLOCK_SIZE]; in rx_block_read_slab() local
137 ret = i2s_buf_read(dev_i2s, rx_block, &rx_size); in rx_block_read_slab()
142 ret = verify_buf((uint16_t *)rx_block, att); in rx_block_read_slab()