Searched refs:mtk_nor_cmd_exec (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-mtk-nor.c | 140 static inline int mtk_nor_cmd_exec(struct mtk_nor *sp, u32 cmd, ulong clk) in mtk_nor_cmd_exec() function 454 ret = mtk_nor_cmd_exec(sp, MTK_NOR_CMD_READ, 6 * BITS_PER_BYTE); in mtk_nor_read_pio() 500 return mtk_nor_cmd_exec(sp, MTK_NOR_CMD_WRITE, in mtk_nor_pp_buffered() 514 return mtk_nor_cmd_exec(sp, MTK_NOR_CMD_WRITE, 6 * BITS_PER_BYTE); in mtk_nor_pp_unbuffered() 582 ret = mtk_nor_cmd_exec(sp, MTK_NOR_CMD_PROGRAM, in mtk_nor_spi_mem_prg() 681 stat = mtk_nor_cmd_exec(sp, MTK_NOR_CMD_PROGRAM, in mtk_nor_transfer_one_message()
|