Searched refs:buswidth (Results 1 – 9 of 9) sorted by relevance
/trusted-firmware-a-3.4.0/plat/st/stm32mp1/ |
D | stm32mp1_boot_device.c | 38 nand_dev->buswidth = NAND_BUS_WIDTH_16; in get_data_from_otp() 40 nand_dev->buswidth = NAND_BUS_WIDTH_8; in get_data_from_otp() 140 device->spi_read_cache_op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in plat_get_spi_nand_data() 142 device->spi_read_cache_op.addr.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in plat_get_spi_nand_data() 144 device->spi_read_cache_op.dummy.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in plat_get_spi_nand_data() 145 device->spi_read_cache_op.data.buswidth = SPI_MEM_BUSWIDTH_4_LINE; in plat_get_spi_nand_data() 159 device->read_op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in plat_get_nor_data() 161 device->read_op.addr.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in plat_get_nor_data() 163 device->read_op.dummy.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in plat_get_nor_data() 164 device->read_op.data.buswidth = SPI_MEM_BUSWIDTH_4_LINE; in plat_get_nor_data()
|
/trusted-firmware-a-3.4.0/drivers/mtd/spi-mem/ |
D | spi_mem.c | 34 static bool spi_mem_check_buswidth_req(uint8_t buswidth, bool tx) in spi_mem_check_buswidth_req() argument 36 switch (buswidth) { in spi_mem_check_buswidth_req() 65 if (!spi_mem_check_buswidth_req(op->cmd.buswidth, true)) { in spi_mem_supports_op() 70 !spi_mem_check_buswidth_req(op->addr.buswidth, true)) { in spi_mem_supports_op() 75 !spi_mem_check_buswidth_req(op->dummy.buswidth, true)) { in spi_mem_supports_op() 80 !spi_mem_check_buswidth_req(op->data.buswidth, in spi_mem_supports_op() 155 __func__, op->cmd.opcode, op->cmd.buswidth, op->addr.buswidth, in spi_mem_exec_op() 156 op->dummy.buswidth, op->data.buswidth, in spi_mem_exec_op()
|
/trusted-firmware-a-3.4.0/include/drivers/ |
D | spi_mem.h | 51 uint8_t buswidth; member 57 uint8_t buswidth; member 63 uint8_t buswidth; member 67 uint8_t buswidth; member
|
D | nand.h | 29 unsigned int buswidth; member
|
/trusted-firmware-a-3.4.0/drivers/mtd/nand/ |
D | spi_nand.c | 42 op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_reg() 45 op.addr.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_reg() 46 op.data.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_reg() 98 if (spinand_dev.spi_read_cache_op.data.buswidth == in spi_nand_quad_enable() 135 op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_reset() 151 op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_read_id() 155 op.data.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_read_id() 171 op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_load_page() 174 op.addr.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_load_page() 278 spinand_dev.spi_read_cache_op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nand_init() [all …]
|
D | raw_nand.c | 99 if (rawnand_dev.nand_dev->buswidth == NAND_BUS_WIDTH_16) { in nand_change_read_column_cmd() 132 if (rawnand_dev.nand_dev->buswidth == NAND_BUS_WIDTH_16) { in nand_read_page_cmd() 318 rawnand_dev.nand_dev->buswidth = NAND_BUS_WIDTH_16; in nand_read_param_page() 320 rawnand_dev.nand_dev->buswidth = NAND_BUS_WIDTH_8; in nand_read_param_page() 339 rawnand_dev.nand_dev->buswidth); in nand_read_param_page()
|
/trusted-firmware-a-3.4.0/drivers/st/spi/ |
D | stm32_qspi.c | 232 static unsigned int stm32_qspi_get_mode(uint8_t buswidth) in stm32_qspi_get_mode() argument 234 if (buswidth == 4U) { in stm32_qspi_get_mode() 238 return buswidth; in stm32_qspi_get_mode() 250 __func__, op->cmd.opcode, op->cmd.buswidth, op->addr.buswidth, in stm32_qspi_exec_op() 251 op->dummy.buswidth, op->data.buswidth, in stm32_qspi_exec_op() 258 (op->addr.buswidth != 0U)) { in stm32_qspi_exec_op() 271 ccr |= stm32_qspi_get_mode(op->cmd.buswidth) << QSPI_CCR_IMODE_SHIFT; in stm32_qspi_exec_op() 275 ccr |= stm32_qspi_get_mode(op->addr.buswidth) << in stm32_qspi_exec_op() 279 if ((op->dummy.buswidth != 0U) && (op->dummy.nbytes != 0U)) { in stm32_qspi_exec_op() 280 ccr |= (op->dummy.nbytes * 8U / op->dummy.buswidth) << in stm32_qspi_exec_op() [all …]
|
/trusted-firmware-a-3.4.0/drivers/mtd/nor/ |
D | spi_nor.c | 45 op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nor_reg() 46 op.data.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nor_reg() 332 nor_dev.read_op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nor_init() 334 nor_dev.read_op.addr.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nor_init() 335 nor_dev.read_op.data.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in spi_nor_init() 368 if (nor_dev.read_op.data.buswidth == 4U) { in spi_nor_init()
|
/trusted-firmware-a-3.4.0/drivers/st/fmc/ |
D | stm32_fmc2_nand.c | 572 if (use_bus8 && (nand->buswidth == NAND_BUS_WIDTH_16)) { in stm32_fmc2_read_data() 607 if (use_bus8 && (nand->buswidth == NAND_BUS_WIDTH_16)) { in stm32_fmc2_read_data() 619 if (use_bus8 && (nand->buswidth == NAND_BUS_WIDTH_16)) { in stm32_fmc2_write_data() 655 if (use_bus8 && (nand->buswidth == NAND_BUS_WIDTH_16)) { in stm32_fmc2_write_data() 745 if (nand->buswidth == NAND_BUS_WIDTH_16) { in stm32_fmc2_setup() 774 if ((nand->buswidth & NAND_BUS_WIDTH_16) != 0) { in stm32_fmc2_setup()
|