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_master_get_devdata(master); in atmel_spi_can_dma() local
436 static int atmel_spi_dma_slave_config(struct atmel_spi *as, in atmel_spi_dma_slave_config()
497 struct atmel_spi *as) in atmel_spi_configure_dma()
565 struct atmel_spi *as = spi_master_get_devdata(master); in dma_callback() local
581 struct atmel_spi *as = spi_master_get_devdata(master); in atmel_spi_next_xfer_single() local
613 struct atmel_spi *as = spi_master_get_devdata(master); in atmel_spi_next_xfer_fifo() local
683 struct atmel_spi *as = spi_master_get_devdata(master); in atmel_spi_next_xfer_pio() local
698 struct atmel_spi *as = spi_master_get_devdata(master); in atmel_spi_next_xfer_dma_submit() local
801 static int atmel_spi_set_xfer_speed(struct atmel_spi *as, in atmel_spi_set_xfer_speed()
856 struct atmel_spi *as = spi_master_get_devdata(master); in atmel_spi_pdc_next_xfer() local
922 atmel_spi_dma_map_xfer(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_dma_map_xfer()
964 static void atmel_spi_disable_pdc_transfer(struct atmel_spi *as) in atmel_spi_disable_pdc_transfer()
970 atmel_spi_pump_single_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_single_data()
994 atmel_spi_pump_fifo_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_fifo_data()
1034 atmel_spi_pump_pio_data(struct atmel_spi *as, struct spi_transfer *xfer) in atmel_spi_pump_pio_data()
1049 struct atmel_spi *as = spi_master_get_devdata(master); in atmel_spi_pio_interrupt() local
1107 struct atmel_spi *as = spi_master_get_devdata(master); in atmel_spi_pdc_interrupt() local
1140 static int atmel_word_delay_csr(struct spi_device *spi, struct atmel_spi *as) in atmel_word_delay_csr()
1158 static void initialize_native_cs_for_gpio(struct atmel_spi *as) in initialize_native_cs_for_gpio()
1188 struct atmel_spi *as; in atmel_spi_setup() local
1263 struct atmel_spi *as = spi_master_get_devdata(spi->master); in atmel_spi_set_cs() local
1282 struct atmel_spi *as; in atmel_spi_one_transfer() local
1405 static inline unsigned int atmel_get_version(struct atmel_spi *as) in atmel_get_version()
1410 static void atmel_get_caps(struct atmel_spi *as) in atmel_get_caps()
1422 static void atmel_spi_init(struct atmel_spi *as) in atmel_spi_init()
1450 struct atmel_spi *as; in atmel_spi_probe() local
1608 struct atmel_spi *as = spi_master_get_devdata(master); in atmel_spi_remove() local
1644 struct atmel_spi *as = spi_master_get_devdata(master); in atmel_spi_runtime_suspend() local
1655 struct atmel_spi *as = spi_master_get_devdata(master); in atmel_spi_runtime_resume() local
1682 struct atmel_spi *as = spi_master_get_devdata(master); in atmel_spi_resume() local