Searched refs:gphy (Results 1 - 14 of 14) sorted by relevance

/linux-master/drivers/phy/broadcom/
H A Dphy-bcm-kona-usb2.c50 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 Dphy-brcm-usb.c111 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 Dlo.c165 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 Dphy_g.c208 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 Dtables.c368 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 Dxmit.c575 struct b43_phy_g *gphy = phy->g; local
596 tmp = gphy->nrssi_lt[in_rssi];
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dcphy.h148 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 Dcommon.h261 struct gphy;
280 const struct gphy *gphy; member in struct:board_info
H A Dsubr.c412 .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 Dmy3126.c207 const struct gphy t1_my3126_ops = {
H A Dmv88x201x.c247 const struct gphy t1_mv88x201x_ops = {
H A Dmv88e1xxx.c395 const struct gphy t1_mv88e1xxx_ops = {
/linux-master/drivers/phy/cadence/
H A Dphy-cadence-sierra.c537 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 Dphy-cadence-torrent.c2865 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...]

Completed in 281 milliseconds