Lines Matching defs:asd
387 struct atmel_spi_device *asd = spi->controller_state;
398 spi_writel(as, CSR0 + 4 * chip_select, asd->csr);
402 spi_writel(as, CSR0, asd->csr);
424 new_polarity = (asd->csr & SPI_BIT(CPOL)) != 0;
1264 struct atmel_spi_device *asd;
1315 asd = spi->controller_state;
1316 if (!asd) {
1317 asd = kzalloc(sizeof(struct atmel_spi_device), GFP_KERNEL);
1318 if (!asd)
1321 spi->controller_state = asd;
1324 asd->csr = csr;
1360 struct atmel_spi_device *asd;
1368 asd = spi->controller_state;
1369 bits = (asd->csr >> 4) & 0xf;
1472 struct atmel_spi_device *asd = spi->controller_state;
1474 if (!asd)
1478 kfree(asd);