Home
last modified time | relevance | path

Searched refs:qcaspi_devs (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/qualcomm/
H A Dqca_spi.c906 struct net_device *qcaspi_devs = NULL; in qca_spi_probe() local
964 qcaspi_devs = alloc_etherdev(sizeof(struct qcaspi)); in qca_spi_probe()
965 if (!qcaspi_devs) in qca_spi_probe()
968 qcaspi_netdev_setup(qcaspi_devs); in qca_spi_probe()
969 SET_NETDEV_DEV(qcaspi_devs, &spi->dev); in qca_spi_probe()
971 qca = netdev_priv(qcaspi_devs); in qca_spi_probe()
973 free_netdev(qcaspi_devs); in qca_spi_probe()
977 qca->net_dev = qcaspi_devs; in qca_spi_probe()
981 spi_set_drvdata(spi, qcaspi_devs); in qca_spi_probe()
999 free_netdev(qcaspi_devs); in qca_spi_probe()
[all …]