Lines Matching refs:atmel_spi

251 struct atmel_spi {
317 static bool atmel_spi_is_v2(struct atmel_spi *as)
328 static void atmel_spi_send_dummy(struct atmel_spi *as, struct spi_device *spi, int chip_select)
382 static void cs_activate(struct atmel_spi *as, struct spi_device *spi)
454 static void cs_deactivate(struct atmel_spi *as, struct spi_device *spi)
479 static void atmel_spi_lock(struct atmel_spi *as) __acquires(&as->lock)
484 static void atmel_spi_unlock(struct atmel_spi *as) __releases(&as->lock)
494 static inline bool atmel_spi_use_dma(struct atmel_spi *as,
504 struct atmel_spi *as = spi_controller_get_devdata(host);
514 static int atmel_spi_dma_slave_config(struct atmel_spi *as, u8 bits_per_word)
572 struct atmel_spi *as)
639 struct atmel_spi *as = spi_controller_get_devdata(host);
655 struct atmel_spi *as = spi_controller_get_devdata(host);
687 struct atmel_spi *as = spi_controller_get_devdata(host);
757 struct atmel_spi *as = spi_controller_get_devdata(host);
772 struct atmel_spi *as = spi_controller_get_devdata(host);
873 static int atmel_spi_set_xfer_speed(struct atmel_spi *as,
928 struct atmel_spi *as = spi_controller_get_devdata(host);
992 atmel_spi_dma_map_xfer(struct atmel_spi *as, struct spi_transfer *xfer)
1034 static void atmel_spi_disable_pdc_transfer(struct atmel_spi *as)
1040 atmel_spi_pump_single_data(struct atmel_spi *as, struct spi_transfer *xfer)
1064 atmel_spi_pump_fifo_data(struct atmel_spi *as, struct spi_transfer *xfer)
1104 atmel_spi_pump_pio_data(struct atmel_spi *as, struct spi_transfer *xfer)
1119 struct atmel_spi *as = spi_controller_get_devdata(host);
1177 struct atmel_spi *as = spi_controller_get_devdata(host);
1210 static int atmel_word_delay_csr(struct spi_device *spi, struct atmel_spi *as)
1228 static void initialize_native_cs_for_gpio(struct atmel_spi *as)
1258 struct atmel_spi *as;
1333 struct atmel_spi *as = spi_controller_get_devdata(spi->controller);
1352 struct atmel_spi *as;
1474 static inline unsigned int atmel_get_version(struct atmel_spi *as)
1479 static void atmel_get_caps(struct atmel_spi *as)
1491 static void atmel_spi_init(struct atmel_spi *as)
1519 struct atmel_spi *as;
1673 struct atmel_spi *as = spi_controller_get_devdata(host);
1706 struct atmel_spi *as = spi_controller_get_devdata(host);
1717 struct atmel_spi *as = spi_controller_get_devdata(host);
1743 struct atmel_spi *as = spi_controller_get_devdata(host);
1779 .name = "atmel_spi",
1791 MODULE_ALIAS("platform:atmel_spi");