| /Linux-v5.4/drivers/spi/ | 
| D | spidev.c | 91 spidev_sync(struct spidev_data *spidev, struct spi_message *message)  in spidev_sync()  argument96 	spin_lock_irq(&spidev->spi_lock);  in spidev_sync()
 97 	spi = spidev->spi;  in spidev_sync()
 98 	spin_unlock_irq(&spidev->spi_lock);  in spidev_sync()
 112 spidev_sync_write(struct spidev_data *spidev, size_t len)  in spidev_sync_write()  argument
 115 			.tx_buf		= spidev->tx_buffer,  in spidev_sync_write()
 117 			.speed_hz	= spidev->speed_hz,  in spidev_sync_write()
 123 	return spidev_sync(spidev, &m);  in spidev_sync_write()
 127 spidev_sync_read(struct spidev_data *spidev, size_t len)  in spidev_sync_read()  argument
 130 			.rx_buf		= spidev->rx_buffer,  in spidev_sync_read()
 [all …]
 
 | 
| D | spi-lantiq-ssc.c | 386 static int lantiq_ssc_setup(struct spi_device *spidev)  in lantiq_ssc_setup()  argument388 	struct spi_master *master = spidev->master;  in lantiq_ssc_setup()
 390 	unsigned int cs = spidev->chip_select;  in lantiq_ssc_setup()
 394 	if (gpio_is_valid(spidev->cs_gpio))  in lantiq_ssc_setup()
 409 	if (spidev->mode & SPI_CS_HIGH)  in lantiq_ssc_setup()
 430 			      struct spi_device *spidev, struct spi_transfer *t)  in hw_setup_transfer()  argument
 678 static int transfer_start(struct lantiq_ssc_spi *spi, struct spi_device *spidev,  in transfer_start()  argument
 753 static void lantiq_ssc_set_cs(struct spi_device *spidev, bool enable)  in lantiq_ssc_set_cs()  argument
 755 	struct lantiq_ssc_spi *spi = spi_master_get_devdata(spidev->master);  in lantiq_ssc_set_cs()
 756 	unsigned int cs = spidev->chip_select;  in lantiq_ssc_set_cs()
 [all …]
 
 | 
| /Linux-v5.4/drivers/nfc/st95hf/ | 
| D | spi.c | 19 	struct spi_device *spidev = spicontext->spidev;  in st95hf_spi_send()  local37 	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.4/drivers/staging/kpc2000/ | 
| D | kpc2000_spi.c | 206 kp_spi_txrx_pio(struct spi_device *spidev, struct spi_transfer *transfer)  in kp_spi_txrx_pio()  argument208 	struct kp_spi_controller_state *cs = spidev->controller_state;  in kp_spi_txrx_pio()
 261 kp_spi_setup(struct spi_device *spidev)  in kp_spi_setup()  argument
 264 	struct kp_spi *kpspi = spi_master_get_devdata(spidev->master);  in kp_spi_setup()
 268 	cs = spidev->controller_state;  in kp_spi_setup()
 275 		spidev->controller_state = cs;  in kp_spi_setup()
 279 	sc.bitfield.wl = spidev->bits_per_word - 1;  in kp_spi_setup()
 280 	sc.bitfield.cs = spidev->chip_select;  in kp_spi_setup()
 284 	kp_spi_write_reg(spidev->controller_state, KP_SPI_REG_CONFIG, sc.reg);  in kp_spi_setup()
 292 	struct spi_device   *spidev;  in kp_spi_transfer_one_message()  local
 [all …]
 
 | 
| /Linux-v5.4/tools/spi/ | 
| D | Makefile | 28 $(OUTPUT)include/linux/spi/spidev.h: ../../include/uapi/linux/spi/spidev.h30 	ln -sf $(CURDIR)/../../include/uapi/linux/spi/spidev.h $@
 32 prepare: $(OUTPUT)include/linux/spi/spidev.h
 54 	rm -f $(OUTPUT)include/linux/spi/spidev.h
 
 | 
| /Linux-v5.4/drivers/staging/pi433/Documentation/devicetree/ | 
| D | pi433-overlay.dts | 13 			spidev@0{17 			spidev@1{
 
 | 
| /Linux-v5.4/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.4/arch/arm/boot/dts/ | 
| D | at91-wb50n.dts | 94 	spidev@0 {95 		compatible = "spidev";
 
 | 
| D | omap3-tao3530.dtsi | 197 	spidev@0 {198 		compatible = "spidev";
 209 	spidev@0 {
 210 		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 | 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.4/drivers/net/ethernet/micrel/ | 
| D | ks8851.c | 105 	struct spi_device	*spidev;  member183 	ret = spi_sync(ks->spidev, msg);  in ks8851_wrreg16()
 213 	ret = spi_sync(ks->spidev, msg);  in ks8851_wrreg8()
 239 	if (ks->spidev->master->flags & SPI_MASTER_HALF_DUPLEX) {  in ks8851_rdreg()
 260 	ret = spi_sync(ks->spidev, msg);  in ks8851_rdreg()
 263 	else if (ks->spidev->master->flags & SPI_MASTER_HALF_DUPLEX)  in ks8851_rdreg()
 424 	mac_addr = of_get_mac_address(ks->spidev->dev.of_node);  in ks8851_init_mac()
 475 	ret = spi_sync(ks->spidev, msg);  in ks8851_rdfifo()
 634 		dev_err(&ks->spidev->dev, "%s: spi bus error\n", __func__);  in ks8851_irq()
 729 	ret = spi_sync(ks->spidev, msg);  in ks8851_wrpkt()
 [all …]
 
 | 
| /Linux-v5.4/arch/powerpc/boot/dts/ | 
| D | o2d.dtsi | 38 			spidev@0 {39 				compatible = "spidev";
 
 | 
| D | digsy_mtc.dts | 30 				compatible = "spidev";
 | 
| /Linux-v5.4/drivers/net/dsa/sja1105/ | 
| D | sja1105_spi.c | 20 	struct spi_device *spi = priv->spidev;  in sja1105_spi_transfer()369 		dev_err(&priv->spidev->dev,  in static_config_buf_prepare_for_upload()
 398 	struct device *dev = &priv->spidev->dev;  in sja1105_static_config_upload()
 
 | 
| /Linux-v5.4/drivers/staging/greybus/ | 
| D | spilib.c | 443 	struct spi_device *spidev;  in gb_spi_setup_device()  local474 	spidev = spi_new_device(master, &spi_board);  in gb_spi_setup_device()
 475 	if (!spidev)  in gb_spi_setup_device()
 
 | 
| /Linux-v5.4/arch/mips/boot/dts/ingenic/ | 
| D | jz4780.dtsi | 193 		spidev@0 {194 			compatible = "spidev";
 
 |