| /linux/drivers/spi/ |
| H A D | spi-pxa2xx-pci.c | 146 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 D | spi-altera-dfl.c | 33 #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 D | spi-sprd-adi.c | 514 u16 num_chipselect; in sprd_adi_probe() local 529 num_chipselect = of_get_child_count(np); in sprd_adi_probe() 570 ctlr->num_chipselect = num_chipselect; in sprd_adi_probe()
|
| H A D | spi-davinci.c | 115 * @num_chipselect: number of chipselects supported by this SPI master 126 u8 num_chipselect; member 898 pdata->num_chipselect = num_cs; in spi_davinci_get_pdata() 955 pdata->num_chipselect, in davinci_spi_probe() 992 host->num_chipselect = pdata->num_chipselect; in davinci_spi_probe()
|
| H A D | spi.c | 589 spi->num_chipselect = 1; in spi_alloc_device() 634 for (idx_new = new_idx; idx_new < new_spi->num_chipselect; idx_new++) { in spi_dev_check_cs() 651 for (idx = 0; idx < spi->num_chipselect; idx++) { in spi_dev_check() 673 if (spi->num_chipselect > SPI_DEVICE_CS_CNT_MAX) { in __spi_add_device() 674 dev_err(dev, "num_cs %d > max %d\n", spi->num_chipselect, in __spi_add_device() 679 for (idx = 0; idx < spi->num_chipselect; idx++) { in __spi_add_device() 682 if (cs >= ctlr->num_chipselect) { in __spi_add_device() 684 ctlr->num_chipselect); in __spi_add_device() 694 for (idx = 0; idx < spi->num_chipselect; idx++) { in __spi_add_device() 702 for (idx = spi->num_chipselect; idx < SPI_DEVICE_CS_CNT_MAX; idx++) in __spi_add_device() [all …]
|
| H A D | spi-pxa2xx.h | 25 u8 num_chipselect; member
|
| H A D | spi-mt65xx.c | 1301 if (mdata->pad_num != host->num_chipselect) in mtk_spi_probe() 1303 "pad_num does not match num_chipselect(%d != %d)\n", in mtk_spi_probe() 1304 mdata->pad_num, host->num_chipselect); in mtk_spi_probe() 1306 if (!host->cs_gpiods && host->num_chipselect > 1) in mtk_spi_probe() 1308 "cs_gpios not specified and num_chipselect > 1\n"); in mtk_spi_probe()
|
| H A D | spi-cadence-quadspi.c | 99 u32 num_chipselect; member 1616 if (of_property_read_u32(np, "num-cs", &cqspi->num_chipselect)) in cqspi_of_get_pdata() 1617 cqspi->num_chipselect = CQSPI_MAX_CHIPSELECT; in cqspi_of_get_pdata() 1758 if (cs >= cqspi->num_chipselect) { in cqspi_setup_flash() 1779 cqspi->num_chipselect = max_cs + 1; in cqspi_setup_flash() 1968 host->num_chipselect = cqspi->num_chipselect; in cqspi_probe()
|
| H A D | spi-omap2-mcspi.c | 1043 for (i = 0; i < ctlr->num_chipselect; i++) { in omap2_mcspi_release_dma() 1511 ctlr->num_chipselect = num_cs; in omap2_mcspi_probe() 1516 ctlr->num_chipselect = pdata->num_cs; in omap2_mcspi_probe() 1537 mcspi->dma_channels = devm_kcalloc(&pdev->dev, ctlr->num_chipselect, in omap2_mcspi_probe() 1545 for (i = 0; i < ctlr->num_chipselect; i++) { in omap2_mcspi_probe()
|
| H A D | spi-hisi-kunpeng.c | 486 &host->num_chipselect); in hisi_spi_probe() 488 host->num_chipselect = DEFAULT_NUM_CS; in hisi_spi_probe()
|
| H A D | spi-pxa2xx-platform.c | 125 pdata->num_chipselect = num_cs; in pxa2xx_spi_init_pdata()
|
| H A D | spi-jcore.c | 156 host->num_chipselect = 3; in jcore_spi_probe()
|
| H A D | spi-intel.c | 1364 ispi->host->num_chipselect = 1; in intel_spi_read_desc() 1366 ispi->host->num_chipselect = 2; in intel_spi_read_desc() 1371 ispi->host->num_chipselect); in intel_spi_read_desc() 1406 if (ispi->host->num_chipselect < 2) in intel_spi_populate_chip()
|
| H A D | spi-tegra114.c | 1084 tspi->last_used_cs = host->num_chipselect + 1; in tegra_spi_transfer_one_message() 1326 host->num_chipselect = MAX_CHIP_SELECT; in tegra_spi_probe() 1407 tspi->last_used_cs = host->num_chipselect + 1; in tegra_spi_probe() 1478 tspi->last_used_cs = host->num_chipselect + 1; in tegra_spi_resume()
|
| /linux/include/linux/spi/ |
| H A D | xilinx_spi.h | 13 * @num_chipselect: Number of chip select by the IP. 20 u8 num_chipselect; member
|
| H A D | spi_gpio.h | 19 * @num_chipselect: how many target devices to allow 22 u16 num_chipselect; member
|
| H A D | altera.h | 18 * @num_chipselect: Number of chipselects. 26 u16 num_chipselect; member
|
| H A D | spi.h | 176 * @num_chipselect: Number of physical chipselects used. 240 u8 num_chipselect; member 333 for (idx = 0; idx < spi->num_chipselect; idx++) { in spi_is_csgpiod() 413 * @num_chipselect: chipselects are used to distinguish individual 591 u16 num_chipselect; member 1705 * it's less than num_chipselect.
|
| /linux/drivers/staging/greybus/ |
| H A D | spilib.c | 31 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/arch/sh/include/asm/ |
| H A D | spi.h | 9 int num_chipselect; member
|
| /linux/arch/mips/include/asm/mach-au1x00/ |
| H A D | au1550_spi.h | 11 u16 num_chipselect; /* number of chipselects supported */ member
|
| /linux/arch/m68k/include/asm/ |
| H A D | mcfqspi.h | 38 u16 num_chipselect; member
|
| /linux/drivers/misc/eeprom/ |
| H A D | digsy_mtc_eeprom.c | 41 .num_chipselect = 1,
|
| /linux/drivers/fpga/ |
| H A 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()
|
| /linux/arch/sh/boards/mach-r2d/ |
| H A D | setup.c | 74 .num_chipselect = 1,
|