Home
last modified time | relevance | path

Searched refs:nds (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/net/ixp2000/
Denp2611.c122 static struct net_device *nds[3]; variable
135 dev = nds[i]; in enp2611_check_link_status()
191 nds[i] = ixpdev_alloc(i, sizeof(struct ixpdev_priv)); in enp2611_init_module()
192 if (nds[i] == NULL) { in enp2611_init_module()
194 free_netdev(nds[i]); in enp2611_init_module()
199 pm3386_get_mac(i, nds[i]->dev_addr); in enp2611_init_module()
204 if (ixpdev_init(ports, nds, enp2611_set_port_admin_status)) { in enp2611_init_module()
206 if (nds[i]) in enp2611_init_module()
207 free_netdev(nds[i]); in enp2611_init_module()
227 free_netdev(nds[i]); in enp2611_cleanup_module()
Dixpdev.c30 static struct net_device **nds; variable
108 if (unlikely(!netif_running(nds[desc->channel]))) in ixpdev_rx()
115 skb->protocol = eth_type_trans(skb, nds[desc->channel]); in ixpdev_rx()
176 ip = netdev_priv(nds[channel]); in ixpdev_tx_complete()
184 netif_wake_queue(nds[channel]); in ixpdev_tx_complete()
202 struct net_device *dev = nds[0]; in ixpdev_interrupt()
241 IRQF_SHARED, "ixp2000_eth", nds); in ixpdev_open()
267 free_irq(IRQ_IXP2000_THDA0, nds); in ixpdev_close()
328 nds = __nds; in ixpdev_init()
391 err = register_netdev(nds[i]); in ixpdev_init()
[all …]
Dixpdev.h24 int ixpdev_init(int num_ports, struct net_device **nds,
/linux-2.6.39/drivers/block/aoe/
Daoeblk.c52 struct net_device *nds[8], **nd, **nnd, **ne; in aoedisk_show_netif() local
57 memset(nds, 0, sizeof nds); in aoedisk_show_netif()
58 nd = nds; in aoedisk_show_netif()
59 ne = nd + ARRAY_SIZE(nds); in aoedisk_show_netif()
66 for (nnd = nds; nnd < nd; nnd++) in aoedisk_show_netif()
75 nd = nds; in aoedisk_show_netif()
/linux-2.6.39/fs/dlm/
Dconfig.c483 struct dlm_nodes *nds = NULL; in make_space() local
488 nds = kzalloc(sizeof(struct dlm_nodes), GFP_NOFS); in make_space()
490 if (!sp || !gps || !nds) in make_space()
494 config_group_init_type_name(&nds->ns_group, "nodes", &nodes_type); in make_space()
497 sp->group.default_groups[0] = &nds->ns_group; in make_space()
508 kfree(nds); in make_space()
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_wqe.h109 __be32 nds; member
/linux-2.6.39/drivers/scsi/pm8001/
Dpm8001_hwi.h488 __le32 nds; member
Dpm8001_hwi.c2630 u8 nds = le32_to_cpu(pPayload->pds_nds) | NDS_BITS; in mpi_set_dev_state_resp() local
2633 device_id, pds, nds, status)); in mpi_set_dev_state_resp()
4444 payload.nds = cpu_to_le32(state); in pm8001_chip_set_dev_state_req()