Home
last modified time | relevance | path

Searched full:chipselect (Results 1 – 25 of 117) sorted by relevance

12345

/Linux-v6.1/Documentation/devicetree/bindings/powerpc/fsl/
Dlbc.txt1 * Chipselect/Local Bus
6 chipselect number, and the remaining cells are the
7 offset into the chipselect.
8 - #size-cells : Either one or two, depending on how large each chipselect
10 - ranges : Each range corresponds to a single chipselect, and cover
/Linux-v6.1/Documentation/devicetree/bindings/mtd/
Ddavinci-nand.txt20 - ti,davinci-chipselect: number of chipselect. Indicates on the
21 davinci_nand driver which chipselect is used
39 - ti,davinci-mask-chipsel: mask for chipselect address. Needed to mask
40 addresses for given chipselect.
82 ti,davinci-chipselect = <1>;
/Linux-v6.1/drivers/spi/
Dspi-xcomm.c36 uint16_t chipselect; member
53 put_unaligned_be16(spi_xcomm->chipselect, &buf[3]); in spi_xcomm_sync_config()
62 uint16_t chipselect = spi_xcomm->chipselect; in spi_xcomm_chipselect() local
65 chipselect |= BIT(cs); in spi_xcomm_chipselect()
67 chipselect &= ~BIT(cs); in spi_xcomm_chipselect()
69 spi_xcomm->chipselect = chipselect; in spi_xcomm_chipselect()
Dspi-bitbang-txrx.h6 * - GPIO/parport bitbangers. Provide chipselect() and txrx_word[](),
10 * chipselect() and txrx_word[](), with custom setup()/cleanup() methods
11 * that use your controller's clock and chipselect registers.
16 * duplex (MicroWire) controllers. Provide chipselect() and txrx_bufs(),
Dspi-bitbang.c31 * chipselect() and friends may use spi_device->controller_data and
335 bitbang->chipselect(spi, enable ? BITBANG_CS_ACTIVE : in spi_bitbang_set_cs()
350 * We only need the chipselect callback if we are actually using it. in spi_bitbang_init()
353 * driver-specific chipselect routine. in spi_bitbang_init()
358 if (custom_cs && !bitbang->chipselect) in spi_bitbang_init()
/Linux-v6.1/Documentation/devicetree/bindings/memory-controllers/fsl/
Dfsl,ifc.yaml29 Should be either two or three. The first cell is the chipselect
30 number, and the remaining cells are the offset into the chipselect.
35 Either one or two, depending on how large each chipselect can be.
57 Each range corresponds to a single chipselect, and covers the entire
/Linux-v6.1/drivers/mtd/nand/raw/
Dhisi504_nand.c133 int chipselect; member
215 | ((host->chipselect & HINFC504_DMA_CTRL_CS_MASK) in hisi_nfc_dma_transfer()
289 | ((host->chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_erase()
308 | ((host->chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_readid()
323 | ((host->chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_status()
332 static int hisi_nfc_send_cmd_reset(struct hinfc_host *host, int chipselect) in hisi_nfc_send_cmd_reset() argument
337 | ((chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_reset()
347 static void hisi_nfc_select_chip(struct nand_chip *chip, int chipselect) in hisi_nfc_select_chip() argument
351 if (chipselect < 0) in hisi_nfc_select_chip()
354 host->chipselect = chipselect; in hisi_nfc_select_chip()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/
Drenesas,rcar-gyroadc.yaml13 The GyroADC block is a reduced SPI block with up to 8 chipselect lines,
68 operation, single MB88101A is required. The Cx chipselect lines
77 A 3:8 chipselect demuxer is required to connect the nCS line
85 A 3:8 chipselect demuxer is required to connect the nCS line
/Linux-v6.1/Documentation/devicetree/bindings/gpio/
Dspear_spics.txt5 PL022 control. If chipselect remain under PL022 control then they would be
12 directly control each PL022 chipselect. Hence, it is natural for SPEAr to export
21 * st-spics,cs-value-bit: bit offset to drive chipselect low or high
/Linux-v6.1/Documentation/devicetree/bindings/memory-controllers/
Dti-aemif.txt73 - ti,cs-chipselect: number of chipselect. Indicates on the aemif driver
74 which chipselect is used for accessing the memory. For
163 ti,cs-chipselect = <2>;
192 ti,cs-chipselect = <0>;
/Linux-v6.1/Documentation/devicetree/bindings/rtc/
Dnxp,rtc-2123.txt6 - reg: should be the SPI slave chipselect address
9 - spi-cs-high: PCF2123 needs chipselect high
/Linux-v6.1/drivers/gpio/
Dgpio-spear-spics.c3 * SPEAr platform SPI chipselect abstraction over gpiolib
25 * It provides control for spi chip select lines so that any chipselect
35 * @cs_value_bit: bit to program high or low chipselect
36 * @cs_enable_mask: mask to select bits required to select chipselect
/Linux-v6.1/arch/mips/bcm63xx/
Dcs.c32 * Configure chipselect base address and size (bytes).
64 * configure chipselect timing (ns)
92 * configure other chipselect parameter (data bus size, ...)
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-mcp23s08.txt26 SPI uses this to specify the chipselect line which the chip is
28 multiple chips on the same chipselect. Have a look at
35 SPI chipselect. Set a bit in bit0-7 in this mask to 1 if there is a
39 possible to mix mcp23s08 and mcp23s17 on the same chipselect. Set at
/Linux-v6.1/sound/pci/ice1712/
Drevo.h33 #define VT1724_REVO_CS0 0x10 /* AK5365 chipselect for (revo51) */
34 #define VT1724_REVO_CS1 0x20 /* front AKM4381 chipselect */
/Linux-v6.1/include/linux/platform_data/
Dspi-s3c64xx.h16 * struct s3c64xx_spi_csinfo - ChipSelect description
20 * This is per SPI-Slave Chipselect information.
/Linux-v6.1/Documentation/devicetree/bindings/spi/
Dspi-gpio.yaml36 description: GPIOs to use for chipselect lines.
42 description: Number of chipselect lines. Should be <0> if a single device
Dspi-fsl-dspi.txt21 - spi-num-chipselects : the number of the chipselect signals.
26 - bus-num : the slave chip chipselect signal number.
/Linux-v6.1/include/linux/spi/
Dspi.h131 * @chip_select: Chipselect, distinguishing chips handled by @controller.
134 * The "active low" default for chipselect mode can be overridden
156 * @cs_gpiod: gpio descriptor of the chipselect line (optional, NULL when
217 * - chipselect delays
345 * each slave has a chipselect signal, but it's common that not
346 * every chipselect is connected to a slave.
365 * @add_lock: mutex to avoid adding devices to the same chipselect
448 * the cs_gpiod assigned if a GPIO line is found for the chipselect.
593 * + Chipselect stays active during the entire message
855 * @cs_off: performs the transfer with chipselect off.
[all …]
/Linux-v6.1/include/uapi/linux/spi/
Dspi.h16 #define SPI_CS_HIGH _BITUL(2) /* chipselect active high? */
20 #define SPI_NO_CS _BITUL(6) /* 1 dev/bus, no chipselect */
/Linux-v6.1/drivers/mtd/spi-nor/controllers/
Dhisi-sfc.c83 u32 chipselect; member
192 reg = OP_CFG_FM_CS(priv->chipselect); in hisi_spi_nor_op_reg()
248 reg = OP_CFG_FM_CS(priv->chipselect); in hisi_spi_nor_dma_transfer()
353 ret = of_property_read_u32(np, "reg", &priv->chipselect); in hisi_spi_nor_register()
408 dev_warn(dev, "Flash device number exceeds the maximum chipselect number\n"); in hisi_spi_nor_register_all()
/Linux-v6.1/arch/arm/mach-pxa/
Dpalmtx.h80 #define PALMTX_PHYS_FLASH_START PXA_CS0_PHYS /* ChipSelect 0 */
81 #define PALMTX_PHYS_NAND_START PXA_CS1_PHYS /* ChipSelect 1 */
/Linux-v6.1/arch/powerpc/boot/dts/
Dac14xx.dts105 chipselect = <2 0x00009000 0x00009100>;
112 chipselect = <6 0x00009000 0x00009100>;
120 chipselect = <3 0x00101140 0x00203100>;
128 chipselect = <5 0x00009000 0x00009100>;
/Linux-v6.1/drivers/mmc/host/
Dmmc_spi.c44 * - MMC depends on a different chipselect management policy than the
46 * to issue multiple spi_message requests with the chipselect active,
52 * - We tell the controller to keep the chipselect active from the
56 * However, many cards seem OK with chipselect flapping up/down
146 /* chipselect will always be inactive after setup() */ in mmc_cs_off()
405 /* disable chipselect on errors and some success cases */ in mmc_spi_response_get()
503 /* send command, leaving chipselect active */ in mmc_spi_command_send()
532 /* after no-data commands and STOP_TRANSMISSION, chipselect off */ in mmc_spi_command_send()
746 * before dropping chipselect.
1111 * Do a burst with chipselect active-high. We need to do this to in mmc_spi_initsequence()
[all …]
/Linux-v6.1/drivers/bus/
Dqcom-ebi2.c103 * struct cs_data - struct with info on a chipselect setting
104 * @enable_mask: mask to enable the chipselect in the EBI2 config
354 /* Figure out the chipselect */ in qcom_ebi2_probe()
363 "invalid chipselect %u, we only support 0-5\n", in qcom_ebi2_probe()

12345