/drivers/net/ethernet/freescale/ |
H A D | fec_mpc52xx.c | 63 /* MDIO link details */ 67 enum phy_state link; member in struct:mpc52xx_fec_priv 181 if (phydev->link != PHY_DOWN) { 209 if (priv->link == PHY_DOWN) { 211 priv->link = phydev->link; 214 } else if (priv->link) { 216 priv->link = PHY_DOWN; 648 * This function is called to start or restart the FEC during a link 941 /* Start with safe defaults for link connectio [all...] |
/drivers/net/ethernet/i825xx/ |
H A D | eexpress.h | 152 volatile unsigned short link; member in struct:rfd_header
|
/drivers/net/ethernet/intel/e1000e/ |
H A D | 80003es2lan.c | 621 bool link; local 654 e_dbg("Waiting for forced speed/duplex link on GG82563 phy.\n"); 657 100000, &link); 661 if (!link) { 663 * We didn't get link. 673 100000, &link); 684 * to the link speed. 10Mbps -> 2.5MHz, else 25MHz. 810 * Initialize the hw bits, LED, VFTA, MTA, link and hw counters. 840 /* Setup link and flow control */ 898 * important that we do this after we have tried to establish link [all...] |
H A D | mac.c | 413 * e1000e_check_for_copper_link - Check for link (Copper) 416 * Checks to see of the link status of the hardware has changed. If a 417 * change in link status has been detected, then we read the PHY registers 418 * to get the current speed/duplex if link exists. 424 bool link; local 428 * has completed and/or if our link status has changed. The 437 * link. If so, then we want to get the current speed/duplex 440 ret_val = e1000e_phy_has_link_generic(hw, 1, 0, &link); 444 if (!link) 445 return 0; /* No link detecte [all...] |
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mac.c | 526 * igb_check_for_copper_link - Check for link (Copper) 529 * Checks to see of the link status of the hardware has changed. If a 530 * change in link status has been detected, then we read the PHY registers 531 * to get the current speed/duplex if link exists. 537 bool link; local 541 * has completed and/or if our link status has changed. The 552 * link. If so, then we want to get the current speed/duplex 555 ret_val = igb_phy_has_link(hw, 1, 0, &link); 559 if (!link) 560 goto out; /* No link detecte [all...] |
/drivers/net/usb/ |
H A D | dm9601.c | 569 int link; local 588 link = !!(buf[0] & 0x40); 589 if (netif_carrier_ok(dev->net) != link) { 590 if (link) { 596 netdev_dbg(dev->net, "Link Status is: %d\n", link);
|
/drivers/net/wan/ |
H A D | sbni.c | 108 struct net_device *link; member in struct:net_local 400 /* store link settings (speed, receive level ) */ 432 nl->link = NULL; 455 p = nl->link; 642 if( (nl->state & FL_SLAVE) || nl->link ) 1227 while( nl->link ) /* it's master device! */ 1228 emancipate( nl->link ); 1402 snl->link = nl->link; 1403 nl->link [all...] |
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | dhd_common.c | 144 bool group = false, flush_txq = false, link = false; local 236 link = true; 330 event_name, link ? "UP" : "DOWN"); 843 link down */
|
/drivers/of/ |
H A D | base.c | 29 * @link: List node to link the structure in aliases_lookup list 39 struct list_head link; member in struct:alias_prop 1174 list_add_tail(&ap->link, &aliases_lookup); 1249 list_for_each_entry(app, &aliases_lookup, link) {
|
/drivers/pci/ |
H A D | pci.h | 246 u8 link; /* Function Dependency Link */ member in struct:pci_sriov
|
/drivers/ps3/ |
H A D | ps3-vuart.c | 39 * vuart - An inter-partition data link service. 43 * The vuart provides a bi-directional byte stream data link between logical 44 * partitions. Its primary role is as a communications link between the guest 474 struct list_head link; member in struct:list_buffer 541 list_add_tail(&lb->link, &priv->tx_list.head); 595 list_add_tail(&lb->link, &priv->rx_list.head); 644 list_for_each_entry_safe(lb, n, &priv->rx_list.head, link) { 665 list_del(&lb->link); 749 list_for_each_entry_safe(lb, n, &priv->tx_list.head, link) { 777 list_del(&lb->link); [all...] |
/drivers/s390/cio/ |
H A D | chp.c | 528 int chp_ssd_get_mask(struct chsc_ssd_info *ssd, struct chp_link *link) argument 537 if (!chp_id_is_equal(&ssd->chpid[i], &link->chpid)) 540 ((ssd->fla[i] & link->fla_mask) != link->fla))
|
/drivers/staging/comedi/drivers/ |
H A D | cb_das16_cs.c | 84 struct pcmcia_device *link; member in struct:das16cs_private 144 struct pcmcia_device *link) 149 if (das16cs_boards[i].device_id == link->card_id) 161 struct pcmcia_device *link; local 168 link = cur_dev; /* XXX hack */ 169 if (!link) 172 dev->iobase = link->resource[0]->start; 180 ret = request_irq(link->irq, das16cs_interrupt, 185 dev->irq = link->irq; 189 dev->board_ptr = das16cs_probe(dev, link); 143 das16cs_probe(struct comedi_device *dev, struct pcmcia_device *link) argument 663 struct pcmcia_device *link; member in struct:local_info_t 680 das16cs_pcmcia_attach(struct pcmcia_device *link) argument 700 das16cs_pcmcia_detach(struct pcmcia_device *link) argument 720 das16cs_pcmcia_config(struct pcmcia_device *link) argument 748 das16cs_pcmcia_release(struct pcmcia_device *link) argument 754 das16cs_pcmcia_suspend(struct pcmcia_device *link) argument 764 das16cs_pcmcia_resume(struct pcmcia_device *link) argument [all...] |
/drivers/staging/ft1000/ft1000-pcmcia/ |
H A D | ft1000_hw.c | 336 (*info->ft1000_reset) (info->link); 2099 struct net_device *init_ft1000_card(struct pcmcia_device *link, argument 2114 DEBUG(1, "ft1000_hw: irq = %d\n", link->irq); 2115 DEBUG(1, "ft1000_hw: port = 0x%04x\n", link->resource[0]->start); 2133 SET_NETDEV_DEV(dev, &link->dev); 2147 info->link = link; 2171 dev->irq = link->irq; 2172 dev->base_addr = link->resource[0]->start; 2173 if (pcmcia_get_mac_from_cis(link, de [all...] |
/drivers/staging/tidspbridge/include/dspbridge/ |
H A D | _chnl_sm.h | 165 struct list_head link; /* Link to next CHIRP in queue. */ member in struct:chnl_irp
|
/drivers/staging/tidspbridge/pmgr/ |
H A D | cmm.c | 127 struct list_head link; /* must be 1st element */ member in struct:cmm_mnode 212 list_add_tail(&pnode->link, &allocator->in_use_list); 303 link) { 304 list_del(&node->link); 343 list_for_each_entry_safe(curr, tmp, &allocator->in_use_list, link) { 345 list_del(&curr->link); 425 list_for_each_entry(curr, &altr->in_use_list, link) { 505 list_add_tail(&new_node->link, &psma->free_list); 581 list_for_each_entry_safe(curr, tmp, &psma->free_list, link) { 582 list_del(&curr->link); [all...] |
H A D | dev.c | 57 struct list_head link; /* Link to next dev_object. */ member in struct:dev_object 80 struct list_head link; member in struct:drv_ext
|
/drivers/staging/tidspbridge/rmgr/ |
H A D | drv.c | 49 struct list_head link; member in struct:drv_ext 146 list_for_each_entry_safe(map_obj, temp_map, &ctxt->dmm_map_list, link) { 155 list_for_each_entry_safe(rsv_obj, temp_rsv, &ctxt->dmm_rsv_list, link) { 562 list_add_tail(&pszdev_node->link, 597 list_del(&pszdev_node->link);
|
/drivers/staging/wlan-ng/ |
H A D | p80211metastruct.h | 210 p80211item_uint32_t link; member in struct:p80211msg_lnxreq_commsquality
|
/drivers/staging/zsmalloc/ |
H A D | zsmalloc-main.c | 172 * We have to decide on how many pages to link together 180 * link together 3 PAGE_SIZE sized pages to form a zspage 314 struct link_free *link; local 326 link = (struct link_free *)kmap_atomic(page) + 327 off / sizeof(*link); 333 link->next = obj_location_to_handle(page, i); 334 link += class->size / sizeof(*link); 344 link->next = obj_location_to_handle(next_page, 0); 345 kunmap_atomic(link); 582 struct link_free *link; local 631 struct link_free *link; local [all...] |
/drivers/usb/gadget/ |
H A D | u_ether.c | 2 * u_ether.c -- Ethernet-over-USB link layer utilities for Gadget stack 27 * This component encapsulates the Ethernet link glue needed to provide 28 * one (!) network link through the USB gadget stack, normally "usb0". 36 * parameters; if no such parameters are provided, random link level 37 * addresses are used. Each end of the link uses one address. The 41 * The driver which assembles each configuration using such a link is 43 * instance of is network link. (The network layer provides ways for 44 * this single "physical" link to be used by multiple virtual links.) 152 /* don't change MTU on "live" link (peer won't know) */ 401 static int alloc_requests(struct eth_dev *dev, struct gether *link, unsigne argument 640 struct gether *link; local 671 struct gether *link = dev->port_usb; local 878 gether_connect(struct gether *link) argument 954 gether_disconnect(struct gether *link) argument [all...] |
/drivers/ata/ |
H A D | pata_hpt37x.c | 386 * @link: ATA link to reset 392 static int hpt37x_pre_reset(struct ata_link *link, unsigned long deadline) argument 394 struct ata_port *ap = link->ap; 408 return ata_sff_prereset(link, deadline);
|
H A D | pata_legacy.c | 205 * @link: IDE link 216 static int legacy_set_mode(struct ata_link *link, struct ata_device **unused) argument 220 ata_for_each_dev(dev, link, ENABLED) { 310 struct ata_port *ap = dev->link->ap; 708 struct ata_port *ap = adev->link->ap; 1008 ata_for_each_dev(dev, &ap->link, ALL) {
|
H A D | sata_qstor.c | 115 static int qs_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val); 116 static int qs_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val); 125 static int qs_prereset(struct ata_link *link, unsigned long deadline); 223 static int qs_prereset(struct ata_link *link, unsigned long deadline) argument 225 struct ata_port *ap = link->ap; 228 return ata_sff_prereset(link, deadline); 231 static int qs_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val) argument 235 *val = readl(link->ap->ioaddr.scr_addr + (sc_reg * 8)); 245 static int qs_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val) argument 249 writel(val, link [all...] |
H A D | sata_sil.c | 120 static int sil_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val); 121 static int sil_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val); 122 static int sil_set_mode(struct ata_link *link, struct ata_device **r_failed); 353 * @link: link to set up 360 static int sil_set_mode(struct ata_link *link, struct ata_device **r_failed) argument 362 struct ata_port *ap = link->ap; 369 rc = ata_do_set_mode(link, r_failed); 373 ata_for_each_dev(dev, link, ALL) { 412 static int sil_scr_read(struct ata_link *link, unsigne argument 423 sil_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val) argument [all...] |