Lines Matching refs:slave
203 ret = dlp->slave->hard_start_xmit(skb, dlp->slave); in dlci_transmit()
239 flp = netdev_priv(dlp->slave); in dlci_config()
251 err = (*flp->dlci_conf)(dlp->slave, dev, get); in dlci_config()
279 strncpy(ifr->ifr_slave, dlp->slave->name, sizeof(ifr->ifr_slave)); in dlci_dev_ioctl()
302 return((*dlp->slave->change_mtu)(dlp->slave, new_mtu)); in dlci_change_mtu()
316 if (!netif_running(dlp->slave)) in dlci_open()
319 flp = netdev_priv(dlp->slave); in dlci_open()
320 err = (*flp->activate)(dlp->slave, dev); in dlci_open()
339 flp = netdev_priv(dlp->slave); in dlci_close()
340 err = (*flp->deactivate)(dlp->slave, dev); in dlci_close()
356 struct net_device *master, *slave; in dlci_add() local
363 slave = dev_get_by_name(&init_net, dlci->devname); in dlci_add()
364 if (!slave) in dlci_add()
367 if (slave->type != ARPHRD_FRAD || netdev_priv(slave) == NULL) in dlci_add()
381 if (dlp->slave == slave) { in dlci_add()
394 dlp->slave = slave; in dlci_add()
397 flp = netdev_priv(slave); in dlci_add()
398 err = (*flp->assoc)(slave, master); in dlci_add()
417 dev_put(slave); in dlci_add()
425 struct net_device *master, *slave; in dlci_del() local
438 slave = dlp->slave; in dlci_del()
439 flp = netdev_priv(slave); in dlci_del()
442 err = (*flp->deassoc)(slave, master); in dlci_del()
448 dev_put(slave); in dlci_del()
526 if (dlp->slave == dev) { in dlci_dev_event()
529 dev_put(dlp->slave); in dlci_dev_event()
561 dev_put(dlp->slave); in dlci_exit()