Home
last modified time | relevance | path

Searched refs:spi_mem_op (Results 1 – 25 of 41) sorted by relevance

12

/u-boot/include/
A Dspi-mem.h96 struct spi_mem_op { struct
151 struct spi_mem_op op_tmpl;
258 const struct spi_mem_op *op);
260 const struct spi_mem_op *op);
295 const struct spi_mem_op *op,
299 const struct spi_mem_op *op,
304 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data()
312 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data()
323 const struct spi_mem_op *op);
326 const struct spi_mem_op *op);
[all …]
/u-boot/drivers/spi/
A Dcadence_qspi.h272 const struct spi_mem_op *op);
274 const struct spi_mem_op *op);
276 const struct spi_mem_op *op);
278 const struct spi_mem_op *op);
281 const struct spi_mem_op *op);
283 const struct spi_mem_op *op);
285 const struct spi_mem_op *op);
287 const struct spi_mem_op *op);
303 const struct spi_mem_op *op);
A Dmtk_snor.c143 const struct spi_mem_op *op) in mtk_snor_set_addr()
166 struct spi_mem_op *op) in mtk_snor_adjust_op_size()
197 const struct spi_mem_op *op) in mtk_snor_supports_op()
208 const struct spi_mem_op *op) in mtk_snor_setup_bus()
262 const struct spi_mem_op *op) in mtk_snor_read_bounce()
283 const struct spi_mem_op *op) in mtk_snor_read_dma()
305 const struct spi_mem_op *op) in mtk_snor_read_pio()
350 const struct spi_mem_op *op) in mtk_snor_pp_buffered()
371 const struct spi_mem_op *op) in mtk_snor_pp_unbuffered()
384 const struct spi_mem_op *op) in mtk_snor_cmd_program()
[all …]
A Dcadence_qspi_apb.c119 const struct spi_mem_op *op) in cadence_qspi_set_protocol()
386 const struct spi_mem_op *op, in cadence_qspi_setup_opcode_ext()
407 const struct spi_mem_op *op, in cadence_qspi_enable_dtr()
435 const struct spi_mem_op *op) in cadence_qspi_apb_command_read_setup()
457 const struct spi_mem_op *op) in cadence_qspi_apb_command_read()
523 const struct spi_mem_op *op) in cadence_qspi_apb_command_write_setup()
545 const struct spi_mem_op *op) in cadence_qspi_apb_command_write()
610 const struct spi_mem_op *op) in cadence_qspi_apb_read_setup()
759 const struct spi_mem_op *op) in cadence_qspi_apb_read_execute()
782 const struct spi_mem_op *op) in cadence_qspi_apb_write_setup()
[all …]
A Dspi-sn-f-ospi.c120 static u32 f_ospi_get_dummy_cycle(const struct spi_mem_op *op) in f_ospi_get_dummy_cycle()
264 const struct spi_mem_op *op) in f_ospi_config_indir_protocol()
337 const struct spi_mem_op *op) in f_ospi_indir_prepare_op()
402 const struct spi_mem_op *op) in f_ospi_indir_read()
452 const struct spi_mem_op *op) in f_ospi_indir_write()
494 static int f_ospi_exec_op(struct spi_slave *slave, const struct spi_mem_op *op) in f_ospi_exec_op()
522 static bool f_ospi_supports_op_width(const struct spi_mem_op *op) in f_ospi_supports_op_width()
548 const struct spi_mem_op *op) in f_ospi_supports_op()
562 static int f_ospi_adjust_op_size(struct spi_slave *slave, struct spi_mem_op *op) in f_ospi_adjust_op_size()
A Dspi-mem.c47 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data()
93 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data()
151 const struct spi_mem_op *op) in spi_mem_check_buswidth()
173 const struct spi_mem_op *op) in spi_mem_dtr_supports_op()
197 const struct spi_mem_op *op) in spi_mem_default_supports_op()
225 const struct spi_mem_op *op) in spi_mem_supports_op()
249 int spi_mem_exec_op(struct spi_slave *slave, const struct spi_mem_op *op) in spi_mem_exec_op()
468 int spi_mem_adjust_op_size(struct spi_slave *slave, struct spi_mem_op *op) in spi_mem_adjust_op_size()
503 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_read()
523 struct spi_mem_op op = desc->info.op_tmpl; in spi_mem_no_dirmap_write()
A Dspi-mem-nodm.c12 const struct spi_mem_op *op) in spi_mem_exec_op()
88 struct spi_mem_op *op) in spi_mem_adjust_op_size()
146 bool spi_mem_supports_op(struct spi_slave *slave, const struct spi_mem_op *op) in spi_mem_supports_op()
A Drockchip_sfc.c323 static void rockchip_sfc_adjust_op_work(struct spi_mem_op *op) in rockchip_sfc_adjust_op_work()
362 const struct spi_mem_op *op, in rockchip_sfc_xfer_setup()
501 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_poll()
512 const struct spi_mem_op *op, u32 len) in rockchip_sfc_xfer_data_dma()
559 const struct spi_mem_op *op) in rockchip_sfc_exec_op()
565 rockchip_sfc_adjust_op_work((struct spi_mem_op *)op); in rockchip_sfc_exec_op()
583 static int rockchip_sfc_adjust_op_size(struct spi_slave *mem, struct spi_mem_op *op) in rockchip_sfc_adjust_op_size()
A Dmicrochip_coreqspi.c194 const struct spi_mem_op *op) in mchp_coreqspi_config_op()
267 const struct spi_mem_op *op) in mchp_coreqspi_set_operate_mode()
305 const struct spi_mem_op *op) in mchp_coreqspi_exec_op()
362 const struct spi_mem_op *op) in mchp_coreqspi_supports_op()
391 struct spi_mem_op *op) in mchp_coreqspi_adjust_op_size()
A Datmel-quadspi.c274 int (*set_cfg)(struct atmel_qspi *aq, const struct spi_mem_op *op,
276 int (*transfer)(struct atmel_qspi *aq, const struct spi_mem_op *op,
399 static inline bool atmel_qspi_is_compatible(const struct spi_mem_op *op, in atmel_qspi_is_compatible()
414 static int atmel_qspi_find_mode(const struct spi_mem_op *op) in atmel_qspi_find_mode()
425 static int atmel_qspi_sama7g5_find_mode(const struct spi_mem_op *op) in atmel_qspi_sama7g5_find_mode()
437 const struct spi_mem_op *op) in atmel_qspi_supports_op()
463 const struct spi_mem_op *op, u32 *offset) in atmel_qspi_set_cfg()
574 const struct spi_mem_op *op, u32 offset) in atmel_qspi_transfer()
622 const struct spi_mem_op *op, u32 *offset) in atmel_qspi_sama7g5_set_cfg()
707 const struct spi_mem_op *op, u32 offset) in atmel_qspi_sama7g5_transfer()
[all …]
A Dfsl_qspi.c361 const struct spi_mem_op *op) in fsl_qspi_supports_op()
409 const struct spi_mem_op *op) in fsl_qspi_prepare_lut()
533 static void fsl_qspi_read_ahb(struct fsl_qspi *q, const struct spi_mem_op *op) in fsl_qspi_read_ahb()
548 const struct spi_mem_op *op) in fsl_qspi_fill_txfifo()
573 const struct spi_mem_op *op) in fsl_qspi_read_rxfifo()
604 static int fsl_qspi_do_op(struct fsl_qspi *q, const struct spi_mem_op *op) in fsl_qspi_do_op()
630 const struct spi_mem_op *op) in fsl_qspi_exec_op()
689 struct spi_mem_op *op) in fsl_qspi_adjust_op_size()
A Dstm32_qspi.c141 const struct spi_mem_op *op) in _stm32_qspi_wait_cmd()
177 const struct spi_mem_op *op) in _stm32_qspi_poll()
209 const struct spi_mem_op *op) in stm32_qspi_mm()
218 const struct spi_mem_op *op, in _stm32_qspi_tx()
239 const struct spi_mem_op *op) in stm32_qspi_exec_op()
A Dmtk_snfi_spi.c57 struct spi_mem_op *op) in mtk_snfi_adjust_op_size()
81 const struct spi_mem_op *op) in mtk_snfi_supports_op()
196 const struct spi_mem_op *op) in mtk_snfi_exec_op()
A Dcadence_qspi.c33 const struct spi_mem_op *op) in cadence_qspi_apb_dma_read()
63 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0x9F, 1), in cadence_spi_read_id()
297 const struct spi_mem_op *op) in cadence_spi_mem_exec_op()
360 const struct spi_mem_op *op) in cadence_spi_mem_supports_op()
A Dnxp_fspi.c391 const struct spi_mem_op *op) in nxp_fspi_supports_op()
485 const struct spi_mem_op *op) in nxp_fspi_prepare_lut()
627 static void nxp_fspi_read_ahb(struct nxp_fspi *f, const struct spi_mem_op *op) in nxp_fspi_read_ahb()
636 const struct spi_mem_op *op) in nxp_fspi_fill_txfifo()
680 const struct spi_mem_op *op) in nxp_fspi_read_rxfifo()
730 static int nxp_fspi_do_op(struct nxp_fspi *f, const struct spi_mem_op *op) in nxp_fspi_do_op()
769 const struct spi_mem_op *op) in nxp_fspi_exec_op()
808 struct spi_mem_op *op) in nxp_fspi_adjust_op_size()
A Dca_sflash.c363 struct spi_mem_op *op) in _ca_sflash_access_data()
420 struct spi_mem_op *op, u8 opcode) in _ca_sflash_issue_cmd()
488 const struct spi_mem_op *op) in ca_sflash_exec_op()
509 return _ca_sflash_issue_cmd(priv, (struct spi_mem_op *)op, opcode); in ca_sflash_exec_op()
A Dmtk_spim.c350 const struct spi_mem_op *op) in mtk_spim_supports_op()
383 const struct spi_mem_op *op) in mtk_spim_setup_dma_xfer()
403 const struct spi_mem_op *op) in mtk_spim_transfer_wait()
438 const struct spi_mem_op *op) in mtk_spim_exec_op()
600 struct spi_mem_op *op) in mtk_spim_adjust_op_size()
/u-boot/include/linux/mtd/
A Dspinand.h222 const struct spi_mem_op *ops;
228 .ops = (struct spi_mem_op[]) { __VA_ARGS__ }, \
229 .nops = sizeof((struct spi_mem_op[]){ __VA_ARGS__ }) / \
230 sizeof(struct spi_mem_op), \
351 const struct spi_mem_op *read_cache;
352 const struct spi_mem_op *write_cache;
353 const struct spi_mem_op *update_cache;
/u-boot/drivers/mtd/nand/spi/
A Dcore.c55 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(reg, in spinand_read_reg_op()
69 struct spi_mem_op op = SPINAND_SET_FEATURE_OP(reg, in spinand_write_reg_op()
228 struct spi_mem_op op = SPINAND_WR_EN_DIS_OP(true); in spinand_write_enable_op()
238 struct spi_mem_op op = SPINAND_PAGE_READ_OP(row); in spinand_load_page_op()
407 struct spi_mem_op op = SPINAND_PROG_EXEC_OP(row); in spinand_program_op()
469 struct spi_mem_op op = SPINAND_RESET_OP; in spinand_reset_op()
810 const struct spi_mem_op *
812 const struct spi_mem_op *ops, in spinand_find_supported_op()
872 static const struct spi_mem_op *
880 struct spi_mem_op op = variants->ops[i]; in spinand_select_op_variant()
[all …]
A Dgigadevice.c80 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(GD5FXGQXXEXXG_REG_STATUS2, in gd5fxgq4xexxg_ecc_get_status()
122 struct spi_mem_op op = SPINAND_GET_FEATURE_OP(GD5FXGQXXEXXG_REG_STATUS2, in gd5fxgq5xexxg_ecc_get_status()
A Dwinbond.c70 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0xc2, 1), in w25m02gv_select_target()
A Dmacronix.c59 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0x7c, 1), in mx35lf1ge4ab_get_eccsr()
/u-boot/drivers/mtd/spi/
A Dspi-nor-core.c332 struct spi_mem_op op = in spansion_read_any_reg()
343 struct spi_mem_op op = in spansion_write_any_reg()
356 struct spi_mem_op op = in spi_nor_read_data()
408 struct spi_mem_op op = in spi_nor_write_data()
446 struct spi_mem_op op; in read_sr()
489 struct spi_mem_op op; in read_fsr()
915 struct spi_mem_op op = in spi_nor_erase_chip()
937 struct spi_mem_op op = in spi_nor_erase_sector()
1061 struct spi_mem_op op = in spansion_erase_non_uniform()
3506 struct spi_mem_op op; in spi_nor_cypress_octal_dtr_enable()
[all …]
A Dsf_probe.c32 struct spi_mem_op *op = &info.op_tmpl; in spi_nor_create_read_dirmap()
60 struct spi_mem_op *op = &info.op_tmpl; in spi_nor_create_write_dirmap()
A Dspi-nor-tiny.c39 static int spi_nor_read_write_reg(struct spi_nor *nor, struct spi_mem_op in spi_nor_read_write_reg()
51 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(code, 1), in spi_nor_read_reg()
77 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(opcode, 1), in spi_nor_write_reg()
88 struct spi_mem_op op = in spi_nor_read_data()

Completed in 49 milliseconds

12