/drivers/staging/gdm72xx/ |
H A D | gdm_wimax.h | 26 struct phy_dev { struct 38 struct phy_dev *phy_dev; member in struct:nic 45 int register_wimax_device(struct phy_dev *phy_dev, struct device *pdev); 47 void unregister_wimax_device(struct phy_dev *phy_dev);
|
H A D | gdm_sdio.c | 476 struct phy_dev *phy_dev = sdio_get_drvdata(func); local 477 struct sdiowm_dev *sdev = phy_dev->priv_dev; 571 if (!phy_dev->netdev) 572 register_wimax_device(phy_dev, &func->dev); 604 struct phy_dev *phy_dev = NULL; local 619 phy_dev = kzalloc(sizeof(*phy_dev), GFP_KERNEL); 620 if (phy_dev 657 struct phy_dev *phy_dev = sdio_get_drvdata(func); local [all...] |
H A D | gdm_usb.c | 529 struct phy_dev *phy_dev = NULL; local 560 phy_dev = kzalloc(sizeof(*phy_dev), GFP_KERNEL); 561 if (phy_dev == NULL) { 576 phy_dev->priv_dev = (void *)udev; 577 phy_dev->send_func = gdm_usb_send; 578 phy_dev->rcv_func = gdm_usb_receive; 597 ret = register_wimax_device(phy_dev, &intf->dev); 603 kfree(phy_dev); 615 struct phy_dev *phy_dev; local 644 struct phy_dev *phy_dev; local 669 struct phy_dev *phy_dev; local [all...] |
H A 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) 745 int register_wimax_device(struct phy_dev *phy_dev, struct device *pdev) argument 767 nic->phy_dev = phy_dev; 800 unregister_wimax_device(struct phy_dev *phy_dev) argument [all...] |
/drivers/phy/ |
H A D | phy-stih407-usb.c | 43 static int stih407_usb2_pico_ctrl(struct stih407_usb2_picophy *phy_dev) argument 45 reset_control_deassert(phy_dev->rstc); 47 return regmap_update_bits(phy_dev->regmap, phy_dev->ctrl, 55 struct stih407_usb2_picophy *phy_dev = phy_get_drvdata(phy); local 57 stih407_usb2_pico_ctrl(phy_dev); 59 ret = regmap_update_bits(phy_dev->regmap, 60 phy_dev->param, 66 return reset_control_deassert(phy_dev->rstport); 71 struct stih407_usb2_picophy *phy_dev local 91 struct stih407_usb2_picophy *phy_dev; local [all...] |
H A D | phy-stih41x-usb.c | 73 struct stih41x_usb_phy *phy_dev = phy_get_drvdata(phy); local 75 return regmap_update_bits(phy_dev->regmap, phy_dev->cfg->syscfg, 76 phy_dev->cfg->cfg_mask, phy_dev->cfg->cfg); 81 struct stih41x_usb_phy *phy_dev = phy_get_drvdata(phy); local 84 ret = clk_prepare_enable(phy_dev->clk); 86 dev_err(phy_dev->dev, "Failed to enable osc_phy clock\n"); 90 return regmap_update_bits(phy_dev->regmap, phy_dev 96 struct stih41x_usb_phy *phy_dev = phy_get_drvdata(phy); local 124 struct stih41x_usb_phy *phy_dev; local [all...] |
/drivers/staging/gdm724x/ |
H A D | gdm_lte.h | 46 struct phy_dev { struct 64 struct phy_dev *phy_dev; member in struct:nic 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);
|
H A D | gdm_lte.c | 478 ret = nic->phy_dev->send_sdu_func(nic->phy_dev->priv_dev, 526 nic->phy_dev->get_endian( 527 nic->phy_dev->priv_dev), hci->len) 536 nic->phy_dev->send_hci_func(nic->phy_dev->priv_dev, msg, len, NULL, 685 static void gdm_lte_multi_sdu_pkt(struct phy_dev *phy_dev, char *buf, int len) argument 698 hci_len = gdm_dev16_to_cpu(phy_dev->get_endian(phy_dev 759 gdm_lte_receive_pkt(struct phy_dev *phy_dev, char *buf, int len) argument 816 struct phy_dev *phy_dev = (struct phy_dev *)arg; local 821 start_rx_proc(struct phy_dev *phy_dev) argument 873 register_lte_device(struct phy_dev *phy_dev, struct device *dev, u8 *mac_address) argument 933 unregister_lte_device(struct phy_dev *phy_dev) argument [all...] |
H A D | gdm_usb.c | 370 struct phy_dev *phy_dev = (struct phy_dev *)arg; local 371 struct lte_udev *udev = phy_dev->priv_dev; 378 if (register_lte_device(phy_dev, 397 struct phy_dev *phy_dev; local 413 phy_dev = (struct phy_dev *)r->cb_data; 414 udev = (struct lte_udev *)phy_dev 815 struct phy_dev *phy_dev = NULL; local 892 struct phy_dev *phy_dev; local 920 struct phy_dev *phy_dev; local 951 struct phy_dev *phy_dev; local [all...] |
/drivers/net/ethernet/arc/ |
H A D | emac_main.c | 51 struct phy_device *phy_dev = priv->phy_dev; local 54 if (priv->link != phy_dev->link) { 55 priv->link = phy_dev->link; 59 if (priv->speed != phy_dev->speed) { 60 priv->speed = phy_dev->speed; 66 if (priv->duplex != phy_dev->duplex) { 69 if (DUPLEX_FULL == phy_dev->duplex) 75 priv->duplex = phy_dev->duplex; 80 phy_print_status(phy_dev); 406 struct phy_device *phy_dev = priv->phy_dev; local [all...] |
/drivers/net/ethernet/8390/ |
H A D | ax88796.c | 87 struct phy_device *phy_dev; member in struct:ax_device 323 struct phy_device *phy_dev = ax->phy_dev; local 326 if (phy_dev->link && ((ax->speed != phy_dev->speed) || 327 (ax->duplex != phy_dev->duplex))) { 329 ax->speed = phy_dev->speed; 330 ax->duplex = phy_dev->duplex; 334 if (phy_dev->link != ax->link) { 335 if (!phy_dev 351 struct phy_device *phy_dev = NULL; local 454 struct phy_device *phy_dev = ax->phy_dev; local 480 struct phy_device *phy_dev = ax->phy_dev; local 491 struct phy_device *phy_dev = ax->phy_dev; local [all...] |
/drivers/net/ethernet/broadcom/ |
H A D | sb1250-mac.c | 239 struct phy_device *phy_dev; /* the associated PHY device */ member in struct:sbmac_softc 2354 phy_start(sc->phy_dev); 2369 struct phy_device *phy_dev; local 2373 phy_dev = sc->mii_bus->phy_map[i]; 2374 if (phy_dev) 2377 if (!phy_dev) { 2382 phy_dev = phy_connect(dev, dev_name(&phy_dev->dev), &sbmac_mii_poll, 2384 if (IS_ERR(phy_dev)) { 2386 return PTR_ERR(phy_dev); 2415 struct phy_device *phy_dev = sc->phy_dev; local [all...] |
H A D | bgmac.c | 1199 phy_start(bgmac->phy_dev); 1213 phy_stop(bgmac->phy_dev); 1255 return phy_mii_ioctl(bgmac->phy_dev, ifr, cmd); 1277 return phy_ethtool_gset(bgmac->phy_dev, cmd); 1285 return phy_ethtool_sset(bgmac->phy_dev, cmd); 1319 struct phy_device *phy_dev = bgmac->phy_dev; local 1322 if (phy_dev->link) { 1323 if (phy_dev->speed != bgmac->mac_speed) { 1324 bgmac->mac_speed = phy_dev 1343 struct phy_device *phy_dev; local [all...] |
/drivers/net/ethernet/smsc/ |
H A D | smsc911x.c | 113 struct phy_device *phy_dev; member in struct:smsc911x_data 808 struct phy_device *phy_dev = pdata->phy_dev; local 812 BUG_ON(!phy_dev); 813 BUG_ON(!phy_dev->bus); 816 smsc911x_mii_write(phy_dev->bus, phy_dev->addr, MII_BMCR, BMCR_RESET); 819 temp = smsc911x_mii_read(phy_dev->bus, phy_dev->addr, 838 struct phy_device *phy_dev local 908 struct phy_device *phy_dev = pdata->phy_dev; local 949 struct phy_device *phy_dev = pdata->phy_dev; local 1978 struct phy_device *phy_dev = pdata->phy_dev; local [all...] |
H A D | smsc9420.c | 79 struct phy_device *phy_dev; member in struct:smsc9420_pdata 232 if (!netif_running(dev) || !pd->phy_dev) 235 return phy_mii_ioctl(pd->phy_dev, ifr, cmd); 243 if (!pd->phy_dev) 248 return phy_ethtool_gset(pd->phy_dev, cmd); 256 if (!pd->phy_dev) 259 return phy_ethtool_sset(pd->phy_dev, cmd); 289 if (!pd->phy_dev) 292 return phy_start_aneg(pd->phy_dev); 306 struct phy_device *phy_dev local 1096 struct phy_device *phy_dev = pd->phy_dev; local 1125 struct phy_device *phy_dev = pd->phy_dev; local [all...] |
/drivers/net/ethernet/xilinx/ |
H A D | xilinx_emaclite.c | 114 * @phy_dev: pointer to the PHY device 134 struct phy_device *phy_dev; member in struct:net_local 880 struct phy_device *phy = lp->phy_dev; 911 lp->phy_dev = of_phy_connect(lp->ndev, lp->phy_node, 914 if (!lp->phy_dev) { 920 lp->phy_dev->supported &= (PHY_BASIC_FEATURES); 921 lp->phy_dev->advertising = lp->phy_dev->supported; 924 phy_write(lp->phy_dev, MII_CTRL1000, 0); 927 phy_write(lp->phy_dev, MII_ADVERTIS [all...] |
H A D | ll_temac_main.c | 594 struct phy_device *phy = lp->phy_dev; 854 lp->phy_dev = of_phy_connect(lp->ndev, lp->phy_node, 856 if (!lp->phy_dev) { 861 phy_start(lp->phy_dev); 878 if (lp->phy_dev) 879 phy_disconnect(lp->phy_dev); 880 lp->phy_dev = NULL; 894 if (lp->phy_dev) 895 phy_disconnect(lp->phy_dev); 896 lp->phy_dev [all...] |
H A D | xilinx_axienet_main.c | 524 struct phy_device *phy = lp->phy_dev; 928 lp->phy_dev = of_phy_connect(lp->ndev, lp->phy_node, 931 if (!lp->phy_dev) { 935 phy_start(lp->phy_dev); 956 if (lp->phy_dev) 957 phy_disconnect(lp->phy_dev); 958 lp->phy_dev = NULL; 995 if (lp->phy_dev) 996 phy_disconnect(lp->phy_dev); 997 lp->phy_dev [all...] |
/drivers/net/ethernet/amd/ |
H A D | au1000_eth.h | 109 struct phy_device *phy_dev; member in struct:au1000_private
|
H A D | au1000_eth.c | 418 struct phy_device *phydev = aup->phy_dev; 424 BUG_ON(!aup->phy_dev); 584 aup->phy_dev = phydev; 689 if (aup->phy_dev) 690 return phy_ethtool_gset(aup->phy_dev, cmd); 702 if (aup->phy_dev) 703 return phy_ethtool_sset(aup->phy_dev, cmd); 786 if (aup->phy_dev) { 787 if (aup->phy_dev->link && (DUPLEX_FULL == aup->phy_dev [all...] |
/drivers/net/ethernet/allwinner/ |
H A D | sun4i-emac.c | 79 struct phy_device *phy_dev; member in struct:emac_board_info 117 struct phy_device *phydev = db->phy_dev; 160 db->phy_dev = of_phy_connect(db->ndev, db->phy_node, 163 if (!db->phy_dev) { 169 db->phy_dev->supported &= PHY_BASIC_FEATURES; 170 db->phy_dev->advertising = db->phy_dev->supported; 183 phy_disconnect(db->phy_dev); 184 db->phy_dev = NULL; 211 struct phy_device *phydev = dm->phy_dev; [all...] |
/drivers/net/ethernet/ |
H A D | dnet.c | 176 struct phy_device *phydev = bp->phy_dev; 304 bp->phy_dev = phydev; 656 if (!bp->phy_dev) 662 phy_start_aneg(bp->phy_dev); 665 phy_start(bp->phy_dev); 679 if (bp->phy_dev) 680 phy_stop(bp->phy_dev); 761 struct phy_device *phydev = bp->phy_dev; 772 struct phy_device *phydev = bp->phy_dev; 783 struct phy_device *phydev = bp->phy_dev; [all...] |
/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 1008 if (fep->phy_dev) { 1009 if (fep->phy_dev->speed == SPEED_1000) 1011 else if (fep->phy_dev->speed == SPEED_100) 1032 if (fep->phy_dev && fep->phy_dev->speed == SPEED_10) 1046 fep->phy_dev && fep->phy_dev->pause)) { 1706 struct phy_device *phy_dev = fep->phy_dev; local 1710 if (fep->mii_timeout && phy_dev 1885 struct phy_device *phy_dev = NULL; local [all...] |
/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_ethtool.c | 60 struct phy_device *phydev = pdata->phy_dev; 92 struct phy_device *phydev = pdata->phy_dev;
|
H A D | xgene_enet_hw.c | 641 struct phy_device *phydev = pdata->phy_dev; 663 struct phy_device *phy_dev; local 672 phy_dev = of_phy_connect(ndev, phy_np, &xgene_enet_adjust_link, 674 if (!phy_dev) { 680 phy_dev->supported &= ~SUPPORTED_10baseT_Half & 683 phy_dev->advertising = phy_dev->supported; 684 pdata->phy_dev = phy_dev;
|