Home
last modified time | relevance | path

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

123

/Linux-v6.6/include/trace/events/
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-v6.6/drivers/mtd/nand/raw/
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()
Dmeson_nand.c145 u32 chip_select; member
265 nfc->param.chip_select = meson_chip->sels[chip] ? NAND_CE1 : NAND_CE0; in meson_nfc_select_chip()
266 nfc->param.rb_select = nfc->param.chip_select; in meson_nfc_select_chip()
289 writel(nfc->param.chip_select | NFC_CMD_IDLE | (time & 0x3ff), in meson_nfc_cmd_idle()
472 | nfc->param.chip_select | nfc->timing.tbers_max; in meson_nfc_wait_rb_pin()
672 u32 cs = nfc->param.chip_select; in meson_nfc_rw_cmd_prepare_and_execute()
753 cmd = nfc->param.chip_select | NFC_CMD_CLE | NAND_CMD_PAGEPROG; in meson_nfc_write_page_sub()
1039 cmd = nfc->param.chip_select | NFC_CMD_CLE; in meson_nfc_exec_op()
1047 cmd = nfc->param.chip_select | NFC_CMD_ALE; in meson_nfc_exec_op()
/Linux-v6.6/arch/arm/mach-s3c/
Dmach-crag6410-module.c45 .chip_select = 0,
57 .chip_select = 0,
231 .chip_select = 1,
263 .chip_select = 1,
285 .chip_select = 1,
/Linux-v6.6/drivers/spi/
Dspi-atmel.c328 int chip_select; in cs_activate() local
332 chip_select = as->native_cs_for_gpio; in cs_activate()
334 chip_select = spi_get_chipselect(spi, 0); in cs_activate()
337 spi_writel(as, CSR0 + 4 * chip_select, asd->csr); in cs_activate()
344 SPI_BF(PCS, ~(0x01 << chip_select)) in cs_activate()
350 SPI_BF(PCS, ~(0x01 << chip_select)) in cs_activate()
370 mr = SPI_BFINS(PCS, ~(1 << chip_select), mr); in cs_activate()
379 int chip_select; in cs_deactivate() local
383 chip_select = as->native_cs_for_gpio; in cs_deactivate()
385 chip_select = spi_get_chipselect(spi, 0); in cs_deactivate()
[all …]
Dspi-hisi-sfc-v3xx.c275 u8 chip_select) in hisi_sfc_v3xx_start_bus() argument
306 chip_select << HISI_SFC_V3XX_CMD_CFG_CS_SEL_OFF | in hisi_sfc_v3xx_start_bus()
319 u8 chip_select) in hisi_sfc_v3xx_generic_exec_op() argument
332 ret = hisi_sfc_v3xx_start_bus(host, op, chip_select); in hisi_sfc_v3xx_generic_exec_op()
364 u8 chip_select = spi_get_chipselect(spi, 0); in hisi_sfc_v3xx_exec_op() local
368 return hisi_sfc_v3xx_generic_exec_op(host, op, chip_select); in hisi_sfc_v3xx_exec_op()
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()
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()
Dspi-sh-sci.c110 if (sp->info->chip_select) in sh_sci_spi_chipselect()
111 (sp->info->chip_select)(sp->info, spi_get_chipselect(dev, 0), value); in sh_sci_spi_chipselect()
Dspi-coldfire-qspi.c108 static void mcfqspi_cs_select(struct mcfqspi *mcfqspi, u8 chip_select, in mcfqspi_cs_select() argument
111 mcfqspi->cs_control->select(mcfqspi->cs_control, chip_select, cs_high); in mcfqspi_cs_select()
114 static void mcfqspi_cs_deselect(struct mcfqspi *mcfqspi, u8 chip_select, in mcfqspi_cs_deselect() argument
117 mcfqspi->cs_control->deselect(mcfqspi->cs_control, chip_select, cs_high); in mcfqspi_cs_deselect()
/Linux-v6.6/arch/arm/mach-ep93xx/
Dvision_ep9307.c225 .chip_select = 0,
232 .chip_select = 1,
239 .chip_select = 2,
Dts72xx.c258 .chip_select = 0,
313 .chip_select = 0,
/Linux-v6.6/arch/m68k/coldfire/
Ddevice.c279 u8 chip_select, bool cs_high) in mcf_cs_select() argument
281 switch (chip_select) { in mcf_cs_select()
300 u8 chip_select, bool cs_high) in mcf_cs_deselect() argument
302 switch (chip_select) { in mcf_cs_deselect()
Dstmark2.c50 .chip_select = 1,
/Linux-v6.6/include/linux/platform_data/
Dbrcmnand.h6 int chip_select; member
/Linux-v6.6/arch/sh/include/asm/
Dspi.h11 void (*chip_select)(struct sh_spi_info *spi, int cs, int state); member
/Linux-v6.6/include/linux/spi/
Dspi.h185 u8 chip_select; member
282 return spi->chip_select; in spi_get_chipselect()
287 spi->chip_select = chipselect; in spi_set_chipselect()
351 extern struct spi_device *spi_new_ancillary_device(struct spi_device *spi, u8 chip_select);
1576 u16 chip_select; member
/Linux-v6.6/arch/arm/mach-omap1/
Dboard-nokia770.c155 .chip_select = 3,
163 .chip_select = 0,
/Linux-v6.6/arch/arm/mach-dove/
Dcm-a510.c48 .chip_select = 0,
/Linux-v6.6/drivers/bcma/
Ddriver_chipcommon_nflash.c50 cc->nflash.brcmnand_info.chip_select = ffs(reg) - 1; in bcma_nflash_init()
/Linux-v6.6/drivers/misc/eeprom/
Ddigsy_mtc_eeprom.c82 .chip_select = 0,
/Linux-v6.6/sound/pci/hda/
Dcs35l56_hda_spi.c32 ret = cs35l56_hda_common_probe(cs35l56, spi->chip_select); in cs35l56_hda_spi_probe()
/Linux-v6.6/drivers/mmc/core/
Ddebugfs.c85 switch (ios->chip_select) { in mmc_ios_show()
99 seq_printf(s, "chip select:\t%u (%s)\n", ios->chip_select, str); in mmc_ios_show()
/Linux-v6.6/drivers/staging/greybus/
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-v6.6/drivers/mfd/
Dtps6594-spi.c101 tps->reg = spi->chip_select; in tps6594_spi_probe()

123