Lines Matching defs:rspi

199 static void rspi_write8(const struct rspi_data *rspi, u8 data, u16 offset)  in rspi_write8()
204 static void rspi_write16(const struct rspi_data *rspi, u16 data, u16 offset) in rspi_write16()
209 static void rspi_write32(const struct rspi_data *rspi, u32 data, u16 offset) in rspi_write32()
214 static u8 rspi_read8(const struct rspi_data *rspi, u16 offset) in rspi_read8()
219 static u16 rspi_read16(const struct rspi_data *rspi, u16 offset) in rspi_read16()
224 static void rspi_write_data(const struct rspi_data *rspi, u16 data) in rspi_write_data()
232 static u16 rspi_read_data(const struct rspi_data *rspi) in rspi_read_data()
253 static void rspi_set_rate(struct rspi_data *rspi) in rspi_set_rate()
273 static int rspi_set_config_register(struct rspi_data *rspi, int access_size) in rspi_set_config_register()
307 static int rspi_rz_set_config_register(struct rspi_data *rspi, int access_size) in rspi_rz_set_config_register()
338 static int qspi_set_config_register(struct rspi_data *rspi, int access_size) in qspi_set_config_register()
400 static void qspi_update(const struct rspi_data *rspi, u8 mask, u8 val, u8 reg) in qspi_update()
410 static unsigned int qspi_set_send_trigger(struct rspi_data *rspi, in qspi_set_send_trigger()
430 static int qspi_set_receive_trigger(struct rspi_data *rspi, unsigned int len) in qspi_set_receive_trigger()
448 static void rspi_enable_irq(const struct rspi_data *rspi, u8 enable) in rspi_enable_irq()
453 static void rspi_disable_irq(const struct rspi_data *rspi, u8 disable) in rspi_disable_irq()
458 static int rspi_wait_for_interrupt(struct rspi_data *rspi, u8 wait_mask, in rspi_wait_for_interrupt()
475 static inline int rspi_wait_for_tx_empty(struct rspi_data *rspi) in rspi_wait_for_tx_empty()
480 static inline int rspi_wait_for_rx_full(struct rspi_data *rspi) in rspi_wait_for_rx_full()
485 static int rspi_data_out(struct rspi_data *rspi, u8 data) in rspi_data_out()
496 static int rspi_data_in(struct rspi_data *rspi) in rspi_data_in()
510 static int rspi_pio_transfer(struct rspi_data *rspi, const u8 *tx, u8 *rx, in rspi_pio_transfer()
532 struct rspi_data *rspi = arg; in rspi_dma_complete() local
538 static int rspi_dma_transfer(struct rspi_data *rspi, struct sg_table *tx, in rspi_dma_transfer()
650 static void rspi_receive_init(const struct rspi_data *rspi) in rspi_receive_init()
662 static void rspi_rz_receive_init(const struct rspi_data *rspi) in rspi_rz_receive_init()
669 static void qspi_receive_init(const struct rspi_data *rspi) in qspi_receive_init()
680 static bool __rspi_can_dma(const struct rspi_data *rspi, in __rspi_can_dma()
689 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_can_dma() local
694 static int rspi_dma_check_then_transfer(struct rspi_data *rspi, in rspi_dma_check_then_transfer()
705 static int rspi_common_transfer(struct rspi_data *rspi, in rspi_common_transfer()
729 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_transfer_one() local
748 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_rz_transfer_one() local
755 static int qspi_trigger_transfer_out_in(struct rspi_data *rspi, const u8 *tx, in qspi_trigger_transfer_out_in()
786 static int qspi_transfer_out_in(struct rspi_data *rspi, in qspi_transfer_out_in()
801 static int qspi_transfer_out(struct rspi_data *rspi, struct spi_transfer *xfer) in qspi_transfer_out()
833 static int qspi_transfer_in(struct rspi_data *rspi, struct spi_transfer *xfer) in qspi_transfer_in()
865 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in qspi_transfer_one() local
906 static int qspi_setup_sequencer(struct rspi_data *rspi, in qspi_setup_sequencer()
949 struct rspi_data *rspi = spi_controller_get_devdata(spi->controller); in rspi_setup() local
973 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_prepare_message() local
1029 struct rspi_data *rspi = spi_controller_get_devdata(ctlr); in rspi_unprepare_message() local
1042 struct rspi_data *rspi = _sr; in rspi_irq_mux() local
1064 struct rspi_data *rspi = _sr; in rspi_irq_rx() local
1079 struct rspi_data *rspi = _sr; in rspi_irq_tx() local
1172 struct rspi_data *rspi = platform_get_drvdata(pdev); in rspi_remove() local
1286 struct rspi_data *rspi; in rspi_probe() local
1410 struct rspi_data *rspi = dev_get_drvdata(dev); in rspi_suspend() local
1417 struct rspi_data *rspi = dev_get_drvdata(dev); in rspi_resume() local