Home
last modified time | relevance | path

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

12

/u-boot/drivers/memory/
A 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()
/u-boot/drivers/spi/
A Ddavinci_spi.c94 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 Dmxs_spi.c50 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 Dbcm63xx_hsspi.c102 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 Dbcm63xx_spi.c113 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 Dspi-sifive.c103 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 Dti_qspi.c102 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 Datcspi200_spi.c84 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 Dspi-qup.c179 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 Dcf_spi.c402 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 Dspi_davinci.h12 u8 num_cs; /* total no. of CS available */ member
A Dspi_coldfire.h24 uint num_cs; member
/u-boot/arch/arm/include/asm/ti-common/
A Dti-aemif.h36 void aemif_init(int num_cs, struct aemif_config *config);
/u-boot/drivers/mtd/nand/raw/
A Dpxa3xx_nand.h50 int num_cs; member
A Dpxa3xx_nand.c1789 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 Dxor.c35 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 Dddr3_hw_training.c95 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 Dddr3_read_leveling.c203 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 Dddr3_hw_training.h252 u32 num_cs; member
/u-boot/include/linux/
A Dmbus.h27 int num_cs; member
/u-boot/drivers/ata/
A Dmvsata_ide.c119 for (i = 0; i < dram->num_cs; i++) { in mvsata_ide_conf_mbus_windows()
/u-boot/arch/arm/mach-mvebu/
A Dcpu.c561 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 Dmv_sdhci.c30 for (i = 0; i < dram->num_cs; i++) { in sdhci_mvebu_mbus_config()
/u-boot/drivers/usb/host/
A Dehci-marvell.c68 for (i = 0; i < dram->num_cs; i++) { in usb_brg_adrdec_setup()
/u-boot/drivers/video/
A Dmvebu_lcd.c117 for (i = 0; i < dram->num_cs; i++) { in mvebu_lcd_conf_mbus_registers()

Completed in 36 milliseconds

12