Lines Matching +full:0 +full:xe000
15 #define AD714x_SPI_CMD_PREFIX 0xE000 /* bits 15:11 */
28 memset(xfer, 0, sizeof(xfer)); in ad714x_spi_read()
30 chip->xfer_buf[0] = cpu_to_be16(AD714x_SPI_CMD_PREFIX | in ad714x_spi_read()
32 xfer[0].tx_buf = &chip->xfer_buf[0]; in ad714x_spi_read()
33 xfer[0].len = sizeof(chip->xfer_buf[0]); in ad714x_spi_read()
34 spi_message_add_tail(&xfer[0], &message); in ad714x_spi_read()
46 for (i = 0; i < len; i++) in ad714x_spi_read()
49 return 0; in ad714x_spi_read()
58 chip->xfer_buf[0] = cpu_to_be16(AD714x_SPI_CMD_PREFIX | reg); in ad714x_spi_write()
68 return 0; in ad714x_spi_write()
78 if (err < 0) in ad714x_spi_probe()
88 return 0; in ad714x_spi_probe()