| /linux/drivers/spi/ |
| A D | spidev.c | 98 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 D | spi-lantiq-ssc.c | 387 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 D | spi.c | 19 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 D | core.c | 251 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 D | spi.h | 31 struct spi_device *spidev; member
|
| /linux/arch/arm/boot/dts/ |
| A D | at91-q5xr5.dts | 151 spidev@1 { 152 compatible = "spidev"; 164 spidev@0 { 165 compatible = "spidev"; 170 spidev@1 { 171 compatible = "spidev";
|
| A D | at91-wb50n.dts | 94 spidev@0 { 95 compatible = "spidev";
|
| A D | omap3-tao3530.dtsi | 201 spidev@0 { 202 compatible = "spidev"; 213 spidev@0 { 214 compatible = "spidev";
|
| A D | imx28-tx28.dts | 244 compatible = "spidev"; 250 compatible = "spidev"; 256 compatible = "spidev"; 705 compatible = "spidev"; 711 compatible = "spidev"; 717 compatible = "spidev";
|
| A D | imx6ul-imx6ull-opos6uldev.dtsi | 119 compatible = "spidev"; 125 compatible = "spidev";
|
| A D | spear1310-evb.dts | 399 spidev@2 { 400 compatible = "spidev";
|
| A D | at91-gatwick.dts | 107 spidev@0 {
|
| A D | imx53-m53menlo.dts | 110 spidev@0 { 116 spidev@1 {
|
| A D | imx6ul-tx6ul.dtsi | 232 compatible = "spidev"; 238 compatible = "spidev"; 295 compatible = "spidev"; 301 compatible = "spidev";
|
| A D | spear1340-evb.dts | 493 spidev@2 { 494 compatible = "spidev";
|
| A D | socfpga_cyclone5_socdk.dts | 157 spidev@0 {
|
| /linux/drivers/net/ethernet/micrel/ |
| A D | ks8851_spi.c | 51 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 D | pi433-overlay.dts | 14 spidev@0{ 19 spidev@1{
|
| /linux/Documentation/spi/ |
| A D | spidev.rst | 15 #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 D | index.rst | 11 spidev
|
| /linux/arch/powerpc/boot/dts/ |
| A D | o2d.dtsi | 38 spidev@0 { 39 compatible = "spidev";
|
| A D | digsy_mtc.dts | 30 compatible = "spidev";
|
| /linux/drivers/staging/greybus/ |
| A D | spilib.c | 447 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 D | Makefile | 30 ln -sf $(CURDIR)/../../include/uapi/linux/spi/spidev.h $@
|
| /linux/drivers/net/dsa/sja1105/ |
| A D | sja1105_spi.c | 39 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()
|