Searched refs:f_pdata (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-cadence-quadspi.c | 82 struct cqspi_flash_pdata f_pdata[CQSPI_MAX_CHIPSELECT]; member 280 static unsigned int cqspi_calc_rdreg(struct cqspi_flash_pdata *f_pdata) in cqspi_calc_rdreg() argument 284 rdreg |= f_pdata->inst_width << CQSPI_REG_RD_INSTR_TYPE_INSTR_LSB; in cqspi_calc_rdreg() 285 rdreg |= f_pdata->addr_width << CQSPI_REG_RD_INSTR_TYPE_ADDR_LSB; in cqspi_calc_rdreg() 286 rdreg |= f_pdata->data_width << CQSPI_REG_RD_INSTR_TYPE_DATA_LSB; in cqspi_calc_rdreg() 348 static int cqspi_command_read(struct cqspi_flash_pdata *f_pdata, in cqspi_command_read() argument 351 struct cqspi_st *cqspi = f_pdata->cqspi; in cqspi_command_read() 370 rdreg = cqspi_calc_rdreg(f_pdata); in cqspi_command_read() 399 static int cqspi_command_write(struct cqspi_flash_pdata *f_pdata, in cqspi_command_write() argument 402 struct cqspi_st *cqspi = f_pdata in cqspi_command_write() 450 cqspi_read_setup(struct cqspi_flash_pdata *f_pdata, const struct spi_mem_op *op) cqspi_read_setup() argument 480 cqspi_indirect_read_execute(struct cqspi_flash_pdata *f_pdata, u8 *rxbuf, loff_t from_addr, const size_t n_rx) cqspi_indirect_read_execute() argument 572 cqspi_write_setup(struct cqspi_flash_pdata *f_pdata, const struct spi_mem_op *op) cqspi_write_setup() argument 592 cqspi_indirect_write_execute(struct cqspi_flash_pdata *f_pdata, loff_t to_addr, const u8 *txbuf, const size_t n_tx) cqspi_indirect_write_execute() argument 684 cqspi_chipselect(struct cqspi_flash_pdata *f_pdata) cqspi_chipselect() argument 724 cqspi_delay(struct cqspi_flash_pdata *f_pdata) cqspi_delay() argument 809 cqspi_configure(struct cqspi_flash_pdata *f_pdata, unsigned long sclk) cqspi_configure() argument 838 cqspi_set_protocol(struct cqspi_flash_pdata *f_pdata, const struct spi_mem_op *op) cqspi_set_protocol() argument 867 cqspi_write(struct cqspi_flash_pdata *f_pdata, const struct spi_mem_op *op) cqspi_write() argument 899 cqspi_direct_read_execute(struct cqspi_flash_pdata *f_pdata, u_char *buf, loff_t from, size_t len) cqspi_direct_read_execute() argument 958 cqspi_read(struct cqspi_flash_pdata *f_pdata, const struct spi_mem_op *op) cqspi_read() argument 984 struct cqspi_flash_pdata *f_pdata; cqspi_mem_process() local 1013 cqspi_of_get_flash_pdata(struct platform_device *pdev, struct cqspi_flash_pdata *f_pdata, struct device_node *np) cqspi_of_get_flash_pdata() argument 1148 struct cqspi_flash_pdata *f_pdata; cqspi_setup_flash() local [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-cadence-quadspi.c | 95 struct cqspi_flash_pdata f_pdata[CQSPI_MAX_CHIPSELECT]; member 108 int (*indirect_read_dma)(struct cqspi_flash_pdata *f_pdata, 444 static int cqspi_setup_opcode_ext(struct cqspi_flash_pdata *f_pdata, in cqspi_setup_opcode_ext() argument 448 struct cqspi_st *cqspi = f_pdata->cqspi; in cqspi_setup_opcode_ext() 467 static int cqspi_enable_dtr(struct cqspi_flash_pdata *f_pdata, in cqspi_enable_dtr() argument 470 struct cqspi_st *cqspi = f_pdata->cqspi; in cqspi_enable_dtr() 486 ret = cqspi_setup_opcode_ext(f_pdata, op, shift); in cqspi_enable_dtr() 499 static int cqspi_command_read(struct cqspi_flash_pdata *f_pdata, in cqspi_command_read() argument 502 struct cqspi_st *cqspi = f_pdata->cqspi; in cqspi_command_read() 513 status = cqspi_enable_dtr(f_pdata, o in cqspi_command_read() 582 cqspi_command_write(struct cqspi_flash_pdata *f_pdata, const struct spi_mem_op *op) cqspi_command_write() argument 651 cqspi_read_setup(struct cqspi_flash_pdata *f_pdata, const struct spi_mem_op *op) cqspi_read_setup() argument 693 cqspi_indirect_read_execute(struct cqspi_flash_pdata *f_pdata, u8 *rxbuf, loff_t from_addr, const size_t n_rx) cqspi_indirect_read_execute() argument 821 cqspi_versal_indirect_read_dma(struct cqspi_flash_pdata *f_pdata, u_char *rxbuf, loff_t from_addr, size_t n_rx) cqspi_versal_indirect_read_dma() argument 954 cqspi_write_setup(struct cqspi_flash_pdata *f_pdata, const struct spi_mem_op *op) cqspi_write_setup() argument 1010 cqspi_indirect_write_execute(struct cqspi_flash_pdata *f_pdata, loff_t to_addr, const u8 *txbuf, const size_t n_tx) cqspi_indirect_write_execute() argument 1109 cqspi_chipselect(struct cqspi_flash_pdata *f_pdata) cqspi_chipselect() argument 1149 cqspi_delay(struct cqspi_flash_pdata *f_pdata) cqspi_delay() argument 1227 cqspi_configure(struct cqspi_flash_pdata *f_pdata, unsigned long sclk) cqspi_configure() argument 1256 cqspi_write(struct cqspi_flash_pdata *f_pdata, const struct spi_mem_op *op) cqspi_write() argument 1293 cqspi_direct_read_execute(struct cqspi_flash_pdata *f_pdata, u_char *buf, loff_t from, size_t len) cqspi_direct_read_execute() argument 1352 cqspi_read(struct cqspi_flash_pdata *f_pdata, const struct spi_mem_op *op) cqspi_read() argument 1383 struct cqspi_flash_pdata *f_pdata; cqspi_mem_process() local 1451 cqspi_of_get_flash_pdata(struct platform_device *pdev, struct cqspi_flash_pdata *f_pdata, struct device_node *np) cqspi_of_get_flash_pdata() argument 1610 struct cqspi_flash_pdata *f_pdata; cqspi_setup_flash() local [all...] |
Completed in 4 milliseconds