/openbmc/linux/drivers/spi/ |
H A D | spidev.c | 112 spi = spidev->spi; in spidev_sync() 603 spidev = iter; in spidev_open() 608 if (!spidev) { in spidev_open() 629 spidev->users++; in spidev_open() 659 spidev->users--; in spidev_release() 669 kfree(spidev); in spidev_release() 671 spidev->speed_hz = spidev->spi->max_speed_hz; in spidev_release() 791 spidev = kzalloc(sizeof(*spidev), GFP_KERNEL); in spidev_probe() 792 if (!spidev) in spidev_probe() 830 kfree(spidev); in spidev_probe() [all …]
|
H A D | spi-lantiq-ssc.c | 388 static int lantiq_ssc_setup(struct spi_device *spidev) in lantiq_ssc_setup() argument 390 struct spi_controller *host = spidev->controller; in lantiq_ssc_setup() 392 unsigned int cs = spi_get_chipselect(spidev, 0); in lantiq_ssc_setup() 396 if (spi_get_csgpiod(spidev, 0)) in lantiq_ssc_setup() 411 if (spidev->mode & SPI_CS_HIGH) in lantiq_ssc_setup() 432 struct spi_device *spidev, struct spi_transfer *t) in hw_setup_transfer() argument 800 unsigned int cs = spi_get_chipselect(spidev, 0); in lantiq_ssc_set_cs() 803 if (!!(spidev->mode & SPI_CS_HIGH) == enable) in lantiq_ssc_set_cs() 812 struct spi_device *spidev, in lantiq_ssc_transfer_one() argument 817 hw_setup_transfer(spi, spidev, t); in lantiq_ssc_transfer_one() [all …]
|
/openbmc/linux/drivers/nfc/st95hf/ |
H 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 …]
|
H 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()
|
H A D | spi.h | 31 struct spi_device *spidev; member
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/ |
H A D | python3-spidev_3.6.bb | 1 SUMMARY = "Python bindings for Linux SPI access through spidev" 3 devices from user space via the spidev linux kernel driver.\ 7 HOMEPAGE = "http://github.com/doceme/py-spidev" 11 SRCNAME = "spidev"
|
/openbmc/linux/Documentation/spi/ |
H A D | spidev.rst | 15 #include <linux/spi/spidev.h> 33 The spidev driver contains lists of SPI devices that are supported for 36 The following are the SPI device tables supported by the spidev driver: 55 For example, as .modalias = "spidev" or compatible = "spidev". But this 60 the spidev driver failing to probe. 64 To make the spidev driver bind to such a device, use the following: 66 echo spidev > /sys/bus/spi/devices/spiB.C/driver_override 67 echo spiB.C > /sys/bus/spi/drivers/spidev/bind 85 /sys/class/spidev/spidevB.C ... 86 created when the "spidev" driver [all …]
|
H A D | index.rst | 11 spidev
|
/openbmc/linux/drivers/net/ethernet/micrel/ |
H 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()
|
/openbmc/linux/drivers/staging/pi433/Documentation/devicetree/ |
H A D | pi433-overlay.dtso | 14 spidev@0{ 19 spidev@1{
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/spidev-test/ |
H A D | spidev-test.bb | 2 DESCRIPTION = "SPI testing utility using the spidev driver" 5 PROVIDES = "virtual/spidev-test"
|
/openbmc/linux/drivers/net/ethernet/adi/ |
H A D | adin1110.c | 154 struct spi_device *spidev; member 220 ret = spi_sync_transfer(priv->spidev, &t, 1); in adin1110_read_reg() 233 dev_err_ratelimited(&priv->spidev->dev, "CRC error."); in adin1110_read_reg() 348 ret = spi_sync_transfer(priv->spidev, &t, 1); in adin1110_read_fifo() 595 dev_warn_ratelimited(&priv->spidev->dev, in adin1110_irq() 977 dev_err_ratelimited(&priv->spidev->dev, in adin1110_tx_work() 1094 spi_bus_lock(priv->spidev->controller); in adin1110_check_spi() 1105 spi_bus_unlock(priv->spidev->controller); in adin1110_check_spi() 1566 struct device *dev = &priv->spidev->dev; in adin1110_probe_netdevs() 1589 netdev->irq = priv->spidev->irq; in adin1110_probe_netdevs() [all …]
|
/openbmc/linux/drivers/net/ethernet/vertexcom/ |
H A D | mse102x.c | 83 struct spi_device *spidev; member 104 mses->spidev->irq); in mse102x_info_show() 109 mses->spidev->mode); in mse102x_info_show() 163 ret = spi_sync(mses->spidev, msg); in mse102x_tx_cmd_spi() 188 ret = spi_sync(mses->spidev, msg); in mse102x_rx_cmd_spi() 252 ret = spi_sync(mses->spidev, msg); in mse102x_tx_frame_spi() 278 ret = spi_sync(mses->spidev, msg); in mse102x_rx_frame_spi() 698 mses->spidev = spi; in mse102x_probe_spi()
|
/openbmc/linux/drivers/net/ethernet/davicom/ |
H A D | dm9051.c | 100 struct spi_device *spidev; member 243 struct spi_device *spi = db->spidev; in dm9051_irq_flag() 507 db->regmap_dm = devm_regmap_init_spi(db->spidev, ®configdm); in dm9051_map_init() 512 db->regmap_dmbulk = devm_regmap_init_spi(db->spidev, ®configdmbulk); in dm9051_map_init() 518 struct device *dev = &db->spidev->dev; in dm9051_map_chipid() 555 dev_dbg(&db->spidev->dev, "Use random MAC address\n"); in dm9051_map_etherdev_par() 946 struct spi_device *spi = db->spidev; in dm9051_open() 1005 free_irq(db->spidev->irq, db); in dm9051_stop() 1109 struct spi_device *spi = db->spidev; in dm9051_mdio_register() 1181 db->spidev = spi; in dm9051_probe()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/spitools/ |
H A D | spitools_git.bb | 1 DESCRIPTION = "This package contains some simple command line tools to help using Linux spidev devi…
|
/openbmc/openbmc/meta-raspberrypi/recipes-devtools/python/ |
H A D | python3-adafruit-pureio_1.1.9.bb | 1 …ns) access to Linux IO including I2C and SPI. Drop in replacement for smbus and spidev modules."
|
/openbmc/openbmc/meta-raspberrypi/recipes-devtools/python/python3-rtimu/ |
H A D | 0001-include-asm-ioctl.h-for-ioctl-define.patch | 26 #include <linux/spi/spidev.h>
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mm-mx8menlo.dts | 77 spidev@0 { 83 spidev@1 {
|
/openbmc/linux/tools/spi/ |
H A D | Makefile | 30 ln -sf $(CURDIR)/../../include/uapi/linux/spi/spidev.h $@
|
/openbmc/linux/drivers/staging/greybus/ |
H 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()
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-gatwick.dts | 107 spidev@0 {
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx53-m53menlo.dts | 135 spidev@0 { 141 spidev@1 {
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | socfpga_cyclone5_socdk.dts | 157 spidev@0 {
|
/openbmc/linux/arch/arm/boot/dts/intel/socfpga/ |
H A D | socfpga_cyclone5_socdk.dts | 157 spidev@0 {
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H 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()
|