Searched refs:gphy (Results 1 – 11 of 11) sorted by relevance
/drivers/net/wireless/broadcom/b43/ |
D | tables.c | 381 struct b43_phy_g *gphy = dev->phy.g; in b43_ofdmtab_read16() local 385 if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_READ) || in b43_ofdmtab_read16() 386 (addr - 1 != gphy->ofdmtab_addr)) { in b43_ofdmtab_read16() 389 gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_READ; in b43_ofdmtab_read16() 391 gphy->ofdmtab_addr = addr; in b43_ofdmtab_read16() 402 struct b43_phy_g *gphy = dev->phy.g; in b43_ofdmtab_write16() local 406 if ((gphy->ofdmtab_addr_direction != B43_OFDMTAB_DIRECTION_WRITE) || in b43_ofdmtab_write16() 407 (addr - 1 != gphy->ofdmtab_addr)) { in b43_ofdmtab_write16() 410 gphy->ofdmtab_addr_direction = B43_OFDMTAB_DIRECTION_WRITE; in b43_ofdmtab_write16() 412 gphy->ofdmtab_addr = addr; in b43_ofdmtab_write16() [all …]
|
D | phy_g.c | 221 struct b43_phy_g *gphy = phy->g; in b43_set_txpower_g() local 222 struct b43_txpower_lo_control *lo = gphy->lo_control; in b43_set_txpower_g() 235 gphy->tx_control = tx_control; in b43_set_txpower_g() 236 memmove(&gphy->rfatt, rfatt, sizeof(*rfatt)); in b43_set_txpower_g() 237 gphy->rfatt.with_padmix = !!(tx_control & B43_TXCTL_TXMIX); in b43_set_txpower_g() 238 memmove(&gphy->bbatt, bbatt, sizeof(*bbatt)); in b43_set_txpower_g() 267 struct b43_phy_g *gphy = dev->phy.g; in b43_gphy_tssi_power_lt_init() local 272 b43_ofdmtab_write16(dev, 0x3C20, i, gphy->tssi2dbm[i]); in b43_gphy_tssi_power_lt_init() 274 b43_ofdmtab_write16(dev, 0x3C00, i - 32, gphy->tssi2dbm[i]); in b43_gphy_tssi_power_lt_init() 276 value = (u16) gphy->tssi2dbm[i]; in b43_gphy_tssi_power_lt_init() [all …]
|
D | lo.c | 178 struct b43_phy_g *gphy = phy->g; in lo_measure_txctl_values() local 179 struct b43_txpower_lo_control *lo = gphy->lo_control; in lo_measure_txctl_values() 200 lb_gain = gphy->max_lb_gain / 2; in lo_measure_txctl_values() 275 struct b43_phy_g *gphy = phy->g; in lo_read_power_vector() local 276 struct b43_txpower_lo_control *lo = gphy->lo_control; in lo_read_power_vector() 297 struct b43_phy_g *gphy = phy->g; in lo_measure_gain_values() local 307 trsw_rx_gain = gphy->trsw_rx_gain / 2; in lo_measure_gain_values() 314 gphy->lna_lod_gain = 0; in lo_measure_gain_values() 316 gphy->lna_lod_gain = 1; in lo_measure_gain_values() 320 gphy->pga_gain = trsw_rx_gain / 3; in lo_measure_gain_values() [all …]
|
D | xmit.c | 588 struct b43_phy_g *gphy = phy->g; in b43_rssi_postprocess() local 609 tmp = gphy->nrssi_lt[in_rssi]; in b43_rssi_postprocess()
|
/drivers/phy/ |
D | phy-bcm-kona-usb2.c | 58 static int bcm_kona_usb_phy_init(struct phy *gphy) in bcm_kona_usb_phy_init() argument 60 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); in bcm_kona_usb_phy_init() 76 static int bcm_kona_usb_phy_power_on(struct phy *gphy) in bcm_kona_usb_phy_power_on() argument 78 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); in bcm_kona_usb_phy_power_on() 85 static int bcm_kona_usb_phy_power_off(struct phy *gphy) in bcm_kona_usb_phy_power_off() argument 87 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); in bcm_kona_usb_phy_power_off() 106 struct phy *gphy; in bcm_kona_usb2_probe() local 120 gphy = devm_phy_create(dev, NULL, &ops); in bcm_kona_usb2_probe() 121 if (IS_ERR(gphy)) in bcm_kona_usb2_probe() 122 return PTR_ERR(gphy); in bcm_kona_usb2_probe() [all …]
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | cphy.h | 157 struct gphy { struct 169 extern const struct gphy t1_my3126_ops; argument 170 extern const struct gphy t1_mv88e1xxx_ops; 171 extern const struct gphy t1_vsc8244_ops; 172 extern const struct gphy t1_mv88x201x_ops;
|
D | subr.c | 409 .gphy = &t1_my3126_ops, 429 .gphy = &t1_mv88x201x_ops, 449 .gphy = &t1_mv88x201x_ops, 471 .gphy = &t1_mv88x201x_ops, 493 .gphy = &t1_my3126_ops, 517 .gphy = &t1_mv88e1xxx_ops, 1081 if (bi->gphy->reset) in t1_init_sw_modules() 1082 bi->gphy->reset(adapter); in t1_init_sw_modules() 1091 adapter->port[i].phy = bi->gphy->create(adapter->port[i].dev, in t1_init_sw_modules()
|
D | common.h | 267 struct gphy; 286 const struct gphy *gphy; member
|
D | my3126.c | 206 const struct gphy t1_my3126_ops = {
|
D | mv88x201x.c | 256 const struct gphy t1_mv88x201x_ops = {
|
D | mv88e1xxx.c | 394 const struct gphy t1_mv88e1xxx_ops = {
|