Lines Matching refs:status
49 #define AT25_RDSR 0x05 /* read status register */
50 #define AT25_WRSR 0x01 /* write status register */
87 ssize_t status;
136 status = spi_sync(at25->spi, &m);
140 if (status)
141 return status;
157 int status;
176 status = spi_sync(at25->spi, &m);
177 dev_dbg(&at25->spi->dev, "read %d aux bytes --> %d\n", len, status);
180 return status;
203 int status = 0;
236 status = spi_write(at25->spi, cp, 1);
237 if (status < 0) {
238 dev_dbg(&at25->spi->dev, "WREN --> %d\n", status);
268 status = spi_write(at25->spi, bounce,
271 segment, offset, status);
272 if (status < 0)
280 /* Wait for non-busy status */
303 status = -ETIMEDOUT;
316 return status;
441 * Ping the chip ... the status register is pretty portable,