/linux-4.1.27/drivers/phy/ |
D | phy-stih407-usb.c | 46 static int stih407_usb2_pico_ctrl(struct stih407_usb2_picophy *phy_dev) in stih407_usb2_pico_ctrl() argument 48 reset_control_deassert(phy_dev->rstc); in stih407_usb2_pico_ctrl() 50 return regmap_update_bits(phy_dev->regmap, phy_dev->ctrl, in stih407_usb2_pico_ctrl() 58 struct stih407_usb2_picophy *phy_dev = phy_get_drvdata(phy); in stih407_usb2_init_port() local 60 stih407_usb2_pico_ctrl(phy_dev); in stih407_usb2_init_port() 62 ret = regmap_update_bits(phy_dev->regmap, in stih407_usb2_init_port() 63 phy_dev->param, in stih407_usb2_init_port() 69 return reset_control_deassert(phy_dev->rstport); in stih407_usb2_init_port() 74 struct stih407_usb2_picophy *phy_dev = phy_get_drvdata(phy); in stih407_usb2_exit_port() local 83 return reset_control_assert(phy_dev->rstport); in stih407_usb2_exit_port() [all …]
|
D | phy-stih41x-usb.c | 73 struct stih41x_usb_phy *phy_dev = phy_get_drvdata(phy); in stih41x_usb_phy_init() local 75 return regmap_update_bits(phy_dev->regmap, phy_dev->cfg->syscfg, in stih41x_usb_phy_init() 76 phy_dev->cfg->cfg_mask, phy_dev->cfg->cfg); in stih41x_usb_phy_init() 81 struct stih41x_usb_phy *phy_dev = phy_get_drvdata(phy); in stih41x_usb_phy_power_on() local 84 ret = clk_prepare_enable(phy_dev->clk); in stih41x_usb_phy_power_on() 86 dev_err(phy_dev->dev, "Failed to enable osc_phy clock\n"); in stih41x_usb_phy_power_on() 90 ret = regmap_update_bits(phy_dev->regmap, phy_dev->cfg->syscfg, in stih41x_usb_phy_power_on() 91 phy_dev->cfg->oscok, phy_dev->cfg->oscok); in stih41x_usb_phy_power_on() 93 clk_disable_unprepare(phy_dev->clk); in stih41x_usb_phy_power_on() 100 struct stih41x_usb_phy *phy_dev = phy_get_drvdata(phy); in stih41x_usb_phy_power_off() local [all …]
|
/linux-4.1.27/drivers/net/ipvlan/ |
D | ipvlan_main.c | 110 const struct net_device *phy_dev = ipvlan->phy_dev; in ipvlan_init() local 113 (phy_dev->state & IPVLAN_STATE_MASK); in ipvlan_init() 114 dev->features = phy_dev->features & IPVLAN_FEATURES; in ipvlan_init() 116 dev->gso_max_size = phy_dev->gso_max_size; in ipvlan_init() 117 dev->hard_header_len = phy_dev->hard_header_len; in ipvlan_init() 143 struct net_device *phy_dev = ipvlan->phy_dev; in ipvlan_open() local 155 return dev_uc_add(phy_dev, phy_dev->dev_addr); in ipvlan_open() 161 struct net_device *phy_dev = ipvlan->phy_dev; in ipvlan_stop() local 164 dev_uc_unsync(phy_dev, dev); in ipvlan_stop() 165 dev_mc_unsync(phy_dev, dev); in ipvlan_stop() [all …]
|
D | ipvlan_core.c | 220 if (ether_addr_equal(eth->h_dest, ipvlan->phy_dev->broadcast)) in ipvlan_multicast_frame() 465 skb->dev = ipvlan->phy_dev; in ipvlan_xmit_mode_l3() 493 return dev_forward_skb(ipvlan->phy_dev, skb); in ipvlan_xmit_mode_l2() 503 skb->dev = ipvlan->phy_dev; in ipvlan_xmit_mode_l2() 510 struct ipvl_port *port = ipvlan_port_get_rcu(ipvlan->phy_dev); in ipvlan_queue_xmit()
|
D | ipvlan.h | 66 struct net_device *phy_dev; member
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | gdm_lte.c | 479 ret = nic->phy_dev->send_sdu_func(nic->phy_dev->priv_dev, in gdm_lte_tx() 527 nic->phy_dev->get_endian( in gdm_lte_event_send() 528 nic->phy_dev->priv_dev), hci->len) in gdm_lte_event_send() 537 nic->phy_dev->send_hci_func(nic->phy_dev->priv_dev, msg, len, NULL, in gdm_lte_event_rcv() 686 static void gdm_lte_multi_sdu_pkt(struct phy_dev *phy_dev, char *buf, int len) in gdm_lte_multi_sdu_pkt() argument 699 hci_len = gdm_dev16_to_cpu(phy_dev->get_endian(phy_dev->priv_dev), in gdm_lte_multi_sdu_pkt() 701 num_packet = gdm_dev16_to_cpu(phy_dev->get_endian(phy_dev->priv_dev), in gdm_lte_multi_sdu_pkt() 707 cmd_evt = gdm_dev16_to_cpu(phy_dev-> in gdm_lte_multi_sdu_pkt() 708 get_endian(phy_dev->priv_dev), sdu->cmd_evt); in gdm_lte_multi_sdu_pkt() 709 hci_len = gdm_dev16_to_cpu(phy_dev-> in gdm_lte_multi_sdu_pkt() [all …]
|
D | gdm_lte.h | 46 struct phy_dev { struct 64 struct phy_dev *phy_dev; argument 76 void start_rx_proc(struct phy_dev *phy_dev); 77 int register_lte_device(struct phy_dev *phy_dev, struct device *dev, 79 void unregister_lte_device(struct phy_dev *phy_dev);
|
D | gdm_usb.c | 370 struct phy_dev *phy_dev = (struct phy_dev *)arg; in set_mac_address() local 371 struct lte_udev *udev = phy_dev->priv_dev; in set_mac_address() 378 if (register_lte_device(phy_dev, in set_mac_address() 397 struct phy_dev *phy_dev; in do_rx() local 413 phy_dev = (struct phy_dev *)r->cb_data; in do_rx() 414 udev = (struct lte_udev *)phy_dev->priv_dev; in do_rx() 816 struct phy_dev *phy_dev = NULL; in gdm_usb_probe() local 833 phy_dev = kzalloc(sizeof(struct phy_dev), GFP_KERNEL); in gdm_usb_probe() 834 if (!phy_dev) in gdm_usb_probe() 843 phy_dev->priv_dev = (void *)udev; in gdm_usb_probe() [all …]
|
/linux-4.1.27/drivers/staging/gdm72xx/ |
D | gdm_wimax.h | 26 struct phy_dev { struct 38 struct phy_dev *phy_dev; argument 45 int register_wimax_device(struct phy_dev *phy_dev, struct device *pdev); 47 void unregister_wimax_device(struct phy_dev *phy_dev);
|
D | gdm_usb.c | 529 struct phy_dev *phy_dev = NULL; in gdm_usb_probe() local 560 phy_dev = kzalloc(sizeof(*phy_dev), GFP_KERNEL); in gdm_usb_probe() 561 if (phy_dev == NULL) { in gdm_usb_probe() 576 phy_dev->priv_dev = (void *)udev; in gdm_usb_probe() 577 phy_dev->send_func = gdm_usb_send; in gdm_usb_probe() 578 phy_dev->rcv_func = gdm_usb_receive; in gdm_usb_probe() 597 ret = register_wimax_device(phy_dev, &intf->dev); in gdm_usb_probe() 603 kfree(phy_dev); in gdm_usb_probe() 607 usb_set_intfdata(intf, phy_dev); in gdm_usb_probe() 615 struct phy_dev *phy_dev; in gdm_usb_disconnect() local [all …]
|
D | gdm_sdio.c | 474 struct phy_dev *phy_dev = sdio_get_drvdata(func); in gdm_sdio_irq() local 475 struct sdiowm_dev *sdev = phy_dev->priv_dev; in gdm_sdio_irq() 569 if (!phy_dev->netdev) in gdm_sdio_irq() 570 register_wimax_device(phy_dev, &func->dev); in gdm_sdio_irq() 602 struct phy_dev *phy_dev = NULL; in sdio_wimax_probe() local 617 phy_dev = kzalloc(sizeof(*phy_dev), GFP_KERNEL); in sdio_wimax_probe() 618 if (phy_dev == NULL) { in sdio_wimax_probe() 628 phy_dev->priv_dev = (void *)sdev; in sdio_wimax_probe() 629 phy_dev->send_func = gdm_sdio_send; in sdio_wimax_probe() 630 phy_dev->rcv_func = gdm_sdio_receive; in sdio_wimax_probe() [all …]
|
D | gdm_wimax.c | 29 (n->phy_dev->send_func)(n->phy_dev->priv_dev, d, l, NULL, NULL) 31 (n->phy_dev->send_func)(n->phy_dev->priv_dev, d, l, c, b) 33 (n->phy_dev->rcv_func)(n->phy_dev->priv_dev, c, b) 743 int register_wimax_device(struct phy_dev *phy_dev, struct device *pdev) in register_wimax_device() argument 765 nic->phy_dev = phy_dev; in register_wimax_device() 766 phy_dev->netdev = dev; in register_wimax_device() 798 void unregister_wimax_device(struct phy_dev *phy_dev) in unregister_wimax_device() argument 800 struct nic *nic = netdev_priv(phy_dev->netdev); in unregister_wimax_device() 813 gdm_wimax_cleanup_ioctl(phy_dev->netdev); in unregister_wimax_device()
|
/linux-4.1.27/drivers/net/ethernet/8390/ |
D | ax88796.c | 87 struct phy_device *phy_dev; member 323 struct phy_device *phy_dev = ax->phy_dev; in ax_handle_link_change() local 326 if (phy_dev->link && ((ax->speed != phy_dev->speed) || in ax_handle_link_change() 327 (ax->duplex != phy_dev->duplex))) { in ax_handle_link_change() 329 ax->speed = phy_dev->speed; in ax_handle_link_change() 330 ax->duplex = phy_dev->duplex; in ax_handle_link_change() 334 if (phy_dev->link != ax->link) { in ax_handle_link_change() 335 if (!phy_dev->link) { in ax_handle_link_change() 339 ax->link = phy_dev->link; in ax_handle_link_change() 345 phy_print_status(phy_dev); in ax_handle_link_change() [all …]
|
/linux-4.1.27/drivers/net/ethernet/arc/ |
D | emac_main.c | 51 struct phy_device *phy_dev = priv->phy_dev; in arc_emac_adjust_link() local 54 if (priv->link != phy_dev->link) { in arc_emac_adjust_link() 55 priv->link = phy_dev->link; in arc_emac_adjust_link() 59 if (priv->speed != phy_dev->speed) { in arc_emac_adjust_link() 60 priv->speed = phy_dev->speed; in arc_emac_adjust_link() 66 if (priv->duplex != phy_dev->duplex) { in arc_emac_adjust_link() 69 if (DUPLEX_FULL == phy_dev->duplex) in arc_emac_adjust_link() 75 priv->duplex = phy_dev->duplex; in arc_emac_adjust_link() 80 phy_print_status(phy_dev); in arc_emac_adjust_link() 98 return phy_ethtool_gset(priv->phy_dev, cmd); in arc_emac_get_settings() [all …]
|
D | emac.h | 132 struct phy_device *phy_dev; member
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | sb1250-mac.c | 239 struct phy_device *phy_dev; /* the associated PHY device */ member 2354 phy_start(sc->phy_dev); in sbmac_open() 2369 struct phy_device *phy_dev; in sbmac_mii_probe() local 2373 phy_dev = sc->mii_bus->phy_map[i]; in sbmac_mii_probe() 2374 if (phy_dev) in sbmac_mii_probe() 2377 if (!phy_dev) { in sbmac_mii_probe() 2382 phy_dev = phy_connect(dev, dev_name(&phy_dev->dev), &sbmac_mii_poll, in sbmac_mii_probe() 2384 if (IS_ERR(phy_dev)) { in sbmac_mii_probe() 2386 return PTR_ERR(phy_dev); in sbmac_mii_probe() 2390 phy_dev->supported &= SUPPORTED_10baseT_Half | in sbmac_mii_probe() [all …]
|
D | bgmac.c | 1300 phy_start(bgmac->phy_dev); in bgmac_open() 1312 phy_stop(bgmac->phy_dev); in bgmac_stop() 1355 return phy_mii_ioctl(bgmac->phy_dev, ifr, cmd); in bgmac_ioctl() 1377 return phy_ethtool_gset(bgmac->phy_dev, cmd); in bgmac_get_settings() 1385 return phy_ethtool_sset(bgmac->phy_dev, cmd); in bgmac_set_settings() 1419 struct phy_device *phy_dev = bgmac->phy_dev; in bgmac_adjust_link() local 1422 if (phy_dev->link) { in bgmac_adjust_link() 1423 if (phy_dev->speed != bgmac->mac_speed) { in bgmac_adjust_link() 1424 bgmac->mac_speed = phy_dev->speed; in bgmac_adjust_link() 1428 if (phy_dev->duplex != bgmac->mac_duplex) { in bgmac_adjust_link() [all …]
|
D | bgmac.h | 443 struct phy_device *phy_dev; member
|
/linux-4.1.27/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 115 struct phy_device *phy_dev; member 810 struct phy_device *phy_dev = pdata->phy_dev; in smsc911x_phy_reset() local 814 BUG_ON(!phy_dev); in smsc911x_phy_reset() 815 BUG_ON(!phy_dev->bus); in smsc911x_phy_reset() 818 smsc911x_mii_write(phy_dev->bus, phy_dev->addr, MII_BMCR, BMCR_RESET); in smsc911x_phy_reset() 821 temp = smsc911x_mii_read(phy_dev->bus, phy_dev->addr, in smsc911x_phy_reset() 840 struct phy_device *phy_dev = pdata->phy_dev; in smsc911x_phy_loopbacktest() local 870 smsc911x_mii_write(phy_dev->bus, phy_dev->addr, MII_BMCR, in smsc911x_phy_loopbacktest() 899 smsc911x_mii_write(phy_dev->bus, phy_dev->addr, MII_BMCR, 0); in smsc911x_phy_loopbacktest() 910 struct phy_device *phy_dev = pdata->phy_dev; in smsc911x_phy_update_flowcontrol() local [all …]
|
D | smsc9420.c | 79 struct phy_device *phy_dev; member 232 if (!netif_running(dev) || !pd->phy_dev) in smsc9420_do_ioctl() 235 return phy_mii_ioctl(pd->phy_dev, ifr, cmd); in smsc9420_do_ioctl() 243 if (!pd->phy_dev) in smsc9420_ethtool_get_settings() 248 return phy_ethtool_gset(pd->phy_dev, cmd); in smsc9420_ethtool_get_settings() 256 if (!pd->phy_dev) in smsc9420_ethtool_set_settings() 259 return phy_ethtool_sset(pd->phy_dev, cmd); in smsc9420_ethtool_set_settings() 289 if (!pd->phy_dev) in smsc9420_ethtool_nway_reset() 292 return phy_start_aneg(pd->phy_dev); in smsc9420_ethtool_nway_reset() 306 struct phy_device *phy_dev = pd->phy_dev; in smsc9420_ethtool_getregs() local [all …]
|
/linux-4.1.27/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 134 struct phy_device *phy_dev; member 880 struct phy_device *phy = lp->phy_dev; in xemaclite_adjust_link() 911 lp->phy_dev = of_phy_connect(lp->ndev, lp->phy_node, in xemaclite_open() 914 if (!lp->phy_dev) { in xemaclite_open() 920 lp->phy_dev->supported &= (PHY_BASIC_FEATURES); in xemaclite_open() 921 lp->phy_dev->advertising = lp->phy_dev->supported; in xemaclite_open() 924 phy_write(lp->phy_dev, MII_CTRL1000, 0); in xemaclite_open() 927 phy_write(lp->phy_dev, MII_ADVERTISE, ADVERTISE_ALL | in xemaclite_open() 931 bmcr = phy_read(lp->phy_dev, MII_BMCR); in xemaclite_open() 933 phy_write(lp->phy_dev, MII_BMCR, bmcr); in xemaclite_open() [all …]
|
D | ll_temac_main.c | 593 struct phy_device *phy = lp->phy_dev; in temac_adjust_link() 853 lp->phy_dev = of_phy_connect(lp->ndev, lp->phy_node, in temac_open() 855 if (!lp->phy_dev) { in temac_open() 860 phy_start(lp->phy_dev); in temac_open() 877 if (lp->phy_dev) in temac_open() 878 phy_disconnect(lp->phy_dev); in temac_open() 879 lp->phy_dev = NULL; in temac_open() 893 if (lp->phy_dev) in temac_stop() 894 phy_disconnect(lp->phy_dev); in temac_stop() 895 lp->phy_dev = NULL; in temac_stop() [all …]
|
D | xilinx_axienet_main.c | 524 struct phy_device *phy = lp->phy_dev; in axienet_adjust_link() 928 lp->phy_dev = of_phy_connect(lp->ndev, lp->phy_node, in axienet_open() 931 if (!lp->phy_dev) { in axienet_open() 935 phy_start(lp->phy_dev); in axienet_open() 956 if (lp->phy_dev) in axienet_open() 957 phy_disconnect(lp->phy_dev); in axienet_open() 958 lp->phy_dev = NULL; in axienet_open() 995 if (lp->phy_dev) in axienet_stop() 996 phy_disconnect(lp->phy_dev); in axienet_stop() 997 lp->phy_dev = NULL; in axienet_stop() [all …]
|
D | ll_temac.h | 335 struct phy_device *phy_dev; /* Pointer to PHY device */ member
|
D | xilinx_axienet.h | 418 struct phy_device *phy_dev; /* Pointer to PHY device */ member
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | fec_main.c | 1002 if (fep->phy_dev) { in fec_restart() 1003 if (fep->phy_dev->speed == SPEED_1000) in fec_restart() 1005 else if (fep->phy_dev->speed == SPEED_100) in fec_restart() 1026 if (fep->phy_dev && fep->phy_dev->speed == SPEED_10) in fec_restart() 1040 fep->phy_dev && fep->phy_dev->pause)) { in fec_restart() 1707 struct phy_device *phy_dev = fep->phy_dev; in fec_enet_adjust_link() local 1711 if (fep->mii_timeout && phy_dev->state == PHY_HALTED) { in fec_enet_adjust_link() 1712 phy_dev->state = PHY_RESUMING; in fec_enet_adjust_link() 1723 } else if (phy_dev->link) { in fec_enet_adjust_link() 1725 fep->link = phy_dev->link; in fec_enet_adjust_link() [all …]
|
D | fec.h | 506 struct phy_device *phy_dev; member
|
/linux-4.1.27/drivers/net/ethernet/allwinner/ |
D | sun4i-emac.c | 79 struct phy_device *phy_dev; member 117 struct phy_device *phydev = db->phy_dev; in emac_handle_link_change() 160 db->phy_dev = of_phy_connect(db->ndev, db->phy_node, in emac_mdio_probe() 163 if (!db->phy_dev) { in emac_mdio_probe() 169 db->phy_dev->supported &= PHY_BASIC_FEATURES; in emac_mdio_probe() 170 db->phy_dev->advertising = db->phy_dev->supported; in emac_mdio_probe() 183 phy_disconnect(db->phy_dev); in emac_mdio_remove() 184 db->phy_dev = NULL; in emac_mdio_remove() 211 struct phy_device *phydev = dm->phy_dev; in emac_ioctl() 234 struct phy_device *phydev = dm->phy_dev; in emac_get_settings() [all …]
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | au1000_eth.c | 418 struct phy_device *phydev = aup->phy_dev; in au1000_adjust_link() 424 BUG_ON(!aup->phy_dev); in au1000_adjust_link() 584 aup->phy_dev = phydev; in au1000_mii_probe() 689 if (aup->phy_dev) in au1000_get_settings() 690 return phy_ethtool_gset(aup->phy_dev, cmd); in au1000_get_settings() 702 if (aup->phy_dev) in au1000_set_settings() 703 return phy_ethtool_sset(aup->phy_dev, cmd); in au1000_set_settings() 786 if (aup->phy_dev) { in au1000_init() 787 if (aup->phy_dev->link && (DUPLEX_FULL == aup->phy_dev->duplex)) in au1000_init() 903 if (!aup->phy_dev || (DUPLEX_FULL == aup->phy_dev->duplex)) { in au1000_update_tx_stats() [all …]
|
D | au1000_eth.h | 109 struct phy_device *phy_dev; member
|
/linux-4.1.27/drivers/net/ethernet/ |
D | dnet.c | 176 struct phy_device *phydev = bp->phy_dev; in dnet_handle_link_change() 304 bp->phy_dev = phydev; in dnet_mii_probe() 648 if (!bp->phy_dev) in dnet_open() 654 phy_start_aneg(bp->phy_dev); in dnet_open() 657 phy_start(bp->phy_dev); in dnet_open() 671 if (bp->phy_dev) in dnet_close() 672 phy_stop(bp->phy_dev); in dnet_close() 753 struct phy_device *phydev = bp->phy_dev; in dnet_get_settings() 764 struct phy_device *phydev = bp->phy_dev; in dnet_set_settings() 775 struct phy_device *phydev = bp->phy_dev; in dnet_ioctl() [all …]
|
D | dnet.h | 219 struct phy_device *phy_dev; member
|
/linux-4.1.27/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_hw.c | 643 struct phy_device *phydev = pdata->phy_dev; in xgene_enet_adjust_link() 665 struct phy_device *phy_dev; in xgene_enet_phy_connect() local 674 pdata->phy_dev = of_phy_find_device(phy_np); in xgene_enet_phy_connect() 677 phy_dev = pdata->phy_dev; in xgene_enet_phy_connect() 679 if (!phy_dev || in xgene_enet_phy_connect() 680 phy_connect_direct(ndev, phy_dev, &xgene_enet_adjust_link, in xgene_enet_phy_connect() 687 phy_dev->supported &= ~SUPPORTED_10baseT_Half & in xgene_enet_phy_connect() 690 phy_dev->advertising = phy_dev->supported; in xgene_enet_phy_connect() 745 pdata->phy_dev = phy; in xgene_mdiobus_register()
|
D | xgene_enet_ethtool.c | 60 struct phy_device *phydev = pdata->phy_dev; in xgene_get_settings() 92 struct phy_device *phydev = pdata->phy_dev; in xgene_set_settings()
|
D | xgene_enet_main.h | 112 struct phy_device *phy_dev; member
|
D | xgene_enet_main.c | 509 phy_start(pdata->phy_dev); in xgene_enet_open() 526 phy_stop(pdata->phy_dev); in xgene_enet_close()
|
/linux-4.1.27/drivers/net/phy/ |
D | amd-xgbe-phy.c | 1580 struct device *dev, *phy_dev; in amd_xgbe_phy_probe() local 1634 phy_dev = &phy_pdev->dev; in amd_xgbe_phy_probe() 1673 ret = device_property_read_u32(phy_dev, XGBE_PHY_SPEEDSET_PROPERTY, in amd_xgbe_phy_probe() 1692 if (device_property_present(phy_dev, XGBE_PHY_BLWC_PROPERTY)) { in amd_xgbe_phy_probe() 1693 ret = device_property_read_u32_array(phy_dev, in amd_xgbe_phy_probe() 1707 if (device_property_present(phy_dev, XGBE_PHY_CDR_RATE_PROPERTY)) { in amd_xgbe_phy_probe() 1708 ret = device_property_read_u32_array(phy_dev, in amd_xgbe_phy_probe() 1722 if (device_property_present(phy_dev, XGBE_PHY_PQ_SKEW_PROPERTY)) { in amd_xgbe_phy_probe() 1723 ret = device_property_read_u32_array(phy_dev, in amd_xgbe_phy_probe() 1737 if (device_property_present(phy_dev, XGBE_PHY_TX_AMP_PROPERTY)) { in amd_xgbe_phy_probe() [all …]
|
/linux-4.1.27/drivers/net/ethernet/toshiba/ |
D | tc35815.c | 408 struct phy_device *phy_dev; member 542 struct phy_device *phydev = lp->phy_dev; in tc_handle_link_change() 663 lp->phy_dev = phydev; in tc_mii_probe() 883 phy_disconnect(lp->phy_dev); in tc35815_remove_one() 1174 if (lp->phy_dev) { in tc35815_restart() 1175 ret = phy_init_hw(lp->phy_dev); in tc35815_restart() 1267 phy_start(lp->phy_dev); in tc35815_open() 1850 if (lp->phy_dev) in tc35815_close() 1851 phy_stop(lp->phy_dev); in tc35815_close() 1981 if (!lp->phy_dev) in tc35815_get_settings() [all …]
|
/linux-4.1.27/drivers/net/ethernet/nxp/ |
D | lpc_eth.c | 428 struct phy_device *phy_dev; member 754 struct phy_device *phydev = pldat->phy_dev; in lpc_handle_link_change() 818 pldat->phy_dev = phydev; in lpc_mii_probe() 1065 if (pldat->phy_dev) in lpc_eth_close() 1066 phy_stop(pldat->phy_dev); in lpc_eth_close() 1203 struct phy_device *phydev = pldat->phy_dev; in lpc_eth_ioctl() 1224 phy_resume(pldat->phy_dev); in lpc_eth_open() 1231 phy_start(pldat->phy_dev); in lpc_eth_open() 1268 struct phy_device *phydev = pldat->phy_dev; in lpc_eth_ethtool_getsettings() 1280 struct phy_device *phydev = pldat->phy_dev; in lpc_eth_ethtool_setsettings() [all …]
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | mvneta.c | 307 struct phy_device *phy_dev; member 2125 mvneta_fixed_link_update(pp, pp->phy_dev); in mvneta_poll() 2446 phy_start(pp->phy_dev); in mvneta_start_dev() 2452 phy_stop(pp->phy_dev); in mvneta_stop_dev() 2602 struct phy_device *phydev = pp->phy_dev; in mvneta_adjust_link() 2668 struct phy_device *phy_dev; in mvneta_mdio_probe() local 2670 phy_dev = of_phy_connect(pp->dev, pp->phy_node, mvneta_adjust_link, 0, in mvneta_mdio_probe() 2672 if (!phy_dev) { in mvneta_mdio_probe() 2677 phy_dev->supported &= PHY_GBIT_FEATURES; in mvneta_mdio_probe() 2678 phy_dev->advertising = phy_dev->supported; in mvneta_mdio_probe() [all …]
|
D | mvpp2.c | 689 struct phy_device *phy_dev; member 4833 struct phy_device *phydev = port->phy_dev; in mvpp2_link_event() 5366 phy_start(port->phy_dev); in mvpp2_start_dev() 5388 phy_stop(port->phy_dev); in mvpp2_stop_dev() 5465 struct phy_device *phy_dev; in mvpp2_phy_connect() local 5467 phy_dev = of_phy_connect(port->dev, port->phy_node, mvpp2_link_event, 0, in mvpp2_phy_connect() 5469 if (!phy_dev) { in mvpp2_phy_connect() 5473 phy_dev->supported &= PHY_GBIT_FEATURES; in mvpp2_phy_connect() 5474 phy_dev->advertising = phy_dev->supported; in mvpp2_phy_connect() 5476 port->phy_dev = phy_dev; in mvpp2_phy_connect() [all …]
|
/linux-4.1.27/drivers/net/ethernet/cadence/ |
D | macb.c | 251 struct phy_device *phydev = bp->phy_dev; in macb_handle_link_change() 361 bp->phy_dev = phydev; in macb_mii_probe() 1821 if (!bp->phy_dev) in macb_open() 1840 phy_start(bp->phy_dev); in macb_open() 1855 if (bp->phy_dev) in macb_close() 1856 phy_stop(bp->phy_dev); in macb_close() 2010 struct phy_device *phydev = bp->phy_dev; in macb_get_settings() 2021 struct phy_device *phydev = bp->phy_dev; in macb_set_settings() 2091 struct phy_device *phydev = bp->phy_dev; in macb_ioctl() 2445 phy_start(lp->phy_dev); in at91ether_open() [all …]
|
D | macb.h | 813 struct phy_device *phy_dev; member
|