Home
last modified time | relevance | path

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

12345

/linux/drivers/spi/
H A Dspi-altera-platform.c54 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 Dspi-altera-dfl.c33 #define NUM_CHIPSELECT GENMASK_ULL(13, 8) macro
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 Dspi-pxa2xx-pci.c146 c->num_chipselect = 1; in lpss_spi_setup()
183 c->num_chipselect = dev->devfn; in ce4100_spi_setup()
204 c->num_chipselect = 1; in mrfld_spi_setup()
210 c->num_chipselect = 4; in mrfld_spi_setup()
216 c->num_chipselect = 1; in mrfld_spi_setup()
255 c->num_chipselect = 1; in qrk_spi_setup()
H A Dspi-gpio.c320 if (!pdata->num_chipselect) in spi_gpio_probe_pdata()
323 host->num_chipselect = pdata->num_chipselect; in spi_gpio_probe_pdata()
324 spi_gpio->cs_gpios = devm_kcalloc(dev, host->num_chipselect, in spi_gpio_probe_pdata()
330 for (i = 0; i < host->num_chipselect; i++) { in spi_gpio_probe_pdata()
H A Dspi-sh-sci.c141 sp->bitbang.ctlr->num_chipselect = sp->info->num_chipselect; in sh_sci_spi_probe()
H A Dspi-sprd-adi.c514 u16 num_chipselect; in sprd_adi_probe() local
529 num_chipselect = of_get_child_count(np); in sprd_adi_probe()
576 ctlr->num_chipselect = num_chipselect; in sprd_adi_probe()
H A Dspi-loongson-core.c98 if (spi_get_chipselect(spi, 0) >= spi->controller->num_chipselect) in loongson_spi_setup()
212 controller->num_chipselect = 4; in loongson_spi_init_controller()
H A Dspi-zynq-qspi.c297 if (ctlr->num_chipselect > 1) { in zynq_qspi_chipselect()
708 ctlr->num_chipselect = 1; in zynq_qspi_probe()
714 ctlr->num_chipselect = num_cs; in zynq_qspi_probe()
726 zynq_qspi_init_hw(xqspi, ctlr->num_chipselect); in zynq_qspi_probe()
H A Dspi-sc18is602.c273 host->num_chipselect = 4; in sc18is602_probe()
277 host->num_chipselect = 2; in sc18is602_probe()
H A Dspi-cavium-octeon.c46 host->num_chipselect = 4; in octeon_spi_probe()
H A Dspi-cavium-thunderx.c64 host->num_chipselect = 4; in thunderx_spi_probe()
H A Dspi-davinci.c838 pdata->num_chipselect = num_cs; in spi_davinci_get_pdata()
895 pdata->num_chipselect, in davinci_spi_probe()
933 host->num_chipselect = pdata->num_chipselect; in davinci_spi_probe()
H A Dspi-au1550.c853 host->num_chipselect = hw->pdata->num_chipselect; in au1550_spi_probe()
882 "spi host registered: bus_num=%d num_chipselect=%d\n", in au1550_spi_probe()
883 host->bus_num, host->num_chipselect); in au1550_spi_probe()
H A Dspi-fsl-lib.c108 ctlr->num_chipselect = pdata->max_chipselect; in mpc8xxx_spi_probe()
H A Dspi-mt65xx.c1280 if (mdata->pad_num != host->num_chipselect) in mtk_spi_probe()
1282 "pad_num does not match num_chipselect(%d != %d)\n", in mtk_spi_probe()
1283 mdata->pad_num, host->num_chipselect); in mtk_spi_probe()
1285 if (!host->cs_gpiods && host->num_chipselect > 1) in mtk_spi_probe()
1287 "cs_gpios not specified and num_chipselect > 1\n"); in mtk_spi_probe()
H A Dspi-sifive.c373 host->num_chipselect = num_cs; in sifive_spi_probe()
400 irq, host->num_chipselect); in sifive_spi_probe()
/linux/include/linux/spi/
H A Dxilinx_spi.h13 * @num_chipselect: Number of chip select by the IP.
20 u8 num_chipselect; member
H A Dspi_gpio.h19 * @num_chipselect: how many target devices to allow
22 u16 num_chipselect; member
H A Daltera.h18 * @num_chipselect: Number of chipselects.
26 u16 num_chipselect; member
/linux/drivers/staging/greybus/
H A Dspilib.c31 u8 num_chipselect; member
433 spi->num_chipselect = response.num_chipselect; in gb_spi_get_master_config()
512 ctlr->num_chipselect = spi->num_chipselect; in gb_spilib_master_init()
539 for (i = 0; i < spi->num_chipselect; i++) { in gb_spilib_master_init()
/linux/include/linux/platform_data/
H A Dspi-davinci.h23 * @num_chipselect: number of chipselects supported by this SPI master
33 u8 num_chipselect; member
/linux/arch/sh/include/asm/
H A Dspi.h9 int num_chipselect; member
/linux/arch/mips/include/asm/mach-au1x00/
H A Dau1550_spi.h11 u16 num_chipselect; /* number of chipselects supported */ member
/linux/arch/m68k/include/asm/
H A Dmcfqspi.h38 u16 num_chipselect; member
/linux/drivers/misc/eeprom/
H A Ddigsy_mtc_eeprom.c41 .num_chipselect = 1,

12345