Home
last modified time | relevance | path

Searched refs:nets (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/net/
H A Drionet.c244 nets[netid].nact++; in rionet_dbell_event()
256 nets[netid].nact--; in rionet_dbell_event()
426 nets[netid].nact--; in rionet_remove_dev()
563 if (!nets[netid].ndev) { in rionet_add_dev()
592 nets[netid].nact = 0; in rionet_add_dev()
593 nets[netid].ndev = ndev; in rionet_add_dev()
648 if (!nets[i].ndev) in rionet_shutdown()
678 if (nets[id].ndev) { in rionet_remove_mport()
679 ndev = nets[id].ndev; in rionet_remove_mport()
686 nets[id].active = NULL; in rionet_remove_mport()
[all …]
/openbmc/linux/net/netfilter/ipset/
H A Dip_set_hash_gen.h334 } else if (h->nets[i].cidr[n] < cidr) { in mtype_add_cidr()
337 h->nets[CIDR_POS(cidr)].nets[n]++; in mtype_add_cidr()
343 h->nets[i].cidr[n] = h->nets[i - 1].cidr[n]; in mtype_add_cidr()
345 h->nets[i].cidr[n] = cidr; in mtype_add_cidr()
346 h->nets[CIDR_POS(cidr)].nets[n] = 1; in mtype_add_cidr()
358 if (h->nets[i].cidr[n] != cidr) in mtype_del_cidr()
360 h->nets[CIDR_POS(cidr)].nets[n]--; in mtype_del_cidr()
361 if (h->nets[CIDR_POS(cidr)].nets[n] > 0) in mtype_del_cidr()
364 h->nets[j].cidr[n] = h->nets[j + 1].cidr[n]; in mtype_del_cidr()
365 h->nets[j].cidr[n] = 0; in mtype_del_cidr()
[all …]
H A Dip_set_hash_netnet.c152 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt()
153 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt()
391 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet6_kadt()
392 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet6_kadt()
H A Dip_set_hash_netportnet.c160 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt()
161 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt()
455 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet6_kadt()
456 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet6_kadt()
H A Dip_set_hash_net.c120 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt()
294 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt()
H A Dip_set_hash_netiface.c164 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt()
385 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
H A Dip_set_hash_netport.c136 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport4_kadt()
356 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt()
H A Dip_set_hash_ipportnet.c141 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet4_kadt()
398 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet6_kadt()
/openbmc/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_core.c354 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()
772 if (!dev->nets[i]) in kvaser_usb_remove_interfaces()
775 unregister_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces()
781 if (!dev->nets[i]) in kvaser_usb_remove_interfaces()
785 ops->dev_remove_channel(dev->nets[i]); in kvaser_usb_remove_interfaces()
787 free_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces()
859 dev->nets[channel] = priv; in kvaser_usb_init_one()
879 dev->nets[channel] = NULL; in kvaser_usb_init_one()
H A Dkvaser_usb.h90 struct kvaser_usb_net_priv *nets[KVASER_USB_MAX_NET_DEVICES]; member
H A Dkvaser_usb_leaf.c893 priv = dev->nets[channel]; in kvaser_usb_leaf_tx_acknowledge()
1063 priv = dev->nets[es->channel]; in kvaser_usb_leaf_rx_error()
1174 priv = dev->nets[channel]; in kvaser_usb_leaf_usbcan_conditionally_rx_error()
1309 priv = dev->nets[channel]; in kvaser_usb_leaf_rx_can_msg()
1464 priv = dev->nets[channel]; in kvaser_usb_leaf_start_chip_reply()
1487 priv = dev->nets[channel]; in kvaser_usb_leaf_stop_chip_reply()
1504 priv = dev->nets[channel]; in kvaser_usb_leaf_get_busparams_reply()
H A Dkvaser_usb_hydra.c520 priv = dev->nets[channel]; in kvaser_usb_hydra_net_priv_from_cmd()
/openbmc/linux/drivers/net/can/usb/
H A Desd_usb.c131 u8 nets; member
270 struct esd_usb_net_priv *nets[ESD_USB_MAX_NETS]; member
524 esd_usb_tx_done_msg(dev->nets[msg->txdone.net], in esd_usb_read_bulk_callback()
545 if (dev->nets[i]) in esd_usb_read_bulk_callback()
546 netif_device_detach(dev->nets[i]->netdev); in esd_usb_read_bulk_callback()
614 static DEVICE_ATTR_RO(nets);
779 priv = dev->nets[i]; in unlink_all_urbs()
1264 dev->nets[index] = priv; in esd_usb_probe_one_net()
1320 dev->net_count = (int)msg->version_reply.nets; in esd_usb_probe()
1362 if (dev->nets[i]) { in esd_usb_disconnect()
[all …]
/openbmc/linux/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()
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()
328 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
535 ntohs(iface->nets.nr_firstnet) && in atrtr_create()
537 ntohs(iface->nets.nr_lastnet)) in atrtr_create()
[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()
/openbmc/linux/include/linux/
H A Datalk.h31 struct atalk_netrange nets; member
/openbmc/linux/Documentation/trace/coresight/
H A Dcoresight-ect.rst55 possible that systems can have nets of CTIs+CTM that are not interconnected by
/openbmc/linux/Documentation/devicetree/bindings/arm/
H A Darm,coresight-cti.yaml108 separate CTI/CTM nets. Typically multi-socket systems where the CTM is
/openbmc/linux/Documentation/admin-guide/laptops/
H A Dthinkpad-acpi.rst582 wake up caused by the firmware will have negated most safety nets...