Lines Matching defs:as

320 static bool atmel_spi_is_v2(struct atmel_spi *as)  in atmel_spi_is_v2()
331 static void atmel_spi_send_dummy(struct atmel_spi *as, struct spi_device *spi, int chip_select) in atmel_spi_send_dummy()
385 static void cs_activate(struct atmel_spi *as, struct spi_device *spi) in cs_activate()
457 static void cs_deactivate(struct atmel_spi *as, struct spi_device *spi) in cs_deactivate()
482 static void atmel_spi_lock(struct atmel_spi *as) __acquires(&as->lock) in atmel_spi_lock()
487 static void atmel_spi_unlock(struct atmel_spi *as) __releases(&as->lock) in atmel_spi_unlock()
497 static inline bool atmel_spi_use_dma(struct atmel_spi *as, in atmel_spi_use_dma()
507 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_can_dma() local
517 static int atmel_spi_dma_slave_config(struct atmel_spi *as, u8 bits_per_word) in atmel_spi_dma_slave_config()
575 struct atmel_spi *as) in atmel_spi_configure_dma()
642 struct atmel_spi *as = spi_controller_get_devdata(host); in dma_callback() local
658 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_single() local
690 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_fifo() local
760 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_pio() local
775 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_dma_submit() local
876 static int atmel_spi_set_xfer_speed(struct atmel_spi *as, in atmel_spi_set_xfer_speed()
931 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_pdc_next_xfer() local
997 atmel_spi_dma_map_xfer(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_dma_map_xfer()
1039 static void atmel_spi_disable_pdc_transfer(struct atmel_spi *as) in atmel_spi_disable_pdc_transfer()
1045 atmel_spi_pump_single_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_single_data()
1069 atmel_spi_pump_fifo_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_fifo_data()
1109 atmel_spi_pump_pio_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_pio_data()
1124 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_pio_interrupt() local
1182 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_pdc_interrupt() local
1215 static int atmel_word_delay_csr(struct spi_device *spi, struct atmel_spi *as) in atmel_word_delay_csr()
1233 static void initialize_native_cs_for_gpio(struct atmel_spi *as) in initialize_native_cs_for_gpio()
1263 struct atmel_spi *as; in atmel_spi_setup() local
1338 struct atmel_spi *as = spi_controller_get_devdata(spi->controller); in atmel_spi_set_cs() local
1357 struct atmel_spi *as; in atmel_spi_one_transfer() local
1481 static inline unsigned int atmel_get_version(struct atmel_spi *as) in atmel_get_version()
1486 static void atmel_get_caps(struct atmel_spi *as) in atmel_get_caps()
1498 static void atmel_spi_init(struct atmel_spi *as) in atmel_spi_init()
1526 struct atmel_spi *as; in atmel_spi_probe() local
1680 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_remove() local
1713 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_runtime_suspend() local
1724 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_runtime_resume() local
1750 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_resume() local