/Linux-v5.10/drivers/spi/ |
D | spidev.c | 92 spidev_sync(struct spidev_data *spidev, struct spi_message *message) in spidev_sync() argument 97 spin_lock_irq(&spidev->spi_lock); in spidev_sync() 98 spi = spidev->spi; in spidev_sync() 99 spin_unlock_irq(&spidev->spi_lock); in spidev_sync() 113 spidev_sync_write(struct spidev_data *spidev, size_t len) in spidev_sync_write() argument 116 .tx_buf = spidev->tx_buffer, in spidev_sync_write() 118 .speed_hz = spidev->speed_hz, in spidev_sync_write() 124 return spidev_sync(spidev, &m); in spidev_sync_write() 128 spidev_sync_read(struct spidev_data *spidev, size_t len) in spidev_sync_read() argument 131 .rx_buf = spidev->rx_buffer, in spidev_sync_read() [all …]
|
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 721 static int transfer_start(struct lantiq_ssc_spi *spi, struct spi_device *spidev, in transfer_start() argument 796 static void lantiq_ssc_set_cs(struct spi_device *spidev, bool enable) in lantiq_ssc_set_cs() argument 798 struct lantiq_ssc_spi *spi = spi_master_get_devdata(spidev->master); in lantiq_ssc_set_cs() 799 unsigned int cs = spidev->chip_select; in lantiq_ssc_set_cs() [all …]
|
/Linux-v5.10/drivers/nfc/st95hf/ |
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() 39 dev_err(&spidev->dev, "error: sending cmd to st95hf using SPI = %d\n", 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 [all …]
|
D | core.c | 252 struct device *dev = &st95context->spicontext.spidev->dev; in st95hf_send_recv_cmd() 318 dev_err(&st95context->spicontext.spidev->dev, in st95hf_echo_command() 326 dev_err(&st95context->spicontext.spidev->dev, "err: echo res is 0x%x\n", in st95hf_echo_command() 484 dev_err(&st95context->spicontext.spidev->dev, in st95hf_send_spi_reset_sequence() 513 dev_dbg(&st95context->spicontext.spidev->dev, in st95hf_por_sequence() 536 struct device *dev = &st95context->spicontext.spidev->dev; in iso14443_config_fdt() 779 spidevice = &stcontext->spicontext.spidev->dev; in st95hf_irq_thread_handler() 1085 spicontext->spidev = nfc_spi_dev; in st95hf_probe() 1226 dev_err(&spictx->spidev->dev, "sleep for semaphore interrupted by signal\n"); in st95hf_remove() 1234 dev_err(&spictx->spidev->dev, in st95hf_remove()
|
D | spi.h | 31 struct spi_device *spidev; member
|
/Linux-v5.10/drivers/staging/kpc2000/ |
D | kpc2000_spi.c | 205 kp_spi_txrx_pio(struct spi_device *spidev, struct spi_transfer *transfer) in kp_spi_txrx_pio() argument 207 struct kp_spi_controller_state *cs = spidev->controller_state; in kp_spi_txrx_pio() 259 kp_spi_setup(struct spi_device *spidev) in kp_spi_setup() argument 262 struct kp_spi *kpspi = spi_master_get_devdata(spidev->master); in kp_spi_setup() 266 cs = spidev->controller_state; in kp_spi_setup() 273 spidev->controller_state = cs; in kp_spi_setup() 277 sc.bitfield.wl = spidev->bits_per_word - 1; in kp_spi_setup() 278 sc.bitfield.cs = spidev->chip_select; in kp_spi_setup() 282 kp_spi_write_reg(spidev->controller_state, KP_SPI_REG_CONFIG, sc.reg); in kp_spi_setup() 290 struct spi_device *spidev; in kp_spi_transfer_one_message() local [all …]
|
/Linux-v5.10/tools/spi/ |
D | Makefile | 28 $(OUTPUT)include/linux/spi/spidev.h: ../../include/uapi/linux/spi/spidev.h 30 ln -sf $(CURDIR)/../../include/uapi/linux/spi/spidev.h $@ 32 prepare: $(OUTPUT)include/linux/spi/spidev.h
|
/Linux-v5.10/drivers/net/ethernet/micrel/ |
D | ks8851_spi.c | 53 struct spi_device *spidev; member 134 ret = spi_sync(kss->spidev, msg); in ks8851_wrreg16_spi() 161 if (kss->spidev->master->flags & SPI_MASTER_HALF_DUPLEX) { in ks8851_rdreg() 182 ret = spi_sync(kss->spidev, msg); in ks8851_rdreg() 185 else if (kss->spidev->master->flags & SPI_MASTER_HALF_DUPLEX) in ks8851_rdreg() 238 ret = spi_sync(kss->spidev, msg); in ks8851_rdfifo_spi() 286 ret = spi_sync(kss->spidev, msg); in ks8851_wrfifo_spi() 440 kss->spidev = spi; in ks8851_probe_spi()
|
/Linux-v5.10/drivers/staging/pi433/Documentation/devicetree/ |
D | pi433-overlay.dts | 14 spidev@0{ 19 spidev@1{
|
/Linux-v5.10/Documentation/spi/ |
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
|
D | index.rst | 11 spidev
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | at91-wb50n.dts | 94 spidev@0 { 95 compatible = "spidev";
|
D | omap3-tao3530.dtsi | 201 spidev@0 { 202 compatible = "spidev"; 213 spidev@0 { 214 compatible = "spidev";
|
D | imx28-tx28.dts | 244 compatible = "spidev"; 250 compatible = "spidev"; 256 compatible = "spidev"; 705 compatible = "spidev"; 711 compatible = "spidev"; 717 compatible = "spidev";
|
D | atlas6-evb.dts | 32 compatible = "spidev";
|
D | imx6ul-imx6ull-opos6uldev.dtsi | 119 compatible = "spidev"; 125 compatible = "spidev";
|
D | at91-gatwick.dts | 107 spidev@0 {
|
D | spear1310-evb.dts | 399 spidev@2 { 400 compatible = "spidev";
|
D | imx53-m53menlo.dts | 110 spidev@0 { 116 spidev@1 {
|
D | socfpga_cyclone5_socdk.dts | 157 spidev@0 {
|
D | spear1340-evb.dts | 493 spidev@2 { 494 compatible = "spidev";
|
/Linux-v5.10/arch/powerpc/boot/dts/ |
D | o2d.dtsi | 38 spidev@0 { 39 compatible = "spidev";
|
D | digsy_mtc.dts | 30 compatible = "spidev";
|
/Linux-v5.10/drivers/staging/greybus/ |
D | spilib.c | 443 struct spi_device *spidev; in gb_spi_setup_device() local 474 spidev = spi_new_device(master, &spi_board); in gb_spi_setup_device() 475 if (!spidev) in gb_spi_setup_device()
|
/Linux-v5.10/drivers/net/dsa/sja1105/ |
D | sja1105_spi.c | 54 struct spi_device *spi = priv->spidev; in sja1105_xfer() 316 dev_err(&priv->spidev->dev, in static_config_buf_prepare_for_upload() 345 struct device *dev = &priv->spidev->dev; in sja1105_static_config_upload()
|