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

/linux-4.1.27/include/trace/events/
H A Dspi.h52 __field( int, chip_select )
58 __entry->chip_select = msg->spi->chip_select;
63 (int)__entry->chip_select,
91 __field( int, chip_select )
99 __entry->chip_select = msg->spi->chip_select;
106 (int)__entry->chip_select,
119 __field( int, chip_select )
126 __entry->chip_select = msg->spi->chip_select;
132 (int)__entry->chip_select,
/linux-4.1.27/arch/sh/include/asm/
H A Dspi.h10 void (*chip_select)(struct sh_spi_info *spi, int cs, int state); member in struct:sh_spi_info
/linux-4.1.27/drivers/spi/
H A Dspi-bcm63xx-hsspi.c127 unsigned profile = spi->chip_select; bcm63xx_hsspi_set_clk()
154 unsigned chip_select = spi->chip_select; bcm63xx_hsspi_do_txrx() local
162 bcm63xx_hsspi_set_cs(bs, spi->chip_select, true); bcm63xx_hsspi_do_txrx()
177 bs->regs + HSSPI_PROFILE_MODE_CTRL_REG(chip_select)); bcm63xx_hsspi_do_txrx()
195 __raw_writel(!chip_select << PINGPONG_CMD_SS_SHIFT | bcm63xx_hsspi_do_txrx()
196 chip_select << PINGPONG_CMD_PROFILE_SHIFT | bcm63xx_hsspi_do_txrx()
222 HSSPI_PROFILE_SIGNAL_CTRL_REG(spi->chip_select)); bcm63xx_hsspi_setup()
229 HSSPI_PROFILE_SIGNAL_CTRL_REG(spi->chip_select)); bcm63xx_hsspi_setup()
237 reg |= BIT(spi->chip_select); bcm63xx_hsspi_setup()
239 reg &= ~BIT(spi->chip_select); bcm63xx_hsspi_setup()
244 bs->cs_polarity |= BIT(spi->chip_select); bcm63xx_hsspi_setup()
246 bs->cs_polarity &= ~BIT(spi->chip_select); bcm63xx_hsspi_setup()
277 dummy_cs = !spi->chip_select; bcm63xx_hsspi_transfer_one()
291 bcm63xx_hsspi_set_cs(bs, spi->chip_select, false); bcm63xx_hsspi_transfer_one()
H A Dspi-octeon.c82 if (spi->chip_select < 4) octeon_spi_do_transfer()
83 p->cs_enax |= 1ull << (12 + spi->chip_select); octeon_spi_do_transfer()
103 mpi_tx.s.csid = spi->chip_select; octeon_spi_do_transfer()
128 mpi_tx.s.csid = spi->chip_select; octeon_spi_do_transfer()
H A Dspi-coldfire-qspi.c117 static void mcfqspi_cs_select(struct mcfqspi *mcfqspi, u8 chip_select, mcfqspi_cs_select() argument
120 mcfqspi->cs_control->select(mcfqspi->cs_control, chip_select, cs_high); mcfqspi_cs_select()
123 static void mcfqspi_cs_deselect(struct mcfqspi *mcfqspi, u8 chip_select, mcfqspi_cs_deselect() argument
126 mcfqspi->cs_control->deselect(mcfqspi->cs_control, chip_select, cs_high); mcfqspi_cs_deselect()
302 mcfqspi_cs_select(mcfqspi, spi->chip_select, cs_high); mcfqspi_set_cs()
304 mcfqspi_cs_deselect(mcfqspi, spi->chip_select, cs_high); mcfqspi_set_cs()
336 spi->chip_select, spi->mode & SPI_CS_HIGH); mcfqspi_setup()
340 spi->bits_per_word, spi->chip_select, mcfqspi_setup()
H A Dspi-sh-sci.c110 if (sp->info->chip_select) sh_sci_spi_chipselect()
111 (sp->info->chip_select)(sp->info, dev->chip_select, value); sh_sci_spi_chipselect()
H A Dspi-bcm2835.c341 cs |= BCM2835_SPI_CS_CSPOL0 << spi->chip_select; bcm2835_spi_set_cs()
345 cs &= ~(BCM2835_SPI_CS_CSPOL0 << spi->chip_select); bcm2835_spi_set_cs()
348 /* select the correct chip_select depending on disabled/enabled */ bcm2835_spi_set_cs()
357 cs |= spi->chip_select; bcm2835_spi_set_cs()
386 if (spi->chip_select > 1) { bcm2835_spi_setup()
403 spi->cs_gpio = chip->base + 8 - spi->chip_select; bcm2835_spi_setup()
407 spi->chip_select, spi->cs_gpio); bcm2835_spi_setup()
415 spi->chip_select, spi->cs_gpio, err); bcm2835_spi_setup()
H A Dspi-ath79.c81 if (spi->chip_select) { ath79_spi_chipselect()
124 if (spi->chip_select && !cdata) ath79_spi_setup_cs()
128 if (spi->chip_select) { ath79_spi_setup_cs()
146 if (spi->chip_select) { ath79_spi_cleanup_cs()
H A Dspi-omap2-mcspi.c370 struct omap2_mcspi_dma *mcspi_dma = &mcspi->dma_channels[spi->chip_select]; omap2_mcspi_rx_callback()
382 struct omap2_mcspi_dma *mcspi_dma = &mcspi->dma_channels[spi->chip_select]; omap2_mcspi_tx_callback()
399 mcspi_dma = &mcspi->dma_channels[spi->chip_select]; omap2_mcspi_tx_dma()
440 mcspi_dma = &mcspi->dma_channels[spi->chip_select]; omap2_mcspi_rx_dma()
556 mcspi_dma = &mcspi->dma_channels[spi->chip_select]; omap2_mcspi_txrx_dma()
949 mcspi_dma = mcspi->dma_channels + spi->chip_select; omap2_mcspi_request_dma()
992 mcspi_dma = &mcspi->dma_channels[spi->chip_select]; omap2_mcspi_setup()
998 cs->base = mcspi->base + spi->chip_select * 0x14; omap2_mcspi_setup()
999 cs->phys = mcspi->phys + spi->chip_select * 0x14; omap2_mcspi_setup()
1041 if (spi->chip_select < spi->master->num_chipselect) { omap2_mcspi_cleanup()
1042 mcspi_dma = &mcspi->dma_channels[spi->chip_select]; omap2_mcspi_cleanup()
1078 mcspi_dma = mcspi->dma_channels + spi->chip_select; omap2_mcspi_work()
1217 mcspi_dma = mcspi->dma_channels + spi->chip_select; omap2_mcspi_transfer_one_message()
H A Dspi-img-spfi.c423 val |= SPFI_PORT_STATE_CK_PHASE(msg->spi->chip_select); img_spfi_prepare()
425 val &= ~SPFI_PORT_STATE_CK_PHASE(msg->spi->chip_select); img_spfi_prepare()
427 val |= SPFI_PORT_STATE_CK_POL(msg->spi->chip_select); img_spfi_prepare()
429 val &= ~SPFI_PORT_STATE_CK_POL(msg->spi->chip_select); img_spfi_prepare()
506 val = spfi_readl(spfi, SPFI_DEVICE_PARAMETER(spi->chip_select)); img_spfi_config()
510 spfi_writel(spfi, val, SPFI_DEVICE_PARAMETER(spi->chip_select)); img_spfi_config()
H A Dspi-atmel.c305 spi_writel(as, CSR0 + 4 * spi->chip_select, asd->csr); cs_activate()
312 SPI_BF(PCS, ~(0x01 << spi->chip_select)) cs_activate()
318 SPI_BF(PCS, ~(0x01 << spi->chip_select)) cs_activate()
339 mr = SPI_BFINS(PCS, ~(1 << spi->chip_select), mr); cs_activate()
340 if (spi->chip_select != 0) cs_activate()
360 if (~SPI_BFEXT(PCS, mr) & (1 << spi->chip_select)) { cs_deactivate()
369 if (atmel_spi_is_v2(as) || spi->chip_select != 0) cs_deactivate()
714 csr = spi_readl(as, CSR0 + 4 * spi->chip_select); atmel_spi_set_xfer_speed()
716 spi_writel(as, CSR0 + 4 * spi->chip_select, csr); atmel_spi_set_xfer_speed()
988 && spi->chip_select == 0 atmel_spi_setup()
1036 bits, spi->mode, spi->chip_select, csr); atmel_spi_setup()
1039 spi_writel(as, CSR0 + 4 * spi->chip_select, csr); atmel_spi_setup()
H A Dspi-txx9.c106 c->last_chipselect = spi->chip_select; txx9spi_cs_func()
112 gpio_set_value(spi->chip_select, val); txx9spi_cs_func()
123 if (gpio_direction_output(spi->chip_select, txx9spi_setup()
H A Dspi-gpio.c219 unsigned long cs = spi_gpio->cs_gpios[spi->chip_select]; spi_gpio_chipselect()
243 cs = spi_gpio->cs_gpios[spi->chip_select]; spi_gpio_setup()
262 spi_gpio->cs_gpios[spi->chip_select] = cs; spi_gpio_setup()
276 unsigned long cs = spi_gpio->cs_gpios[spi->chip_select]; spi_gpio_cleanup()
H A Dspi-omap-uwire.c185 if (value == BITBANG_CS_INACTIVE || old_cs != spi->chip_select) { uwire_chipselect()
199 w = spi->chip_select << 10; uwire_chipselect()
216 w = spi->chip_select << 10; uwire_txrx()
413 omap_uwire_configure_mode(spi->chip_select, flags); uwire_setup_transfer()
H A Dspi-ti-qspi.c351 qspi->dc |= QSPI_CKPHA(spi->chip_select); ti_qspi_start_transfer_one()
353 qspi->dc |= QSPI_CKPOL(spi->chip_select); ti_qspi_start_transfer_one()
355 qspi->dc |= QSPI_CSPOL(spi->chip_select); ti_qspi_start_transfer_one()
363 qspi->cmd |= QSPI_EN_CS(spi->chip_select); ti_qspi_start_transfer_one()
H A Dspi-altera.c76 writel(1 << spi->chip_select, altera_spi_chipsel()
96 writel(1 << spi->chip_select, altera_spi_chipsel()
H A Dspi-davinci.c214 u8 chip_sel = spi->chip_select; davinci_spi_chipselect()
314 dspi->bytes_per_word[spi->chip_select] = 1; davinci_spi_setup_transfer()
318 dspi->bytes_per_word[spi->chip_select] = 2; davinci_spi_setup_transfer()
441 spi->chip_select < pdata->num_chipselect && davinci_spi_setup()
442 pdata->chip_sel[spi->chip_select] != SPI_INTERN_CS) { davinci_spi_setup()
443 spi->cs_gpio = pdata->chip_sel[spi->chip_select]; davinci_spi_setup()
456 set_io_bits(dspi->base + SPIPC0, 1 << spi->chip_select); davinci_spi_setup()
603 data_type = dspi->bytes_per_word[spi->chip_select]; davinci_spi_bufs()
H A Dspi-sc18is602.c78 hw->buffer[0] = 1 << msg->spi->chip_select; sc18is602_txrx()
233 if (hw->id == sc18is602 && spi->chip_select == 2) sc18is602_setup()
H A Dspi-xilinx.c218 cs ^= BIT(spi->chip_select); xilinx_spi_chipselect()
233 xspi->cs_inactive &= ~BIT(spi->chip_select); xilinx_spi_setup_transfer()
235 xspi->cs_inactive |= BIT(spi->chip_select); xilinx_spi_setup_transfer()
H A Dspi-xcomm.c62 unsigned long cs = spi->chip_select; spi_xcomm_chipselect()
H A Dspi-dln2.c600 if (dln2->cs != spi->chip_select) { dln2_spi_prepare_message()
601 ret = dln2_spi_cs_set_one(dln2, spi->chip_select); dln2_spi_prepare_message()
605 dln2->cs = spi->chip_select; dln2_spi_prepare_message()
H A Dspi-fsl-espi.c93 __be32 __iomem *mode = &reg_base->csmode[spi->chip_select]; fsl_espi_change_mode()
239 (SPCOM_CS(spi->chip_select) | SPCOM_TRANLEN(t->len - 1))); fsl_espi_bufs()
490 &reg_base->csmode[spi->chip_select]); fsl_espi_setup()
H A Dspi-fsl-dspi.c343 dspi->cs = spi->chip_select; dspi_transfer_one_message()
455 spi->master->bus_num, spi->chip_select); dspi_cleanup()
H A Dspi.c267 spi->chip_select); spi_dev_set_name()
276 spi->chip_select == new_spi->chip_select) spi_dev_check()
298 if (spi->chip_select >= master->num_chipselect) { spi_add_device()
300 spi->chip_select, spi_add_device()
317 spi->chip_select); spi_add_device()
322 spi->cs_gpio = master->cs_gpios[spi->chip_select]; spi_add_device()
382 proxy->chip_select = chip->chip_select; spi_new_device()
1193 spi->chip_select = value; of_register_spi_device()
1311 spi->chip_select = sb->device_selection; acpi_spi_add_resource()
H A Dspi-butterfly.c281 pp->info[0].chip_select = 1; butterfly_attach()
H A Dspi-falcon.c136 priv->sfcmd = ((spi->chip_select falcon_sflash_xfer()
H A Dspi-oc-tiny.c77 gpio_set_value(hw->gpio_cs[spi->chip_select], tiny_spi_chipselect()
H A Dspi-bfin-sport.c621 chip->cs_gpio = spi->chip_select; bfin_sport_spi_setup()
629 chip->ctl_reg, spi->chip_select); bfin_sport_spi_setup()
H A Dspi-cadence.c193 ctrl_reg |= ((~(CDNS_SPI_SS0 << spi->chip_select)) << cdns_spi_chipselect()
197 ctrl_reg |= (spi->chip_select << CDNS_SPI_SS_SHIFT) & cdns_spi_chipselect()
H A Dspi-fsl-spi.c573 u16 cs = spi->chip_select; fsl_spi_grlib_cs_control()
715 u16 cs = spi->chip_select; fsl_spi_cs_control()
H A Dspi-rockchip.c288 ser |= 1 << spi->chip_select; rockchip_spi_set_cs()
290 ser &= ~(1 << spi->chip_select); rockchip_spi_set_cs()
H A Dspi-s3c24xx.c107 hw->set_cs(hw->pdata, spi->chip_select, cspol^1); s3c24xx_spi_chipsel()
114 hw->set_cs(hw->pdata, spi->chip_select, cspol); s3c24xx_spi_chipsel()
H A Dspi-bcm63xx.c188 cmd |= (spi->chip_select << SPI_CMD_DEVICE_ID_SHIFT); bcm63xx_txrx_bufs()
H A Dspi-efm32.c113 gpio_set_value(ddata->csgpio[spi->chip_select], value); efm32_spi_chipselect()
H A Dspi-lm70llp.c262 pp->info.chip_select = 0; spi_lm70llp_attach()
H A Dspi-omap-100k.c281 cs->base = spi100k->base + spi->chip_select * 0x14; omap1_spi100k_setup()
H A Dspi-sun4i.c141 reg |= SUN4I_CTL_CS(spi->chip_select); sun4i_spi_set_cs()
H A Dspi-sun6i.c146 reg |= SUN6I_TFR_CTL_CS(spi->chip_select); sun6i_spi_set_cs()
H A Dspi-imx.c716 int gpio = spi_imx->chipselect[spi->chip_select]; spi_imx_chipselect()
776 config.cs = spi->chip_select; spi_imx_setupxfer()
1028 int gpio = spi_imx->chipselect[spi->chip_select]; spi_imx_setup()
H A Dspi-tegra114.c744 command1 |= SPI_CS_SEL(spi->chip_select); tegra_spi_start_transfer_one()
780 val &= ~SPI_CS_POL_INACTIVE(spi->chip_select); tegra_spi_setup()
782 val |= SPI_CS_POL_INACTIVE(spi->chip_select); tegra_spi_setup()
H A Dspi-tegra20-slink.c771 val |= cs_pol_bit[spi->chip_select]; tegra_slink_setup()
773 val &= ~cs_pol_bit[spi->chip_select]; tegra_slink_setup()
794 tspi->command2_reg |= SLINK_SS_EN_CS(spi->chip_select); tegra_slink_prepare_message()
H A Dspi-dw.c151 dw_writel(dws, DW_SPI_SER, BIT(spi->chip_select)); dw_spi_set_cs()
H A Dspi-mpc52xx.c101 cs = ms->message->spi->chip_select; mpc52xx_spi_chipsel()
H A Dspi-mxs.c381 writel(mxs_spi_cs_to_reg(m->spi->chip_select), mxs_spi_transfer_one()
H A Dspi-orion.c241 ORION_SPI_CS(spi->chip_select)); orion_spi_set_cs()
H A Dspi-ppc4xx.c269 unsigned int cs = spi->chip_select; spi_ppc4xx_chipsel()
H A Dspi-tegra20-sflash.c294 command |= SPI_CS0_EN << spi->chip_select; tegra_sflash_start_transfer_one()
H A Dspi-au1550.c179 hw->pdata->deactivate_cs(hw->pdata, spi->chip_select, au1550_spi_chipsel()
224 hw->pdata->activate_cs(hw->pdata, spi->chip_select, au1550_spi_chipsel()
H A Dspi-adi-v3.c677 chip->cs = spi->chip_select; adi_spi_setup()
H A Dspidev.c757 spi->master->bus_num, spi->chip_select); spidev_probe()
H A Dspi-bfin5xx.c1043 chip->chip_select_num = spi->chip_select; bfin_spi_setup()
1050 chip->flag = (1 << spi->chip_select) << 8; bfin_spi_setup()
H A Dspi-pxa2xx.c1112 if (spi->chip_select > 4) { setup()
1119 chip->frm = spi->chip_select; setup()
H A Dspi-topcliff-pch.c539 if (pspi->chip_select != data->n_curnt_chip) { pch_spi_select_chip()
547 data->n_curnt_chip = data->current_chip->chip_select; pch_spi_select_chip()
H A Dspi-s3c64xx.c803 dev_err(&spi->dev, "No CS for SPI(%d)\n", spi->chip_select); s3c64xx_spi_setup()
H A Dspi-pl022.c1574 pl022->cur_cs = pl022->chipselects[msg->spi->chip_select]; pl022_transfer_one_message()
1920 if (!gpio_is_valid(pl022->chipselects[spi->chip_select])) pl022_setup()
/linux-4.1.27/arch/arm/mach-pxa/
H A Dicontrol.c84 .chip_select = 0,
93 .chip_select = 1,
102 .chip_select = 0,
111 .chip_select = 1,
H A Dcm-x255.c110 .chip_select = 0,
H A Dcorgi.c579 .chip_select = 0,
587 .chip_select = 1,
594 .chip_select = 2,
H A Dpcm027.c150 .chip_select = 0,
H A Dz2.c585 .chip_select = 0,
593 .chip_select = 0,
H A Draumfeld.c667 .chip_select = 0, \
676 .chip_select = 1, \
687 .chip_select = 2, \
H A Dspitz.c554 .chip_select = 0,
562 .chip_select = 1,
569 .chip_select = 2,
H A Dcm-x270.c384 .chip_select = 0,
H A Dlittleton.c210 .chip_select = 0,
H A Dem-x270.c805 .chip_select = 0,
814 .chip_select = 0,
H A Dstargate2.c374 .chip_select = 0,
381 .chip_select = 0,
H A Dlubbock.c208 .chip_select = 0,
H A Dcm-x300.c364 .chip_select = 0,
H A Dtosa.c827 .chip_select = 0,
H A Dzeus.c434 .chip_select = 0,
/linux-4.1.27/include/linux/
H A Dserial_max3100.h40 * .chip_select = 0,
/linux-4.1.27/arch/mips/txx9/generic/
H A Dspi_eeprom.c29 .chip_select = chipid, spi_eeprom_register()
65 read_param->chipid != spi->chip_select) early_seeprom_probe()
/linux-4.1.27/arch/avr32/boards/atstk1000/
H A Datstk1004.c54 .chip_select = 0,
63 .chip_select = 1,
H A Datstk1003.c52 .chip_select = 0,
H A Datstk1002.c137 .chip_select = 0,
146 .chip_select = 1,
/linux-4.1.27/arch/blackfin/mach-bf537/boards/
H A Dstamp.c945 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
956 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
968 .chip_select = 4,
979 .chip_select = 5,
989 .chip_select = 1,
1000 .chip_select = 5,
1010 .chip_select = 3, /* change it for your board */
1021 .chip_select = 4, /* CS, change it for your board */
1032 .chip_select = 4, /* CS, change it for your board */
1043 .chip_select = 4, /* CS, change it for your board */
1054 .chip_select = 4, /* CS, change it for your board */
1067 .chip_select = 4, /* CS, change it for your board */
1079 .chip_select = 4, /* CS, change it for your board */
1091 .chip_select = 4, /* CS, change it for your board */
1103 .chip_select = 4,
1116 .chip_select = 1,
1126 .chip_select = 1,
1135 .chip_select = 1,
1143 .chip_select = 2,
1153 .chip_select = GPIO_PF10 + MAX_CTRL_CS, /* GPIO controlled SSEL */
1165 .chip_select = 2,
1174 .chip_select = GPIO_PF10 + MAX_CTRL_CS, /* GPIO controlled SSEL */
1185 .chip_select = GPIO_PF10 + MAX_CTRL_CS, /* GPIO controlled SSEL */
1195 .chip_select = 1, /* Framework chip select. */
1206 .chip_select = 1, /* CS, change it for your board */
1216 .chip_select = 1, /* CS, change it for your board */
1226 .chip_select = 1, /* CS, change it for your board */
1236 .chip_select = 1, /* CS, change it for your board */
1246 .chip_select = 1, /* CS, change it for your board */
1256 .chip_select = MAX_CTRL_CS + 1, /* CS for read, change it for your board */
1264 .chip_select = 2, /* CS for write, change it for your board */
1274 .chip_select = 1, /* CS for read, change it for your board */
1284 .chip_select = 5, /* CS, change it for your board */
1295 .chip_select = 5, /* CS, change it for your board */
1306 .chip_select = 5, /* CS, change it for your board */
1317 .chip_select = 5, /* CS, change it for your board */
1328 .chip_select = 5, /* CS, change it for your board */
1339 .chip_select = 5, /* CS, change it for your board */
1350 .chip_select = 5, /* CS, change it for your board */
1361 .chip_select = 1, /* CS, change it for your board */
1371 .chip_select = 5, /* CS, change it for your board */
1382 .chip_select = 5, /* CS, change it for your board */
1393 .chip_select = 1, /* CS, change it for your board */
H A Dpnav10.c219 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
231 .chip_select = 4,
239 .chip_select = 5,
251 .chip_select = 5,
H A Dtcm_bf537.c83 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
95 .chip_select = 4,
104 .chip_select = 1,
H A Ddnp5370.c174 .chip_select = 1,
186 .chip_select = 2,
H A Dminotaur.c177 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
189 .chip_select = 5,
H A Dcm_bf537e.c83 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
95 .chip_select = 4,
104 .chip_select = 1,
H A Dcm_bf537u.c83 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
95 .chip_select = 4,
104 .chip_select = 1,
/linux-4.1.27/drivers/mtd/nand/
H A Dndfc.c44 int chip_select; member in struct:ndfc_controller
59 ccr |= NDFC_CCR_BS(chip + ndfc->chip_select); ndfc_select_chip()
223 ndfc->chip_select = cs; ndfc_probe()
236 ccr = NDFC_CCR_BS(ndfc->chip_select); ndfc_probe()
248 int offset = NDFC_BCFG0 + (ndfc->chip_select << 2); ndfc_probe()
/linux-4.1.27/arch/arm/mach-s3c64xx/
H A Dmach-crag6410-module.c48 .chip_select = 0,
61 .chip_select = 0,
229 .chip_select = 1,
254 .chip_select = 1,
268 .chip_select = 1,
/linux-4.1.27/arch/blackfin/mach-bf518/boards/
H A Dtcm-bf518.c172 .chip_select = 2, /* SPI0_SSEL2 */
184 .chip_select = 5,
196 .chip_select = 2,
205 .chip_select = 5,
214 .chip_select = 1,
222 .chip_select = 1,
H A Dezbrd.c224 .chip_select = 2, /* On BF518F-EZBRD it's SPI0_SSEL2 */
237 .chip_select = 1,
249 .chip_select = 5,
261 .chip_select = 2,
270 .chip_select = 5,
279 .chip_select = 1,
287 .chip_select = 1,
/linux-4.1.27/drivers/misc/eeprom/
H A Ddigsy_mtc_eeprom.c64 .chip_select = 0,
H A Deeprom_93cx6.c79 * Clear chip_select and data_in flags. eeprom_93cx6_cleanup()
/linux-4.1.27/arch/mips/ath79/
H A Dmach-ap121.c64 .chip_select = 0,
H A Dmach-ap81.c73 .chip_select = 0,
H A Dmach-pb44.c93 .chip_select = 0,
H A Dmach-ubnt-xm.c71 .chip_select = 0,
H A Dmach-db120.c82 .chip_select = 0,
H A Dmach-ap136.c104 .chip_select = 0,
/linux-4.1.27/include/linux/platform_data/
H A Dnet-cw1200.h62 .chip_select = 0,
/linux-4.1.27/arch/m68k/coldfire/
H A Ddevice.c267 u8 chip_select, bool cs_high) mcf_cs_select()
269 switch (chip_select) { mcf_cs_select()
288 u8 chip_select, bool cs_high) mcf_cs_deselect()
290 switch (chip_select) { mcf_cs_deselect()
266 mcf_cs_select(struct mcfqspi_cs_control *cs_control, u8 chip_select, bool cs_high) mcf_cs_select() argument
287 mcf_cs_deselect(struct mcfqspi_cs_control *cs_control, u8 chip_select, bool cs_high) mcf_cs_deselect() argument
/linux-4.1.27/arch/arm/mach-dove/
H A Dcm-a510.c52 .chip_select = 0,
H A Ddove-db-setup.c53 .chip_select = 0,
/linux-4.1.27/arch/blackfin/mach-bf527/boards/
H A Dezbrd.c305 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
317 .chip_select = 5,
329 .chip_select = 2,
339 .chip_select = 5,
349 .chip_select = 5,
358 .chip_select = 1,
366 .chip_select = 1,
H A Dtll6527m.c371 .chip_select = EXP_GPIO_SPISEL_BASE + 0x04 + MAX_CTRL_CS,
390 .chip_select = EXP_GPIO_SPISEL_BASE + 0x05 + MAX_CTRL_CS,
403 .chip_select = EXP_GPIO_SPISEL_BASE + 0x07 + MAX_CTRL_CS,
413 .chip_select = EXP_GPIO_SPISEL_BASE + 0x03 + MAX_CTRL_CS,
422 .chip_select = EXP_GPIO_SPISEL_BASE + 0x06 + MAX_CTRL_CS,
432 .chip_select = EXP_GPIO_SPISEL_BASE + 0x01 + MAX_CTRL_CS,
440 .chip_select = EXP_GPIO_SPISEL_BASE + 0x02 + MAX_CTRL_CS,
H A Dcm_bf527.c389 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
401 .chip_select = 4,
409 .chip_select = 5,
421 .chip_select = 2,
430 .chip_select = 5,
439 .chip_select = 1,
H A Dezkit.c590 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
602 .chip_select = 4,
612 .chip_select = 3,
625 .chip_select = 2,
635 .chip_select = 3,
644 .chip_select = 1,
652 .chip_select = 7,
H A Dad7160eval.c292 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
303 .chip_select = 4,
311 .chip_select = GPIO_PH3 + MAX_CTRL_CS,
321 .chip_select = 1,
/linux-4.1.27/arch/powerpc/platforms/83xx/
H A Dmpc832x_rdb.c151 pr_debug("%s %d %d\n", __func__, spi->chip_select, on); mpc83xx_spi_cs_control()
161 .chip_select = 0,
/linux-4.1.27/arch/avr32/boards/mimc200/
H A Dsetup.c102 .chip_select = 2,
107 .chip_select = 1,
/linux-4.1.27/arch/arm/mach-ep93xx/
H A Dvision_ep9307.c270 .chip_select = 0,
278 .chip_select = 1,
H A Dedb93xx.c138 .chip_select = 0,
/linux-4.1.27/arch/arm/mach-imx/
H A Deukrea_mbimxsd35-baseboard.c253 .chip_select = 0,
260 .chip_select = 1,
H A Dmach-pcm037_eet.c53 .chip_select = 0, /* Index in pcm037_spi1_cs[] */
H A Dmach-mx27_3ds.c461 .chip_select = 0, /* SS0 */
469 .chip_select = 0, /* SS0 */
H A Dmach-mx31lite.c123 .chip_select = 0,
H A Dmach-mx31_3ds.c534 .chip_select = 1, /* SS2 */
542 .chip_select = 0, /* SS2 */
H A Dmach-mx31lilly.c233 .chip_select = 0,
H A Dmach-pca100.c200 .chip_select = 1,
H A Dmx31moboard-marxbot.c142 .chip_select = 1, /* according spi1_cs[] ! */
H A Dmach-mx31moboard.c299 .chip_select = 0,
/linux-4.1.27/arch/arm/mach-omap1/
H A Dboard-nokia770.c133 .chip_select = 3,
140 .chip_select = 0,
H A Dboard-palmte.c189 .chip_select = 0, /* As opposed to 3 */
H A Dboard-palmtt.c234 .chip_select = 0,
H A Dboard-palmz71.c200 .chip_select = 0,
H A Dboard-h3.c323 .chip_select = 0,
H A Dboard-innovator.c236 .chip_select = 0,
H A Dboard-htcherald.c452 .chip_select = 1,
H A Dboard-osk.c441 .chip_select = 0,
/linux-4.1.27/arch/arm/mach-omap2/
H A Dcommon-board-devices.c53 .chip_select = 0,
H A Dboard-rx51-peripherals.c247 .chip_select = 0,
256 .chip_select = 2,
264 .chip_select = 0,
H A Dboard-n8x0.c160 .chip_select = 0,
H A Dboard-omap3pandora.c533 .chip_select = 1,
H A Dboard-overo.c450 .chip_select = 1,
H A Dboard-cm-t35.c283 .chip_select = 0,
/linux-4.1.27/arch/arm/mach-orion5x/
H A Drd88f6183ap-ge-setup.c77 .chip_select = 0,
/linux-4.1.27/drivers/mmc/core/
H A Ddebugfs.c85 switch (ios->chip_select) { mmc_ios_show()
99 seq_printf(s, "chip select:\t%u (%s)\n", ios->chip_select, str); mmc_ios_show()
167 seq_printf(s, "signal voltage:\t%u (%s)\n", ios->chip_select, str); mmc_ios_show()
H A Dcore.c998 ios->power_mode, ios->chip_select, ios->vdd, mmc_set_ios()
1012 host->ios.chip_select = mode; mmc_set_chip_select()
1146 host->ios.chip_select = MMC_CS_HIGH; mmc_set_initial_state()
1148 host->ios.chip_select = MMC_CS_DONTCARE; mmc_set_initial_state()
H A Dmmc_ops.c156 * SPI hosts ignore ios.chip_select; it's managed according to mmc_go_idle()
/linux-4.1.27/arch/blackfin/mach-bf533/boards/
H A Dblackstamp.c122 .chip_select = 2, /* Framework chip select. */
134 .chip_select = 5,
145 .chip_select = 7,
H A Dcm_bf533.c78 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
90 .chip_select = 4,
99 .chip_select = 1,
H A Dezkit.c223 .chip_select = 2, /* Framework chip select. On STAMP537 it is SPISSEL2*/
235 .chip_select = 4,
243 .chip_select = 1,
H A Dstamp.c217 .chip_select = 2, /* Framework chip select. On STAMP537 it is SPISSEL2*/
229 .chip_select = 4,
240 .chip_select = 1,
248 .chip_select = 4,
H A DH8606.c176 .chip_select = 2, /* Framework chip select. On STAMP537 it is SPISSEL2*/
188 .chip_select = 4,
H A Dip0x.c124 .chip_select = 5,
/linux-4.1.27/arch/blackfin/mach-bf561/boards/
H A Dcm_bf561.c74 .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/
86 .chip_select = 4,
94 .chip_select = 1,
H A Dacvilon.c417 .chip_select = 3,
425 .chip_select = 2, /* Framework chip select */
H A Dezkit.c339 .chip_select = 4,
349 .chip_select = 1,
/linux-4.1.27/arch/blackfin/mach-bf538/boards/
H A Dezkit.c576 .chip_select = 1, /* SPI_SSEL1*/
589 .chip_select = 1,
598 .chip_select = 2,
607 .chip_select = 1,
/linux-4.1.27/arch/sh/boards/mach-r2d/
H A Dsetup.c78 .chip_select = r2d_chip_select,
/linux-4.1.27/arch/avr32/boards/merisc/
H A Dsetup.c90 .chip_select = 0,
/linux-4.1.27/arch/arm/mach-davinci/
H A Dboard-dm355-leopard.c226 .chip_select = 0,
H A Dboard-dm355-evm.c368 .chip_select = 0,
H A Dboard-mityomapl138.c373 .chip_select = 0,
H A Dboard-da830-evm.c582 .chip_select = 0,
H A Dboard-dm365-evm.c739 .chip_select = 0,
H A Dboard-da850-evm.c124 .chip_select = 0,
/linux-4.1.27/arch/x86/platform/intel-mid/
H A Dsfi.c367 spi_info.chip_select = pentry->addr; sfi_handle_spi_dev()
374 spi_info.chip_select); sfi_handle_spi_dev()
/linux-4.1.27/arch/mips/alchemy/devboards/
H A Ddb1550.c105 .chip_select = 0,
113 .chip_select = 1,
H A Ddb1200.c178 .chip_select = 0,
186 .chip_select = 1,
H A Ddb1000.c460 .chip_select = 0,
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dmach-jive.c427 .chip_select = 0,
435 .chip_select = 0,
/linux-4.1.27/arch/blackfin/mach-bf548/boards/
H A Dezkit.c1508 .chip_select = MAX_CTRL_CS + GPIO_PE4, /* SPI_SSEL1*/
1519 .chip_select = MAX_CTRL_CS + GPIO_PG6, /* SPI_SSEL2 */
1529 .chip_select = MAX_CTRL_CS + GPIO_PE5, /* SPI_SSEL2 */
1537 .chip_select = MAX_CTRL_CS + GPIO_PE4, /* SPI_SSEL1 */
1547 .chip_select = MAX_CTRL_CS + GPIO_PG6, /* SPI_SSEL2 */
H A Dcm_bf548.c909 .chip_select = 1, /* SPI_SSEL1*/
922 .chip_select = 2,
930 .chip_select = 1,
/linux-4.1.27/drivers/net/wireless/rsi/
H A Drsi_91x_sdio.c179 host->ios.chip_select = MMC_CS_DONTCARE; rsi_reset_card()
203 host->ios.chip_select = MMC_CS_HIGH; rsi_reset_card()
211 host->ios.chip_select = MMC_CS_DONTCARE; rsi_reset_card()
/linux-4.1.27/include/linux/spi/
H A Dspi.h40 * @chip_select: Chipselect, distinguishing chips handled by @master.
76 u8 chip_select; member in struct:spi_device
952 * @chip_select: Initializes spi_device.chip_select; depends on how
991 * chip_select reflects how this chip is wired to that master;
995 u16 chip_select; member in struct:spi_board_info
/linux-4.1.27/drivers/mfd/
H A Dtimberdale.c130 .chip_select = 2,
140 .chip_select = 1,
/linux-4.1.27/drivers/edac/
H A Damd64_edac.h335 struct chip_select { struct
370 struct chip_select csels[2];
/linux-4.1.27/drivers/net/ethernet/qualcomm/
H A Dqca_debug.c119 (unsigned int)qca->spi_dev->chip_select); qcaspi_info_show()
/linux-4.1.27/drivers/staging/fbtft/
H A Dfbtft_device.c749 .chip_select = 0,
934 .chip_select = 0,
1255 fbtft_device_spi_delete(master, spi->chip_select); fbtft_device_spi_device_register()
1379 spi->chip_select = cs; fbtft_device_init()
H A Dfbtft-core.c997 spi->chip_select, spi->max_speed_hz/1000000); fbtft_register_framebuffer()
/linux-4.1.27/drivers/rtc/
H A Drtc-pcf2123.c24 * .chip_select = 1,
/linux-4.1.27/drivers/hwmon/
H A Dads7871.c19 * .chip_select = 0,
/linux-4.1.27/arch/mips/jz4740/
H A Dboard-qi_lb60.c320 .chip_select = 0,
/linux-4.1.27/arch/mips/txx9/rbtx4938/
H A Dsetup.c280 .chip_select = 16 + SRTC_CS, rbtx4938_spi_init()
/linux-4.1.27/arch/avr32/boards/atngw100/
H A Dmrmt.c215 .chip_select = 1,
H A Dsetup.c119 .chip_select = 0,
/linux-4.1.27/arch/avr32/boards/favr-32/
H A Dsetup.c91 .chip_select = 0,
/linux-4.1.27/arch/blackfin/mach-bf609/boards/
H A Dezkit.c1731 .chip_select = MAX_CTRL_CS + GPIO_PD11, /* SPI_SSEL1*/
1744 .chip_select = MAX_CTRL_CS + GPIO_PC15, /* SPI_SSEL4 */
1752 .chip_select = MAX_CTRL_CS + GPIO_PD11, /* SPI_SSEL1*/
1763 .chip_select = 2,
/linux-4.1.27/arch/arm/mach-w90x900/
H A Ddev.c263 .chip_select = 0,
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dcw1200_spi.c388 func->chip_select, func->mode, func->bits_per_word, cw1200_spi_probe()
/linux-4.1.27/arch/sh/boards/
H A Dboard-sh7757lcr.c333 .chip_select = 1,
/linux-4.1.27/drivers/mmc/host/
H A Dtifm_sd.c807 "chip_select = %x, power_mode = %x, bus_width = %x\n", tifm_sd_ios()
808 ios->clock, ios->vdd, ios->bus_mode, ios->chip_select, tifm_sd_ios()
857 /* chip_select : maybe later */ tifm_sd_ios()
H A Dwbsd.c897 if (ios->chip_select == MMC_CS_HIGH) { wbsd_set_ios()
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dboard-bockw.c275 .chip_select = 0,
/linux-4.1.27/include/linux/mmc/
H A Dhost.h34 unsigned char chip_select; /* SPI chip select */ member in struct:mmc_ios
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dif_spi.c1076 "attached to SPI bus_num %d, chip_select %d. " if_spi_init_card()
1080 card->spi->chip_select, if_spi_init_card()
/linux-4.1.27/drivers/iio/imu/
H A Dadis16400_core.c297 st->adis.spi->chip_select, st->adis.spi->irq); adis16400_initial_setup()
/linux-4.1.27/drivers/mtd/devices/
H A Dmtd_dataflash.c642 spi->master->bus_num, spi->chip_select, add_dataflash_otp()
/linux-4.1.27/drivers/tty/serial/
H A Dmax3100.c30 .chip_select = 0,
/linux-4.1.27/arch/avr32/mach-at32ap/
H A Dat32ap700x.c1214 if (b->chip_select >= 4) at32_spi_setup_slaves()
1218 pin = spi_pins[bus_num][b->chip_select]; at32_spi_setup_slaves()
/linux-4.1.27/drivers/net/can/spi/
H A Dmcp251x.c48 * .chip_select = 2,
/linux-4.1.27/drivers/media/usb/msi2500/
H A Dmsi2500.c1174 .chip_select = 0, msi2500_probe()

Completed in 9081 milliseconds