Home
last modified time | relevance | path

Searched refs:num_cs (Results 1 – 25 of 30) sorted by relevance

12

/third_party/uboot/u-boot-2020.01/drivers/memory/
Dti-aemif.c68 void aemif_init(int num_cs, struct aemif_config *config) in aemif_init() argument
72 if (num_cs > AEMIF_NUM_CS) { in aemif_init()
73 num_cs = AEMIF_NUM_CS; in aemif_init()
77 for (cs = 0; cs < num_cs; cs++) in aemif_init()
/third_party/uboot/u-boot-2020.01/drivers/spi/
Ddavinci_spi.c128 u8 num_cs; /* total no. of CS available */ member
494 if (slave_plat->cs >= ds->num_cs) { in davinci_spi_claim_bus()
519 if (slave->cs >= ds->num_cs) { in davinci_spi_xfer()
541 ds->num_cs = plat->num_cs; in davinci_spi_probe()
557 plat->num_cs = fdtdec_get_int(gd->fdt_blob, dev_of_offset(bus), "num-cs", 4); in davinci_ofdata_to_platadata()
Dspi-sifive.c94 u32 num_cs; member
283 if (cs >= spi->num_cs) in sifive_spi_cs_info()
303 spi->num_cs = ilog2(cs_bits) + 1; in sifive_spi_init_hw()
304 if (spi->num_cs > SIFIVE_SPI_MAX_CS) { in sifive_spi_init_hw()
Dbcm63xx_hsspi.c99 uint8_t num_cs; member
109 if (cs >= priv->num_cs) { in bcm63xx_hsspi_cs_info()
319 if (plat->cs >= priv->num_cs) { in bcm63xx_hsspi_child_pre_probe()
344 priv->num_cs = dev_read_u32_default(dev, "num-cs", 8); in bcm63xx_hsspi_probe()
Dbcm63xx_spi.c111 uint8_t num_cs; member
131 if (cs >= priv->num_cs) { in bcm63xx_spi_cs_info()
355 if (plat->cs >= priv->num_cs) { in bcm63xx_spi_child_pre_probe()
381 priv->num_cs = dev_read_u32_default(dev, "num-cs", 8); in bcm63xx_spi_probe()
Dmxs_spi.c75 int num_cs; /* Number of CSes supported */ member
454 plat->num_cs = dtplat->num_cs;
579 plat->num_cs = dev_read_u32_default(bus, "num-cs", 2);
596 __func__, (uint)plat->base, plat->frequency, plat->num_cs,
Dti_qspi.c95 u32 num_cs; member
164 if (cs > priv->num_cs) { in ti_qspi_xfer()
356 if (slave_plat->cs > priv->num_cs) { in ti_qspi_claim_bus()
466 priv->num_cs = fdtdec_get_int(blob, node, "num-cs", 4); in ti_qspi_ofdata_to_platdata()
Datcspi200_spi.c82 u8 num_cs; member
316 if (slave_plat->cs >= ns->num_cs) { in atcspi200_spi_claim_bus()
387 ns->num_cs = fdtdec_get_int(blob, node, "num-cs", 4); in atcspi200_ofdata_to_platadata()
Dcf_spi.c404 plat->num_cs = fdtdec_get_int(blob, node, "num-cs", in coldfire_dspi_ofdata_to_platdata()
433 plat->speed_hz, plat->num_cs, plat->mode); in coldfire_dspi_ofdata_to_platdata()
/third_party/uboot/u-boot-2020.01/drivers/ddr/marvell/axp/
Dxor.c34 for (ui = 0; ui < (dram_info->num_cs + 1); ui++) { in mv_sys_xor_init()
45 reg_write(XOR_BASE_ADDR_REG(0, dram_info->num_cs), base); in mv_sys_xor_init()
47 reg_write(XOR_SIZE_MASK_REG(0, dram_info->num_cs), 0x03FF0000); in mv_sys_xor_init()
Dddr3_hw_training.c93 dram_info.num_cs = ddr3_get_cs_num_from_reg(); in ddr3_hw_training()
454 dram_info.num_cs = 1; in ddr3_hw_training()
955 dram_info->num_cs = 1; in ddr3_training_suspend_resume()
Dddr3_read_leveling.c202 for (cs = 0; cs < dram_info->num_cs; cs++) { in ddr3_read_leveling_sw()
729 for (cs = 0; cs < dram_info->num_cs; cs++) { in ddr3_read_leveling_single_cs_rl_mode()
1204 for (cs = 0; cs < dram_info->num_cs; cs++) { in ddr3_read_leveling_single_cs_window_mode()
Dddr3_hw_training.h252 u32 num_cs; member
/third_party/uboot/u-boot-2020.01/include/dm/platform_data/
Dspi_davinci.h12 u8 num_cs; /* total no. of CS available */ member
Dspi_coldfire.h24 uint num_cs; member
/third_party/uboot/u-boot-2020.01/arch/arm/include/asm/ti-common/
Dti-aemif.h36 void aemif_init(int num_cs, struct aemif_config *config);
/third_party/uboot/u-boot-2020.01/drivers/mtd/nand/raw/
Dpxa3xx_nand.h50 int num_cs; member
Dpxa3xx_nand.c1759 if (pdata->num_cs <= 0) in alloc_nand_resource()
1763 for (cs = 0; cs < pdata->num_cs; cs++) { in alloc_nand_resource()
1833 pdata->num_cs = fdtdec_get_int(blob, node, "num-cs", 1); in pxa3xx_nand_probe_dt()
1834 if (pdata->num_cs != 1) { in pxa3xx_nand_probe_dt()
1886 for (cs = 0; cs < pdata->num_cs; cs++) { in pxa3xx_nand_probe()
/third_party/uboot/u-boot-2020.01/include/linux/
Dmbus.h27 int num_cs; member
/third_party/uboot/u-boot-2020.01/arch/arm/mach-mvebu/
Dcpu.c558 for (i = 0; i < dram->num_cs; i++) { in ahci_mvebu_mbus_config()
613 for (i = 0; i < dram->num_cs; i++) { in xhci_mvebu_mbus_config()
Dmbus.c346 mbus_dram_info.num_cs = cs; in mvebu_mbus_default_setup_cpu_target()
/third_party/uboot/u-boot-2020.01/drivers/ata/
Dmvsata_ide.c118 for (i = 0; i < dram->num_cs; i++) { in mvsata_ide_conf_mbus_windows()
/third_party/uboot/u-boot-2020.01/drivers/mmc/
Dmv_sdhci.c29 for (i = 0; i < dram->num_cs; i++) { in sdhci_mvebu_mbus_config()
/third_party/uboot/u-boot-2020.01/drivers/usb/host/
Dehci-marvell.c65 for (i = 0; i < dram->num_cs; i++) { in usb_brg_adrdec_setup()
/third_party/uboot/u-boot-2020.01/drivers/video/
Dmvebu_lcd.c113 for (i = 0; i < dram->num_cs; i++) { in mvebu_lcd_conf_mbus_registers()

12