Home
last modified time | relevance | path

Searched refs:spidev (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/spi/
Dspidev.c107 spidev_sync(struct spidev_data *spidev, struct spi_message *message) in spidev_sync() argument
115 spin_lock_irq(&spidev->spi_lock); in spidev_sync()
116 if (spidev->spi == NULL) in spidev_sync()
119 status = spi_async(spidev->spi, message); in spidev_sync()
120 spin_unlock_irq(&spidev->spi_lock); in spidev_sync()
132 spidev_sync_write(struct spidev_data *spidev, size_t len) in spidev_sync_write() argument
135 .tx_buf = spidev->buffer, in spidev_sync_write()
142 return spidev_sync(spidev, &m); in spidev_sync_write()
146 spidev_sync_read(struct spidev_data *spidev, size_t len) in spidev_sync_read() argument
149 .rx_buf = spidev->buffer, in spidev_sync_read()
[all …]
DMakefile10 obj-$(CONFIG_SPI_SPIDEV) += spidev.o
/linux-3.4.99/drivers/mfd/
Dmc13xxx-core.c26 struct spi_device *spidev; member
147 dev_dbg(&mc13xxx->spidev->dev, "wait for %s from %pf\n", in mc13xxx_lock()
152 dev_dbg(&mc13xxx->spidev->dev, "%s from %pf\n", in mc13xxx_lock()
159 dev_dbg(&mc13xxx->spidev->dev, "%s from %pf\n", in mc13xxx_unlock()
188 ret = spi_sync(mc13xxx->spidev, &m); in mc13xxx_reg_read()
198 dev_vdbg(&mc13xxx->spidev->dev, "[0x%02x] -> 0x%06x\n", offset, *val); in mc13xxx_reg_read()
213 dev_vdbg(&mc13xxx->spidev->dev, "[0x%02x] <- 0x%06x\n", offset, val); in mc13xxx_reg_write()
229 ret = spi_sync(mc13xxx->spidev, &m); in mc13xxx_reg_write()
442 dev_err(&mc13xxx->spidev->dev, in mc13xxx_irq_handle()
522 dev_info(&mc13xxx->spidev->dev, "%s: rev: %d.%d, " in mc13xxx_identify()
[all …]
/linux-3.4.99/Documentation/spi/
Dspidev9 #include <linux/spi/spidev.h>
28 entry is "spidev", matching the name of the driver exposing this API.
49 /sys/class/spidev/spidevB.C ... created when the "spidev" driver
57 If you unbind the "spidev" driver from that device, those two "spidev" nodes
59 kernel and by udev/mdev). You can unbind by removing the "spidev" driver
/linux-3.4.99/include/linux/spi/
DKbuild1 header-y += spidev.h
/linux-3.4.99/drivers/net/ethernet/micrel/
Dks8851.c103 struct spi_device *spidev; member
174 ret = spi_sync(ks->spidev, msg); in ks8851_wrreg16()
204 ret = spi_sync(ks->spidev, msg); in ks8851_wrreg8()
270 ret = spi_sync(ks->spidev, msg); in ks8851_rdreg()
494 ret = spi_sync(ks->spidev, msg); in ks8851_rdfifo()
652 dev_err(&ks->spidev->dev, "%s: spi bus error\n", __func__); in ks8851_irq_work()
747 ret = spi_sync(ks->spidev, msg); in ks8851_wrpkt()
1434 ks->spidev = spi; in ks8851_probe()
/linux-3.4.99/drivers/video/omap2/displays/
Dpanel-n8x0.c71 struct spi_device *spidev; member
284 struct spi_device *spi = ddata->spidev; in n8x0_panel_power_on()
377 struct spi_device *spi = ddata->spidev; in n8x0_panel_power_off()
697 s_drv_data.spidev = spi; in mipid_spi_probe()
/linux-3.4.99/arch/powerpc/boot/dts/
Ddigsy_mtc.dts42 compatible = "spidev";
/linux-3.4.99/Documentation/ioctl/
Dioctl-number.txt226 'k' 00-0F linux/spi/spidev.h conflict!