Home
last modified time | relevance | path

Searched refs:chipselect (Results 1 – 76 of 76) sorted by relevance

/linux-4.4.14/drivers/spi/
Dspi-xcomm.c37 uint16_t chipselect; member
54 put_unaligned_be16(spi_xcomm->chipselect, &buf[3]); in spi_xcomm_sync_config()
63 uint16_t chipselect = spi_xcomm->chipselect; in spi_xcomm_chipselect() local
66 chipselect |= BIT(cs); in spi_xcomm_chipselect()
68 chipselect &= ~BIT(cs); in spi_xcomm_chipselect()
70 spi_xcomm->chipselect = chipselect; in spi_xcomm_chipselect()
Dspi-bitbang.c216 bitbang->chipselect(spi, BITBANG_CS_INACTIVE); in spi_bitbang_setup()
320 bitbang->chipselect(spi, enable ? BITBANG_CS_ACTIVE : in spi_bitbang_set_cs()
360 if (!master || !bitbang->chipselect) in spi_bitbang_start()
Dspi-imx.c114 int chipselect[0]; member
459 int cs = spi_imx->chipselect[config->cs]; in mx31_config()
537 int cs = spi_imx->chipselect[config->cs]; in mx21_config()
723 int gpio = spi_imx->chipselect[spi->chip_select]; in spi_imx_chipselect()
1035 int gpio = spi_imx->chipselect[spi->chip_select]; in spi_imx_setup()
1123 cs_gpio = mxc_platform_info->chipselect[i]; in spi_imx_probe()
1125 spi_imx->chipselect[i] = cs_gpio; in spi_imx_probe()
1129 ret = devm_gpio_request(&pdev->dev, spi_imx->chipselect[i], in spi_imx_probe()
1137 spi_imx->bitbang.chipselect = spi_imx_chipselect; in spi_imx_probe()
Dspi-xtensa-xtfpga.c101 xspi->bitbang.chipselect = xtfpga_spi_chipselect; in xtfpga_spi_probe()
Dspi-ppc4xx.c215 hw->bitbang.chipselect(spi, BITBANG_CS_INACTIVE); in spi_ppc4xx_setupxfer()
452 bbp->chipselect = spi_ppc4xx_chipsel; in spi_ppc4xx_of_probe()
Dspi-lm70llp.c222 pp->bitbang.chipselect = lm70_chipselect; in spi_lm70llp_attach()
Dspi-clps711x.c148 master->cs_gpios[i] = pdata->chipselect[i]; in spi_clps711x_probe()
Dspi-sh-sci.c142 sp->bitbang.chipselect = sh_sci_spi_chipselect; in sh_sci_spi_probe()
Dspi-s3c24xx.c203 hw->bitbang.chipselect(spi, BITBANG_CS_INACTIVE); in s3c24xx_spi_setup()
535 hw->bitbang.chipselect = s3c24xx_spi_chipsel; in s3c24xx_spi_probe()
Dspi-butterfly.c225 pp->bitbang.chipselect = butterfly_chipselect; in butterfly_attach()
Dspi-altera.c223 hw->bitbang.chipselect = altera_spi_chipsel; in altera_spi_probe()
Dspi-ath79.c237 sp->bitbang.chipselect = ath79_spi_chipselect; in ath79_spi_probe()
DKconfig15 controller and a chipselect. Most SPI slaves don't support
48 provides the clock and chipselect), you can enable that
240 interface to manage MOSI, MISO, SCK, and chipselect signals. SPI
243 for the chipselect used by this controller driver.
Dspi-oc-tiny.c266 hw->bitbang.chipselect = tiny_spi_chipselect; in tiny_spi_probe()
Dspi-omap-uwire.c498 uwire->bitbang.chipselect = uwire_chipselect; in uwire_probe()
Dspi-gpio.c482 spi_gpio->bitbang.chipselect = spi_gpio_chipselect; in spi_gpio_probe()
Dspi-nuc900.c362 hw->bitbang.chipselect = nuc900_spi_chipsel; in nuc900_spi_probe()
Dspi-xilinx.c419 xspi->bitbang.chipselect = xilinx_spi_chipselect; in xilinx_spi_probe()
Dspi-efm32.c353 ddata->bitbang.chipselect = efm32_spi_chipselect; in efm32_spi_probe()
Dspi-au1550.c813 hw->bitbang.chipselect = au1550_spi_chipsel; in au1550_spi_probe()
Dspi-davinci.c1016 dspi->bitbang.chipselect = davinci_spi_chipselect; in davinci_spi_probe()
Dspi-sirf.c1118 sspi->bitbang.chipselect = spi_sirfsoc_chipselect; in spi_sirfsoc_probe()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dlbc.txt6 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-4.4.14/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>;
Dpxa3xx-nand.txt18 - num-cs: Number of chipselect lines to use
/linux-4.4.14/drivers/mtd/nand/
Dhisi504_nand.c144 int chipselect; member
226 | ((host->chipselect & HINFC504_DMA_CTRL_CS_MASK) in hisi_nfc_dma_transfer()
300 | ((host->chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_erase()
319 | ((host->chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_readid()
334 | ((host->chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_status()
343 static int hisi_nfc_send_cmd_reset(struct hinfc_host *host, int chipselect) in hisi_nfc_send_cmd_reset() argument
348 | ((chipselect & HINFC504_OP_NF_CS_MASK) in hisi_nfc_send_cmd_reset()
358 static void hisi_nfc_select_chip(struct mtd_info *mtd, int chipselect) in hisi_nfc_select_chip() argument
363 if (chipselect < 0) in hisi_nfc_select_chip()
366 host->chipselect = chipselect; in hisi_nfc_select_chip()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/fsl/
Difc.txt10 chipselect number, and the remaining cells are the
11 offset into the chipselect.
12 - #size-cells : Either one or two, depending on how large each chipselect
24 - ranges : Each range corresponds to a single chipselect, and covers
/linux-4.4.14/Documentation/devicetree/bindings/rtc/
Dnxp,rtc-2123.txt5 - reg: should be the SPI slave chipselect address
8 - spi-cs-high: PCF2123 needs chipselect high
/linux-4.4.14/Documentation/devicetree/bindings/spi/
Dspi-gpio.txt11 - cs-gpios: GPIOs to use for chipselect lines.
13 - num-chipselects: Number of chipselect lines. Should be <0> if a single device
Dspi-fsl-dspi.txt11 - spi-num-chipselects : the number of the chipselect signals.
12 - bus-num : the slave chip chipselect signal number.
Dspi_oc_tiny.txt5 - gpios : should specify GPIOs used for chipselect.
Dspi-img-spfi.txt17 - cs-gpios: Must specify the GPIOs used for chipselect lines.
Domap-spi.txt7 - ti,spi-num-cs : Number of chipselect supported by the instance.
Dfsl-imx-cspi.txt14 - fsl,spi-num-chipselects : Contains the number of the chipselect
Dfsl-spi.txt43 - fsl,espi-num-chipselects : the number of the chipselect signals.
Dspi-bus.txt71 If a gpio chipselect is used for the SPI slave the gpio number will be passed
/linux-4.4.14/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
Dgpio-mcp23s08.txt22 SPI uses this to specify the chipselect line which the chip is
24 multiple chips on the same chipselect. Have a look at
31 SPI chipselect. Set a bit in bit0-7 in this mask to 1 if there is a
35 possible to mix mcp23s08 and mcp23s17 on the same chipselect. Set at
/linux-4.4.14/include/linux/platform_data/
Dspi-clps711x.h17 int *chipselect; /* Array of GPIO-numbers */ member
Dspi-imx.h21 int *chipselect; member
Datmel.h20 u8 chipselect; /* EBI Chip Select number */ member
/linux-4.4.14/arch/arm/boot/dts/
Dk2l-evm.dts53 ti,cs-chipselect = <0>;
70 ti,davinci-chipselect = <0>;
Dk2e-evm.dts76 ti,cs-chipselect = <0>;
93 ti,davinci-chipselect = <0>;
Dk2hk-evm.dts97 ti,cs-chipselect = <0>;
114 ti,davinci-chipselect = <0>;
Dimx6qdl-dfi-fs700-m60.dtsi152 MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */
Dda850.dtsi297 ti,davinci-chipselect = <1>;
Dimx6qdl-phytec-pfla02.dtsi215 MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */
Dvexpress-v2m-rs1.dtsi26 #address-cells = <2>; /* SMB chipselect number and offset */
Dvexpress-v2m.dtsi25 #address-cells = <2>; /* SMB chipselect number and offset */
/linux-4.4.14/arch/powerpc/boot/dts/
Dac14xx.dts109 chipselect = <2 0x00009000 0x00009100>;
116 chipselect = <6 0x00009000 0x00009100>;
124 chipselect = <3 0x00101140 0x00203100>;
132 chipselect = <5 0x00009000 0x00009100>;
/linux-4.4.14/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>;
Darm,pl172.txt45 which chipselect is used for accessing the memory.
/linux-4.4.14/include/linux/spi/
Dspi_bitbang.h20 void (*chipselect)(struct spi_device *spi, int is_on); member
/linux-4.4.14/Documentation/devicetree/bindings/net/ieee802154/
Dmrf24j40.txt9 - reg: the chipselect index
Dat86rf230.txt8 - reg: the chipselect index
Dcc2520.txt7 - reg: the chipselect index
/linux-4.4.14/arch/arm/mach-imx/
Dmach-mx31lilly.c216 .chipselect = spi_internal_chipselect,
221 .chipselect = spi_internal_chipselect,
Dmach-mx27_3ds.c362 .chipselect = spi1_chipselect,
369 .chipselect = spi2_chipselect,
Dmx31lite-db.c158 .chipselect = spi_internal_chipselect,
Dmach-pcm037_eet.c62 .chipselect = pcm037_spi1_cs,
Dmach-mx31moboard.c161 .chipselect = moboard_spi1_cs,
310 .chipselect = moboard_spi2_cs,
Dmach-mx31lite.c111 .chipselect = spi_internal_chipselect,
Dmach-mx31_3ds.c515 .chipselect = spi0_internal_chipselect,
525 .chipselect = spi1_internal_chipselect,
Dmach-pca100.c208 .chipselect = pca100_spi_cs,
/linux-4.4.14/Documentation/spi/
Dspidev30 chipselect polarity, etc) as usual, so you won't always need to override
40 chipselect C on bus B, you should see:
76 the chipselect is deactivated between those operations. Full-duplex access,
77 and composite operation without chipselect de-activation, is available using
Dbutterfly42 (c) cable in the chipselect.
Dspi-summary109 clock edge. The chipselect may have made it become available.
119 Note that the clock mode is relevant as soon as the chipselect goes
169 chipselect C, accessed through CTLR.
296 data or chipselect callbacks. This is stored in spi_device later.)
301 sharing a bus with a device that interprets chipselect "backwards" is
397 + whether the chipselect becomes inactive after a transfer and
Dpxa2xx133 chipselect is dropped after each spi_transfer. Most devices need chip select
/linux-4.4.14/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi234 num-chipselect = <4>;
245 num-chipselect = <4>;
/linux-4.4.14/arch/arm64/boot/dts/arm/
Dfoundation-v8.dts107 #address-cells = <2>; /* SMB chipselect number and offset */
Drtsm_ve-motherboard.dtsi13 #address-cells = <2>; /* SMB chipselect number and offset */
Djuno-motherboard.dtsi40 #address-cells = <2>; /* SMB chipselect number and offset */
Dvexpress-v2m-rs1.dtsi26 #address-cells = <2>; /* SMB chipselect number and offset */
/linux-4.4.14/Documentation/devicetree/bindings/iio/accel/
Dlis302.txt9 - reg: the chipselect index
/linux-4.4.14/drivers/pcmcia/
Dat91_cf.c176 regmap_update_bits(mc, AT91_MC_SMC_CSR(cf->board->chipselect), in at91_cf_set_io_map()
/linux-4.4.14/drivers/ata/
Dpata_at91.c425 info->cs = board->chipselect; in pata_at91_probe()