/drivers/net/ethernet/freescale/ |
H A D | fec.c | 243 int link; member in struct:fec_enet_private 287 if (!fep->link) { 376 /* This function is called to start or restart the FEC during a link 526 /* We cannot expect a graceful transmit stop without link !!! */ 527 if (fep->link) { 873 /* Duplex link change */ 874 if (phy_dev->link) { 878 fep->link = phy_dev->link; 884 if (phy_dev->link ! [all...] |
/drivers/net/ethernet/ibm/emac/ |
H A D | core.c | 543 int tx_size, rx_size, link = netif_carrier_ok(dev->ndev); local 548 if (!link) { 558 DBG(dev, " link = %d duplex = %d, pause = %d, asym_pause = %d\n", 559 link, dev->phy.duplex, dev->phy.pause, dev->phy.asym_pause); 565 /* No link, force loopback */ 566 if (!link) 573 /* Adjust fifo sizes, mr1 and timeouts based on link speed */ 657 there should be still enough space in FIFO to allow the our link 668 5) Round-trip propagation delay of the link (100Mb) 15 bytes 1135 printk(KERN_INFO "%s: link i [all...] |
/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 976 /* set vector for other causes, i.e. link changes */ 1745 * Prevent stats update while adapter is being reset, link is down 1784 /* If interface is down, stay link down */ 1791 /* if check for link returns error we will need to reset */ 1819 u32 link; local 1822 link = igbvf_has_link(adapter); 1824 if (link) { 1851 * We've lost link, so the controller stops DMA,
|
/drivers/net/ethernet/natsemi/ |
H A D | ibmlana.h | 255 u32 link; /* pointer to next descriptor */ member in struct:__anon2710 272 u32 link; /* pointer to next descriptor */ member in struct:__anon2711
|
/drivers/net/ethernet/sfc/ |
H A D | siena_sriov.c | 138 * @link: List head for insertion into efx->local_addr_list. 142 struct list_head link; member in struct:efx_local_addr 149 * @link: List head for insertion into efx->local_page_list. 154 struct list_head link; member in struct:efx_endpoint_page 438 list_for_each_entry(epp, &efx->local_page_list, link) { 1097 list_for_each_entry(local_addr, &efx->local_addr_list, link) { 1116 &pages, struct efx_endpoint_page, link); 1117 list_del(&epp->link); 1120 list_add_tail(&epp->link, &efx->local_page_list); 1131 &pages, struct efx_endpoint_page, link); [all...] |
/drivers/net/ethernet/sis/ |
H A D | sis900.c | 156 u32 link; member in struct:_BufferDesc 687 printk(KERN_WARNING "%s: reset phy and link down now\n", 715 * Select first detected PHY with link as default. 716 * If no one is link on, select PHY whose types is HOME as default. 979 * link status change from ON to DOWN. 1054 /* Set the timer to switch to check for link beat and perhaps switch 1124 sis_priv->tx_ring[i].link = sis_priv->tx_ring_dma + 1159 sis_priv->rx_ring[i].link = sis_priv->rx_ring_dma + 1285 * link status (ON/OFF) and link mod [all...] |
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | common.h | 312 struct mac_link link; member in struct:mac_device_info
|
/drivers/net/ethernet/tehuti/ |
H A D | tehuti.c | 196 * bdx_link_changed - notifies OS about hw link state. 201 u32 link = READ_REG(priv, regMAC_LNK_STAT) & MAC_LINK_STAT; local 203 if (!link) {
|
/drivers/net/ethernet/ti/ |
H A D | cpsw.c | 363 struct cpsw_priv *priv, bool *link) 374 if (phy->link) { 385 *link = true; 404 bool link = false; local 406 for_each_slave(priv, _cpsw_adjust_link, priv, &link); 408 if (link) { 446 slave->mac_control = 0; /* no link yet */ 362 _cpsw_adjust_link(struct cpsw_slave *slave, struct cpsw_priv *priv, bool *link) argument
|
/drivers/net/ethernet/xircom/ |
H A D | xirc2ps_cs.c | 160 DisableLinkPulse = 0x20, /* disable link pulse generation */ 263 static int has_ce2_string(struct pcmcia_device * link); 264 static int xirc2ps_config(struct pcmcia_device * link); 265 static void xirc2ps_release(struct pcmcia_device * link); 296 static int set_card_type(struct pcmcia_device *link); 476 xirc2ps_probe(struct pcmcia_device *link) argument 481 dev_dbg(&link->dev, "attach()\n"); 489 local->p_dev = link; 490 link->priv = dev; 493 link 505 xirc2ps_detach(struct pcmcia_device *link) argument 537 set_card_type(struct pcmcia_device *link) argument 691 xirc2ps_config(struct pcmcia_device * link) argument 929 xirc2ps_release(struct pcmcia_device *link) argument 945 xirc2ps_suspend(struct pcmcia_device *link) argument 957 xirc2ps_resume(struct pcmcia_device *link) argument 1393 struct pcmcia_device *link = lp->p_dev; local 1720 struct pcmcia_device *link = lp->p_dev; local [all...] |
/drivers/net/usb/ |
H A D | asix.c | 180 u8 link; member in struct:ax88172_int_data 392 int link; local 398 link = event->link & 0x01; 399 if (netif_carrier_ok(dev->net) != link) { 400 if (link) { 405 netdev_dbg(dev->net, "Link Status is: %d\n", link);
|
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_common.c | 13 * permission to link this software with independent modules, and to copy and 727 bool group = FALSE, flush_txq = FALSE, link = FALSE; local 757 link = TRUE; 848 DHD_EVENT(("MACEVENT: %s %s\n", event_name, link?"UP":"DOWN")); 849 BCM_REFERENCE(link);
|
/drivers/net/wireless/ |
H A D | ray_cs.c | 70 static int ray_config(struct pcmcia_device *link); 71 static void ray_release(struct pcmcia_device *link); 334 static void ray_detach(struct pcmcia_device *link) argument 339 dev_dbg(&link->dev, "ray_detach\n"); 342 dev = link->priv; 344 ray_release(link); 349 if (link->priv) { 353 dev_dbg(&link->dev, "ray_cs ray_detach ending\n"); 357 static int ray_config(struct pcmcia_device *link) argument 361 struct net_device *dev = (struct net_device *)link 476 struct pcmcia_device *link = local->finder; local 537 struct pcmcia_device *link = local->finder; local 648 struct pcmcia_device *link = local->finder; local 690 struct pcmcia_device *link = local->finder; local 718 struct pcmcia_device *link = local->finder; local 741 ray_release(struct pcmcia_device *link) argument 758 ray_suspend(struct pcmcia_device *link) argument 768 ray_resume(struct pcmcia_device *link) argument 787 struct pcmcia_device *link = local->finder; local 822 struct pcmcia_device *link = local->finder; local 838 struct pcmcia_device *link = local->finder; local 1399 struct pcmcia_device *link = local->finder; local 1487 struct pcmcia_device *link; local 1524 struct pcmcia_device *link; local 1552 struct pcmcia_device *link = local->finder; local 1581 struct pcmcia_device *link = local->finder; local 1613 struct pcmcia_device *link = local->finder; local 1688 struct pcmcia_device *link = local->finder; local 1718 struct pcmcia_device *link = local->finder; local 1753 struct pcmcia_device *link = local->finder; local 1837 struct pcmcia_device *link; local 2404 struct pcmcia_device *link = local->finder; local 2475 struct pcmcia_device *link = local->finder; local 2562 struct pcmcia_device *link; local [all...] |
H A D | wl3501_cs.c | 78 static int wl3501_config(struct pcmcia_device *link); 79 static void wl3501_release(struct pcmcia_device *link); 1221 struct pcmcia_device *link; local 1222 link = this->p_dev; 1225 link->open--; 1334 struct pcmcia_device *link; local 1335 link = this->p_dev; 1338 if (!pcmcia_dev_present(link)) 1341 link->open++; 1406 * @link 1412 wl3501_detach(struct pcmcia_device *link) argument 1887 wl3501_config(struct pcmcia_device *link) argument 1972 wl3501_release(struct pcmcia_device *link) argument 1977 wl3501_suspend(struct pcmcia_device *link) argument 1988 wl3501_resume(struct pcmcia_device *link) argument [all...] |
/drivers/net/ |
H A D | xen-netfront.c | 97 * are linked from tx_skb_freelist through skb_entry.link. 106 unsigned long link; member in union:netfront_info::skb_entry 146 list->link = id; 151 BUILD_BUG_ON(sizeof(list->skb) != sizeof(list->link)); 170 *head = list[id].link;
|
/drivers/s390/net/ |
H A D | claw.c | 241 static int claw_send_control(struct net_device *dev, __u8 type, __u8 link, 243 static int claw_snd_conn_req(struct net_device *dev, __u8 link); 2296 " an incorrect link ID=%d\n", 2334 claw_send_control(struct net_device *dev, __u8 type, __u8 link, argument 2349 p_ctl->linkid=link; 2413 claw_snd_conn_req(struct net_device *dev, __u8 link) argument 2422 p_ctl->linkid = link;
|
/drivers/scsi/ |
H A D | a100u2w.h | 160 u8 link; /*1F Link pointer, default 0xFF */ member in struct:orc_scb
|
/drivers/staging/ozwpan/ |
H A D | ozhcd.c | 50 /* Get endpoint object from the containing link. 52 #define ep_from_link(__e) container_of((__e), struct oz_endpoint, link) 54 * Used to link urbs together and also store some status information for each 59 struct list_head link; member in struct:oz_urb_link 71 struct list_head link; /* For isoc ep, links in to isoc member in struct:oz_endpoint 246 * Allocates an urb link, first trying the pool but going to heap if empty. 255 urbl = container_of(g_link_pool, struct oz_urb_link, link); 256 g_link_pool = urbl->link.next; 265 * Frees an urb link by putting it in the pool if there is enough space or 275 urbl->link [all...] |
/drivers/staging/tidspbridge/rmgr/ |
H A D | proc.c | 79 struct list_head link; /* Link to next proc_object */ member in struct:proc_object 126 INIT_LIST_HEAD(&map_obj->link); 142 list_add(&map_obj->link, &pr_ctxt->dmm_map_list); 168 list_for_each_entry(map_obj, &pr_ctxt->dmm_map_list, link) { 177 list_del(&map_obj->link); 209 list_for_each_entry(map_obj, &pr_ctxt->dmm_map_list, link) { 1455 list_add(&rsv_obj->link, &pr_ctxt->dmm_rsv_list); 1685 list_for_each_entry(rsv_obj, &pr_ctxt->dmm_rsv_list, link) { 1687 list_del(&rsv_obj->link);
|
/drivers/usb/gadget/ |
H A D | fsl_udc_core.c | 2383 char *name, int link) 2403 if (link) 2564 /* setup the udc->eps[] for non-control endpoints and link 2382 struct_ep_setup(struct fsl_udc *udc, unsigned char index, char *name, int link) argument
|
/drivers/usb/host/ |
H A D | uhci-hcd.h | 131 * In the schedule, qh->link maintains a list of QHs seen by the HC: 134 * qh->node is the software equivalent of qh->link. The differences 149 __hc32 link; /* Next QH in the schedule */ member in struct:uhci_qh 255 * td->link points to either another TD (not necessarily for the same urb or 260 __hc32 link; member in struct:uhci_td
|
H A D | xhci-ring.c | 25 * 1. Each segment is initialized to zero, except for link TRBs. 33 * into a link TRB and expand the ring. 35 * link TRB, then load the pointer with the address in the link TRB. If the 36 * link TRB had its toggle bit set, you may need to update the ring cycle 38 * until you reach a non-link TRB. 44 * in a link TRB, it must toggle the ring cycle state. 46 * in a link TRB, it must toggle the ring cycle state. 93 /* Does this link TRB point to the first segment in a ring, 103 return le32_to_cpu(trb->link 121 struct xhci_link_trb *link = &ring->enqueue->link; local [all...] |
/drivers/usb/host/whci/ |
H A D | whci-hc.h | 134 __le64 link; /*< next qset in list */ member in struct:whc_qhead 233 * stopped to avoid races in updating the QH link pointers.
|
/drivers/ata/ |
H A D | sata_dwc_460ex.c | 474 tag = ap->link.active_tag; 812 static int sata_dwc_scr_read(struct ata_link *link, unsigned int scr, u32 *val) argument 815 dev_err(link->ap->dev, "%s: Incorrect SCR offset 0x%02x\n", 820 *val = in_le32((void *)link->ap->ioaddr.scr_addr + (scr * 4)); 821 dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=val=0x%08x\n", 822 __func__, link->ap->print_id, scr, *val); 827 static int sata_dwc_scr_write(struct ata_link *link, unsigned int scr, u32 val) argument 829 dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=val=0x%08x\n", 830 __func__, link->ap->print_id, scr, val); 832 dev_err(link [all...] |
H A D | sata_nv.c | 306 static int nv_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val); 307 static int nv_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val); 309 static int nv_hardreset(struct ata_link *link, unsigned int *class, 416 * bko11195 reports that link doesn't come online after hardreset on 431 * bko12176 reports that hardreset fails to bring up the link during 456 * - Hardreset during boot sometimes fails to bring up the link on 463 * hardreset might bring down the link) but using hardreset for 695 if (ap->link.device[sdev->id].class == ATA_DEV_ATAPI) { 740 sdev0 = ap->host->ports[0]->link.device[0].sdev; 741 sdev1 = ap->host->ports[1]->link 1547 nv_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val) argument 1556 nv_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val) argument 1565 nv_hardreset(struct ata_link *link, unsigned int *class, unsigned long deadline) argument [all...] |