Searched refs:spi_engine (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/spi/ |
D | spi-axi-spi-engine.c | 81 struct spi_engine { struct 130 static unsigned int spi_engine_get_clk_div(struct spi_engine *spi_engine, in spi_engine_get_clk_div() argument 135 clk_div = DIV_ROUND_UP(clk_get_rate(spi_engine->ref_clk), in spi_engine_get_clk_div() 166 struct spi_engine *spi_engine, unsigned int clk_div, in spi_engine_gen_sleep() argument 169 unsigned int spi_clk = clk_get_rate(spi_engine->ref_clk); in spi_engine_gen_sleep() 201 static int spi_engine_compile_message(struct spi_engine *spi_engine, in spi_engine_compile_message() argument 216 new_clk_div = spi_engine_get_clk_div(spi_engine, spi, xfer); in spi_engine_compile_message() 228 spi_engine_gen_sleep(p, dry, spi_engine, clk_div, xfer); in spi_engine_compile_message() 241 static void spi_engine_xfer_next(struct spi_engine *spi_engine, in spi_engine_xfer_next() argument 244 struct spi_message *msg = spi_engine->msg; in spi_engine_xfer_next() [all …]
|