Home
last modified time | relevance | path

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

123456

/linux-6.12.1/drivers/spi/
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()
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()
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()
Dspi-gpio.c345 if (!pdata || !pdata->num_chipselect) in spi_gpio_probe_pdata()
352 host->num_chipselect = pdata->num_chipselect ?: 1; in spi_gpio_probe_pdata()
354 spi_gpio->cs_gpios = devm_kcalloc(dev, host->num_chipselect, in spi_gpio_probe_pdata()
360 for (i = 0; i < host->num_chipselect; i++) { in spi_gpio_probe_pdata()
Dspi-sh-sci.c141 sp->bitbang.ctlr->num_chipselect = sp->info->num_chipselect; in sh_sci_spi_probe()
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()
Dspi-loongson-core.c97 if (spi_get_chipselect(spi, 0) >= spi->controller->num_chipselect) in loongson_spi_setup()
211 controller->num_chipselect = 4; in loongson_spi_init_controller()
Dspi-zynq-qspi.c297 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()
Dspi-cavium-octeon.c46 host->num_chipselect = 4; in octeon_spi_probe()
Dspi-sc18is602.c276 host->num_chipselect = 4; in sc18is602_probe()
280 host->num_chipselect = 2; in sc18is602_probe()
Dspi-cadence-quadspi.c92 u32 num_chipselect; member
1548 if (of_property_read_u32(np, "num-cs", &cqspi->num_chipselect)) in cqspi_of_get_pdata()
1549 cqspi->num_chipselect = CQSPI_MAX_CHIPSELECT; in cqspi_of_get_pdata()
1662 unsigned int max_cs = cqspi->num_chipselect - 1; in cqspi_setup_flash()
1677 if (cs >= cqspi->num_chipselect) { in cqspi_setup_flash()
1693 cqspi->num_chipselect = max_cs + 1; in cqspi_setup_flash()
1913 host->num_chipselect = cqspi->num_chipselect; in cqspi_probe()
Dspi-cavium-thunderx.c64 host->num_chipselect = 4; in thunderx_spi_probe()
Dspi-pxa2xx.h25 u8 num_chipselect; member
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()
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()
/linux-6.12.1/include/linux/spi/
Dxilinx_spi.h13 * @num_chipselect: Number of chip select by the IP.
20 u8 num_chipselect; member
Dspi_gpio.h19 * @num_chipselect: how many target devices to allow
22 u16 num_chipselect; member
Daltera.h18 * @num_chipselect: Number of chipselects.
26 u16 num_chipselect; member
Dsh_msiof.h13 u16 num_chipselect; member
/linux-6.12.1/drivers/staging/greybus/
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-6.12.1/include/linux/platform_data/
Dspi-davinci.h23 * @num_chipselect: number of chipselects supported by this SPI master
33 u8 num_chipselect; member
/linux-6.12.1/arch/sh/include/asm/
Dspi.h9 int num_chipselect; member
/linux-6.12.1/arch/mips/include/asm/mach-au1x00/
Dau1550_spi.h11 u16 num_chipselect; /* number of chipselects supported */ member
/linux-6.12.1/arch/m68k/include/asm/
Dmcfqspi.h38 u16 num_chipselect; member
/linux-6.12.1/drivers/misc/eeprom/
Ddigsy_mtc_eeprom.c41 .num_chipselect = 1,

123456