bpq               118 drivers/net/hamradio/bpqether.c 	struct bpqdev *bpq = netdev_priv(dev);
bpq               120 drivers/net/hamradio/bpqether.c 	return bpq ? bpq->ethdev : NULL;
bpq               128 drivers/net/hamradio/bpqether.c 	struct bpqdev *bpq;
bpq               130 drivers/net/hamradio/bpqether.c 	list_for_each_entry_rcu(bpq, &bpq_devices, bpq_list,
bpq               132 drivers/net/hamradio/bpqether.c 		if (bpq->ethdev == dev)
bpq               133 drivers/net/hamradio/bpqether.c 			return bpq->axdev;
bpq               154 drivers/net/hamradio/bpqether.c 	struct bpqdev *bpq;
bpq               176 drivers/net/hamradio/bpqether.c 	bpq = netdev_priv(dev);
bpq               180 drivers/net/hamradio/bpqether.c 	if (!(bpq->acpt_addr[0] & 0x01) &&
bpq               181 drivers/net/hamradio/bpqether.c 	    !ether_addr_equal(eth->h_source, bpq->acpt_addr))
bpq               220 drivers/net/hamradio/bpqether.c 	struct bpqdev *bpq;
bpq               257 drivers/net/hamradio/bpqether.c 	bpq = netdev_priv(dev);
bpq               268 drivers/net/hamradio/bpqether.c 	dev_hard_header(skb, dev, ETH_P_BPQ, bpq->dest_addr, NULL, 0);
bpq               299 drivers/net/hamradio/bpqether.c 	struct bpqdev *bpq = netdev_priv(dev);
bpq               319 drivers/net/hamradio/bpqether.c 			if (copy_from_user(bpq->dest_addr, ethaddr->destination, ETH_ALEN))
bpq               321 drivers/net/hamradio/bpqether.c 			if (copy_from_user(bpq->acpt_addr, ethaddr->accept, ETH_ALEN))
bpq               462 drivers/net/hamradio/bpqether.c 	struct bpqdev *bpq;
bpq               470 drivers/net/hamradio/bpqether.c 	bpq = netdev_priv(ndev);
bpq               472 drivers/net/hamradio/bpqether.c 	bpq->ethdev = edev;
bpq               473 drivers/net/hamradio/bpqether.c 	bpq->axdev = ndev;
bpq               475 drivers/net/hamradio/bpqether.c 	eth_broadcast_addr(bpq->dest_addr);
bpq               476 drivers/net/hamradio/bpqether.c 	eth_broadcast_addr(bpq->acpt_addr);
bpq               483 drivers/net/hamradio/bpqether.c 	list_add_rcu(&bpq->bpq_list, &bpq_devices);
bpq               495 drivers/net/hamradio/bpqether.c 	struct bpqdev *bpq = netdev_priv(ndev);
bpq               497 drivers/net/hamradio/bpqether.c 	dev_put(bpq->ethdev);
bpq               498 drivers/net/hamradio/bpqether.c 	list_del_rcu(&bpq->bpq_list);
bpq               567 drivers/net/hamradio/bpqether.c 	struct bpqdev *bpq;
bpq               577 drivers/net/hamradio/bpqether.c 		bpq = list_entry(bpq_devices.next, struct bpqdev, bpq_list);
bpq               578 drivers/net/hamradio/bpqether.c 		bpq_free_device(bpq->axdev);