Home
last modified time | relevance | path

Searched refs:num_chipselect (Results 1 – 25 of 136) sorted by relevance

123456

/openbmc/linux/drivers/spi/
H A Dspi-altera-platform.c54 if (pdata->num_chipselect > ALTERA_SPI_MAX_CS) { in altera_spi_probe()
57 pdata->num_chipselect); in altera_spi_probe()
62 host->num_chipselect = pdata->num_chipselect; in altera_spi_probe()
66 host->num_chipselect = 16; in altera_spi_probe()
H A Dspi-pxa2xx-pci.c140 c->num_chipselect = 1; in lpss_spi_setup()
177 c->num_chipselect = dev->devfn; in ce4100_spi_setup()
198 c->num_chipselect = 1; in mrfld_spi_setup()
204 c->num_chipselect = 4; in mrfld_spi_setup()
210 c->num_chipselect = 1; in mrfld_spi_setup()
249 c->num_chipselect = 1; in qrk_spi_setup()
H A Dspi-gpio.c361 if (!pdata || !pdata->num_chipselect) in spi_gpio_probe_pdata()
368 host->num_chipselect = pdata->num_chipselect ?: 1; in spi_gpio_probe_pdata()
370 spi_gpio->cs_gpios = devm_kcalloc(dev, host->num_chipselect, in spi_gpio_probe_pdata()
376 for (i = 0; i < host->num_chipselect; i++) { in spi_gpio_probe_pdata()
H A Dspi-altera-dfl.c119 host->num_chipselect = FIELD_GET(NUM_CHIPSELECT, v); in config_spi_host()
150 host->num_chipselect, host->bits_per_word_mask, in dfl_spi_altera_probe()
H A Dspi-sh-sci.c141 sp->bitbang.master->num_chipselect = sp->info->num_chipselect; in sh_sci_spi_probe()
H A Dspi-sprd-adi.c519 u16 num_chipselect; in sprd_adi_probe() local
534 num_chipselect = of_get_child_count(np); in sprd_adi_probe()
581 ctlr->num_chipselect = num_chipselect; in sprd_adi_probe()
H A Dspi-zynq-qspi.c297 if (ctlr->num_chipselect > 1) { in zynq_qspi_chipselect()
697 ctlr->num_chipselect = 1; in zynq_qspi_probe()
703 ctlr->num_chipselect = num_cs; in zynq_qspi_probe()
714 zynq_qspi_init_hw(xqspi, ctlr->num_chipselect); in zynq_qspi_probe()
H A Dspi-cavium-octeon.c46 host->num_chipselect = 4; in octeon_spi_probe()
H A Dspi-loongson-core.c97 if (spi_get_chipselect(spi, 0) >= spi->controller->num_chipselect) in loongson_spi_setup()
211 controller->num_chipselect = 4; in loongson_spi_init_controller()
H A Dspi-cavium-thunderx.c68 host->num_chipselect = 4; in thunderx_spi_probe()
H A Dspi-sc18is602.c276 host->num_chipselect = 4; in sc18is602_probe()
280 host->num_chipselect = 2; in sc18is602_probe()
/openbmc/u-boot/drivers/spi/
H A Dfsl_dspi.c71 uint num_chipselect; member
95 uint num_chipselect; member
522 if (slave_plat->cs >= priv->num_chipselect) { in fsl_dspi_child_pre_probe()
524 slave_plat->cs, priv->num_chipselect - 1); in fsl_dspi_child_pre_probe()
556 priv->num_chipselect = plat->num_chipselect; in fsl_dspi_probe()
640 plat->num_chipselect = in fsl_dspi_ofdata_to_platdata()
656 plat->num_chipselect); in fsl_dspi_ofdata_to_platdata()
H A Dfsl_qspi.c105 u32 num_chipselect; member
133 u32 num_chipselect; member
899 priv->num_chipselect = plat->num_chipselect; in fsl_qspi_probe()
933 (priv->num_chipselect >> 1); in fsl_qspi_probe()
934 for (i = 1 ; i < priv->num_chipselect ; i++) in fsl_qspi_probe()
950 switch (priv->num_chipselect) { in fsl_qspi_probe()
971 priv->num_chipselect); in fsl_qspi_probe()
1022 plat->num_chipselect = fdtdec_get_int(blob, node, "num-cs", in fsl_qspi_ofdata_to_platdata()
/openbmc/linux/drivers/staging/greybus/
H A Dspilib.c31 u8 num_chipselect; member
433 spi->num_chipselect = response.num_chipselect; in gb_spi_get_master_config()
512 master->num_chipselect = spi->num_chipselect; in gb_spilib_master_init()
539 for (i = 0; i < spi->num_chipselect; i++) { in gb_spilib_master_init()
/openbmc/linux/include/linux/spi/
H A Dspi_gpio.h22 u16 num_chipselect; member
H A Drspi.h15 u16 num_chipselect; member
H A Dxilinx_spi.h14 u16 num_chipselect; member
H A Dsh_msiof.h13 u16 num_chipselect; member
H A Daltera.h26 u16 num_chipselect; member
H A Dpxa2xx_spi.h19 u16 num_chipselect; member
/openbmc/linux/arch/sh/include/asm/
H A Dspi.h9 int num_chipselect; member
/openbmc/linux/arch/mips/include/asm/mach-au1x00/
H A Dau1550_spi.h11 u16 num_chipselect; /* number of chipselects supported */ member
/openbmc/linux/arch/m68k/include/asm/
H A Dmcfqspi.h38 u16 num_chipselect; member
/openbmc/linux/include/linux/platform_data/
H A Dspi-davinci.h33 u8 num_chipselect; member
/openbmc/linux/drivers/misc/eeprom/
H A Ddigsy_mtc_eeprom.c51 .num_chipselect = 1,

123456