/linux/drivers/spi/ |
H A D | spi-bitbang.c | 57 struct spi_bitbang *bitbang; in bitbang_txrx_8() local 63 bitbang = spi_controller_get_devdata(spi->controller); in bitbang_txrx_8() 76 if (bitbang->set_mosi_idle) in bitbang_txrx_8() 77 bitbang->set_mosi_idle(spi); in bitbang_txrx_8() 88 struct spi_bitbang *bitbang; in bitbang_txrx_16() local 94 bitbang = spi_controller_get_devdata(spi->controller); in bitbang_txrx_16() 107 if (bitbang->set_mosi_idle) in bitbang_txrx_16() 108 bitbang->set_mosi_idle(spi); in bitbang_txrx_16() 119 struct spi_bitbang *bitbang; in bitbang_txrx_32() local 125 bitbang = spi_controller_get_devdata(spi->controller); in bitbang_txrx_32() [all …]
|
H A D | spi-lm70llp.c | 71 struct spi_bitbang bitbang; member 215 pp->bitbang.ctlr = host; in spi_lm70llp_attach() 216 pp->bitbang.chipselect = lm70_chipselect; in spi_lm70llp_attach() 217 pp->bitbang.txrx_word[SPI_MODE_0] = lm70_txrx; in spi_lm70llp_attach() 218 pp->bitbang.flags = SPI_3WIRE; in spi_lm70llp_attach() 242 status = spi_bitbang_start(&pp->bitbang); in spi_lm70llp_attach() 267 pp->spidev_lm70 = spi_new_device(pp->bitbang.ctlr, &pp->info); in spi_lm70llp_attach() 282 spi_bitbang_stop(&pp->bitbang); in spi_lm70llp_attach() 304 spi_bitbang_stop(&pp->bitbang); in spi_lm70llp_detach() 312 spi_controller_put(pp->bitbang.ctlr); in spi_lm70llp_detach()
|
H A D | spi-butterfly.c | 51 struct spi_bitbang bitbang; member 208 pp->bitbang.ctlr = host; in butterfly_attach() 209 pp->bitbang.chipselect = butterfly_chipselect; in butterfly_attach() 210 pp->bitbang.txrx_word[SPI_MODE_0] = butterfly_txrx_word_mode0; in butterfly_attach() 252 status = spi_bitbang_start(&pp->bitbang); in butterfly_attach() 266 pp->dataflash = spi_new_device(pp->bitbang.ctlr, &pp->info[0]); in butterfly_attach() 302 spi_bitbang_stop(&pp->bitbang); in butterfly_detach() 311 spi_controller_put(pp->bitbang.ctlr); in butterfly_detach()
|
H A D | spi-ppc4xx.c | 112 struct spi_bitbang bitbang; member 201 mutex_lock(&hw->bitbang.lock); in spi_ppc4xx_setupxfer() 202 if (!hw->bitbang.busy) { in spi_ppc4xx_setupxfer() 203 hw->bitbang.chipselect(spi, BITBANG_CS_INACTIVE); in spi_ppc4xx_setupxfer() 206 mutex_unlock(&hw->bitbang.lock); in spi_ppc4xx_setupxfer() 359 bbp = &hw->bitbang; in spi_ppc4xx_of_probe() 471 spi_bitbang_stop(&hw->bitbang); in spi_ppc4xx_of_remove()
|
H A D | spi-davinci.c | 105 struct spi_bitbang bitbang; member 462 struct device *sdev = dspi->bitbang.ctlr->dev.parent; in davinci_spi_check_error() 751 struct device *sdev = dspi->bitbang.ctlr->dev.parent; in davinci_spi_request_dma() 922 dspi->bitbang.ctlr = host; in davinci_spi_probe() 940 dspi->bitbang.chipselect = davinci_spi_chipselect; in davinci_spi_probe() 941 dspi->bitbang.setup_transfer = davinci_spi_setup_transfer; in davinci_spi_probe() 945 dspi->bitbang.flags = SPI_NO_CS | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_WORD; in davinci_spi_probe() 947 dspi->bitbang.flags |= SPI_READY; in davinci_spi_probe() 949 dspi->bitbang.txrx_bufs = davinci_spi_bufs; in davinci_spi_probe() 984 ret = spi_bitbang_start(&dspi->bitbang); in davinci_spi_probe() [all …]
|
H A D | spi-gpio.c | 33 struct spi_bitbang bitbang; member 81 spi_gpio = container_of(bang, struct spi_gpio, bitbang); in spi_to_spi_gpio() 416 bb = &spi_gpio->bitbang; in spi_gpio_probe() 441 status = spi_bitbang_init(&spi_gpio->bitbang); in spi_gpio_probe()
|
H A D | Kconfig | 242 With a few GPIO pins, your system can bitbang the SPI protocol.
|
/linux/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mii-bitbang.c | 57 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio_dir() local 60 bb_set(bitbang->dir, bitbang->mdio_msk); in mdio_dir() 62 bb_clr(bitbang->dir, bitbang->mdio_msk); in mdio_dir() 65 in_be32(bitbang->dir); in mdio_dir() 70 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio_read() local 71 return bb_read(bitbang->dat, bitbang->mdio_msk); in mdio_read() 76 struct bb_info *bitbang = container_of(ctrl, struct bb_info, ctrl); in mdio() local 79 bb_set(bitbang->dat, bitbang->mdio_msk); in mdio() 81 bb_clr(bitbang->dat, bitbang->mdio_msk); in mdio() 84 in_be32(bitbang->dat); in mdio() [all …]
|
H A D | Makefile | 13 obj-$(CONFIG_FS_ENET_MDIO_FCC) += mii-bitbang.o
|
/linux/drivers/net/mdio/ |
H A D | Makefile | 11 obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o
|
/linux/drivers/staging/gpib/ |
H A D | Kconfig | 144 tristate "RPi GPIO bitbang" 148 GPIB bitbang driver Raspberry Pi GPIO adapters
|
/linux/Documentation/driver-api/gpio/ |
H A D | drivers-on-gpio.rst | 54 (two wires, SDA and SCL lines) by hammering (bitbang) two GPIO lines. It will 60 GPIO hammering (bitbang). It will appear as any other SPI bus on the system
|
/linux/arch/powerpc/boot/dts/ |
H A D | ep8248e.dts | 66 compatible = "fsl,ep8248e-mdio-bitbang";
|
H A D | mgcoge.dts | 171 compatible = "fsl,cpm2-mdio-bitbang";
|
H A D | ksi8560.dts | 279 compatible = "fsl,cpm2-mdio-bitbang";
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8953-xiaomi-daisy.dts | 79 * We bitbang on &i2c_4 because BLSP is protected by TZ as sensors are
|
H A D | msm8953-xiaomi-vince.dts | 70 * We bitbang on &i2c_4 because BLSP is protected by TZ as sensors are
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91sam9261.dtsi | 529 pinctrl_i2c_bitbang: i2c-0-bitbang {
|
/linux/Documentation/admin-guide/media/ |
H A D | bttv.rst | 180 maximum supported speed by kernel bitbang
|