Lines Matching defs:as
317 static bool atmel_spi_is_v2(struct atmel_spi *as) in atmel_spi_is_v2()
328 static void atmel_spi_send_dummy(struct atmel_spi *as, struct spi_device *spi, int chip_select) in atmel_spi_send_dummy()
382 static void cs_activate(struct atmel_spi *as, struct spi_device *spi) in cs_activate()
454 static void cs_deactivate(struct atmel_spi *as, struct spi_device *spi) in cs_deactivate()
479 static void atmel_spi_lock(struct atmel_spi *as) __acquires(&as->lock) in atmel_spi_lock()
484 static void atmel_spi_unlock(struct atmel_spi *as) __releases(&as->lock) in atmel_spi_unlock()
494 static inline bool atmel_spi_use_dma(struct atmel_spi *as, in atmel_spi_use_dma()
504 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_can_dma() local
514 static int atmel_spi_dma_slave_config(struct atmel_spi *as, u8 bits_per_word) in atmel_spi_dma_slave_config()
572 struct atmel_spi *as) in atmel_spi_configure_dma()
639 struct atmel_spi *as = spi_controller_get_devdata(host); in dma_callback() local
655 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_single() local
687 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_fifo() local
757 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_pio() local
772 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_dma_submit() local
873 static int atmel_spi_set_xfer_speed(struct atmel_spi *as, in atmel_spi_set_xfer_speed()
928 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_pdc_next_xfer() local
992 atmel_spi_dma_map_xfer(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_dma_map_xfer()
1034 static void atmel_spi_disable_pdc_transfer(struct atmel_spi *as) in atmel_spi_disable_pdc_transfer()
1040 atmel_spi_pump_single_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_single_data()
1064 atmel_spi_pump_fifo_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_fifo_data()
1104 atmel_spi_pump_pio_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_pio_data()
1119 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_pio_interrupt() local
1177 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_pdc_interrupt() local
1210 static int atmel_word_delay_csr(struct spi_device *spi, struct atmel_spi *as) in atmel_word_delay_csr()
1228 static void initialize_native_cs_for_gpio(struct atmel_spi *as) in initialize_native_cs_for_gpio()
1258 struct atmel_spi *as; in atmel_spi_setup() local
1333 struct atmel_spi *as = spi_controller_get_devdata(spi->controller); in atmel_spi_set_cs() local
1352 struct atmel_spi *as; in atmel_spi_one_transfer() local
1474 static inline unsigned int atmel_get_version(struct atmel_spi *as) in atmel_get_version()
1479 static void atmel_get_caps(struct atmel_spi *as) in atmel_get_caps()
1491 static void atmel_spi_init(struct atmel_spi *as) in atmel_spi_init()
1519 struct atmel_spi *as; in atmel_spi_probe() local
1673 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_remove() local
1706 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_runtime_suspend() local
1717 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_runtime_resume() local
1743 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_resume() local