Searched refs:spi_mem_op (Results 1 – 12 of 12) sorted by relevance
| /rk3399_rockchip-uboot/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 …]
|
| /rk3399_rockchip-uboot/include/linux/mtd/ |
| H A D | spinand.h | 286 const struct spi_mem_op *ops; 292 .ops = (struct spi_mem_op[]) { __VA_ARGS__ }, \ 293 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) / \ 294 sizeof(struct spi_mem_op), \ 421 const struct spi_mem_op *read_cache; 422 const struct spi_mem_op *write_cache; 423 const struct spi_mem_op *update_cache;
|
| /rk3399_rockchip-uboot/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() 321 struct spi_mem_op op = *spinand->op_templates.write_cache; in spinand_write_to_cache_op() 416 struct spi_mem_op op = SPINAND_PROG_EXEC_OP(row); in spinand_program_op() 426 struct spi_mem_op op = SPINAND_BLK_ERASE_OP(row); in spinand_erase_op() 466 struct spi_mem_op op = SPINAND_READID_OP( in spinand_read_id_op() 480 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() 555 struct spi_mem_op op = SPINAND_SET_FEATURE_OP(0xD0, in gigadevice_spinand_set_ds()
|
| H A D | toshiba.c | 66 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(0x30, &mbf); in tc58cxgxsx_ecc_get_status()
|
| H A D | winbond.c | 78 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0xc2, 1), in w25m02gv_select_target()
|
| H A D | macronix.c | 56 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0x7c, 1), in mx35lf1ge4ab_get_eccsr()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| 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 | rockchip_sfc.c | 438 static void rockchip_sfc_adjust_op_work(struct spi_mem_op *op) in rockchip_sfc_adjust_op_work() 477 const struct spi_mem_op *op, in rockchip_sfc_xfer_setup() 616 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_poll() 627 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_dma() 656 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_dma_async() 712 const struct spi_mem_op *op) in rockchip_sfc_exec_op_bypass() 717 rockchip_sfc_adjust_op_work((struct spi_mem_op *)op); in rockchip_sfc_exec_op_bypass() 736 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0x9F, 1), in rockchip_sfc_delay_lines_tuning() 821 const struct spi_mem_op *op) in rockchip_sfc_exec_op() 848 rockchip_sfc_adjust_op_work((struct spi_mem_op *)op); in rockchip_sfc_exec_op() [all …]
|
| 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()
|
| /rk3399_rockchip-uboot/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()
|
| H A D | spi-nor-core.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() 114 struct spi_mem_op op = in spi_nor_write_data() 536 struct spi_mem_op op = in spi_nor_erase_sector()
|