Lines Matching refs:spidev
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()
263 return spi_write(priv->spidev, &priv->data[0], header_len + write_len); in adin1110_write_reg()
348 ret = spi_sync_transfer(priv->spidev, &t, 1); in adin1110_read_fifo()
416 ret = spi_write(priv->spidev, &priv->data[0], round_len + header_len); in adin1110_write_fifo()
518 priv->cfg->name, spi_get_chipselect(priv->spidev, 0)); in adin1110_register_mdiobus()
595 dev_warn_ratelimited(&priv->spidev->dev, in adin1110_irq()
977 dev_err_ratelimited(&priv->spidev->dev, in adin1110_tx_work()
1088 reset_gpio = devm_gpiod_get_optional(&priv->spidev->dev, "reset", in adin1110_check_spi()
1094 spi_bus_lock(priv->spidev->controller); in adin1110_check_spi()
1105 spi_bus_unlock(priv->spidev->controller); in adin1110_check_spi()
1113 dev_err(&priv->spidev->dev, "PHY ID expected: %x, read: %x\n", 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()
1624 ret = devm_request_threaded_irq(dev, priv->spidev->irq, NULL, in adin1110_probe_netdevs()
1653 priv->spidev = spi; in adin1110_probe()