• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-u300/

Lines Matching refs:status

50 	int status;
63 status = -ENOMEM;
82 status = spi_w8r8(spi, 0xAA);
83 if (status < 0)
85 "failed with status %d\n", status);
91 status = spi_write_then_read(spi, &txbuf[0], 8, &rxbuf[0], 8);
92 if (status < 0)
94 "failed with status %d\n", status);
100 status = spi_write_then_read(spi, &txbuf[0], 14, &rxbuf[0], 14);
101 if (status < 0)
102 pr_warning("Simple test 3: FAILURE: failed with status %d "
103 "(probably FIFO overrun)\n", status);
109 status = spi_write(spi, &txbuf[0], 8);
110 if (status < 0)
112 "failed with status %d\n", status);
115 status = spi_read(spi, &rxbuf[0], 8);
116 if (status < 0)
118 "failed with status %d\n", status);
124 status = spi_write(spi, &txbuf[0], 14);
125 if (status < 0)
127 "failed with status %d (probably FIFO overrun)\n",
128 status);
131 status = spi_read(spi, &rxbuf[0], 14);
132 if (status < 0)
134 "failed with status %d (probably FIFO overrun)\n",
135 status);
142 status = spi_write(spi, &bigtxbuf_virtual[0], DMA_TEST_SIZE);
143 if (status < 0)
145 "failed with status %d (probably FIFO overrun)\n",
146 status);
149 status = spi_read(spi, &bigrxbuf_virtual[0], DMA_TEST_SIZE);
150 if (status < 0)
152 "failed with status %d (probably FIFO overrun)\n",
153 status);
168 status = spi_w8r8(spi, 0xAA);
169 if (status == -EIO)
171 "status EIO)\n");
172 else if (status < 0)
174 "failed with status %d\n", status);
181 status = spi_write_then_read(spi, &txbuf[0], 8, &rxbuf[0], 8);
182 if (status < 0)
184 "failed with status %d\n", status);
190 status = spi_write_then_read(spi, &txbuf[0], 14, &rxbuf[0], 14);
191 if (status < 0)
192 pr_warning("Simple test 9: FAILURE: failed with status %d "
193 "(probably FIFO overrun)\n", status);
200 status = spi_write(spi, &bigtxbuf_virtual[0], DMA_TEST_SIZE);
201 if (status < 0)
203 "failed with status %d (probably FIFO overrun)\n",
204 status);
208 status = spi_read(spi, &bigrxbuf_virtual[0], DMA_TEST_SIZE);
209 if (status < 0)
211 "failed with status %d (probably FIFO overrun)\n",
212 status);
216 status = sprintf(buf, "loop test complete\n");
221 return status;
229 int status;
241 status = device_create_file(&spi->dev, &dev_attr_looptest);
242 if (status) {
252 return status;