Lines Matching defs:spi

188 static u32 lantiq_ssc_readl(const struct lantiq_ssc_spi *spi, u32 reg)  in lantiq_ssc_readl()
193 static void lantiq_ssc_writel(const struct lantiq_ssc_spi *spi, u32 val, in lantiq_ssc_writel()
199 static void lantiq_ssc_maskl(const struct lantiq_ssc_spi *spi, u32 clr, in lantiq_ssc_maskl()
209 static unsigned int tx_fifo_level(const struct lantiq_ssc_spi *spi) in tx_fifo_level()
217 static unsigned int rx_fifo_level(const struct lantiq_ssc_spi *spi) in rx_fifo_level()
225 static unsigned int tx_fifo_free(const struct lantiq_ssc_spi *spi) in tx_fifo_free()
230 static void rx_fifo_reset(const struct lantiq_ssc_spi *spi) in rx_fifo_reset()
238 static void tx_fifo_reset(const struct lantiq_ssc_spi *spi) in tx_fifo_reset()
246 static void rx_fifo_flush(const struct lantiq_ssc_spi *spi) in rx_fifo_flush()
251 static void tx_fifo_flush(const struct lantiq_ssc_spi *spi) in tx_fifo_flush()
256 static void hw_enter_config_mode(const struct lantiq_ssc_spi *spi) in hw_enter_config_mode()
261 static void hw_enter_active_mode(const struct lantiq_ssc_spi *spi) in hw_enter_active_mode()
266 static void hw_setup_speed_hz(const struct lantiq_ssc_spi *spi, in hw_setup_speed_hz()
295 static void hw_setup_bits_per_word(const struct lantiq_ssc_spi *spi, in hw_setup_bits_per_word()
306 static void hw_setup_clock_mode(const struct lantiq_ssc_spi *spi, in hw_setup_clock_mode()
344 static void lantiq_ssc_hw_init(const struct lantiq_ssc_spi *spi) in lantiq_ssc_hw_init()
390 struct lantiq_ssc_spi *spi = spi_master_get_devdata(master); in lantiq_ssc_setup() local
421 struct lantiq_ssc_spi *spi = spi_master_get_devdata(master); in lantiq_ssc_prepare_message() local
430 static void hw_setup_transfer(struct lantiq_ssc_spi *spi, in hw_setup_transfer()
466 struct lantiq_ssc_spi *spi = spi_master_get_devdata(master); in lantiq_ssc_unprepare_message() local
477 static void tx_fifo_write(struct lantiq_ssc_spi *spi) in tx_fifo_write()
518 static void rx_fifo_read_full_duplex(struct lantiq_ssc_spi *spi) in rx_fifo_read_full_duplex()
564 static void rx_fifo_read_half_duplex(struct lantiq_ssc_spi *spi) in rx_fifo_read_half_duplex()
606 static void rx_request(struct lantiq_ssc_spi *spi) in rx_request()
625 struct lantiq_ssc_spi *spi = data; in lantiq_ssc_xmit_interrupt() local
666 struct lantiq_ssc_spi *spi = data; in lantiq_ssc_err_interrupt() local
705 struct lantiq_ssc_spi *spi = data; in intel_lgm_ssc_isr() local
721 static int transfer_start(struct lantiq_ssc_spi *spi, struct spi_device *spidev, in transfer_start()
760 struct lantiq_ssc_spi *spi; in lantiq_ssc_bussy_work() local
789 struct lantiq_ssc_spi *spi = spi_master_get_devdata(master); in lantiq_ssc_handle_err() local
798 struct lantiq_ssc_spi *spi = spi_master_get_devdata(spidev->master); in lantiq_ssc_set_cs() local
814 struct lantiq_ssc_spi *spi = spi_master_get_devdata(master); in lantiq_ssc_transfer_one() local
821 static int intel_lgm_cfg_irq(struct platform_device *pdev, struct lantiq_ssc_spi *spi) in intel_lgm_cfg_irq()
832 static int lantiq_cfg_irq(struct platform_device *pdev, struct lantiq_ssc_spi *spi) in lantiq_cfg_irq()
907 struct lantiq_ssc_spi *spi; in lantiq_ssc_probe() local
1028 struct lantiq_ssc_spi *spi = platform_get_drvdata(pdev); in lantiq_ssc_remove() local