Lines Matching defs:sfc
205 static int rockchip_sfc_reset(struct rockchip_sfc *sfc) in rockchip_sfc_reset()
226 static u16 rockchip_sfc_get_version(struct rockchip_sfc *sfc) in rockchip_sfc_get_version()
231 static u32 rockchip_sfc_get_max_iosize(struct rockchip_sfc *sfc) in rockchip_sfc_get_max_iosize()
239 static u32 rockchip_sfc_get_max_dll_cells(struct rockchip_sfc *sfc) in rockchip_sfc_get_max_dll_cells()
252 static __maybe_unused void rockchip_sfc_set_delay_lines(struct rockchip_sfc *sfc, u16 cells, u8 cs) in rockchip_sfc_set_delay_lines()
267 static int rockchip_sfc_clk_set_rate(struct rockchip_sfc *sfc, unsigned long speed) in rockchip_sfc_clk_set_rate()
275 static unsigned long rockchip_sfc_clk_get_rate(struct rockchip_sfc *sfc) in rockchip_sfc_clk_get_rate()
284 static int rockchip_sfc_init(struct rockchip_sfc *sfc) in rockchip_sfc_init()
306 struct rockchip_sfc *sfc = dev_get_platdata(bus); in rockchip_cs_setup() local
334 struct rockchip_sfc *sfc = dev_get_platdata(bus); in rockchip_sfc_ofdata_to_platdata() local
368 struct rockchip_sfc *sfc = dev_get_platdata(bus); in rockchip_sfc_probe() local
404 static int rockchip_sfc_wait_txfifo_ready(struct rockchip_sfc *sfc, u32 timeout_us) in rockchip_sfc_wait_txfifo_ready()
421 static int rockchip_sfc_wait_rxfifo_ready(struct rockchip_sfc *sfc, u32 timeout_us) in rockchip_sfc_wait_rxfifo_ready()
453 static int rockchip_sfc_wait_for_dma_finished(struct rockchip_sfc *sfc, int timeout) in rockchip_sfc_wait_for_dma_finished()
475 static int rockchip_sfc_xfer_setup(struct rockchip_sfc *sfc, in rockchip_sfc_xfer_setup()
543 static int rockchip_sfc_write_fifo(struct rockchip_sfc *sfc, const u8 *buf, int len) in rockchip_sfc_write_fifo()
574 static int rockchip_sfc_read_fifo(struct rockchip_sfc *sfc, u8 *buf, int len) in rockchip_sfc_read_fifo()
606 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()
615 static int rockchip_sfc_xfer_data_poll(struct rockchip_sfc *sfc, in rockchip_sfc_xfer_data_poll()
626 static int rockchip_sfc_xfer_data_dma(struct rockchip_sfc *sfc, in rockchip_sfc_xfer_data_dma()
655 static int rockchip_sfc_xfer_data_dma_async(struct rockchip_sfc *sfc, in rockchip_sfc_xfer_data_dma_async()
676 static int rockchip_sfc_xfer_done(struct rockchip_sfc *sfc, u32 timeout_us) in rockchip_sfc_xfer_done()
694 static int rockchip_spi_set_cs(struct rockchip_sfc *sfc, struct spi_slave *mem, bool enable) in rockchip_spi_set_cs()
710 static int rockchip_sfc_exec_op_bypass(struct rockchip_sfc *sfc, in rockchip_sfc_exec_op_bypass()
733 static void rockchip_sfc_delay_lines_tuning(struct rockchip_sfc *sfc, struct spi_slave *mem) in rockchip_sfc_delay_lines_tuning()
823 struct rockchip_sfc *sfc = dev_get_platdata(mem->dev->parent); in rockchip_sfc_exec_op() local
875 struct rockchip_sfc *sfc = dev_get_platdata(mem->dev->parent); in rockchip_sfc_adjust_op_size() local
884 struct rockchip_sfc *sfc = dev_get_platdata(bus); in rockchip_sfc_set_speed() local