Home
last modified time | relevance | path

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

12

/linux/drivers/spi/
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-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-gpio.c319 if (!pdata->num_chipselect) in spi_gpio_probe_pdata()
322 host->num_chipselect = pdata->num_chipselect; in spi_gpio_probe_pdata()
323 spi_gpio->cs_gpios = devm_kcalloc(dev, host->num_chipselect, in spi_gpio_probe_pdata()
329 for (i = 0; i < host->num_chipselect; i++) { in spi_gpio_probe_pdata()
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.c355 * ctlr->num_chipselect (which is u16 and may exceed 255). Without in new_device_store()
356 * this, values in (U8_MAX, num_chipselect) would silently truncate in new_device_store()
359 if (chip_select > U8_MAX || chip_select >= ctlr->num_chipselect) { in new_device_store()
360 dev_err(dev, "new_device: Chip select %u out of range (num_chipselect=%u)\n", in new_device_store()
361 chip_select, ctlr->num_chipselect); in new_device_store()
774 spi->num_chipselect = 1; in spi_alloc_device()
819 for (idx_new = new_idx; idx_new < new_spi->num_chipselect; idx_new++) { in spi_dev_check_cs()
850 for (idx = 0; idx < spi->num_chipselect; idx++) { in spi_dev_check()
873 if (spi->num_chipselect > SPI_DEVICE_CS_CNT_MAX) { in __spi_add_device()
874 dev_err(dev, "num_cs %d > max %d\n", spi->num_chipselect, in __spi_add_device()
[all …]
H A Dspi-sc18is602.c270 host->num_chipselect = 4; in sc18is602_probe()
274 host->num_chipselect = 2; in sc18is602_probe()
H A Dspi-pxa2xx.h25 u8 num_chipselect; member
H A Dspi-cadence-quadspi.c104 u32 num_chipselect; member
1617 if (of_property_read_u32(np, "num-cs", &cqspi->num_chipselect)) in cqspi_of_get_pdata()
1618 cqspi->num_chipselect = CQSPI_MAX_CHIPSELECT; in cqspi_of_get_pdata()
1759 if (cs >= cqspi->num_chipselect) { in cqspi_setup_flash()
1780 cqspi->num_chipselect = max_cs + 1; in cqspi_setup_flash()
1965 host->num_chipselect = cqspi->num_chipselect; in cqspi_probe()
H A Dspi-pxa2xx-platform.c124 pdata->num_chipselect = num_cs; in pxa2xx_spi_init_pdata()
H A Dspi-rpc-if.c168 ctlr->num_chipselect = 1; in rpcif_spi_probe()
H A Dspi-sh-msiof.c1045 info->num_chipselect = num_cs; in sh_msiof_spi_parse_dt()
1275 ctlr->num_chipselect = p->info->num_chipselect; in sh_msiof_spi_probe()
H A Dspi-butterfly.c206 host->num_chipselect = 2; in butterfly_attach()
H A Dspi-cadence.c696 ctlr->num_chipselect = CDNS_SPI_DEFAULT_NUM_CS; in cdns_spi_probe()
698 ctlr->num_chipselect = num_cs; in cdns_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
H A Dspi.h174 * @num_chipselect: Number of physical chipselects used.
239 u8 num_chipselect; member
336 for (idx = 0; idx < spi->num_chipselect; idx++) { in spi_is_csgpiod()
417 * @num_chipselect: chipselects are used to distinguish individual
599 u16 num_chipselect; member
1717 * it's less than num_chipselect.
H A Dsh_msiof.h138 u16 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,
/linux/sound/soc/codecs/
H A Drt5575-spi.c48 if (cs >= ctlr->num_chipselect) { in rt5575_spi_get_device()
/linux/drivers/fpga/
H A Ddfl-n3000-nios.c430 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 Dsetup.c74 .num_chipselect = 1,

12