Lines Matching refs:crc_val
120 __be16 crc_val;
617 t->tx_buf = &scratch->crc_val;
619 t->tx_dma = dma + offsetof(struct scratch, crc_val);
623 t->rx_buf = &scratch->crc_val;
625 t->rx_dma = dma + offsetof(struct scratch, crc_val);
681 scratch->crc_val = cpu_to_be16(
849 cp = (u8 *) &scratch->crc_val;
860 be16_to_cpus(&scratch->crc_val);
861 if (scratch->crc_val != crc) {
862 dev_dbg(&spi->dev, "read - crc error: crc_val=0x%04x, "
864 scratch->crc_val, crc, t->len);