/linux-master/include/linux/platform_data/ |
H A D | brcmnand.h | 6 int chip_select; member in struct:brcmnand_platform_data
|
/linux-master/arch/sh/include/asm/ |
H A D | spi.h | 11 void (*chip_select)(struct sh_spi_info *spi, int cs, int state); member in struct:sh_spi_info
|
/linux-master/include/trace/events/ |
H A D | spi.h | 51 __field(int, chip_select) 60 __entry->chip_select = spi_get_chipselect(spi, 0); 68 __entry->bus_num, __entry->chip_select, 84 __field(int, chip_select) 91 __entry->chip_select = spi_get_chipselect(spi, 0); 97 __entry->bus_num, __entry->chip_select, 110 __field( int, chip_select ) 116 __entry->chip_select = spi_get_chipselect(msg->spi, 0); 121 (int)__entry->chip_select, 149 __field( int, chip_select ) [all...] |
/linux-master/drivers/mtd/nand/raw/ |
H A D | ndfc.c | 36 int chip_select; member in struct:ndfc_controller 50 ccr |= NDFC_CCR_BS(chip + ndfc->chip_select); 207 ndfc->chip_select = cs; 219 ccr = NDFC_CCR_BS(ndfc->chip_select); 231 int offset = NDFC_BCFG0 + (ndfc->chip_select << 2);
|
H A D | meson_nand.c | 147 u32 chip_select; member in struct:meson_nfc_param 267 nfc->param.chip_select = meson_chip->sels[chip] ? NAND_CE1 : NAND_CE0; 268 nfc->param.rb_select = nfc->param.chip_select; 291 writel(nfc->param.chip_select | NFC_CMD_IDLE | (time & 0x3ff), 474 | nfc->param.chip_select | nfc->timing.tbers_max; 674 u32 cs = nfc->param.chip_select; 755 cmd = nfc->param.chip_select | NFC_CMD_CLE | NAND_CMD_PAGEPROG; 1041 cmd = nfc->param.chip_select | NFC_CMD_CLE; 1049 cmd = nfc->param.chip_select | NFC_CMD_ALE;
|
/linux-master/drivers/misc/eeprom/ |
H A D | digsy_mtc_eeprom.c | 82 .chip_select = 0,
|
/linux-master/drivers/bcma/ |
H A D | driver_chipcommon_nflash.c | 50 cc->nflash.brcmnand_info.chip_select = ffs(reg) - 1;
|
/linux-master/arch/arm/mach-dove/ |
H A D | cm-a510.c | 48 .chip_select = 0,
|
/linux-master/drivers/spi/ |
H A D | spi-atmel.c | 328 static void atmel_spi_send_dummy(struct atmel_spi *as, struct spi_device *spi, int chip_select) argument 338 csr = spi_readl(as, CSR0 + 4 * chip_select); 340 spi_writel(as, CSR0 + 4 * chip_select, csr); 386 int chip_select; local 390 chip_select = as->native_cs_for_gpio; 392 chip_select = spi_get_chipselect(spi, 0); 395 spi_writel(as, CSR0 + 4 * chip_select, asd->csr); 402 SPI_BF(PCS, ~(0x01 << chip_select)) 408 SPI_BF(PCS, ~(0x01 << chip_select)) 428 atmel_spi_send_dummy(as, spi, chip_select); 456 int chip_select; local 879 int chip_select; local 1264 int chip_select; local [all...] |
H A D | spi-hisi-sfc-v3xx.c | 275 u8 chip_select) 306 chip_select << HISI_SFC_V3XX_CMD_CFG_CS_SEL_OFF | 319 u8 chip_select) 332 ret = hisi_sfc_v3xx_start_bus(host, op, chip_select); 364 u8 chip_select = spi_get_chipselect(spi, 0); local 368 return hisi_sfc_v3xx_generic_exec_op(host, op, chip_select); 273 hisi_sfc_v3xx_start_bus(struct hisi_sfc_v3xx_host *host, const struct spi_mem_op *op, u8 chip_select) argument 317 hisi_sfc_v3xx_generic_exec_op(struct hisi_sfc_v3xx_host *host, const struct spi_mem_op *op, u8 chip_select) argument
|
H A D | spi-bcm63xx-hsspi.c | 352 unsigned int chip_select = spi_get_chipselect(spi, 0); local 394 bs->regs + HSSPI_PROFILE_MODE_CTRL_REG(chip_select)); 411 reg = chip_select << PINGPONG_CMD_SS_SHIFT | 412 chip_select << PINGPONG_CMD_PROFILE_SHIFT | 471 unsigned int chip_select = spi_get_chipselect(spi, 0); local 504 bs->regs + HSSPI_PROFILE_MODE_CTRL_REG(chip_select)); 523 reg = !chip_select << PINGPONG_CMD_SS_SHIFT | 524 chip_select << PINGPONG_CMD_PROFILE_SHIFT |
|
H A D | spi-sh-sci.c | 110 if (sp->info->chip_select) 111 (sp->info->chip_select)(sp->info, spi_get_chipselect(dev, 0), value);
|
H A D | spi-bcmbca-hsspi.c | 254 unsigned int chip_select = spi_get_chipselect(spi, 0); local 285 bs->regs + HSSPI_PROFILE_MODE_CTRL_REG(chip_select)); 306 bcmbca_hsspi_set_cs(bs, chip_select, true); 310 reg = chip_select << PINGPONG_CMD_SS_SHIFT | 311 chip_select << PINGPONG_CMD_PROFILE_SHIFT |
|
H A D | spi-altera-dfl.c | 173 board_info.chip_select = 0;
|
H A D | spi-coldfire-qspi.c | 108 static void mcfqspi_cs_select(struct mcfqspi *mcfqspi, u8 chip_select, argument 111 mcfqspi->cs_control->select(mcfqspi->cs_control, chip_select, cs_high); 114 static void mcfqspi_cs_deselect(struct mcfqspi *mcfqspi, u8 chip_select, argument 117 mcfqspi->cs_control->deselect(mcfqspi->cs_control, chip_select, cs_high);
|
/linux-master/arch/m68k/coldfire/ |
H A D | stmark2.c | 50 .chip_select = 1,
|
H A D | device.c | 279 u8 chip_select, bool cs_high) 281 switch (chip_select) { 300 u8 chip_select, bool cs_high) 302 switch (chip_select) { 278 mcf_cs_select(struct mcfqspi_cs_control *cs_control, u8 chip_select, bool cs_high) argument 299 mcf_cs_deselect(struct mcfqspi_cs_control *cs_control, u8 chip_select, bool cs_high) argument
|
/linux-master/arch/arm/mach-ep93xx/ |
H A D | vision_ep9307.c | 225 .chip_select = 0, 232 .chip_select = 1, 239 .chip_select = 2,
|
H A D | ts72xx.c | 258 .chip_select = 0, 313 .chip_select = 0,
|
/linux-master/arch/arm/mach-s3c/ |
H A D | mach-crag6410-module.c | 54 .chip_select = 0, 66 .chip_select = 0, 255 .chip_select = 1, 287 .chip_select = 1, 309 .chip_select = 1,
|
/linux-master/arch/arm/mach-omap1/ |
H A D | board-nokia770.c | 155 .chip_select = 3, 163 .chip_select = 0,
|
H A D | board-palmte.c | 181 .chip_select = 0, /* As opposed to 3 */
|
/linux-master/drivers/mmc/core/ |
H A D | debugfs.c | 88 switch (ios->chip_select) { 102 seq_printf(s, "chip select:\t%u (%s)\n", ios->chip_select, str);
|
/linux-master/include/linux/spi/ |
H A D | spi.h | 137 * @chip_select: Array of physical chipselect, spi->chipselect[i] gives 188 u8 chip_select[SPI_CS_CNT_MAX]; member in struct:spi_device 292 return spi->chip_select[idx]; 297 spi->chip_select[idx] = chipselect; 372 extern struct spi_device *spi_new_ancillary_device(struct spi_device *spi, u8 chip_select); 454 * @last_cs: the last chip_select that is recorded by set_cs, -1 on non chip 1580 * @chip_select: Initializes spi_device.chip_select; depends on how 1622 * chip_select reflects how this chip is wired to that master; 1626 u16 chip_select; member in struct:spi_board_info [all...] |
/linux-master/arch/powerpc/platforms/83xx/ |
H A D | mpc832x_rdb.c | 159 .chip_select = 0,
|