Searched refs:qcaspi_devs (Results 1 – 1 of 1) sorted by relevance
891 struct net_device *qcaspi_devs = NULL; in qca_spi_probe() local952 qcaspi_devs = alloc_etherdev(sizeof(struct qcaspi)); in qca_spi_probe()953 if (!qcaspi_devs) in qca_spi_probe()956 qcaspi_netdev_setup(qcaspi_devs); in qca_spi_probe()957 SET_NETDEV_DEV(qcaspi_devs, &spi->dev); in qca_spi_probe()959 qca = netdev_priv(qcaspi_devs); in qca_spi_probe()961 free_netdev(qcaspi_devs); in qca_spi_probe()965 qca->net_dev = qcaspi_devs; in qca_spi_probe()969 spi_set_drvdata(spi, qcaspi_devs); in qca_spi_probe()987 free_netdev(qcaspi_devs); in qca_spi_probe()[all …]