Lines Matching defs:asd
326 struct atmel_spi_device *asd = spi->controller_state;
336 spi_writel(as, CSR0 + 4 * chip_select, asd->csr);
340 spi_writel(as, CSR0, asd->csr);
1201 struct atmel_spi_device *asd;
1252 asd = spi->controller_state;
1253 if (!asd) {
1254 asd = kzalloc(sizeof(struct atmel_spi_device), GFP_KERNEL);
1255 if (!asd)
1258 spi->controller_state = asd;
1261 asd->csr = csr;
1297 struct atmel_spi_device *asd;
1306 asd = spi->controller_state;
1307 bits = (asd->csr >> 4) & 0xf;
1411 struct atmel_spi_device *asd = spi->controller_state;
1413 if (!asd)
1417 kfree(asd);