Lines Matching refs:phy

60 	struct b43_phy *phy = &dev->phy;  in b43_lo_write()  local
71 B43_WARN_ON(phy->type != B43_PHYTYPE_G); in b43_lo_write()
81 struct b43_phy *phy = &dev->phy; in lo_measure_feedthrough() local
85 if (phy->gmode) { in lo_measure_feedthrough()
102 && phy->rev > 6) in lo_measure_feedthrough()
144 struct b43_phy *phy = &dev->phy; in lo_txctl_register_table() local
147 if (phy->type == B43_PHYTYPE_B) { in lo_txctl_register_table()
149 if (phy->radio_rev <= 5) { in lo_txctl_register_table()
157 if (phy->rev >= 2 && phy->radio_rev == 8) { in lo_txctl_register_table()
177 struct b43_phy *phy = &dev->phy; in lo_measure_txctl_values() local
178 struct b43_phy_g *gphy = phy->g; in lo_measure_txctl_values()
192 if (!has_loopback_gain(phy)) { in lo_measure_txctl_values()
211 if ((phy->rev >= 2) && in lo_measure_txctl_values()
212 (phy->radio_ver == 0x2050) && (phy->radio_rev == 8)) in lo_measure_txctl_values()
236 if (has_tx_magnification(phy)) { in lo_measure_txctl_values()
274 struct b43_phy *phy = &dev->phy; in lo_read_power_vector() local
275 struct b43_phy_g *gphy = phy->g; in lo_read_power_vector()
296 struct b43_phy *phy = &dev->phy; in lo_measure_gain_values() local
297 struct b43_phy_g *gphy = phy->g; in lo_measure_gain_values()
303 if (has_loopback_gain(phy)) { in lo_measure_gain_values()
389 struct b43_phy *phy = &dev->phy; in lo_measure_setup() local
390 struct b43_phy_g *gphy = phy->g; in lo_measure_setup()
406 if (phy->type == B43_PHYTYPE_B && in lo_measure_setup()
407 phy->radio_ver == 0x2050 && phy->radio_rev < 6) { in lo_measure_setup()
411 if (phy->rev >= 2) { in lo_measure_setup()
425 if (phy->type == B43_PHYTYPE_G) { in lo_measure_setup()
426 if ((phy->rev >= 7) && in lo_measure_setup()
446 if (!has_tx_magnification(phy)) { in lo_measure_setup()
450 if (phy->type == B43_PHYTYPE_B) { in lo_measure_setup()
463 (phy->type == B43_PHYTYPE_G) ? B43_PHY_LO_MASK : B43_PHY_CCK(0x2E); in lo_measure_setup()
472 if (phy->type == B43_PHYTYPE_G || in lo_measure_setup()
473 (phy->type == B43_PHYTYPE_B && in lo_measure_setup()
474 phy->radio_ver == 0x2050 && phy->radio_rev >= 6)) { in lo_measure_setup()
478 if (phy->rev >= 2) in lo_measure_setup()
482 if (phy->type == B43_PHYTYPE_G) in lo_measure_setup()
490 if (phy->type == B43_PHYTYPE_G && phy->rev >= 3) { in lo_measure_setup()
493 if (phy->type == B43_PHYTYPE_B) in lo_measure_setup()
503 struct b43_phy *phy = &dev->phy; in lo_measure_restore() local
504 struct b43_phy_g *gphy = phy->g; in lo_measure_restore()
507 if (phy->rev >= 2) { in lo_measure_restore()
519 if (phy->type == B43_PHYTYPE_G) { in lo_measure_restore()
520 if (phy->rev >= 3) in lo_measure_restore()
524 if (phy->rev >= 2) in lo_measure_restore()
536 if (!has_tx_magnification(phy)) { in lo_measure_restore()
541 if (phy->type == B43_PHYTYPE_B && in lo_measure_restore()
542 phy->radio_ver == 0x2050 && phy->radio_rev <= 5) { in lo_measure_restore()
546 if (phy->rev >= 2) { in lo_measure_restore()
580 struct b43_phy *phy = &dev->phy; in lo_probe_possible_loctls() local
581 struct b43_phy_g *gphy = phy->g; in lo_probe_possible_loctls()
640 !has_loopback_gain(phy)) in lo_probe_possible_loctls()
661 struct b43_phy *phy = &dev->phy; in lo_probe_loctls_statemachine() local
662 struct b43_phy_g *gphy = phy->g; in lo_probe_loctls_statemachine()
671 if (has_loopback_gain(phy)) in lo_probe_loctls_statemachine()
675 if (has_loopback_gain(phy)) in lo_probe_loctls_statemachine()
713 if (has_loopback_gain(phy)) { in lo_probe_loctls_statemachine()
728 has_loopback_gain(phy)); in lo_probe_loctls_statemachine()
737 struct b43_phy *phy = &dev->phy; in b43_calibrate_lo_setting() local
738 struct b43_phy_g *gphy = phy->g; in b43_calibrate_lo_setting()
751 saved_regs.old_channel = phy->channel; in b43_calibrate_lo_setting()
764 if (has_loopback_gain(phy)) in b43_calibrate_lo_setting()
767 has_loopback_gain(phy)); in b43_calibrate_lo_setting()
803 struct b43_txpower_lo_control *lo = dev->phy.g->lo_control; in b43_get_calib_lo_settings()
821 struct b43_phy *phy = &dev->phy; in b43_gphy_dc_lt_init() local
822 struct b43_phy_g *gphy = phy->g; in b43_gphy_dc_lt_init()
901 struct b43_phy_g *gphy = dev->phy.g; in b43_lo_g_adjust()
935 struct b43_phy *phy = &dev->phy; in b43_lo_g_maintanance_work() local
936 struct b43_phy_g *gphy = phy->g; in b43_lo_g_maintanance_work()
998 struct b43_txpower_lo_control *lo = dev->phy.g->lo_control; in b43_lo_g_cleanup()