/u-boot/drivers/memory/ |
A D | ti-aemif.c | 68 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()
|
/u-boot/drivers/spi/ |
A D | davinci_spi.c | 94 u8 num_cs; /* total no. of CS available */ member 342 if (slave_plat->cs >= ds->num_cs) { in davinci_spi_claim_bus() 367 if (slave->cs >= ds->num_cs) { in davinci_spi_xfer() 389 ds->num_cs = plat->num_cs; in davinci_spi_probe() 405 plat->num_cs = fdtdec_get_int(gd->fdt_blob, dev_of_offset(bus), "num-cs", 4); in davinci_ofdata_to_platadata()
|
A D | mxs_spi.c | 50 int num_cs; /* Number of CSes supported */ member 328 plat->num_cs = dtplat->num_cs; in mxs_spi_probe() 453 plat->num_cs = dev_read_u32_default(bus, "num-cs", 2); in mxs_of_to_plat() 470 __func__, (uint)plat->base, plat->frequency, plat->num_cs, in mxs_of_to_plat()
|
A D | bcm63xx_hsspi.c | 102 uint8_t num_cs; member 112 if (cs >= priv->num_cs) { in bcm63xx_hsspi_cs_info() 322 if (plat->cs >= priv->num_cs) { in bcm63xx_hsspi_child_pre_probe() 347 priv->num_cs = dev_read_u32_default(dev, "num-cs", 8); in bcm63xx_hsspi_probe()
|
A D | bcm63xx_spi.c | 113 uint8_t num_cs; member 133 if (cs >= priv->num_cs) { in bcm63xx_spi_cs_info() 357 if (plat->cs >= priv->num_cs) { in bcm63xx_spi_child_pre_probe() 383 priv->num_cs = dev_read_u32_default(dev, "num-cs", 8); in bcm63xx_spi_probe()
|
A D | spi-sifive.c | 103 u32 num_cs; member 384 if (cs >= spi->num_cs) in sifive_spi_cs_info() 404 spi->num_cs = ilog2(cs_bits) + 1; in sifive_spi_init_hw() 405 if (spi->num_cs > SIFIVE_SPI_MAX_CS) { in sifive_spi_init_hw()
|
A D | ti_qspi.c | 102 u32 num_cs; member 171 if (cs > priv->num_cs) { in ti_qspi_xfer() 366 if (slave_plat->cs > priv->num_cs) { in ti_qspi_claim_bus() 476 priv->num_cs = fdtdec_get_int(blob, node, "num-cs", 4); in ti_qspi_of_to_plat()
|
A D | atcspi200_spi.c | 84 u8 num_cs; member 318 if (slave_plat->cs >= ns->num_cs) { in atcspi200_spi_claim_bus() 389 ns->num_cs = fdtdec_get_int(blob, node, "num-cs", 4); in atcspi200_ofdata_to_platadata()
|
A D | spi-qup.c | 179 u32 num_cs; member 765 priv->num_cs = dev_read_u32_default(dev, "num-cs", 1); in qup_spi_probe() 768 priv->num_cs, GPIOD_IS_OUT | GPIOD_IS_OUT_ACTIVE); in qup_spi_probe()
|
A D | cf_spi.c | 402 plat->num_cs = fdtdec_get_int(blob, node, "num-cs", in coldfire_dspi_of_to_plat() 431 plat->speed_hz, plat->num_cs, plat->mode); in coldfire_dspi_of_to_plat()
|
/u-boot/include/dm/platform_data/ |
A D | spi_davinci.h | 12 u8 num_cs; /* total no. of CS available */ member
|
A D | spi_coldfire.h | 24 uint num_cs; member
|
/u-boot/arch/arm/include/asm/ti-common/ |
A D | ti-aemif.h | 36 void aemif_init(int num_cs, struct aemif_config *config);
|
/u-boot/drivers/mtd/nand/raw/ |
A D | pxa3xx_nand.h | 50 int num_cs; member
|
A D | pxa3xx_nand.c | 1789 if (pdata->num_cs <= 0) in alloc_nand_resource() 1793 for (cs = 0; cs < pdata->num_cs; cs++) { in alloc_nand_resource() 1859 pdata->num_cs = dev_read_u32_default(dev, "num-cs", 1); in pxa3xx_nand_probe_dt() 1860 if (pdata->num_cs != 1) { in pxa3xx_nand_probe_dt() 1907 for (cs = 0; cs < pdata->num_cs; cs++) { in pxa3xx_nand_probe()
|
/u-boot/drivers/ddr/marvell/axp/ |
A D | xor.c | 35 for (ui = 0; ui < (dram_info->num_cs + 1); ui++) { in mv_sys_xor_init() 46 reg_write(XOR_BASE_ADDR_REG(0, dram_info->num_cs), base); in mv_sys_xor_init() 48 reg_write(XOR_SIZE_MASK_REG(0, dram_info->num_cs), 0x03FF0000); in mv_sys_xor_init()
|
A D | ddr3_hw_training.c | 95 dram_info.num_cs = ddr3_get_cs_num_from_reg(); in ddr3_hw_training() 456 dram_info.num_cs = 1; in ddr3_hw_training() 957 dram_info->num_cs = 1; in ddr3_training_suspend_resume()
|
A D | ddr3_read_leveling.c | 203 for (cs = 0; cs < dram_info->num_cs; cs++) { in ddr3_read_leveling_sw() 730 for (cs = 0; cs < dram_info->num_cs; cs++) { in ddr3_read_leveling_single_cs_rl_mode() 1205 for (cs = 0; cs < dram_info->num_cs; cs++) { in ddr3_read_leveling_single_cs_window_mode()
|
A D | ddr3_hw_training.h | 252 u32 num_cs; member
|
/u-boot/include/linux/ |
A D | mbus.h | 27 int num_cs; member
|
/u-boot/drivers/ata/ |
A D | mvsata_ide.c | 119 for (i = 0; i < dram->num_cs; i++) { in mvsata_ide_conf_mbus_windows()
|
/u-boot/arch/arm/mach-mvebu/ |
A D | cpu.c | 561 for (i = 0; i < dram->num_cs; i++) { in ahci_mvebu_mbus_config() 616 for (i = 0; i < dram->num_cs; i++) { in xhci_mvebu_mbus_config()
|
/u-boot/drivers/mmc/ |
A D | mv_sdhci.c | 30 for (i = 0; i < dram->num_cs; i++) { in sdhci_mvebu_mbus_config()
|
/u-boot/drivers/usb/host/ |
A D | ehci-marvell.c | 68 for (i = 0; i < dram->num_cs; i++) { in usb_brg_adrdec_setup()
|
/u-boot/drivers/video/ |
A D | mvebu_lcd.c | 117 for (i = 0; i < dram->num_cs; i++) { in mvebu_lcd_conf_mbus_registers()
|