Lines Matching defs:as
301 static bool atmel_spi_is_v2(struct atmel_spi *as) in atmel_spi_is_v2()
324 static void cs_activate(struct atmel_spi *as, struct spi_device *spi) in cs_activate()
376 static void cs_deactivate(struct atmel_spi *as, struct spi_device *spi) in cs_deactivate()
401 static void atmel_spi_lock(struct atmel_spi *as) __acquires(&as->lock) in atmel_spi_lock()
406 static void atmel_spi_unlock(struct atmel_spi *as) __releases(&as->lock) in atmel_spi_unlock()
416 static inline bool atmel_spi_use_dma(struct atmel_spi *as, in atmel_spi_use_dma()
426 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_can_dma() local
436 static int atmel_spi_dma_slave_config(struct atmel_spi *as, u8 bits_per_word) in atmel_spi_dma_slave_config()
494 struct atmel_spi *as) in atmel_spi_configure_dma()
561 struct atmel_spi *as = spi_controller_get_devdata(host); in dma_callback() local
577 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_single() local
609 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_fifo() local
679 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_pio() local
694 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_next_xfer_dma_submit() local
795 static int atmel_spi_set_xfer_speed(struct atmel_spi *as, in atmel_spi_set_xfer_speed()
850 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_pdc_next_xfer() local
916 atmel_spi_dma_map_xfer(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_dma_map_xfer()
958 static void atmel_spi_disable_pdc_transfer(struct atmel_spi *as) in atmel_spi_disable_pdc_transfer()
964 atmel_spi_pump_single_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_single_data()
988 atmel_spi_pump_fifo_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_fifo_data()
1028 atmel_spi_pump_pio_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_pio_data()
1043 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_pio_interrupt() local
1101 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_pdc_interrupt() local
1134 static int atmel_word_delay_csr(struct spi_device *spi, struct atmel_spi *as) in atmel_word_delay_csr()
1152 static void initialize_native_cs_for_gpio(struct atmel_spi *as) in initialize_native_cs_for_gpio()
1182 struct atmel_spi *as; in atmel_spi_setup() local
1257 struct atmel_spi *as = spi_controller_get_devdata(spi->controller); in atmel_spi_set_cs() local
1276 struct atmel_spi *as; in atmel_spi_one_transfer() local
1399 static inline unsigned int atmel_get_version(struct atmel_spi *as) in atmel_get_version()
1404 static void atmel_get_caps(struct atmel_spi *as) in atmel_get_caps()
1416 static void atmel_spi_init(struct atmel_spi *as) in atmel_spi_init()
1444 struct atmel_spi *as; in atmel_spi_probe() local
1602 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_remove() local
1637 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_runtime_suspend() local
1648 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_runtime_resume() local
1674 struct atmel_spi *as = spi_controller_get_devdata(host); in atmel_spi_resume() local