Home
last modified time | relevance | path

Searched full:num_chipselect (Results 1 – 25 of 148) sorted by relevance

123456

/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi-pxa2xx-pci.c31 int num_chipselect; member
87 c->num_chipselect = 1; in lpss_spi_setup()
124 c->num_chipselect = 1; in mrfld_spi_setup()
130 c->num_chipselect = 4; in mrfld_spi_setup()
136 c->num_chipselect = 1; in mrfld_spi_setup()
164 .num_chipselect = -1,
203 .num_chipselect = 1,
249 spi_pdata.num_chipselect = (c->num_chipselect > 0) ? c->num_chipselect : dev->devfn; in pxa2xx_spi_pci_probe()
H A Dspi-altera.c253 if (pdata->num_chipselect > ALTERA_SPI_MAX_CS) { in altera_spi_probe()
256 pdata->num_chipselect); in altera_spi_probe()
261 master->num_chipselect = pdata->num_chipselect; in altera_spi_probe()
265 master->num_chipselect = 16; in altera_spi_probe()
H A Dspi-gpio.c328 if (!pdata || !pdata->num_chipselect) in spi_gpio_probe_pdata()
335 master->num_chipselect = pdata->num_chipselect ?: 1; in spi_gpio_probe_pdata()
337 spi_gpio->cs_gpios = devm_kcalloc(dev, master->num_chipselect, in spi_gpio_probe_pdata()
343 for (i = 0; i < master->num_chipselect; i++) { in spi_gpio_probe_pdata()
H A Dspi-mt65xx.c764 if (mdata->pad_num != master->num_chipselect) { in mtk_spi_probe()
766 "pad_num does not match num_chipselect(%d != %d)\n", in mtk_spi_probe()
767 mdata->pad_num, master->num_chipselect); in mtk_spi_probe()
772 if (!master->cs_gpios && master->num_chipselect > 1) { in mtk_spi_probe()
774 "cs_gpios not specified and num_chipselect > 1\n"); in mtk_spi_probe()
780 for (i = 0; i < master->num_chipselect; i++) { in mtk_spi_probe()
H A Dspi-sprd-adi.c464 u32 num_chipselect; in sprd_adi_probe() local
473 num_chipselect = of_get_child_count(np); in sprd_adi_probe()
517 ctlr->num_chipselect = num_chipselect; in sprd_adi_probe()
H A Dspi-sh-sci.c141 sp->bitbang.master->num_chipselect = sp->info->num_chipselect; in sh_sci_spi_probe()
H A Dspi-ath79.c162 master->num_chipselect = pdata->num_chipselect; in ath79_spi_probe()
H A Dspi-pxa2xx.c1630 pdata->num_chipselect = 1; in pxa2xx_spi_init_pdata()
1847 platform_info->num_chipselect = ffz(tmp); in pxa2xx_spi_probe()
1849 platform_info->num_chipselect = config->cs_num; in pxa2xx_spi_probe()
1852 controller->num_chipselect = platform_info->num_chipselect; in pxa2xx_spi_probe()
1858 controller->num_chipselect = max_t(int, count, in pxa2xx_spi_probe()
1859 controller->num_chipselect); in pxa2xx_spi_probe()
1862 controller->num_chipselect, sizeof(struct gpio_desc *), in pxa2xx_spi_probe()
1869 for (i = 0; i < controller->num_chipselect; i++) { in pxa2xx_spi_probe()
/OK3568_Linux_fs/u-boot/drivers/spi/
H A Dfsl_dspi.c66 * @num_chipselect: Number of DSPI chipselect signals
72 uint num_chipselect; member
85 * @num_chipselect: Number of DSPI chipselect signals
96 uint num_chipselect; member
528 if (slave_plat->cs >= priv->num_chipselect) { in fsl_dspi_child_pre_probe()
530 slave_plat->cs, priv->num_chipselect - 1); in fsl_dspi_child_pre_probe()
562 priv->num_chipselect = plat->num_chipselect; in fsl_dspi_probe()
646 plat->num_chipselect = in fsl_dspi_ofdata_to_platdata()
662 plat->num_chipselect); in fsl_dspi_ofdata_to_platdata()
H A Dfsl_qspi.c98 * @num_chipselect: Number of QSPI chipselect signals
107 u32 num_chipselect; member
123 * @num_chipselect: Number of QSPI chipselect signals
136 u32 num_chipselect; member
1018 priv->num_chipselect = plat->num_chipselect; in fsl_qspi_probe()
1056 (priv->num_chipselect >> 1); in fsl_qspi_probe()
1057 for (i = 1 ; i < priv->num_chipselect ; i++) in fsl_qspi_probe()
1073 switch (priv->num_chipselect) { in fsl_qspi_probe()
1094 priv->num_chipselect); in fsl_qspi_probe()
1145 plat->num_chipselect = fdtdec_get_int(blob, node, "num-cs", in fsl_qspi_ofdata_to_platdata()
/OK3568_Linux_fs/kernel/include/linux/spi/
H A Dxilinx_spi.h7 * @num_chipselect: Number of chip select by the IP.
14 u16 num_chipselect; member
H A Dspi_gpio.h19 * @num_chipselect: how many slaves to allow
22 u16 num_chipselect; member
H A Daltera.h15 * @num_chipselect: Number of chipselects.
23 u16 num_chipselect; member
H A Drspi.h15 u16 num_chipselect; member
H A Dsh_msiof.h13 u16 num_chipselect; member
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A Dspilib.c31 u8 num_chipselect; member
429 spi->num_chipselect = response.num_chipselect; in gb_spi_get_master_config()
508 master->num_chipselect = spi->num_chipselect; in gb_spilib_master_init()
535 for (i = 0; i < spi->num_chipselect; i++) { in gb_spilib_master_init()
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dspi-davinci.h23 * @num_chipselect: number of chipselects supported by this SPI master
33 u8 num_chipselect; member
H A Dspi-ath79.h13 unsigned num_chipselect; member
H A Dspi-clps711x.h14 int num_chipselect; /* Total count of GPIOs */ member
/OK3568_Linux_fs/kernel/Documentation/spi/
H A Dpxa2xx.rst27 u16 num_chipselect;
31 The "pxa2xx_spi_controller.num_chipselect" field is used to determine the number of
57 .num_chipselect = 1, /* Matches the number of chips attached to NSSP */
/OK3568_Linux_fs/kernel/arch/arm/mach-pxa/
H A Dicontrol.c117 .num_chipselect = 2,
122 .num_chipselect = 2,
/OK3568_Linux_fs/kernel/arch/arm/mach-spear/
H A Dspear320.c198 .num_chipselect = 2,
205 .num_chipselect = 2,
/OK3568_Linux_fs/kernel/arch/sh/include/asm/
H A Dspi.h9 int num_chipselect; member
/OK3568_Linux_fs/kernel/include/linux/amba/
H A Dpl022.h226 * @num_chipselect: chipselects are used to distinguish individual
242 u8 num_chipselect; member
/OK3568_Linux_fs/kernel/arch/mips/include/asm/mach-au1x00/
H A Dau1550_spi.h11 u16 num_chipselect; /* number of chipselects supported */ member

123456