/openbmc/linux/drivers/spi/ |
H A D | spi-altera-platform.c | 54 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 D | spi-pxa2xx-pci.c | 140 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 D | spi-gpio.c | 361 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 D | spi-altera-dfl.c | 119 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 D | spi-sh-sci.c | 141 sp->bitbang.master->num_chipselect = sp->info->num_chipselect; in sh_sci_spi_probe()
|
H A D | spi-sprd-adi.c | 519 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 D | spi-zynq-qspi.c | 297 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 D | spi-cavium-octeon.c | 46 host->num_chipselect = 4; in octeon_spi_probe()
|
H A D | spi-loongson-core.c | 97 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 D | spi-cavium-thunderx.c | 68 host->num_chipselect = 4; in thunderx_spi_probe()
|
H A D | spi-sc18is602.c | 276 host->num_chipselect = 4; in sc18is602_probe() 280 host->num_chipselect = 2; in sc18is602_probe()
|
/openbmc/u-boot/drivers/spi/ |
H A D | fsl_dspi.c | 71 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 D | fsl_qspi.c | 105 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 D | spilib.c | 31 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 D | spi_gpio.h | 22 u16 num_chipselect; member
|
H A D | rspi.h | 15 u16 num_chipselect; member
|
H A D | xilinx_spi.h | 14 u16 num_chipselect; member
|
H A D | sh_msiof.h | 13 u16 num_chipselect; member
|
H A D | altera.h | 26 u16 num_chipselect; member
|
H A D | pxa2xx_spi.h | 19 u16 num_chipselect; member
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | spi.h | 9 int num_chipselect; member
|
/openbmc/linux/arch/mips/include/asm/mach-au1x00/ |
H A D | au1550_spi.h | 11 u16 num_chipselect; /* number of chipselects supported */ member
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | mcfqspi.h | 38 u16 num_chipselect; member
|
/openbmc/linux/include/linux/platform_data/ |
H A D | spi-davinci.h | 33 u8 num_chipselect; member
|
/openbmc/linux/drivers/misc/eeprom/ |
H A D | digsy_mtc_eeprom.c | 51 .num_chipselect = 1,
|