• Home
  • Raw
  • Download

Lines Matching refs:slave

507 static int sdla_activate(struct net_device *slave, struct net_device *master)  in sdla_activate()  argument
512 flp = netdev_priv(slave); in sdla_activate()
523 if (netif_running(slave) && (flp->config.station == FRAD_STATION_NODE)) in sdla_activate()
524 sdla_cmd(slave, SDLA_ACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL); in sdla_activate()
529 static int sdla_deactivate(struct net_device *slave, struct net_device *master) in sdla_deactivate() argument
534 flp = netdev_priv(slave); in sdla_deactivate()
545 if (netif_running(slave) && (flp->config.station == FRAD_STATION_NODE)) in sdla_deactivate()
546 sdla_cmd(slave, SDLA_DEACTIVATE_DLCI, 0, 0, &flp->dlci[i], sizeof(short), NULL, NULL); in sdla_deactivate()
551 static int sdla_assoc(struct net_device *slave, struct net_device *master) in sdla_assoc() argument
559 flp = netdev_priv(slave); in sdla_assoc()
575 master->mtu = slave->mtu; in sdla_assoc()
577 if (netif_running(slave)) { in sdla_assoc()
579 sdla_reconfig(slave); in sdla_assoc()
581 sdla_cmd(slave, SDLA_ADD_DLCI, 0, 0, master->dev_addr, sizeof(short), NULL, NULL); in sdla_assoc()
587 static int sdla_deassoc(struct net_device *slave, struct net_device *master) in sdla_deassoc() argument
592 flp = netdev_priv(slave); in sdla_deassoc()
605 if (netif_running(slave)) { in sdla_deassoc()
607 sdla_reconfig(slave); in sdla_deassoc()
609 sdla_cmd(slave, SDLA_DELETE_DLCI, 0, 0, master->dev_addr, sizeof(short), NULL, NULL); in sdla_deassoc()
615 static int sdla_dlci_conf(struct net_device *slave, struct net_device *master, int get) in sdla_dlci_conf() argument
622 flp = netdev_priv(slave); in sdla_dlci_conf()
635 if (netif_running(slave)) { in sdla_dlci_conf()
637 ret = sdla_cmd(slave, SDLA_READ_DLCI_CONFIGURATION, abs(flp->dlci[i]), 0, in sdla_dlci_conf()
640 ret = sdla_cmd(slave, SDLA_SET_DLCI_CONFIGURATION, abs(flp->dlci[i]), 0, in sdla_dlci_conf()