Home
last modified time | relevance | path

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

/drivers/spi/
Dspidev.c100 spidev_sync(struct spidev_data *spidev, struct spi_message *message) in spidev_sync() argument
106 spin_lock_irq(&spidev->spi_lock); in spidev_sync()
107 spi = spidev->spi; in spidev_sync()
108 spin_unlock_irq(&spidev->spi_lock); in spidev_sync()
122 spidev_sync_write(struct spidev_data *spidev, size_t len) in spidev_sync_write() argument
125 .tx_buf = spidev->tx_buffer, in spidev_sync_write()
127 .speed_hz = spidev->speed_hz, in spidev_sync_write()
133 return spidev_sync(spidev, &m); in spidev_sync_write()
137 spidev_sync_read(struct spidev_data *spidev, size_t len) in spidev_sync_read() argument
140 .rx_buf = spidev->rx_buffer, in spidev_sync_read()
[all …]
DMakefile10 obj-$(CONFIG_SPI_SPIDEV) += spidev.o
/drivers/nfc/st95hf/
Dspi.c30 struct spi_device *spidev = spicontext->spidev; in st95hf_spi_send() local
48 result = spi_sync(spidev, &m); in st95hf_spi_send()
50 dev_err(&spidev->dev, "error: sending cmd to st95hf using SPI = %d\n", in st95hf_spi_send()
66 dev_err(&spidev->dev, "error: response not ready timeout\n"); in st95hf_spi_send()
85 struct spi_device *spidev = spicontext->spidev; in st95hf_spi_recv_response() local
103 ret = spi_sync(spidev, &m); in st95hf_spi_recv_response()
105 dev_err(&spidev->dev, "spi_recv_resp, data length error = %d\n", in st95hf_spi_recv_response()
127 ret = spi_sync(spidev, &m); in st95hf_spi_recv_response()
131 dev_err(&spidev->dev, "spi_recv_resp, data read error = %d\n", in st95hf_spi_recv_response()
149 struct spi_device *spidev = spicontext->spidev; in st95hf_spi_recv_echo_res() local
[all …]
Dcore.c263 struct device *dev = &st95context->spicontext.spidev->dev; in st95hf_send_recv_cmd()
329 dev_err(&st95context->spicontext.spidev->dev, in st95hf_echo_command()
337 dev_err(&st95context->spicontext.spidev->dev, "err: echo res is 0x%x\n", in st95hf_echo_command()
495 dev_err(&st95context->spicontext.spidev->dev, in st95hf_send_spi_reset_sequence()
524 dev_dbg(&st95context->spicontext.spidev->dev, in st95hf_por_sequence()
547 struct device *dev = &st95context->spicontext.spidev->dev; in iso14443_config_fdt()
792 spidevice = &stcontext->spicontext.spidev->dev; in st95hf_irq_thread_handler()
1094 spicontext->spidev = nfc_spi_dev; in st95hf_probe()
1235 dev_err(&spictx->spidev->dev, "sleep for semaphore interrupted by signal\n"); in st95hf_remove()
1243 dev_err(&spictx->spidev->dev, in st95hf_remove()
Dspi.h42 struct spi_device *spidev; member
/drivers/net/ethernet/micrel/
Dks8851.c108 struct spi_device *spidev; member
181 ret = spi_sync(ks->spidev, msg); in ks8851_wrreg16()
211 ret = spi_sync(ks->spidev, msg); in ks8851_wrreg8()
277 ret = spi_sync(ks->spidev, msg); in ks8851_rdreg()
484 ret = spi_sync(ks->spidev, msg); in ks8851_rdfifo()
643 dev_err(&ks->spidev->dev, "%s: spi bus error\n", __func__); in ks8851_irq()
738 ret = spi_sync(ks->spidev, msg); in ks8851_wrpkt()
1424 ks->spidev = spi; in ks8851_probe()
/drivers/staging/greybus/
Dspilib.c444 struct spi_device *spidev; in gb_spi_setup_device() local
475 spidev = spi_new_device(master, &spi_board); in gb_spi_setup_device()
476 if (!spidev) in gb_spi_setup_device()