Home
last modified time | relevance | path

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

12

/linux/drivers/spi/
A Dspidev.c98 spi = spidev->spi; in spidev_sync()
599 spidev->users++; in spidev_open()
629 spidev->users--; in spidev_release()
639 kfree(spidev); in spidev_release()
641 spidev->speed_hz = spidev->spi->max_speed_hz; in spidev_release()
761 spidev = kzalloc(sizeof(*spidev), GFP_KERNEL); in spidev_probe()
762 if (!spidev) in spidev_probe()
766 spidev->spi = spi; in spidev_probe()
800 kfree(spidev); in spidev_probe()
813 spidev->spi = NULL; in spidev_remove()
[all …]
A Dspi-lantiq-ssc.c387 static int lantiq_ssc_setup(struct spi_device *spidev) in lantiq_ssc_setup() argument
389 struct spi_master *master = spidev->master; in lantiq_ssc_setup()
391 unsigned int cs = spidev->chip_select; in lantiq_ssc_setup()
395 if (spidev->cs_gpiod) in lantiq_ssc_setup()
410 if (spidev->mode & SPI_CS_HIGH) in lantiq_ssc_setup()
431 struct spi_device *spidev, struct spi_transfer *t) in hw_setup_transfer() argument
799 unsigned int cs = spidev->chip_select; in lantiq_ssc_set_cs()
802 if (!!(spidev->mode & SPI_CS_HIGH) == enable) in lantiq_ssc_set_cs()
811 struct spi_device *spidev, in lantiq_ssc_transfer_one() argument
816 hw_setup_transfer(spi, spidev, t); in lantiq_ssc_transfer_one()
[all …]
/linux/drivers/nfc/st95hf/
A Dspi.c19 struct spi_device *spidev = spicontext->spidev; in st95hf_spi_send() local
37 result = spi_sync(spidev, &m); in st95hf_spi_send()
55 dev_err(&spidev->dev, "error: response not ready timeout\n"); in st95hf_spi_send()
74 struct spi_device *spidev = spicontext->spidev; in st95hf_spi_recv_response() local
92 ret = spi_sync(spidev, &m); in st95hf_spi_recv_response()
94 dev_err(&spidev->dev, "spi_recv_resp, data length error = %d\n", in st95hf_spi_recv_response()
116 ret = spi_sync(spidev, &m); in st95hf_spi_recv_response()
120 dev_err(&spidev->dev, "spi_recv_resp, data read error = %d\n", in st95hf_spi_recv_response()
138 struct spi_device *spidev = spicontext->spidev; in st95hf_spi_recv_echo_res() local
146 ret = spi_sync(spidev, &m); in st95hf_spi_recv_echo_res()
[all …]
A Dcore.c251 struct device *dev = &st95context->spicontext.spidev->dev; in st95hf_send_recv_cmd()
317 dev_err(&st95context->spicontext.spidev->dev, in st95hf_echo_command()
325 dev_err(&st95context->spicontext.spidev->dev, "err: echo res is 0x%x\n", in st95hf_echo_command()
483 dev_err(&st95context->spicontext.spidev->dev, in st95hf_send_spi_reset_sequence()
512 dev_dbg(&st95context->spicontext.spidev->dev, in st95hf_por_sequence()
535 struct device *dev = &st95context->spicontext.spidev->dev; in iso14443_config_fdt()
778 spidevice = &stcontext->spicontext.spidev->dev; in st95hf_irq_thread_handler()
1081 spicontext->spidev = nfc_spi_dev; in st95hf_probe()
1222 dev_err(&spictx->spidev->dev, "sleep for semaphore interrupted by signal\n"); in st95hf_remove()
1230 dev_err(&spictx->spidev->dev, in st95hf_remove()
A Dspi.h31 struct spi_device *spidev; member
/linux/arch/arm/boot/dts/
A Dat91-q5xr5.dts151 spidev@1 {
152 compatible = "spidev";
164 spidev@0 {
165 compatible = "spidev";
170 spidev@1 {
171 compatible = "spidev";
A Dat91-wb50n.dts94 spidev@0 {
95 compatible = "spidev";
A Domap3-tao3530.dtsi201 spidev@0 {
202 compatible = "spidev";
213 spidev@0 {
214 compatible = "spidev";
A Dimx28-tx28.dts244 compatible = "spidev";
250 compatible = "spidev";
256 compatible = "spidev";
705 compatible = "spidev";
711 compatible = "spidev";
717 compatible = "spidev";
A Dimx6ul-imx6ull-opos6uldev.dtsi119 compatible = "spidev";
125 compatible = "spidev";
A Dspear1310-evb.dts399 spidev@2 {
400 compatible = "spidev";
A Dat91-gatwick.dts107 spidev@0 {
A Dimx53-m53menlo.dts110 spidev@0 {
116 spidev@1 {
A Dimx6ul-tx6ul.dtsi232 compatible = "spidev";
238 compatible = "spidev";
295 compatible = "spidev";
301 compatible = "spidev";
A Dspear1340-evb.dts493 spidev@2 {
494 compatible = "spidev";
A Dsocfpga_cyclone5_socdk.dts157 spidev@0 {
/linux/drivers/net/ethernet/micrel/
A Dks8851_spi.c51 struct spi_device *spidev; member
132 ret = spi_sync(kss->spidev, msg); in ks8851_wrreg16_spi()
159 if (kss->spidev->master->flags & SPI_MASTER_HALF_DUPLEX) { in ks8851_rdreg()
180 ret = spi_sync(kss->spidev, msg); in ks8851_rdreg()
183 else if (kss->spidev->master->flags & SPI_MASTER_HALF_DUPLEX) in ks8851_rdreg()
236 ret = spi_sync(kss->spidev, msg); in ks8851_rdfifo_spi()
284 ret = spi_sync(kss->spidev, msg); in ks8851_wrfifo_spi()
438 kss->spidev = spi; in ks8851_probe_spi()
/linux/drivers/staging/pi433/Documentation/devicetree/
A Dpi433-overlay.dts14 spidev@0{
19 spidev@1{
/linux/Documentation/spi/
A Dspidev.rst15 #include <linux/spi/spidev.h>
34 entry is "spidev", matching the name of the driver exposing this API.
57 /sys/class/spidev/spidevB.C ...
58 created when the "spidev" driver
66 If you unbind the "spidev" driver from that device, those two "spidev" nodes
68 kernel and by udev/mdev). You can unbind by removing the "spidev" driver
A Dindex.rst11 spidev
/linux/arch/powerpc/boot/dts/
A Do2d.dtsi38 spidev@0 {
39 compatible = "spidev";
A Ddigsy_mtc.dts30 compatible = "spidev";
/linux/drivers/staging/greybus/
A Dspilib.c447 struct spi_device *spidev; in gb_spi_setup_device() local
478 spidev = spi_new_device(master, &spi_board); in gb_spi_setup_device()
479 if (!spidev) in gb_spi_setup_device()
/linux/tools/spi/
A DMakefile30 ln -sf $(CURDIR)/../../include/uapi/linux/spi/spidev.h $@
/linux/drivers/net/dsa/sja1105/
A Dsja1105_spi.c39 struct spi_device *spi = priv->spidev; in sja1105_xfer()
291 dev_err(&priv->spidev->dev, in static_config_buf_prepare_for_upload()
319 struct device *dev = &priv->spidev->dev; in sja1105_static_config_upload()

Completed in 35 milliseconds

12