/drivers/spi/ |
D | spi-pxa2xx-pci.c | 33 int num_chipselect; member 89 c->num_chipselect = 1; in lpss_spi_setup() 126 c->num_chipselect = 1; in mrfld_spi_setup() 132 c->num_chipselect = 4; in mrfld_spi_setup() 138 c->num_chipselect = 1; in mrfld_spi_setup() 166 .num_chipselect = -1, 205 .num_chipselect = 1, 251 spi_pdata.num_chipselect = (c->num_chipselect > 0) ? c->num_chipselect : dev->devfn; in pxa2xx_spi_pci_probe()
|
D | spi-altera-platform.c | 54 if (pdata->num_chipselect > ALTERA_SPI_MAX_CS) { in altera_spi_probe() 57 pdata->num_chipselect); in altera_spi_probe() 62 master->num_chipselect = pdata->num_chipselect; in altera_spi_probe() 66 master->num_chipselect = 16; in altera_spi_probe()
|
D | spi-gpio.c | 338 if (!pdata || !pdata->num_chipselect) in spi_gpio_probe_pdata() 345 master->num_chipselect = pdata->num_chipselect ?: 1; in spi_gpio_probe_pdata() 347 spi_gpio->cs_gpios = devm_kcalloc(dev, master->num_chipselect, in spi_gpio_probe_pdata() 353 for (i = 0; i < master->num_chipselect; i++) { in spi_gpio_probe_pdata()
|
D | spi-altera-dfl.c | 119 master->num_chipselect = FIELD_GET(NUM_CHIPSELECT, v); in config_spi_master() 150 master->num_chipselect, master->bits_per_word_mask, in dfl_spi_altera_probe()
|
D | spi-sh-sci.c | 141 sp->bitbang.master->num_chipselect = sp->info->num_chipselect; in sh_sci_spi_probe()
|
D | spi-sprd-adi.c | 520 u16 num_chipselect; in sprd_adi_probe() local 535 num_chipselect = of_get_child_count(np); in sprd_adi_probe() 583 ctlr->num_chipselect = num_chipselect; in sprd_adi_probe()
|
D | spi-zynq-qspi.c | 297 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()
|
D | spi-sc18is602.c | 277 master->num_chipselect = 4; in sc18is602_probe() 281 master->num_chipselect = 2; in sc18is602_probe()
|
D | spi-cavium-octeon.c | 46 master->num_chipselect = 4; in octeon_spi_probe()
|
D | spi-davinci.c | 833 pdata->num_chipselect = num_cs; in spi_davinci_get_pdata() 890 pdata->num_chipselect, in davinci_spi_probe() 940 master->num_chipselect = pdata->num_chipselect; in davinci_spi_probe()
|
D | spi-sifive.c | 373 master->num_chipselect = num_cs; in sifive_spi_probe() 400 irq, master->num_chipselect); in sifive_spi_probe()
|
D | spi.c | 661 if (spi->chip_select >= ctlr->num_chipselect) { in spi_add_device() 663 ctlr->num_chipselect); in spi_add_device() 687 if (spi->chip_select >= ctlr->num_chipselect) { in spi_add_device_locked() 689 ctlr->num_chipselect); in spi_add_device_locked() 2603 ctlr->num_chipselect = 1; in __spi_alloc_controller() 2671 ctlr->num_chipselect = max_t(int, nb, ctlr->num_chipselect); in of_spi_get_gpio_numbers() 2679 cs = devm_kcalloc(&ctlr->dev, ctlr->num_chipselect, sizeof(int), in of_spi_get_gpio_numbers() 2686 for (i = 0; i < ctlr->num_chipselect; i++) in of_spi_get_gpio_numbers() 2721 ctlr->num_chipselect = max_t(int, nb, ctlr->num_chipselect); in spi_get_gpio_descs() 2723 cs = devm_kcalloc(dev, ctlr->num_chipselect, sizeof(*cs), in spi_get_gpio_descs() [all …]
|
D | spi-cavium-thunderx.c | 68 master->num_chipselect = 4; in thunderx_spi_probe()
|
D | spi-rspi.c | 1241 ctlr->num_chipselect = num_cs; in rspi_parse_dt() 1286 if (rspi_pd && rspi_pd->num_chipselect) in rspi_probe() 1287 ctlr->num_chipselect = rspi_pd->num_chipselect; in rspi_probe() 1289 ctlr->num_chipselect = 2; /* default */ in rspi_probe()
|
D | spi-mt65xx.c | 857 if (mdata->pad_num != master->num_chipselect) { in mtk_spi_probe() 860 mdata->pad_num, master->num_chipselect); in mtk_spi_probe() 865 if (!master->cs_gpios && master->num_chipselect > 1) { in mtk_spi_probe() 873 for (i = 0; i < master->num_chipselect; i++) { in mtk_spi_probe()
|
D | spi-xilinx.c | 401 num_cs = pdata->num_chipselect; in xilinx_spi_probe() 448 master->num_chipselect = num_cs; in xilinx_spi_probe()
|
D | spi-omap2-mcspi.c | 1021 for (i = 0; i < master->num_chipselect; i++) { in omap2_mcspi_release_dma() 1465 master->num_chipselect = num_cs; in omap2_mcspi_probe() 1470 master->num_chipselect = pdata->num_cs; in omap2_mcspi_probe() 1492 mcspi->dma_channels = devm_kcalloc(&pdev->dev, master->num_chipselect, in omap2_mcspi_probe() 1500 for (i = 0; i < master->num_chipselect; i++) { in omap2_mcspi_probe()
|
D | spi-fsl-lib.c | 107 master->num_chipselect = pdata->max_chipselect; in mpc8xxx_spi_probe()
|
D | spi-mux.c | 161 ctlr->num_chipselect = mux_control_states(priv->mux); in spi_mux_probe()
|
D | spi-mpc52xx-psc.c | 385 master->num_chipselect = 255; in mpc52xx_psc_spi_do_probe() 390 master->num_chipselect = pdata->max_chipselect; in mpc52xx_psc_spi_do_probe()
|
D | spi-hisi-kunpeng.c | 487 &master->num_chipselect); in hisi_spi_probe() 489 master->num_chipselect = DEFAULT_NUM_CS; in hisi_spi_probe()
|
/drivers/staging/greybus/ |
D | spilib.c | 31 u8 num_chipselect; member 433 spi->num_chipselect = response.num_chipselect; in gb_spi_get_master_config() 512 master->num_chipselect = spi->num_chipselect; in gb_spilib_master_init() 539 for (i = 0; i < spi->num_chipselect; i++) { in gb_spilib_master_init()
|
/drivers/misc/eeprom/ |
D | digsy_mtc_eeprom.c | 51 .num_chipselect = 1,
|
/drivers/video/fbdev/mmp/hw/ |
D | mmp_spi.c | 153 master->num_chipselect = 1; in lcd_spi_register()
|
/drivers/fpga/ |
D | dfl-n3000-nios.c | 430 pdata.num_chipselect = FIELD_GET(N3000_NS_PARAM_NUM_CS, v); in create_altera_spi_controller() 438 pdata.num_chipselect, pdata.bits_per_word_mask, in create_altera_spi_controller()
|