Home
last modified time | relevance | path

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

1234

/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A 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/Documentation/devicetree/bindings/gpio/
H A Dst,spear-spics-gpio.yaml15 under PL022 control. If chipselect remain under PL022 control then they would
22 directly control each PL022 chipselect. Hence, it is natural for SPEAr to
42 description: Bit offset to enable software chipselect control.
46 description: Bit offset to drive chipselect low or high.
54 description: Bit shift for programming chipselect number.
/linux/drivers/mtd/nand/raw/
H A 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/Documentation/devicetree/bindings/iio/adc/
H A Drenesas,rcar-gyroadc.yaml13 The GyroADC block is a reduced SPI block with up to 8 chipselect lines,
72 operation, single MB88101A is required. The Cx chipselect lines
81 A 3:8 chipselect demuxer is required to connect the nCS line
89 A 3:8 chipselect demuxer is required to connect the nCS line
/linux/include/linux/spi/
H A Dspi.h151 * The "active low" default for chipselect mode can be overridden
170 * @chip_select: Array of physical chipselect, spi->chipselect[i] gives
173 * @cs_index_mask: Bit mask of the active chipselect(s) in the chipselect array
174 * @cs_gpiod: Array of GPIO descriptors of the corresponding chipselect lines
238 * Bit mask of the chipselect(s) that the driver need to use from
239 * the chipselect array. When the controller is capable to handle
258 * - chipselect delays
309 static inline void spi_set_chipselect(struct spi_device *spi, u8 idx, u8 chipselect) in spi_set_chipselect() argument
[all...]
/linux/Documentation/devicetree/bindings/memory-controllers/
H A 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/drivers/gpio/
H A 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/drivers/spi/
H A 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(),
H A Dspi-bitbang.c32 * chipselect() and friends may use spi_device->controller_data and
341 bitbang->chipselect(spi, enable ? BITBANG_CS_ACTIVE : in spi_bitbang_set_cs()
356 * We only need the chipselect callback if we are actually using it. in spi_bitbang_init()
359 * driver-specific chipselect routine. in spi_bitbang_init()
364 if (custom_cs && !bitbang->chipselect) in spi_bitbang_init()
/linux/arch/mips/bcm63xx/
H A Dcs.c32 * Configure chipselect base address and size (bytes).
64 * configure chipselect timing (ns)
92 * configure other chipselect parameter (data bus size, ...)
/linux/drivers/mmc/host/
H A Dmmc_spi.c43 * - MMC depends on a different chipselect management policy than the
45 * to issue multiple spi_message requests with the chipselect active,
51 * - We tell the controller to keep the chipselect active from the
55 * However, many cards seem OK with chipselect flapping up/down
140 /* chipselect will always be inactive after setup() */ in mmc_cs_off()
381 /* disable chipselect on errors and some success cases */ in mmc_spi_response_get()
479 /* send command, leaving chipselect active */ in mmc_spi_command_send()
496 /* after no-data commands and STOP_TRANSMISSION, chipselect off */ in mmc_spi_command_send()
678 * before dropping chipselect.
987 * Do a burst with chipselect active-high. We need to do this to in mmc_spi_initsequence()
[all …]
/linux/sound/pci/ice1712/
H A Drevo.h33 #define VT1724_REVO_CS0 0x10 /* AK5365 chipselect for (revo51) */
34 #define VT1724_REVO_CS1 0x20 /* front AKM4381 chipselect */
/linux/include/linux/platform_data/
H A Dspi-s3c64xx.h16 * struct s3c64xx_spi_csinfo - ChipSelect description
20 * This is per SPI-Slave Chipselect information.
/linux/Documentation/devicetree/bindings/spi/
H A Dspi-gpio.yaml36 description: GPIOs to use for chipselect lines.
42 description: Number of chipselect lines. Should be <0> if a single device
H A Dspi_oc_tiny.txt5 - gpios : should specify GPIOs used for chipselect.
/linux/arch/powerpc/boot/dts/
H A Dac14xx.dts105 chipselect = <2 0x00009000 0x00009100>;
112 chipselect = <6 0x00009000 0x00009100>;
120 chipselect = <3 0x00101140 0x00203100>;
128 chipselect = <5 0x00009000 0x00009100>;
/linux/include/uapi/linux/spi/
H A Dspi.h16 #define SPI_CS_HIGH _BITUL(2) /* chipselect active high? */
20 #define SPI_NO_CS _BITUL(6) /* 1 dev/bus, no chipselect */
/linux/Documentation/spi/
H A Dspidev.rst74 For a SPI device with chipselect C on bus B, you should see:
113 the chipselect is deactivated between those operations. Full-duplex access,
114 and composite operation without chipselect de-activation, is available using
H A Dspi-summary.rst110 clock edge. The chipselect may have made it become available.
120 Note that the clock mode is relevant as soon as the chipselect goes
171 chipselect C, accessed through CTLR.
310 data or chipselect callbacks. This is stored in spi_device later.)
315 sharing a bus with a device that interprets chipselect "backwards" is
408 + whether the chipselect becomes inactive after a transfer and
/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2l-evm.dts67 ti,cs-chipselect = <0>;
84 ti,davinci-chipselect = <0>;
H A Dkeystone-k2e-evm.dts94 ti,cs-chipselect = <0>;
111 ti,davinci-chipselect = <0>;
H A Dkeystone-k2hk-evm.dts111 ti,cs-chipselect = <0>;
128 ti,davinci-chipselect = <0>;
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmicrochip,mcp23s08.yaml51 Multiple SPI chips can share the same SPI chipselect. Set a bit in
56 and mcp23s17 on the same chipselect. Set at least one bit to 1 for SPI
/linux/drivers/ata/
H A Dpata_ixp4xx_cf.c37 /* The timings for the chipselect is in bits 29..16 */
113 /* This sets up the timing on the chipselect CMD accordingly */
252 /* Inspect our address to figure out what chipselect the CMD is on */ in ixp4xx_pata_probe()
/linux/drivers/bus/
H A Dintel-ixp4xx-eb.c168 "invalid chipselect %u, we only support 0-7\n", in ixp4xx_exp_setup_chipselect()
174 "invalid chipselect %u, we only support 0-3\n", in ixp4xx_exp_setup_chipselect()
188 * chipselect, attempting to leave the boot defaults in place unless in ixp4xx_exp_setup_chipselect()

1234