Home
last modified time | relevance | path

Searched full:nets (Results 1 – 25 of 28) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/
H A Drionet.c79 static struct rionet_net nets[RIONET_MAX_NETS]; variable
182 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 …]
/OK3568_Linux_fs/kernel/net/netfilter/ipset/
H A Dip_set_hash_gen.h125 u32 nets[IPSET_NET_COUNT]; /* number of elements for this cidr */ member
319 struct net_prefixes nets[NLEN]; /* book-keeping of prefixes */ member
344 for (i = 0, j = -1; i < NLEN && h->nets[i].cidr[n]; i++) { in mtype_add_cidr()
347 } else if (h->nets[i].cidr[n] < cidr) { in mtype_add_cidr()
349 } else if (h->nets[i].cidr[n] == cidr) { in mtype_add_cidr()
350 h->nets[CIDR_POS(cidr)].nets[n]++; in mtype_add_cidr()
356 h->nets[i].cidr[n] = h->nets[i - 1].cidr[n]; in mtype_add_cidr()
358 h->nets[i].cidr[n] = cidr; in mtype_add_cidr()
359 h->nets[CIDR_POS(cidr)].nets[n] = 1; in mtype_add_cidr()
371 if (h->nets[i].cidr[n] != cidr) in mtype_del_cidr()
[all …]
H A Dip_set_hash_netnet.c148 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt()
149 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt()
396 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet6_kadt()
397 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet6_kadt()
H A Dip_set_hash_netportnet.c158 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt()
159 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt()
451 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet6_kadt()
452 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet6_kadt()
H A Dip_set_hash_net.c119 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt()
296 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt()
H A Dip_set_hash_netiface.c163 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt()
387 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
H A Dip_set_hash_netport.c135 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport4_kadt()
360 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt()
H A Dip_set_hash_ipportnet.c140 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet4_kadt()
394 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet6_kadt()
/OK3568_Linux_fs/kernel/drivers/net/can/usb/
H A Desd_usb2.c107 u8 nets; member
191 struct esd_usb2_net_priv *nets[ESD_USB2_MAX_NETS]; member
415 esd_usb2_rx_can_msg(dev->nets[msg->msg.rx.net], msg); in esd_usb2_read_bulk_callback()
424 esd_usb2_tx_done_msg(dev->nets[msg->msg.txdone.net], in esd_usb2_read_bulk_callback()
445 if (dev->nets[i]) in esd_usb2_read_bulk_callback()
446 netif_device_detach(dev->nets[i]->netdev); in esd_usb2_read_bulk_callback()
518 static DEVICE_ATTR(nets, 0444, show_nets, NULL);
686 priv = dev->nets[i]; in unlink_all_urbs()
1041 dev->nets[index] = priv; in esd_usb2_probe_one_net()
1079 /* query number of CAN interfaces (nets) */ in esd_usb2_probe()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_core.c330 if (!dev->nets[i]) in kvaser_usb_read_bulk_callback()
333 netif_device_detach(dev->nets[i]->netdev); in kvaser_usb_read_bulk_callback()
473 struct kvaser_usb_net_priv *priv = dev->nets[i]; in kvaser_usb_unlink_all_urbs()
651 if (!dev->nets[i]) in kvaser_usb_remove_interfaces()
654 unregister_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces()
660 if (!dev->nets[i]) in kvaser_usb_remove_interfaces()
663 free_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces()
728 dev->nets[channel] = priv; in kvaser_usb_init_one()
734 dev->nets[channel] = NULL; in kvaser_usb_init_one()
H A Dkvaser_usb_leaf.c715 priv = dev->nets[channel]; in kvaser_usb_leaf_tx_acknowledge()
864 priv = dev->nets[es->channel]; in kvaser_usb_leaf_rx_error()
960 priv = dev->nets[channel]; in kvaser_usb_leaf_usbcan_conditionally_rx_error()
1095 priv = dev->nets[channel]; in kvaser_usb_leaf_rx_can_msg()
1181 priv = dev->nets[channel]; in kvaser_usb_leaf_start_chip_reply()
1204 priv = dev->nets[channel]; in kvaser_usb_leaf_stop_chip_reply()
H A Dkvaser_usb.h82 struct kvaser_usb_net_priv *nets[KVASER_USB_MAX_NET_DEVICES]; member
H A Dkvaser_usb_hydra.c479 priv = dev->nets[channel]; in kvaser_usb_hydra_net_priv_from_cmd()
/OK3568_Linux_fs/kernel/net/appletalk/
H A Dddp.c245 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_probe_device()
246 ntohs(atif->nets.nr_firstnet) + 1; in atif_probe_device()
253 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
280 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_probe_device()
281 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
293 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_proxy_probe_device()
294 ntohs(atif->nets.nr_firstnet) + 1; in atif_proxy_probe_device()
302 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
327 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_proxy_probe_device()
328 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
[all …]
H A Datalk_proc.c72 iface->address.s_node, ntohs(iface->nets.nr_firstnet), in atalk_seq_interface_show()
73 ntohs(iface->nets.nr_lastnet), iface->status); in atalk_seq_interface_show()
/OK3568_Linux_fs/kernel/include/linux/
H A Datalk.h22 * @nets - Associated direct netrange
31 struct atalk_netrange nets; member
/OK3568_Linux_fs/kernel/drivers/cpuidle/governors/
H A Dteo.c125 * One of the safety nets has triggered or the wakeup was close in teo_update()
450 * nets, assume that the CPU might have been idle for the entire sleep in teo_reflect()
/OK3568_Linux_fs/kernel/Documentation/trace/coresight/
H A Dcoresight-ect.rst55 possible that systems can have nets of CTIs+CTM that are not interconnected by
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A Dcoresight-cti.yaml106 separate CTI/CTM nets. Typically multi-socket systems where the CTM is
/OK3568_Linux_fs/kernel/drivers/net/can/softing/
H A Dsofting_main.c767 dev_warn(&pdev->dev, "%u nets??\n", pdat->nbus); in softing_pdev_probe()
/OK3568_Linux_fs/kernel/net/core/
H A Dnet_namespace.c589 * between net_kill_list's nets, as they've already in cleanup_net()
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dpppoe.c97 * nets by injecting net id into the hash but
/OK3568_Linux_fs/kernel/Documentation/admin-guide/laptops/
H A Dthinkpad-acpi.rst580 wake up caused by the firmware will have negated most safety nets...
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192e/
H A Drtllib_softmac.c1403 * Here we will check if there are good nets to associate in rtllib_associate_abort()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_softmac.c1168 * Here we will check if there are good nets to associate in ieee80211_associate_abort()

12