| /rk3399_rockchip-uboot/include/ |
| H A D | spi-mem.h | 21 .buswidth = __buswidth, \ 29 .buswidth = __buswidth, \ 37 .buswidth = __buswidth, \ 47 .buswidth = __buswidth, \ 55 .buswidth = __buswidth, \ 92 u8 buswidth; member 98 u8 buswidth; member 104 u8 buswidth; member 108 u8 buswidth; member
|
| H A D | dwmmc.h | 180 int buswidth; member
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | spi-mem.c | 105 static int spi_check_buswidth_req(struct spi_slave *slave, u8 buswidth, bool tx) in spi_check_buswidth_req() argument 109 switch (buswidth) { in spi_check_buswidth_req() 143 if (spi_check_buswidth_req(slave, op->cmd.buswidth, true)) in spi_mem_default_supports_op() 147 spi_check_buswidth_req(slave, op->addr.buswidth, true)) in spi_mem_default_supports_op() 151 spi_check_buswidth_req(slave, op->dummy.buswidth, true)) in spi_mem_default_supports_op() 155 spi_check_buswidth_req(slave, op->data.buswidth, in spi_mem_default_supports_op() 282 xfers[xferpos].tx_nbits = op->cmd.buswidth; in spi_mem_exec_op() 296 xfers[xferpos].tx_nbits = op->addr.buswidth; in spi_mem_exec_op() 306 xfers[xferpos].tx_nbits = op->dummy.buswidth; in spi_mem_exec_op() 315 xfers[xferpos].rx_nbits = op->data.buswidth; in spi_mem_exec_op() [all …]
|
| H A D | rockchip_sfc.c | 446 op->addr.buswidth = op->dummy.buswidth; in rockchip_sfc_adjust_op_work() 485 ctrl |= ((op->cmd.buswidth >> 1) << SFC_CTRL_CMD_BITS_SHIFT); in rockchip_sfc_xfer_setup() 498 ctrl |= ((op->addr.buswidth >> 1) << SFC_CTRL_ADDR_BITS_SHIFT); in rockchip_sfc_xfer_setup() 503 if (op->dummy.buswidth == 4) in rockchip_sfc_xfer_setup() 505 else if (op->dummy.buswidth == 2) in rockchip_sfc_xfer_setup() 520 ctrl |= ((op->data.buswidth >> 1) << SFC_CTRL_DATA_BITS_SHIFT); in rockchip_sfc_xfer_setup() 530 op->addr.nbytes, op->addr.buswidth, in rockchip_sfc_xfer_setup() 531 op->dummy.nbytes, op->dummy.buswidth); in rockchip_sfc_xfer_setup()
|
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | mxsmmc.c | 34 uint32_t buswidth; member 171 ctrl0 = priv->buswidth; in mxsmmc_send_cmd() 318 priv->buswidth = SSP_CTRL0_BUS_WIDTH_ONE_BIT; in mxsmmc_set_ios() 321 priv->buswidth = SSP_CTRL0_BUS_WIDTH_FOUR_BIT; in mxsmmc_set_ios() 324 priv->buswidth = SSP_CTRL0_BUS_WIDTH_EIGHT_BIT; in mxsmmc_set_ios() 330 SSP_CTRL0_BUS_WIDTH_MASK, priv->buswidth); in mxsmmc_set_ios()
|
| H A D | arm_pl180_mmci.c | 314 u32 buswidth = 0; in host_set_ios() local 318 buswidth |= SDI_CLKCR_WIDBUS_1; in host_set_ios() 321 buswidth |= SDI_CLKCR_WIDBUS_4; in host_set_ios() 324 buswidth |= SDI_CLKCR_WIDBUS_8; in host_set_ios() 331 sdi_clkcr |= buswidth; in host_set_ios()
|
| H A D | hi6220_dw_mmc.c | 52 host->buswidth = bus_width; in hi6220_dwmci_add_port()
|
| H A D | exynos_dw_mmc.c | 139 flag = host->buswidth == 8 ? PINMUX_FLAG_8BIT_MODE : PINMUX_FLAG_NONE; in do_dwmci_init() 175 host->buswidth = fdtdec_get_int(blob, node, "samsung,bus-width", 4); in exynos_dwmci_get_config()
|
| H A D | socfpga_dw_mmc.c | 82 host->buswidth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_ofdata_to_platdata()
|
| H A D | rockchip_dw_mmc.c | 102 host->buswidth = dev_read_u32_default(dev, "bus-width", 4); in rockchip_dwmmc_ofdata_to_platdata() 390 host->buswidth = dtplat->bus_width; in rockchip_dwmmc_probe()
|
| H A D | dw_mmc.c | 923 switch (host->buswidth) { 936 printf("Unsupported bus width: %d\n", host->buswidth);
|
| /rk3399_rockchip-uboot/drivers/mtd/spi/ |
| H A D | spi-nor-tiny.c | 85 op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(nor->read_proto); in spi_nor_read_data() 86 op.addr.buswidth = spi_nor_get_protocol_addr_nbits(nor->read_proto); in spi_nor_read_data() 87 op.dummy.buswidth = op.addr.buswidth; in spi_nor_read_data() 88 op.data.buswidth = spi_nor_get_protocol_data_nbits(nor->read_proto); in spi_nor_read_data() 91 op.dummy.nbytes = (nor->read_dummy * op.dummy.buswidth) / 8; in spi_nor_read_data()
|
| H A D | spi-nor-core.c | 85 op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(nor->read_proto); in spi_nor_read_data() 86 op.addr.buswidth = spi_nor_get_protocol_addr_nbits(nor->read_proto); in spi_nor_read_data() 87 op.dummy.buswidth = op.addr.buswidth; in spi_nor_read_data() 88 op.data.buswidth = spi_nor_get_protocol_data_nbits(nor->read_proto); in spi_nor_read_data() 91 op.dummy.nbytes = (nor->read_dummy * op.dummy.buswidth) / 8; in spi_nor_read_data() 122 op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(nor->write_proto); in spi_nor_write_data() 123 op.addr.buswidth = spi_nor_get_protocol_addr_nbits(nor->write_proto); in spi_nor_write_data() 124 op.data.buswidth = spi_nor_get_protocol_data_nbits(nor->write_proto); in spi_nor_write_data()
|
| /rk3399_rockchip-uboot/board/synopsys/hsdk/ |
| H A D | hsdk.c | 42 host->buswidth = 4; in board_mmc_init()
|
| /rk3399_rockchip-uboot/arch/arm/mach-keystone/ |
| H A D | ddr3_spd.c | 138 u8 buswidth; member 187 spd->buswidth = 8 << (buf->bus_width & 0x7); in ddrtimingcalculation() 188 if ((spd->buswidth < 16) || (spd->buswidth > 64)) in ddrtimingcalculation() 373 (spd->buswidth & 3) << 12 | (spd->pagesize & 3); in init_ddr3param()
|
| /rk3399_rockchip-uboot/board/synopsys/axs10x/ |
| H A D | axs10x.c | 28 host->buswidth = 4; in board_mmc_init()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/spi/ |
| H A D | core.c | 205 if (spinand->op_templates.read_cache->data.buswidth == 4 || in spinand_init_quad_enable() 206 spinand->op_templates.write_cache->data.buswidth == 4 || in spinand_init_quad_enable() 207 spinand->op_templates.update_cache->data.buswidth == 4) in spinand_init_quad_enable()
|
| /rk3399_rockchip-uboot/arch/arm/mach-sunxi/ |
| H A D | Kconfig | 48 have only 16-bit memory buswidth. 54 32-bit memory buswidth.
|