/linux-master/drivers/phy/broadcom/ |
H A D | phy-bcm-kona-usb2.c | 50 static int bcm_kona_usb_phy_init(struct phy *gphy) argument 52 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); 68 static int bcm_kona_usb_phy_power_on(struct phy *gphy) argument 70 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); 77 static int bcm_kona_usb_phy_power_off(struct phy *gphy) argument 79 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); 97 struct phy *gphy; local 110 gphy = devm_phy_create(dev, NULL, &ops); 111 if (IS_ERR(gphy)) 112 return PTR_ERR(gphy); [all...] |
H A D | phy-brcm-usb.c | 111 static int brcm_usb_phy_init(struct phy *gphy) argument 113 struct brcm_usb_phy *phy = phy_get_drvdata(gphy); 137 dev_dbg(&gphy->dev, "INIT, id: %d, total: %d\n", phy->id, 143 static int brcm_usb_phy_exit(struct phy *gphy) argument 145 struct brcm_usb_phy *phy = phy_get_drvdata(gphy); 152 dev_dbg(&gphy->dev, "EXIT\n"); 392 struct phy *gphy = NULL; local 407 gphy = devm_phy_create(dev, NULL, &brcm_usb_phy_ops); 408 if (IS_ERR(gphy)) { 410 return PTR_ERR(gphy); [all...] |
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | lo.c | 165 struct b43_phy_g *gphy = phy->g; local 166 struct b43_txpower_lo_control *lo = gphy->lo_control; 187 lb_gain = gphy->max_lb_gain / 2; 262 struct b43_phy_g *gphy = phy->g; local 263 struct b43_txpower_lo_control *lo = gphy->lo_control; 284 struct b43_phy_g *gphy = phy->g; local 294 trsw_rx_gain = gphy->trsw_rx_gain / 2; 301 gphy->lna_lod_gain = 0; 303 gphy->lna_lod_gain = 1; 307 gphy 377 struct b43_phy_g *gphy = phy->g; local 491 struct b43_phy_g *gphy = phy->g; local 568 struct b43_phy_g *gphy = phy->g; local 649 struct b43_phy_g *gphy = phy->g; local 725 struct b43_phy_g *gphy = phy->g; local 809 struct b43_phy_g *gphy = phy->g; local 888 struct b43_phy_g *gphy = dev->phy.g; local 923 struct b43_phy_g *gphy = phy->g; local [all...] |
H A D | phy_g.c | 208 struct b43_phy_g *gphy = phy->g; local 209 struct b43_txpower_lo_control *lo = gphy->lo_control; 221 * to pass &gphy->rfatt as rfatt pointer argument. Same for bbatt. */ 222 gphy->tx_control = tx_control; 223 memmove(&gphy->rfatt, rfatt, sizeof(*rfatt)); 224 gphy->rfatt.with_padmix = !!(tx_control & B43_TXCTL_TXMIX); 225 memmove(&gphy->bbatt, bbatt, sizeof(*bbatt)); 254 struct b43_phy_g *gphy = dev->phy.g; local 259 b43_ofdmtab_write16(dev, 0x3C20, i, gphy->tssi2dbm[i]); 261 b43_ofdmtab_write16(dev, 0x3C00, i - 32, gphy 273 struct b43_phy_g *gphy = phy->g; local 395 struct b43_phy_g *gphy = dev->phy.g; local 559 struct b43_phy_g *gphy = phy->g; local 701 struct b43_phy_g *gphy = phy->g; local 829 struct b43_phy_g *gphy = phy->g; local 995 struct b43_phy_g *gphy = phy->g; local 1104 struct b43_phy_g *gphy = phy->g; local 1483 struct b43_phy_g *gphy = phy->g; local 1582 struct b43_phy_g *gphy = phy->g; local 1698 struct b43_phy_g *gphy = phy->g; local 1883 struct b43_phy_g *gphy = phy->g; local 1913 struct b43_phy_g *gphy = phy->g; local 2000 struct b43_phy_g *gphy = phy->g; local 2255 struct b43_phy_g *gphy = phy->g; local 2384 struct b43_phy_g *gphy = phy->g; local 2421 struct b43_phy_g *gphy; local 2456 struct b43_phy_g *gphy = phy->g; local 2503 struct b43_phy_g *gphy = phy->g; local 2519 struct b43_phy_g *gphy = phy->g; local 2599 struct b43_phy_g *gphy = phy->g; local 2709 struct b43_phy_g *gphy = phy->g; local 2754 struct b43_phy_g *gphy = dev->phy.g; local 2821 struct b43_phy_g *gphy = phy->g; local 2884 struct b43_phy_g *gphy = phy->g; local 2991 struct b43_phy_g *gphy = phy->g; local [all...] |
H A D | tables.c | 368 struct b43_phy_g *gphy = dev->phy.g; local 372 if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_READ) || 373 (addr - 1 != gphy->ofdmtab_addr)) { 376 gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_READ; 378 gphy->ofdmtab_addr = addr; 389 struct b43_phy_g *gphy = dev->phy.g; local 393 if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_WRITE) || 394 (addr - 1 != gphy->ofdmtab_addr)) { 397 gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_WRITE; 399 gphy 405 struct b43_phy_g *gphy = dev->phy.g; local 427 struct b43_phy_g *gphy = dev->phy.g; local [all...] |
H A D | xmit.c | 575 struct b43_phy_g *gphy = phy->g; local 596 tmp = gphy->nrssi_lt[in_rssi];
|
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cphy.h | 148 struct gphy { struct 160 extern const struct gphy t1_my3126_ops; 161 extern const struct gphy t1_mv88e1xxx_ops; 162 extern const struct gphy t1_vsc8244_ops; 163 extern const struct gphy t1_mv88x201x_ops;
|
H A D | common.h | 261 struct gphy; 280 const struct gphy *gphy; member in struct:board_info
|
H A D | subr.c | 412 .gphy = &t1_my3126_ops, 432 .gphy = &t1_mv88x201x_ops, 452 .gphy = &t1_mv88x201x_ops, 474 .gphy = &t1_mv88x201x_ops, 496 .gphy = &t1_my3126_ops, 520 .gphy = &t1_mv88e1xxx_ops, 1098 if (bi->gphy->reset) 1099 bi->gphy->reset(adapter); 1108 adapter->port[i].phy = bi->gphy->create(adapter->port[i].dev,
|
H A D | my3126.c | 207 const struct gphy t1_my3126_ops = {
|
H A D | mv88x201x.c | 247 const struct gphy t1_mv88x201x_ops = {
|
H A D | mv88e1xxx.c | 395 const struct gphy t1_mv88e1xxx_ops = {
|
/linux-master/drivers/phy/cadence/ |
H A D | phy-cadence-sierra.c | 537 static int cdns_sierra_phy_init(struct phy *gphy) argument 539 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); 540 struct cdns_sierra_phy *phy = dev_get_drvdata(gphy->dev.parent); 606 static int cdns_sierra_phy_on(struct phy *gphy) argument 608 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy->dev.parent); 609 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); 658 static int cdns_sierra_phy_off(struct phy *gphy) argument 660 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); 665 static int cdns_sierra_phy_reset(struct phy *gphy) argument 667 struct cdns_sierra_phy *sp = dev_get_drvdata(gphy 682 cdns_sierra_noop_phy_on(struct phy *gphy) argument 1442 struct phy *gphy; local [all...] |
H A D | phy-cadence-torrent.c | 2865 struct phy *gphy; local 2936 gphy = devm_phy_create(dev, child, &cdns_torrent_phy_ops); 2938 gphy = devm_phy_create(dev, child, &noop_ops); 2939 if (IS_ERR(gphy)) { 2940 ret = PTR_ERR(gphy); 3003 gphy->attrs.bus_width = cdns_phy->phys[node].num_lanes; 3004 gphy->attrs.max_link_rate = cdns_phy->max_bit_rate; 3005 gphy->attrs.mode = PHY_MODE_DP; 3008 cdns_phy->phys[node].phy = gphy; 3009 phy_set_drvdata(gphy, [all...] |