Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/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-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-sprd-adi.c456 u32 num_chipselect; in sprd_adi_probe() local
465 num_chipselect = of_get_child_count(np); in sprd_adi_probe()
512 ctlr->num_chipselect = num_chipselect; in sprd_adi_probe()
Dspi-mt65xx.c760 if (mdata->pad_num != master->num_chipselect) { in mtk_spi_probe()
762 "pad_num does not match num_chipselect(%d != %d)\n", in mtk_spi_probe()
763 mdata->pad_num, master->num_chipselect); in mtk_spi_probe()
768 if (!master->cs_gpios && master->num_chipselect > 1) { in mtk_spi_probe()
770 "cs_gpios not specified and num_chipselect > 1\n"); in mtk_spi_probe()
776 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-ppc4xx.c274 if (!hw->master->num_chipselect || hw->gpios[cs] == -EEXIST) in spi_ppc4xx_chipsel()
364 if (hw->master->num_chipselect) { in free_gpios()
366 for (i = 0; i < hw->master->num_chipselect; i++) in free_gpios()
462 bbp->master->num_chipselect = num_gpios > 0 ? num_gpios : 0; in spi_ppc4xx_of_probe()
Dspi-ath79.c163 master->num_chipselect = pdata->num_chipselect; in ath79_spi_probe()
/Linux-v5.4/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
Drspi.h15 u16 num_chipselect; member
Dsh_msiof.h13 u16 num_chipselect; member
Dpxa2xx_spi.h17 u16 num_chipselect; member
/Linux-v5.4/include/linux/platform_data/
Dspi-imx.h25 * @num_chipselect: If @chipselect is specified, ARRAY_SIZE(chipselect),
30 int num_chipselect; member
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-v5.4/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-v5.4/arch/arm/mach-pxa/
Dicontrol.c116 .num_chipselect = 2,
121 .num_chipselect = 2,
/Linux-v5.4/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-v5.4/arch/sh/include/asm/
Dspi.h9 int num_chipselect; member
/Linux-v5.4/arch/mips/include/asm/mach-au1x00/
Dau1550_spi.h11 u16 num_chipselect; /* number of chipselects supported */ member
/Linux-v5.4/arch/arm/mach-spear/
Dspear320.c198 .num_chipselect = 2,
205 .num_chipselect = 2,
/Linux-v5.4/arch/arm/mach-imx/
Dmach-mx31lilly.c221 .num_chipselect = 3,
225 .num_chipselect = 3,
Dmach-mx31lite.c78 .num_chipselect = 3,
121 .num_chipselect = 1,
/Linux-v5.4/include/linux/amba/
Dpl022.h226 * @num_chipselect: chipselects are used to distinguish individual
242 u8 num_chipselect; member

1234567