/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | lbc.txt | 1 * 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/drivers/spi/ |
H A D | spi-xcomm.c | 40 u16 chipselect; member 93 put_unaligned_be16(spi_xcomm->chipselect, &buf[3]); in spi_xcomm_sync_config() 102 u16 chipselect = spi_xcomm->chipselect; in spi_xcomm_chipselect() local 105 chipselect |= BIT(cs); in spi_xcomm_chipselect() 107 chipselect &= ~BIT(cs); in spi_xcomm_chipselect() 109 spi_xcomm->chipselect = chipselect; in spi_xcomm_chipselect()
|
H A D | spi-bitbang-txrx.h | 6 * - 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 D | spi-bitbang.c | 32 * 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/drivers/mtd/nand/raw/ |
H A D | hisi504_nand.c | 133 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 D | renesas,rcar-gyroadc.yaml | 13 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/Documentation/devicetree/bindings/gpio/ |
H A D | spear_spics.txt | 5 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/Documentation/devicetree/bindings/memory-controllers/ |
H A D | ti-aemif.txt | 73 - 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/include/linux/spi/ |
H A D | spi.h | 137 * @chip_select: Array of physical chipselect, spi->chipselect[i] gives 141 * The "active low" default for chipselect mode can be overridden 163 * @cs_gpiod: Array of GPIO descriptors of the corresponding chipselect lines 173 * @cs_index_mask: Bit mask of the active chipselect(s) in the chipselect array 229 /* Bit mask of the chipselect(s) that the driver need to use from 230 * the chipselect array.When the controller is capable to handle 241 * - chipselect delays 295 static inline void spi_set_chipselect(struct spi_device *spi, u8 idx, u8 chipselect) in spi_set_chipselect() argument 297 spi->chip_select[idx] = chipselect; in spi_set_chipselect() 396 * each slave has a chipselect signal, but it's common that not [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-spear-spics.c | 3 * 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/arch/mips/bcm63xx/ |
H A D | cs.c | 32 * Configure chipselect base address and size (bytes). 64 * configure chipselect timing (ns) 92 * configure other chipselect parameter (data bus size, ...)
|
/linux/sound/pci/ice1712/ |
H A D | revo.h | 33 #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 D | spi-s3c64xx.h | 16 * struct s3c64xx_spi_csinfo - ChipSelect description 20 * This is per SPI-Slave Chipselect information.
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-gpio.yaml | 36 description: GPIOs to use for chipselect lines. 42 description: Number of chipselect lines. Should be <0> if a single device
|
H A D | spi_oc_tiny.txt | 5 - gpios : should specify GPIOs used for chipselect.
|
/linux/drivers/mtd/spi-nor/controllers/ |
H A D | hisi-sfc.c | 83 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/include/uapi/linux/spi/ |
H A D | spi.h | 16 #define SPI_CS_HIGH _BITUL(2) /* chipselect active high? */ 20 #define SPI_NO_CS _BITUL(6) /* 1 dev/bus, no chipselect */
|
/linux/arch/powerpc/boot/dts/ |
H A D | ac14xx.dts | 105 chipselect = <2 0x00009000 0x00009100>; 112 chipselect = <6 0x00009000 0x00009100>; 120 chipselect = <3 0x00101140 0x00203100>; 128 chipselect = <5 0x00009000 0x00009100>;
|
/linux/drivers/bus/ |
H A D | qcom-ebi2.c | 103 * 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()
|
/linux/Documentation/spi/ |
H A D | spidev.rst | 74 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
|
/linux/arch/arm/boot/dts/ti/keystone/ |
H A D | keystone-k2l-evm.dts | 67 ti,cs-chipselect = <0>; 84 ti,davinci-chipselect = <0>;
|
H A D | keystone-k2e-evm.dts | 94 ti,cs-chipselect = <0>; 111 ti,davinci-chipselect = <0>;
|
H A D | keystone-k2hk-evm.dts | 111 ti,cs-chipselect = <0>; 128 ti,davinci-chipselect = <0>;
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | microchip,mcp23s08.yaml | 51 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 D | pata_ixp4xx_cf.c | 37 /* 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()
|