Searched refs:rspi_data (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/spi/ |
H A D | spi-rspi.c | 188 struct rspi_data { struct 204 static void rspi_write8(const struct rspi_data *rspi, u8 data, u16 offset) rspi_write8() 209 static void rspi_write16(const struct rspi_data *rspi, u16 data, u16 offset) rspi_write16() 214 static void rspi_write32(const struct rspi_data *rspi, u32 data, u16 offset) rspi_write32() 219 static u8 rspi_read8(const struct rspi_data *rspi, u16 offset) rspi_read8() 224 static u16 rspi_read16(const struct rspi_data *rspi, u16 offset) rspi_read16() 229 static void rspi_write_data(const struct rspi_data *rspi, u16 data) rspi_write_data() 237 static u16 rspi_read_data(const struct rspi_data *rspi) rspi_read_data() 247 int (*set_config_register)(struct rspi_data *rspi, int access_size); 258 static int rspi_set_config_register(struct rspi_data *rspi, int access_size) rspi_set_config_register() 295 static int rspi_rz_set_config_register(struct rspi_data *rspi, int access_size) rspi_rz_set_config_register() 329 static int qspi_set_config_register(struct rspi_data *rspi, int access_size) qspi_set_config_register() 376 static void qspi_update(const struct rspi_data *rspi, u8 mask, u8 val, u8 reg) qspi_update() 386 static int qspi_set_send_trigger(struct rspi_data *rspi, unsigned int len) qspi_set_send_trigger() 405 static void qspi_set_receive_trigger(struct rspi_data *rspi, unsigned int len) qspi_set_receive_trigger() 424 static void rspi_enable_irq(const struct rspi_data *rspi, u8 enable) rspi_enable_irq() 429 static void rspi_disable_irq(const struct rspi_data *rspi, u8 disable) rspi_disable_irq() 434 static int rspi_wait_for_interrupt(struct rspi_data *rspi, u8 wait_mask, rspi_wait_for_interrupt() 451 static inline int rspi_wait_for_tx_empty(struct rspi_data *rspi) rspi_wait_for_tx_empty() 456 static inline int rspi_wait_for_rx_full(struct rspi_data *rspi) rspi_wait_for_rx_full() 461 static int rspi_data_out(struct rspi_data *rspi, u8 data) rspi_data_out() 472 static int rspi_data_in(struct rspi_data *rspi) rspi_data_in() 486 static int rspi_pio_transfer(struct rspi_data *rspi, const u8 *tx, u8 *rx, rspi_pio_transfer() 508 struct rspi_data *rspi = arg; rspi_dma_complete() 514 static int rspi_dma_transfer(struct rspi_data *rspi, struct sg_table *tx, rspi_dma_transfer() 621 static void rspi_receive_init(const struct rspi_data *rspi) rspi_receive_init() 633 static void rspi_rz_receive_init(const struct rspi_data *rspi) rspi_rz_receive_init() 640 static void qspi_receive_init(const struct rspi_data *rspi) qspi_receive_init() 651 static bool __rspi_can_dma(const struct rspi_data *rspi, __rspi_can_dma() 660 struct rspi_data *rspi = spi_master_get_devdata(master); rspi_can_dma() 665 static int rspi_dma_check_then_transfer(struct rspi_data *rspi, rspi_dma_check_then_transfer() 679 static int rspi_common_transfer(struct rspi_data *rspi, rspi_common_transfer() 701 struct rspi_data *rspi = spi_master_get_devdata(master); rspi_transfer_one() 720 struct rspi_data *rspi = spi_master_get_devdata(master); rspi_rz_transfer_one() 727 static int qspi_trigger_transfer_out_int(struct rspi_data *rspi, const u8 *tx, qspi_trigger_transfer_out_int() 763 static int qspi_transfer_out_in(struct rspi_data *rspi, qspi_transfer_out_in() 782 static int qspi_transfer_out(struct rspi_data *rspi, struct spi_transfer *xfer) qspi_transfer_out() 802 static int qspi_transfer_in(struct rspi_data *rspi, struct spi_transfer *xfer) qspi_transfer_in() 816 struct rspi_data *rspi = spi_master_get_devdata(master); qspi_transfer_one() 834 struct rspi_data *rspi = spi_master_get_devdata(spi->master); rspi_setup() 878 static int qspi_setup_sequencer(struct rspi_data *rspi, qspi_setup_sequencer() 922 struct rspi_data *rspi = spi_master_get_devdata(master); rspi_prepare_message() 941 struct rspi_data *rspi = spi_master_get_devdata(master); rspi_unprepare_message() 954 struct rspi_data *rspi = _sr; rspi_irq_mux() 976 struct rspi_data *rspi = _sr; rspi_irq_rx() 991 struct rspi_data *rspi = _sr; rspi_irq_tx() 1091 struct rspi_data *rspi = platform_get_drvdata(pdev); rspi_remove() 1177 struct rspi_data *rspi; rspi_probe() 1183 master = spi_alloc_master(&pdev->dev, sizeof(struct rspi_data)); rspi_probe()
|
Completed in 42 milliseconds