Lines Matching defs:rockchip_sfc
172 struct rockchip_sfc {
187 static int rockchip_sfc_reset(struct rockchip_sfc *sfc)
208 static u16 rockchip_sfc_get_version(struct rockchip_sfc *sfc)
213 static u32 rockchip_sfc_get_max_iosize(struct rockchip_sfc *sfc)
218 static void rockchip_sfc_irq_unmask(struct rockchip_sfc *sfc, u32 mask)
228 static void rockchip_sfc_irq_mask(struct rockchip_sfc *sfc, u32 mask)
238 static int rockchip_sfc_init(struct rockchip_sfc *sfc)
249 static int rockchip_sfc_wait_txfifo_ready(struct rockchip_sfc *sfc, u32 timeout_us)
266 static int rockchip_sfc_wait_rxfifo_ready(struct rockchip_sfc *sfc, u32 timeout_us)
298 static int rockchip_sfc_xfer_setup(struct rockchip_sfc *sfc,
365 static int rockchip_sfc_write_fifo(struct rockchip_sfc *sfc, const u8 *buf, int len)
396 static int rockchip_sfc_read_fifo(struct rockchip_sfc *sfc, u8 *buf, int len)
428 static int rockchip_sfc_fifo_transfer_dma(struct rockchip_sfc *sfc, dma_addr_t dma_buf, size_t len)
437 static int rockchip_sfc_xfer_data_poll(struct rockchip_sfc *sfc,
448 static int rockchip_sfc_xfer_data_dma(struct rockchip_sfc *sfc,
470 static int rockchip_sfc_xfer_done(struct rockchip_sfc *sfc, u32 timeout_us)
490 struct rockchip_sfc *sfc = spi_controller_get_devdata(mem->spi->controller);
526 struct rockchip_sfc *sfc = spi_controller_get_devdata(mem->spi->controller);
540 struct rockchip_sfc *sfc = dev_id;
561 struct rockchip_sfc *sfc;
660 struct rockchip_sfc *sfc = platform_get_drvdata(pdev);