Searched refs:chip_select (Results 1 - 25 of 46) sorted by relevance

12

/drivers/spi/
H A Dspi-coldfire-qspi.c127 static void mcfqspi_cs_select(struct mcfqspi *mcfqspi, u8 chip_select, argument
130 mcfqspi->cs_control->select(mcfqspi->cs_control, chip_select, cs_high);
133 static void mcfqspi_cs_deselect(struct mcfqspi *mcfqspi, u8 chip_select, argument
136 mcfqspi->cs_control->deselect(mcfqspi->cs_control, chip_select, cs_high);
344 mcfqspi_cs_select(mcfqspi, spi->chip_select, cs_high);
364 spi->chip_select,
370 spi->chip_select,
429 if (spi->chip_select >= spi->master->num_chipselect) {
431 spi->chip_select);
436 spi->chip_select, sp
[all...]
H A Dspi-ath79.c70 if (spi->chip_select) {
92 if (spi->chip_select && !cdata)
105 if (spi->chip_select) {
133 if (spi->chip_select) {
H A Dspi-omap-uwire.c190 if (value == BITBANG_CS_INACTIVE || old_cs != spi->chip_select) {
204 w = spi->chip_select << 10;
226 w = spi->chip_select << 10;
334 if (spi->chip_select > 3) {
335 pr_debug("%s: cs%d?\n", dev_name(&spi->dev), spi->chip_select);
441 omap_uwire_configure_mode(spi->chip_select, flags);
H A Dspi-sh-sci.c112 if (sp->info && sp->info->chip_select)
113 (sp->info->chip_select)(sp->info, dev->chip_select, value);
H A Dspi-atmel.c290 mr = SPI_BFINS(PCS, ~(1 << spi->chip_select), mr);
291 if (spi->chip_select != 0)
311 if (~SPI_BFEXT(PCS, mr) & (1 << spi->chip_select)) {
320 if (atmel_spi_is_v2() || spi->chip_select != 0)
706 if (spi->chip_select > spi->master->num_chipselect) {
709 spi->chip_select, spi->master->num_chipselect);
722 && spi->chip_select == 0
800 bus_hz / scbr, bits, spi->mode, spi->chip_select, csr);
803 spi_writel(as, CSR0 + 4 * spi->chip_select, csr);
H A Dspi-omap2-mcspi.c309 mcspi_dma = &mcspi->dma_channels[spi->chip_select];
723 mcspi_dma = &(mcspi->dma_channels[spi->chip_select]);
738 mcspi_dma = &(mcspi->dma_channels[spi->chip_select]);
753 mcspi_dma = mcspi->dma_channels + spi->chip_select;
791 mcspi_dma = &mcspi->dma_channels[spi->chip_select];
797 cs->base = mcspi->base + spi->chip_select * 0x14;
798 cs->phys = mcspi->phys + spi->chip_select * 0x14;
839 if (spi->chip_select < spi->master->num_chipselect) {
840 mcspi_dma = &mcspi->dma_channels[spi->chip_select];
H A Dspi-bcm63xx.c111 if (spi->chip_select > spi->master->num_chipselect) {
113 __func__, spi->chip_select);
235 cmd |= (spi->chip_select << SPI_CMD_DEVICE_ID_SHIFT);
H A Dspi-txx9.c106 c->last_chipselect = spi->chip_select;
112 gpio_set_value(spi->chip_select, val);
130 if (gpio_direction_output(spi->chip_select,
H A Dspi-altera.c77 writel(1 << spi->chip_select,
97 writel(1 << spi->chip_select,
H A Dspi-davinci.c215 u8 chip_sel = spi->chip_select;
307 dspi->bytes_per_word[spi->chip_select] = 1;
311 dspi->bytes_per_word[spi->chip_select] = 2;
407 (pdata->chip_sel[spi->chip_select] == SPI_INTERN_CS))
408 set_io_bits(dspi->base + SPIPC0, 1 << spi->chip_select);
545 data_type = dspi->bytes_per_word[spi->chip_select];
H A Dspi.c350 if (spi->chip_select >= spi->master->num_chipselect) {
352 spi->chip_select,
359 spi->chip_select);
371 spi->chip_select);
435 proxy->chip_select = chip->chip_select;
H A Dspi-fsl-espi.c92 __be32 __iomem *mode = &reg_base->csmode[spi->chip_select];
249 (SPCOM_CS(spi->chip_select) | SPCOM_TRANLEN(t->len - 1)));
481 &reg_base->csmode[spi->chip_select]);
H A Dspi-butterfly.c285 pp->info[0].chip_select = 1;
H A Dspi-lm70llp.c269 pp->info.chip_select = 0;
H A Dspi-mpc52xx.c102 cs = ms->message->spi->chip_select;
368 if (spi->chip_select >= spi->master->num_chipselect)
H A Dspi-s3c24xx.c112 hw->set_cs(hw->pdata, spi->chip_select, cspol^1);
119 hw->set_cs(hw->pdata, spi->chip_select, cspol);
H A Dspi-sirf.c349 if (sspi->chipselect[spi->chip_select] == 0) {
368 int gpio = sspi->chipselect[spi->chip_select];
H A Dspi-tegra.c274 val |= SLINK_SS_EN_CS(spi->chip_select);
398 switch (spi->chip_select) {
/drivers/misc/eeprom/
H A Ddigsy_mtc_eeprom.c64 .chip_select = 0,
/drivers/mtd/nand/
H A Dndfc.c43 int chip_select; member in struct:ndfc_controller
58 ccr |= NDFC_CCR_BS(chip + ndfc->chip_select);
234 ndfc->chip_select = cs;
247 ccr = NDFC_CCR_BS(ndfc->chip_select);
259 int offset = NDFC_BCFG0 + (ndfc->chip_select << 2);
/drivers/of/
H A Dof_spi.c61 spi->chip_select = be32_to_cpup(prop);
/drivers/mmc/core/
H A Ddebugfs.c85 switch (ios->chip_select) {
99 seq_printf(s, "chip select:\t%u (%s)\n", ios->chip_select, str);
H A Dcore.c717 ios->power_mode, ios->chip_select, ios->vdd,
731 host->ios.chip_select = mode;
1171 host->ios.chip_select = MMC_CS_HIGH;
1173 host->ios.chip_select = MMC_CS_DONTCARE;
1233 host->ios.chip_select = MMC_CS_DONTCARE;
1916 host->ios.chip_select = MMC_CS_HIGH;
1919 host->ios.chip_select = MMC_CS_DONTCARE;
/drivers/edac/
H A Damd64_edac.h327 struct chip_select { struct
358 struct chip_select csels[2];
/drivers/mfd/
H A Dtimberdale.c130 .chip_select = 2,
140 .chip_select = 1,

Completed in 294 milliseconds

12