Lines Matching refs:status
38 #define AT25_RDSR 0x05 /* read status register */
39 #define AT25_WRSR 0x01 /* write status register */
69 ssize_t status;
121 status = spi_sync(at25->spi, &m);
123 count, offset, status);
126 return status;
133 int status = 0;
165 status = spi_write(at25->spi, cp, 1);
166 if (status < 0) {
167 dev_dbg(&at25->spi->dev, "WREN --> %d\n", status);
195 status = spi_write(at25->spi, bounce,
198 segment, offset, status);
199 if (status < 0)
206 /* Wait for non-busy status */
229 status = -ETIMEDOUT;
242 return status;
331 /* Ping the chip ... the status register is pretty portable,