Searched refs:qcaspi_devs (Results 1 – 1 of 1) sorted by relevance
898 struct net_device *qcaspi_devs = NULL; in qca_spi_probe() local956 qcaspi_devs = alloc_etherdev(sizeof(struct qcaspi)); in qca_spi_probe()957 if (!qcaspi_devs) in qca_spi_probe()960 qcaspi_netdev_setup(qcaspi_devs); in qca_spi_probe()961 SET_NETDEV_DEV(qcaspi_devs, &spi->dev); in qca_spi_probe()963 qca = netdev_priv(qcaspi_devs); in qca_spi_probe()965 free_netdev(qcaspi_devs); in qca_spi_probe()969 qca->net_dev = qcaspi_devs; in qca_spi_probe()973 spi_set_drvdata(spi, qcaspi_devs); in qca_spi_probe()980 free_netdev(qcaspi_devs); in qca_spi_probe()[all …]