Home
last modified time | relevance | path

Searched refs:num_chipselect (Results 1 – 25 of 146) 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-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-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-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.c72 uint num_chipselect; member
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.c107 u32 num_chipselect; member
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/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/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/include/linux/platform_data/
H A Dspi-ath79.h13 unsigned num_chipselect; member
H A Dspi-clps711x.h14 int num_chipselect; /* Total count of GPIOs */ member
H A Dspi-davinci.h33 u8 num_chipselect; member
/OK3568_Linux_fs/kernel/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 Daltera.h23 u16 num_chipselect; member
H A Dsh_msiof.h13 u16 num_chipselect; member
H A Dpxa2xx_spi.h17 u16 num_chipselect; member
/OK3568_Linux_fs/kernel/arch/sh/include/asm/
H A Dspi.h9 int 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
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A Dmcfqspi.h38 u16 num_chipselect; member

123456