Home
last modified time | relevance | path

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

123456

/linux-5.10/drivers/spi/
Dspi-pxa2xx-pci.c30 int num_chipselect; member
78 c->num_chipselect = 1; in lpss_spi_setup()
111 c->num_chipselect = 1; in mrfld_spi_setup()
117 c->num_chipselect = 4; in mrfld_spi_setup()
123 c->num_chipselect = 1; in mrfld_spi_setup()
146 .num_chipselect = -1,
185 .num_chipselect = 1,
224 spi_pdata.num_chipselect = (c->num_chipselect > 0) ? c->num_chipselect : dev->devfn; in pxa2xx_spi_pci_probe()
Dspi-altera.c251 if (pdata->num_chipselect > ALTERA_SPI_MAX_CS) { in altera_spi_probe()
254 pdata->num_chipselect); in altera_spi_probe()
258 master->num_chipselect = pdata->num_chipselect; in altera_spi_probe()
262 master->num_chipselect = 16; in altera_spi_probe()
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()
Dspi-mt65xx.c763 if (mdata->pad_num != master->num_chipselect) { in mtk_spi_probe()
765 "pad_num does not match num_chipselect(%d != %d)\n", in mtk_spi_probe()
766 mdata->pad_num, master->num_chipselect); in mtk_spi_probe()
771 if (!master->cs_gpios && master->num_chipselect > 1) { in mtk_spi_probe()
773 "cs_gpios not specified and num_chipselect > 1\n"); in mtk_spi_probe()
779 for (i = 0; i < master->num_chipselect; i++) { in mtk_spi_probe()
Dspi-sh-sci.c141 sp->bitbang.master->num_chipselect = sp->info->num_chipselect; in sh_sci_spi_probe()
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()
Dspi-ath79.c163 master->num_chipselect = pdata->num_chipselect; in ath79_spi_probe()
Dspi-pxa2xx.c1623 pdata->num_chipselect = 1; in pxa2xx_spi_init_pdata()
1840 platform_info->num_chipselect = ffz(tmp); in pxa2xx_spi_probe()
1842 platform_info->num_chipselect = config->cs_num; in pxa2xx_spi_probe()
1845 controller->num_chipselect = platform_info->num_chipselect; in pxa2xx_spi_probe()
1851 controller->num_chipselect = max_t(int, count, in pxa2xx_spi_probe()
1852 controller->num_chipselect); in pxa2xx_spi_probe()
1855 controller->num_chipselect, sizeof(struct gpio_desc *), in pxa2xx_spi_probe()
1862 for (i = 0; i < controller->num_chipselect; i++) { in pxa2xx_spi_probe()
/linux-5.10/include/linux/spi/
Dxilinx_spi.h7 * @num_chipselect: Number of chip select by the IP.
14 u16 num_chipselect; member
Dspi_gpio.h19 * @num_chipselect: how many slaves to allow
22 u16 num_chipselect; member
Daltera.h15 * @num_chipselect: Number of chipselects.
23 u16 num_chipselect; member
Drspi.h15 u16 num_chipselect; member
Dsh_msiof.h13 u16 num_chipselect; member
Dpxa2xx_spi.h17 u16 num_chipselect; member
/linux-5.10/drivers/staging/greybus/
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()
/linux-5.10/include/linux/platform_data/
Dspi-davinci.h23 * @num_chipselect: number of chipselects supported by this SPI master
33 u8 num_chipselect; member
Dspi-ath79.h13 unsigned num_chipselect; member
Dspi-clps711x.h14 int num_chipselect; /* Total count of GPIOs */ member
/linux-5.10/arch/arm/mach-pxa/
Dicontrol.c117 .num_chipselect = 2,
122 .num_chipselect = 2,
/linux-5.10/Documentation/spi/
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 */
/linux-5.10/arch/sh/include/asm/
Dspi.h9 int num_chipselect; member
/linux-5.10/arch/mips/include/asm/mach-au1x00/
Dau1550_spi.h11 u16 num_chipselect; /* number of chipselects supported */ member
/linux-5.10/arch/arm/mach-spear/
Dspear320.c198 .num_chipselect = 2,
205 .num_chipselect = 2,
/linux-5.10/include/linux/amba/
Dpl022.h226 * @num_chipselect: chipselects are used to distinguish individual
242 u8 num_chipselect; member
/linux-5.10/arch/m68k/include/asm/
Dmcfqspi.h38 u16 num_chipselect; member

123456