Home
last modified time | relevance | path

Searched refs:chip_select (Results 1 – 25 of 38) sorted by relevance

12

/linux/include/trace/events/
H A Dspi.h51 __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/drivers/mtd/nand/raw/
H A Dndfc.c36 int chip_select; member
50 ccr |= NDFC_CCR_BS(chip + ndfc->chip_select); in ndfc_select_chip()
207 ndfc->chip_select = cs; in ndfc_probe()
219 ccr = NDFC_CCR_BS(ndfc->chip_select); in ndfc_probe()
231 int offset = NDFC_BCFG0 + (ndfc->chip_select << 2); in ndfc_probe()
H A Dmeson_nand.c152 u32 chip_select; member
272 nfc->param.chip_select = meson_chip->sels[chip] ? NAND_CE1 : NAND_CE0; in meson_nfc_select_chip()
273 nfc->param.rb_select = nfc->param.chip_select; in meson_nfc_select_chip()
296 writel(nfc->param.chip_select | NFC_CMD_IDLE | (time & 0x3ff), in meson_nfc_cmd_idle()
500 | nfc->param.chip_select | nfc->timing.tbers_max; in meson_nfc_wait_rb_pin()
700 u32 cs = nfc->param.chip_select; in meson_nfc_rw_cmd_prepare_and_execute()
774 cmd = nfc->param.chip_select | NFC_CMD_CLE | NAND_CMD_PAGEPROG; in meson_nfc_write_page_sub()
1053 cmd = nfc->param.chip_select | NFC_CMD_CLE; in meson_nfc_exec_op()
1061 cmd = nfc->param.chip_select | NFC_CMD_ALE; in meson_nfc_exec_op()
/linux/arch/arm/mach-s3c/
H A Dmach-crag6410-module.c54 .chip_select = 0,
66 .chip_select = 0,
255 .chip_select = 1,
287 .chip_select = 1,
309 .chip_select = 1,
/linux/drivers/spi/
H A Dspi-bcm63xx-hsspi.c352 unsigned int chip_select = spi_get_chipselect(spi, 0); in bcm63xx_hsspi_do_prepend_txrx() local
394 bs->regs + HSSPI_PROFILE_MODE_CTRL_REG(chip_select)); in bcm63xx_hsspi_do_prepend_txrx()
411 reg = chip_select << PINGPONG_CMD_SS_SHIFT | in bcm63xx_hsspi_do_prepend_txrx()
412 chip_select << PINGPONG_CMD_PROFILE_SHIFT | in bcm63xx_hsspi_do_prepend_txrx()
471 unsigned int chip_select = spi_get_chipselect(spi, 0); in bcm63xx_hsspi_do_txrx() local
504 bs->regs + HSSPI_PROFILE_MODE_CTRL_REG(chip_select)); in bcm63xx_hsspi_do_txrx()
523 reg = !chip_select << PINGPONG_CMD_SS_SHIFT | in bcm63xx_hsspi_do_txrx()
524 chip_select << PINGPONG_CMD_PROFILE_SHIFT | in bcm63xx_hsspi_do_txrx()
H A Dspi-bcmbca-hsspi.c254 unsigned int chip_select = spi_get_chipselect(spi, 0); in bcmbca_hsspi_do_txrx() local
285 bs->regs + HSSPI_PROFILE_MODE_CTRL_REG(chip_select)); in bcmbca_hsspi_do_txrx()
306 bcmbca_hsspi_set_cs(bs, chip_select, true); in bcmbca_hsspi_do_txrx()
310 reg = chip_select << PINGPONG_CMD_SS_SHIFT | in bcmbca_hsspi_do_txrx()
311 chip_select << PINGPONG_CMD_PROFILE_SHIFT | in bcmbca_hsspi_do_txrx()
H A Dspi-fsl-lpspi.c96 u8 chip_select; member
290 temp |= (fsl_lpspi->config.chip_select & 0x3) << 24; in fsl_lpspi_set_cmd()
438 BIT(fsl_lpspi->config.chip_select)); in fsl_lpspi_config()
468 fsl_lpspi->config.chip_select = 1; in fsl_lpspi_setup_transfer()
470 fsl_lpspi->config.chip_select = spi_get_chipselect(spi, 0); in fsl_lpspi_setup_transfer()
H A Dspi-altera-dfl.c173 board_info.chip_select = 0; in dfl_spi_altera_probe()
H A Dspi-lm70llp.c257 pp->info.chip_select = 0; in spi_lm70llp_attach()
H A Dspi-butterfly.c264 pp->info[0].chip_select = 1; in butterfly_attach()
/linux/include/linux/platform_data/
H A Dbrcmnand.h6 int chip_select; member
/linux/arch/sh/include/asm/
H A Dspi.h11 void (*chip_select)(struct sh_spi_info *spi, int cs, int state); member
/linux/arch/arm/mach-dove/
H A Dcm-a510.c48 .chip_select = 0,
/linux/drivers/bcma/
H A Ddriver_chipcommon_nflash.c50 cc->nflash.brcmnand_info.chip_select = ffs(reg) - 1; in bcma_nflash_init()
/linux/drivers/misc/eeprom/
H A Ddigsy_mtc_eeprom.c74 .chip_select = 0,
/linux/arch/m68k/coldfire/
H A Dstmark2.c50 .chip_select = 1,
/linux/drivers/staging/greybus/
H A Dspilib.c240 request->chip_select = spi_get_chipselect(dev, 0); in gb_spi_operation_create()
451 request.chip_select = cs; in gb_spi_setup_device()
475 spi_board.chip_select = cs; in gb_spi_setup_device()
/linux/arch/mips/alchemy/devboards/
H A Ddb1550.c109 .chip_select = 0,
117 .chip_select = 1,
H A Ddb1200.c165 .chip_select = 0,
173 .chip_select = 1,
/linux/arch/arm/mach-pxa/
H A Dspitz.c644 .chip_select = 0,
651 .chip_select = 1,
658 .chip_select = 2,
/linux/arch/arm/mach-omap1/
H A Dboard-palmte.c181 .chip_select = 0, /* As opposed to 3 */
/linux/arch/powerpc/platforms/83xx/
H A Dmpc832x_rdb.c159 .chip_select = 0,
/linux/arch/sh/boards/mach-r2d/
H A Dsetup.c75 .chip_select = r2d_chip_select,
/linux/drivers/mfd/
H A Dtimberdale.c122 .chip_select = 2,
132 .chip_select = 1,
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_sdio.c186 host->ios.chip_select = MMC_CS_DONTCARE; in rsi_reset_card()
210 host->ios.chip_select = MMC_CS_HIGH; in rsi_reset_card()
218 host->ios.chip_select = MMC_CS_DONTCARE; in rsi_reset_card()

12