| /OK3568_Linux_fs/kernel/include/linux/spi/ |
| H A D | spi-mem.h | 98 struct spi_mem_op { struct 153 struct spi_mem_op op_tmpl; 265 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op); 267 const struct spi_mem_op *op); 269 const struct spi_mem_op *op); 304 const struct spi_mem_op *op, 308 const struct spi_mem_op *op, 312 const struct spi_mem_op *op); 315 const struct spi_mem_op *op); 320 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | spi-mem.h | 90 struct spi_mem_op { struct 181 int (*adjust_op_size)(struct spi_slave *slave, struct spi_mem_op *op); 183 const struct spi_mem_op *op); 185 const struct spi_mem_op *op); 214 const struct spi_mem_op *op, 218 const struct spi_mem_op *op, 223 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() 231 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data() 238 int spi_mem_adjust_op_size(struct spi_slave *slave, struct spi_mem_op *op); 240 bool spi_mem_supports_op(struct spi_slave *slave, const struct spi_mem_op *op); [all …]
|
| /OK3568_Linux_fs/u-boot/include/linux/mtd/ |
| H A D | spinand.h | 280 const struct spi_mem_op *ops; 286 .ops = (struct spi_mem_op[]) { __VA_ARGS__ }, \ 287 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) / \ 288 sizeof(struct spi_mem_op), \ 415 const struct spi_mem_op *read_cache; 416 const struct spi_mem_op *write_cache; 417 const struct spi_mem_op *update_cache;
|
| /OK3568_Linux_fs/kernel/include/linux/mtd/ |
| H A D | spinand.h | 274 const struct spi_mem_op *ops; 280 .ops = (struct spi_mem_op[]) { __VA_ARGS__ }, \ 281 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) / \ 282 sizeof(struct spi_mem_op), \ 420 const struct spi_mem_op *read_cache; 421 const struct spi_mem_op *write_cache; 422 const struct spi_mem_op *update_cache;
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-mem.c | 35 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() 81 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data() 141 const struct spi_mem_op *op) in spi_mem_check_buswidth() 163 const struct spi_mem_op *op) in spi_mem_dtr_supports_op() 173 const struct spi_mem_op *op) in spi_mem_default_supports_op() 193 static int spi_mem_check_op(const struct spi_mem_op *op) in spi_mem_check_op() 213 const struct spi_mem_op *op) in spi_mem_internal_supports_op() 238 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op() 298 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op() 440 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in spi_mem_adjust_op_size() [all …]
|
| H A D | spi-mtk-nor.c | 136 static void mtk_nor_set_addr(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_set_addr() 153 static bool need_bounce(struct mtk_nor *sp, const struct spi_mem_op *op) in need_bounce() 158 static bool mtk_nor_match_read(const struct spi_mem_op *op) in mtk_nor_match_read() 181 static bool mtk_nor_match_prg(const struct spi_mem_op *op) in mtk_nor_match_prg() 230 static void mtk_nor_adj_prg_size(struct spi_mem_op *op) in mtk_nor_adj_prg_size() 249 static int mtk_nor_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in mtk_nor_adjust_op_size() 285 const struct spi_mem_op *op) in mtk_nor_supports_op() 313 static void mtk_nor_setup_bus(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_setup_bus() 382 static int mtk_nor_read_bounce(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_read_bounce() 400 static int mtk_nor_read_dma(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_read_dma() [all …]
|
| H A D | spi-rockchip-sfc.c | 321 static void rockchip_sfc_adjust_op_work(struct spi_mem_op *op) in rockchip_sfc_adjust_op_work() 338 const struct spi_mem_op *op, in rockchip_sfc_xfer_setup() 476 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_poll() 487 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_dma() 538 const struct spi_mem_op *op) in rockchip_sfc_exec_op_bypass() 543 rockchip_sfc_adjust_op_work((struct spi_mem_op *)op); in rockchip_sfc_exec_op_bypass() 557 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0x9F, 1), in rockchip_sfc_delay_lines_tuning() 630 static int rockchip_sfc_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in rockchip_sfc_exec_mem_op() 658 rockchip_sfc_adjust_op_work((struct spi_mem_op *)op); in rockchip_sfc_exec_mem_op() 685 static int rockchip_sfc_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in rockchip_sfc_adjust_op_size()
|
| H A D | spi-hisi-sfc-v3xx.c | 145 struct spi_mem_op *op) in hisi_sfc_v3xx_adjust_op_size() 169 const struct spi_mem_op *op) in hisi_sfc_v3xx_supports_op() 263 const struct spi_mem_op *op, in hisi_sfc_v3xx_start_bus() 307 const struct spi_mem_op *op, in hisi_sfc_v3xx_generic_exec_op() 348 const struct spi_mem_op *op) in hisi_sfc_v3xx_exec_op()
|
| H A D | spi-fsl-qspi.c | 369 const struct spi_mem_op *op) in fsl_qspi_supports_op() 417 const struct spi_mem_op *op) in fsl_qspi_prepare_lut() 552 static void fsl_qspi_read_ahb(struct fsl_qspi *q, const struct spi_mem_op *op) in fsl_qspi_read_ahb() 560 const struct spi_mem_op *op) in fsl_qspi_fill_txfifo() 585 const struct spi_mem_op *op) in fsl_qspi_read_rxfifo() 605 static int fsl_qspi_do_op(struct fsl_qspi *q, const struct spi_mem_op *op) in fsl_qspi_do_op() 642 static int fsl_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in fsl_qspi_exec_op() 704 static int fsl_qspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in fsl_qspi_adjust_op_size()
|
| H A D | spi-rpc-if.c | 20 const struct spi_mem_op *spi_op, in rpcif_spi_mem_prepare() 65 const struct spi_mem_op *op) in rpcif_spi_mem_supports_op() 113 const struct spi_mem_op *op) in rpcif_spi_mem_exec_op()
|
| H A D | spi-stm32-qspi.c | 155 const struct spi_mem_op *op) in stm32_qspi_tx_poll() 187 const struct spi_mem_op *op) in stm32_qspi_tx_mm() 202 const struct spi_mem_op *op) in stm32_qspi_tx_dma() 265 static int stm32_qspi_tx(struct stm32_qspi *qspi, const struct spi_mem_op *op) in stm32_qspi_tx() 290 const struct spi_mem_op *op) in stm32_qspi_wait_cmd() 333 static int stm32_qspi_send(struct spi_mem *mem, const struct spi_mem_op *op) in stm32_qspi_send() 435 static int stm32_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in stm32_qspi_exec_op()
|
| H A D | spi-npcm-fiu.c | 229 struct spi_mem_op drd_op; 246 const struct spi_mem_op *op) in npcm_fiu_set_drd() 315 const struct spi_mem_op *op, u32 addr, in npcm_fiu_uma_read() 370 const struct spi_mem_op *op, u8 cmd, in npcm_fiu_uma_write() 420 const struct spi_mem_op *op) in npcm_fiu_manualwrite() 468 static int npcm_fiu_read(struct spi_mem *mem, const struct spi_mem_op *op) in npcm_fiu_read() 525 static int npcm_fiu_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in npcm_fiu_exec_op()
|
| H A D | spi-nxp-fspi.c | 414 const struct spi_mem_op *op) in nxp_fspi_supports_op() 504 const struct spi_mem_op *op) in nxp_fspi_prepare_lut() 673 static int nxp_fspi_read_ahb(struct nxp_fspi *f, const struct spi_mem_op *op) in nxp_fspi_read_ahb() 705 const struct spi_mem_op *op) in nxp_fspi_fill_txfifo() 749 const struct spi_mem_op *op) in nxp_fspi_read_rxfifo() 799 static int nxp_fspi_do_op(struct nxp_fspi *f, const struct spi_mem_op *op) in nxp_fspi_do_op() 839 static int nxp_fspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in nxp_fspi_exec_op() 877 static int nxp_fspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in nxp_fspi_adjust_op_size()
|
| H A D | spi-cadence-quadspi.c | 349 const struct spi_mem_op *op) in cqspi_command_read() 400 const struct spi_mem_op *op) in cqspi_command_write() 451 const struct spi_mem_op *op) in cqspi_read_setup() 573 const struct spi_mem_op *op) in cqspi_write_setup() 839 const struct spi_mem_op *op) in cqspi_set_protocol() 868 const struct spi_mem_op *op) in cqspi_write() 959 const struct spi_mem_op *op) in cqspi_read() 981 static int cqspi_mem_process(struct spi_mem *mem, const struct spi_mem_op *op) in cqspi_mem_process() 1002 static int cqspi_exec_mem_op(struct spi_mem *mem, const struct spi_mem_op *op) in cqspi_exec_mem_op()
|
| H A D | atmel-quadspi.c | 251 static inline bool atmel_qspi_is_compatible(const struct spi_mem_op *op, in atmel_qspi_is_compatible() 266 static int atmel_qspi_find_mode(const struct spi_mem_op *op) in atmel_qspi_find_mode() 278 const struct spi_mem_op *op) in atmel_qspi_supports_op() 301 const struct spi_mem_op *op, u32 *offset) in atmel_qspi_set_cfg() 415 static int atmel_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in atmel_qspi_exec_op()
|
| H A D | spi-dw.h | 109 (sizeof_field(struct spi_mem_op, cmd.opcode) + \ 110 sizeof_field(struct spi_mem_op, addr.val) + 256)
|
| H A D | spi-bcm-qspi.c | 217 const struct spi_mem_op *bspi_rf_op; 384 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_flex_mode() 430 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_override() 475 const struct spi_mem_op *op, int hp) in bcm_qspi_bspi_set_mode() 863 const struct spi_mem_op *op) in bcm_qspi_bspi_exec_mem_op() 978 const struct spi_mem_op *op) in bcm_qspi_mspi_exec_mem_op() 1018 const struct spi_mem_op *op) in bcm_qspi_exec_mem_op()
|
| /OK3568_Linux_fs/u-boot/drivers/spi/ |
| H A D | rockchip_sfc.c | 360 static void rockchip_sfc_adjust_op_work(struct spi_mem_op *op) in rockchip_sfc_adjust_op_work() 399 const struct spi_mem_op *op, in rockchip_sfc_xfer_setup() 538 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_poll() 549 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_dma() 578 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_dma_async() 617 const struct spi_mem_op *op) in rockchip_sfc_exec_op() 628 rockchip_sfc_adjust_op_work((struct spi_mem_op *)op); in rockchip_sfc_exec_op() 649 static int rockchip_sfc_adjust_op_size(struct spi_slave *mem, struct spi_mem_op *op) in rockchip_sfc_adjust_op_size() 661 const struct spi_mem_op *op) in rockchip_sfc_exec_op_bypass() 666 rockchip_sfc_adjust_op_work((struct spi_mem_op *)op); in rockchip_sfc_exec_op_bypass() [all …]
|
| H A D | spi-mem.c | 37 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() 83 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data() 141 const struct spi_mem_op *op) in spi_mem_default_supports_op() 179 const struct spi_mem_op *op) in spi_mem_supports_op() 203 int spi_mem_exec_op(struct spi_slave *slave, const struct spi_mem_op *op) in spi_mem_exec_op() 427 int spi_mem_adjust_op_size(struct spi_slave *slave, struct spi_mem_op *op) in spi_mem_adjust_op_size()
|
| H A D | spi-mem-nodm.c | 10 const struct spi_mem_op *op) in spi_mem_exec_op() 86 struct spi_mem_op *op) in spi_mem_adjust_op_size()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/spi/ |
| H A D | core.c | 50 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(reg, in spinand_read_reg_op() 64 struct spi_mem_op op = SPINAND_SET_FEATURE_OP(reg, in spinand_write_reg_op() 223 struct spi_mem_op op = SPINAND_WR_EN_DIS_OP(true); in spinand_write_enable_op() 233 struct spi_mem_op op = SPINAND_PAGE_READ_OP(row); in spinand_load_page_op() 241 struct spi_mem_op op = *spinand->op_templates.read_cache; in spinand_read_from_cache_op() 314 struct spi_mem_op op = *spinand->op_templates.write_cache; in spinand_write_to_cache_op() 402 struct spi_mem_op op = SPINAND_PROG_EXEC_OP(row); in spinand_program_op() 412 struct spi_mem_op op = SPINAND_BLK_ERASE_OP(row); in spinand_erase_op() 452 struct spi_mem_op op = SPINAND_READID_OP( in spinand_read_id_op() 465 struct spi_mem_op op = SPINAND_RESET_OP; in spinand_reset_op() [all …]
|
| H A D | gigadevice.c | 216 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(GD5FXGQXXEXXG_REG_STATUS2, in gd5fxgq4uexxg_ecc_get_status() 258 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(GD5FXGQXXEXXG_REG_STATUS2, in gd5fxgq5xexxg_ecc_get_status() 546 struct spi_mem_op op = SPINAND_SET_FEATURE_OP(0xD0, in gigadevice_spinand_set_ds()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/spi-nor/ |
| H A D | core.c | 61 static bool spi_nor_spimem_bounce(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_bounce() 82 static int spi_nor_spimem_exec_op(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_exec_op() 106 struct spi_mem_op op = in spi_nor_spimem_read_data() 172 struct spi_mem_op op = in spi_nor_spimem_write_data() 232 struct spi_mem_op op = in spi_nor_write_enable() 261 struct spi_mem_op op = in spi_nor_write_disable() 292 struct spi_mem_op op = in spi_nor_read_sr() 323 struct spi_mem_op op = in spi_nor_read_fsr() 355 struct spi_mem_op op = in spi_nor_read_cr() 385 struct spi_mem_op op = in spi_nor_set_4byte_addr_mode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/spi/ |
| H A D | core.c | 26 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(reg, in spinand_read_reg_op() 40 struct spi_mem_op op = SPINAND_SET_FEATURE_OP(reg, in spinand_write_reg_op() 319 struct spi_mem_op op = SPINAND_WR_EN_DIS_OP(true); in spinand_write_enable_op() 329 struct spi_mem_op op = SPINAND_PAGE_READ_OP(row); in spinand_load_page_op() 450 struct spi_mem_op op = SPINAND_PROG_EXEC_OP(row); in spinand_program_op() 460 struct spi_mem_op op = SPINAND_BLK_ERASE_OP(row); in spinand_erase_op() 498 struct spi_mem_op op = SPINAND_READID_OP( in spinand_read_id_op() 511 struct spi_mem_op op = SPINAND_RESET_OP; in spinand_reset_op() 952 static const struct spi_mem_op * 960 struct spi_mem_op op = variants->ops[i]; in spinand_select_op_variant() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/spi/ |
| H A D | spi-nor-tiny.c | 37 static int spi_nor_read_write_reg(struct spi_nor *nor, struct spi_mem_op in spi_nor_read_write_reg() 49 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(code, 1), in spi_nor_read_reg() 65 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(opcode, 1), in spi_nor_write_reg() 76 struct spi_mem_op op = in spi_nor_read_data()
|