Lines Matching defs:sfc

190 static int rockchip_sfc_reset(struct rockchip_sfc *sfc)  in rockchip_sfc_reset()
211 static u16 rockchip_sfc_get_version(struct rockchip_sfc *sfc) in rockchip_sfc_get_version()
216 static u32 rockchip_sfc_get_max_iosize(struct rockchip_sfc *sfc) in rockchip_sfc_get_max_iosize()
221 static int rockchip_sfc_clk_set_rate(struct rockchip_sfc *sfc, unsigned long speed) in rockchip_sfc_clk_set_rate()
229 static unsigned long rockchip_sfc_clk_get_rate(struct rockchip_sfc *sfc) in rockchip_sfc_clk_get_rate()
237 static void rockchip_sfc_irq_unmask(struct rockchip_sfc *sfc, u32 mask) in rockchip_sfc_irq_unmask()
247 static void rockchip_sfc_irq_mask(struct rockchip_sfc *sfc, u32 mask) in rockchip_sfc_irq_mask()
257 static int rockchip_sfc_init(struct rockchip_sfc *sfc) in rockchip_sfc_init()
268 static int rockchip_sfc_wait_txfifo_ready(struct rockchip_sfc *sfc, u32 timeout_us) in rockchip_sfc_wait_txfifo_ready()
285 static int rockchip_sfc_wait_rxfifo_ready(struct rockchip_sfc *sfc, u32 timeout_us) in rockchip_sfc_wait_rxfifo_ready()
317 static int rockchip_sfc_xfer_setup(struct rockchip_sfc *sfc, in rockchip_sfc_xfer_setup()
386 static int rockchip_sfc_write_fifo(struct rockchip_sfc *sfc, const u8 *buf, int len) in rockchip_sfc_write_fifo()
417 static int rockchip_sfc_read_fifo(struct rockchip_sfc *sfc, u8 *buf, int len) in rockchip_sfc_read_fifo()
449 static int rockchip_sfc_fifo_transfer_dma(struct rockchip_sfc *sfc, dma_addr_t dma_buf, size_t len) in rockchip_sfc_fifo_transfer_dma()
458 static int rockchip_sfc_xfer_data_poll(struct rockchip_sfc *sfc, in rockchip_sfc_xfer_data_poll()
469 static int rockchip_sfc_xfer_data_dma(struct rockchip_sfc *sfc, in rockchip_sfc_xfer_data_dma()
496 static int rockchip_sfc_xfer_done(struct rockchip_sfc *sfc, u32 timeout_us) in rockchip_sfc_xfer_done()
526 struct rockchip_sfc *sfc = spi_controller_get_devdata(mem->spi->controller); in rockchip_sfc_exec_mem_op() local
576 struct rockchip_sfc *sfc = spi_controller_get_devdata(mem->spi->controller); in rockchip_sfc_adjust_op_size() local
594 struct rockchip_sfc *sfc = dev_id; in rockchip_sfc_irq_handler() local
615 struct rockchip_sfc *sfc; in rockchip_sfc_probe() local
737 struct rockchip_sfc *sfc = platform_get_drvdata(pdev); in rockchip_sfc_remove() local
750 struct rockchip_sfc *sfc = dev_get_drvdata(dev); in rockchip_sfc_runtime_suspend() local
760 struct rockchip_sfc *sfc = dev_get_drvdata(dev); in rockchip_sfc_runtime_resume() local
785 struct rockchip_sfc *sfc = dev_get_drvdata(dev); in rockchip_sfc_resume() local