Home
last modified time | relevance | path

Searched refs:buswidth (Results 1 – 22 of 22) sorted by relevance

/openbmc/u-boot/include/
H A Dspi-mem.h21 .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 Ddwmmc.h170 int buswidth; member
/openbmc/u-boot/drivers/spi/
H A Dspi-mem.c105 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()
137 if (spi_check_buswidth_req(slave, op->cmd.buswidth, true)) in spi_mem_default_supports_op()
141 spi_check_buswidth_req(slave, op->addr.buswidth, true)) in spi_mem_default_supports_op()
145 spi_check_buswidth_req(slave, op->dummy.buswidth, true)) in spi_mem_default_supports_op()
149 spi_check_buswidth_req(slave, op->data.buswidth, in spi_mem_default_supports_op()
277 xfers[xferpos].tx_nbits = op->cmd.buswidth; in spi_mem_exec_op()
291 xfers[xferpos].tx_nbits = op->addr.buswidth; in spi_mem_exec_op()
301 xfers[xferpos].tx_nbits = op->dummy.buswidth; in spi_mem_exec_op()
310 xfers[xferpos].rx_nbits = op->data.buswidth; in spi_mem_exec_op()
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dmxsmmc.c33 uint32_t buswidth; member
170 ctrl0 = priv->buswidth; in mxsmmc_send_cmd()
317 priv->buswidth = SSP_CTRL0_BUS_WIDTH_ONE_BIT; in mxsmmc_set_ios()
320 priv->buswidth = SSP_CTRL0_BUS_WIDTH_FOUR_BIT; in mxsmmc_set_ios()
323 priv->buswidth = SSP_CTRL0_BUS_WIDTH_EIGHT_BIT; in mxsmmc_set_ios()
329 SSP_CTRL0_BUS_WIDTH_MASK, priv->buswidth); in mxsmmc_set_ios()
H A Dftsdc010_mci.h30 int buswidth; member
H A Dftsdc010_mci.c371 static void ftsdc_setup_cfg(struct mmc_config *cfg, const char *name, int buswidth, in ftsdc_setup_cfg() argument
379 if (buswidth == 8) { in ftsdc_setup_cfg()
397 chip->buswidth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_ofdata_to_platdata()
436 chip->buswidth = dtplat->bus_width; in ftsdc010_mmc_probe()
449 ftsdc_setup_cfg(&plat->cfg, dev->name, chip->buswidth, chip->caps, in ftsdc010_mmc_probe()
H A Darm_pl180_mmci.c318 u32 buswidth = 0; in host_set_ios() local
322 buswidth |= SDI_CLKCR_WIDBUS_1; in host_set_ios()
325 buswidth |= SDI_CLKCR_WIDBUS_4; in host_set_ios()
328 buswidth |= SDI_CLKCR_WIDBUS_8; in host_set_ios()
335 sdi_clkcr |= buswidth; in host_set_ios()
H A Drockchip_dw_mmc.c59 host->buswidth = dev_read_u32_default(dev, "bus-width", 4); in rockchip_dwmmc_ofdata_to_platdata()
109 host->buswidth = dtplat->bus_width; in rockchip_dwmmc_probe()
H A Dhi6220_dw_mmc.c32 host->buswidth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in hi6220_dwmmc_ofdata_to_platdata()
H A Dexynos_dw_mmc.c142 flag = host->buswidth == 8 ? PINMUX_FLAG_8BIT_MODE : PINMUX_FLAG_NONE; in do_dwmci_init()
172 host->buswidth = fdtdec_get_int(blob, node, "samsung,bus-width", 4); in exynos_dwmci_get_config()
H A Dsocfpga_dw_mmc.c116 host->buswidth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_ofdata_to_platdata()
H A Ddw_mmc.c554 if (host->buswidth == 8) {
/openbmc/u-boot/drivers/mtd/spi/
H A Dspi-nor-tiny.c85 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 Dspi-nor-core.c48 op->cmd.buswidth = spi_nor_get_protocol_inst_nbits(proto); in spi_nor_setup_op()
51 op->addr.buswidth = spi_nor_get_protocol_addr_nbits(proto); in spi_nor_setup_op()
54 op->dummy.buswidth = spi_nor_get_protocol_addr_nbits(proto); in spi_nor_setup_op()
57 op->data.buswidth = spi_nor_get_protocol_data_nbits(proto); in spi_nor_setup_op()
142 op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(nor->read_proto); in spi_nor_read_data()
143 op.addr.buswidth = spi_nor_get_protocol_addr_nbits(nor->read_proto); in spi_nor_read_data()
144 op.dummy.buswidth = op.addr.buswidth; in spi_nor_read_data()
145 op.data.buswidth = spi_nor_get_protocol_data_nbits(nor->read_proto); in spi_nor_read_data()
148 op.dummy.nbytes = (nor->read_dummy * op.dummy.buswidth) / 8; in spi_nor_read_data()
180 op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(nor->write_proto); in spi_nor_write_data()
[all …]
/openbmc/u-boot/arch/arm/mach-keystone/
H A Dddr3_spd.c137 u8 buswidth; member
186 spd->buswidth = 8 << (buf->bus_width & 0x7); in ddrtimingcalculation()
187 if ((spd->buswidth < 16) || (spd->buswidth > 64)) in ddrtimingcalculation()
372 (spd->buswidth & 3) << 12 | (spd->pagesize & 3); in init_ddr3param()
/openbmc/u-boot/board/synopsys/axs10x/
H A Daxs10x.c27 host->buswidth = 4; in board_mmc_init()
/openbmc/u-boot/board/synopsys/emsdp/
H A Demsdp.c64 host->buswidth = 4; in board_mmc_init()
/openbmc/u-boot/board/synopsys/iot_devkit/
H A Diot_devkit.c164 host->buswidth = 4; in board_mmc_init()
/openbmc/u-boot/drivers/mtd/nand/spi/
H A Dcore.c205 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()
/openbmc/u-boot/arch/arm/dts/
H A Dda850-lcdk.dts281 ti,davinci-nand-buswidth = <16>;
/openbmc/u-boot/board/synopsys/hsdk/
H A Dhsdk.c1048 host->buswidth = 4; in board_mmc_init()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A DKconfig124 have only 16-bit memory buswidth.
130 32-bit memory buswidth.