Lines Matching refs:sh_msiof_spi_priv

43 struct sh_msiof_spi_priv {  struct
194 static u32 sh_msiof_read(struct sh_msiof_spi_priv *p, int reg_offs) in sh_msiof_read()
205 static void sh_msiof_write(struct sh_msiof_spi_priv *p, int reg_offs, in sh_msiof_write()
219 static int sh_msiof_modify_ctr_wait(struct sh_msiof_spi_priv *p, in sh_msiof_modify_ctr_wait()
236 struct sh_msiof_spi_priv *p = data; in sh_msiof_spi_irq()
245 static void sh_msiof_spi_reset_regs(struct sh_msiof_spi_priv *p) in sh_msiof_spi_reset_regs()
263 static void sh_msiof_spi_set_clk_regs(struct sh_msiof_spi_priv *p, in sh_msiof_spi_set_clk_regs()
324 static u32 sh_msiof_spi_get_dtdl_and_syncdl(struct sh_msiof_spi_priv *p) in sh_msiof_spi_get_dtdl_and_syncdl()
349 static void sh_msiof_spi_set_pin_regs(struct sh_msiof_spi_priv *p, u32 ss, in sh_msiof_spi_set_pin_regs()
392 static void sh_msiof_spi_set_mode_regs(struct sh_msiof_spi_priv *p, in sh_msiof_spi_set_mode_regs()
407 static void sh_msiof_reset_str(struct sh_msiof_spi_priv *p) in sh_msiof_reset_str()
413 static void sh_msiof_spi_write_fifo_8(struct sh_msiof_spi_priv *p, in sh_msiof_spi_write_fifo_8()
423 static void sh_msiof_spi_write_fifo_16(struct sh_msiof_spi_priv *p, in sh_msiof_spi_write_fifo_16()
433 static void sh_msiof_spi_write_fifo_16u(struct sh_msiof_spi_priv *p, in sh_msiof_spi_write_fifo_16u()
443 static void sh_msiof_spi_write_fifo_32(struct sh_msiof_spi_priv *p, in sh_msiof_spi_write_fifo_32()
453 static void sh_msiof_spi_write_fifo_32u(struct sh_msiof_spi_priv *p, in sh_msiof_spi_write_fifo_32u()
463 static void sh_msiof_spi_write_fifo_s32(struct sh_msiof_spi_priv *p, in sh_msiof_spi_write_fifo_s32()
473 static void sh_msiof_spi_write_fifo_s32u(struct sh_msiof_spi_priv *p, in sh_msiof_spi_write_fifo_s32u()
483 static void sh_msiof_spi_read_fifo_8(struct sh_msiof_spi_priv *p, in sh_msiof_spi_read_fifo_8()
493 static void sh_msiof_spi_read_fifo_16(struct sh_msiof_spi_priv *p, in sh_msiof_spi_read_fifo_16()
503 static void sh_msiof_spi_read_fifo_16u(struct sh_msiof_spi_priv *p, in sh_msiof_spi_read_fifo_16u()
513 static void sh_msiof_spi_read_fifo_32(struct sh_msiof_spi_priv *p, in sh_msiof_spi_read_fifo_32()
523 static void sh_msiof_spi_read_fifo_32u(struct sh_msiof_spi_priv *p, in sh_msiof_spi_read_fifo_32u()
533 static void sh_msiof_spi_read_fifo_s32(struct sh_msiof_spi_priv *p, in sh_msiof_spi_read_fifo_s32()
543 static void sh_msiof_spi_read_fifo_s32u(struct sh_msiof_spi_priv *p, in sh_msiof_spi_read_fifo_s32u()
555 struct sh_msiof_spi_priv *p = in sh_msiof_spi_setup()
587 struct sh_msiof_spi_priv *p = spi_controller_get_devdata(ctlr); in sh_msiof_prepare_message()
606 static int sh_msiof_spi_start(struct sh_msiof_spi_priv *p, void *rx_buf) in sh_msiof_spi_start()
626 static int sh_msiof_spi_stop(struct sh_msiof_spi_priv *p, void *rx_buf) in sh_msiof_spi_stop()
646 struct sh_msiof_spi_priv *p = spi_controller_get_devdata(ctlr); in sh_msiof_target_abort()
654 static int sh_msiof_wait_for_completion(struct sh_msiof_spi_priv *p, in sh_msiof_wait_for_completion()
673 static int sh_msiof_spi_txrx_once(struct sh_msiof_spi_priv *p, in sh_msiof_spi_txrx_once()
674 void (*tx_fifo)(struct sh_msiof_spi_priv *, in sh_msiof_spi_txrx_once() argument
676 void (*rx_fifo)(struct sh_msiof_spi_priv *, in sh_msiof_spi_txrx_once() argument
746 static int sh_msiof_dma_once(struct sh_msiof_spi_priv *p, const void *tx, in sh_msiof_dma_once()
913 struct sh_msiof_spi_priv *p = spi_controller_get_devdata(ctlr); in sh_msiof_transfer_one()
915 void (*tx_fifo)(struct sh_msiof_spi_priv *, const void *, int, int); in sh_msiof_transfer_one()
916 void (*rx_fifo)(struct sh_msiof_spi_priv *, void *, int, int); in sh_msiof_transfer_one()
1181 static int sh_msiof_request_dma(struct sh_msiof_spi_priv *p) in sh_msiof_request_dma()
1256 static void sh_msiof_release_dma(struct sh_msiof_spi_priv *p) in sh_msiof_release_dma()
1278 struct sh_msiof_spi_priv *p; in sh_msiof_spi_probe()
1301 sizeof(struct sh_msiof_spi_priv)); in sh_msiof_spi_probe()
1304 sizeof(struct sh_msiof_spi_priv)); in sh_msiof_spi_probe()
1396 struct sh_msiof_spi_priv *p = platform_get_drvdata(pdev); in sh_msiof_spi_remove()
1411 struct sh_msiof_spi_priv *p = dev_get_drvdata(dev); in sh_msiof_spi_suspend()
1418 struct sh_msiof_spi_priv *p = dev_get_drvdata(dev); in sh_msiof_spi_resume()