Searched refs:nets (Results 1 – 6 of 6) sorted by relevance
79 static struct rionet_net nets[RIONET_MAX_NETS]; variable182 add_num = nets[rnet->mport->id].nact; in rionet_start_xmit()197 if (nets[rnet->mport->id].active[i]) { in rionet_start_xmit()199 nets[rnet->mport->id].active[i]); in rionet_start_xmit()206 if (nets[rnet->mport->id].active[destid]) in rionet_start_xmit()208 nets[rnet->mport->id].active[destid]); in rionet_start_xmit()239 if (!nets[netid].active[sid]) { in rionet_dbell_event()240 spin_lock(&nets[netid].lock); in rionet_dbell_event()241 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_dbell_event()243 nets[netid].active[sid] = peer->rdev; in rionet_dbell_event()[all …]
115 u8 nets; member198 struct esd_usb_net_priv *nets[ESD_USB_MAX_NETS]; member423 esd_usb_rx_can_msg(dev->nets[msg->msg.rx.net], msg); in esd_usb_read_bulk_callback()432 esd_usb_tx_done_msg(dev->nets[msg->msg.txdone.net], in esd_usb_read_bulk_callback()453 if (dev->nets[i]) in esd_usb_read_bulk_callback()454 netif_device_detach(dev->nets[i]->netdev); in esd_usb_read_bulk_callback()522 static DEVICE_ATTR_RO(nets);687 priv = dev->nets[i]; in unlink_all_urbs()1044 dev->nets[index] = priv; in esd_usb_probe_one_net()1100 dev->net_count = (int)msg->msg.version_reply.nets; in esd_usb_probe()[all …]
354 if (!dev->nets[i]) in kvaser_usb_read_bulk_callback()357 netif_device_detach(dev->nets[i]->netdev); in kvaser_usb_read_bulk_callback()493 struct kvaser_usb_net_priv *priv = dev->nets[i]; in kvaser_usb_unlink_all_urbs()774 if (!dev->nets[i]) in kvaser_usb_remove_interfaces()777 unregister_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces()783 if (!dev->nets[i]) in kvaser_usb_remove_interfaces()787 ops->dev_remove_channel(dev->nets[i]); in kvaser_usb_remove_interfaces()789 free_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces()861 dev->nets[channel] = priv; in kvaser_usb_init_one()881 dev->nets[channel] = NULL; in kvaser_usb_init_one()
890 priv = dev->nets[channel]; in kvaser_usb_leaf_tx_acknowledge()1043 priv = dev->nets[es->channel]; in kvaser_usb_leaf_rx_error()1151 priv = dev->nets[channel]; in kvaser_usb_leaf_usbcan_conditionally_rx_error()1286 priv = dev->nets[channel]; in kvaser_usb_leaf_rx_can_msg()1441 priv = dev->nets[channel]; in kvaser_usb_leaf_start_chip_reply()1464 priv = dev->nets[channel]; in kvaser_usb_leaf_stop_chip_reply()1481 priv = dev->nets[channel]; in kvaser_usb_leaf_get_busparams_reply()
90 struct kvaser_usb_net_priv *nets[KVASER_USB_MAX_NET_DEVICES]; member
520 priv = dev->nets[channel]; in kvaser_usb_hydra_net_priv_from_cmd()