Lines Matching defs:gphy
165 struct b43_phy_g *gphy = phy->g;
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;
263 struct b43_txpower_lo_control *lo = gphy->lo_control;
284 struct b43_phy_g *gphy = phy->g;
294 trsw_rx_gain = gphy->trsw_rx_gain / 2;
301 gphy->lna_lod_gain = 0;
303 gphy->lna_lod_gain = 1;
307 gphy->pga_gain = trsw_rx_gain / 3;
308 if (gphy->pga_gain >= 5) {
309 gphy->pga_gain -= 5;
310 gphy->lna_gain = 2;
312 gphy->lna_gain = 0;
314 gphy->lna_gain = 0;
315 gphy->trsw_rx_gain = 0x20;
317 gphy->lna_lod_gain = 1;
318 gphy->pga_gain = 2;
320 gphy->lna_lod_gain = 1;
321 gphy->pga_gain = 1;
323 gphy->lna_lod_gain = 1;
324 gphy->pga_gain = 0;
326 gphy->lna_lod_gain = 0;
327 gphy->pga_gain = 0;
332 if (gphy->lna_lod_gain == 0)
377 struct b43_phy_g *gphy = phy->g;
378 struct b43_txpower_lo_control *lo = gphy->lo_control;
491 struct b43_phy_g *gphy = phy->g;
496 tmp = (gphy->pga_gain << 8);
503 tmp = (gphy->pga_gain | 0xEFA0);
568 struct b43_phy_g *gphy = phy->g;
618 feedth = lo_measure_feedthrough(dev, gphy->lna_gain,
619 gphy->pga_gain,
620 gphy->trsw_rx_gain);
649 struct b43_phy_g *gphy = phy->g;
666 feedth = lo_measure_feedthrough(dev, gphy->lna_gain,
667 gphy->pga_gain,
668 gphy->trsw_rx_gain);
674 feedth = lo_measure_feedthrough(dev, gphy->lna_gain,
675 gphy->pga_gain,
676 gphy->trsw_rx_gain);
725 struct b43_phy_g *gphy = phy->g;
752 max_rx_gain += gphy->max_lb_gain;
809 struct b43_phy_g *gphy = phy->g;
810 struct b43_txpower_lo_control *lo = gphy->lo_control;
888 struct b43_phy_g *gphy = dev->phy.g;
892 memcpy(&rf, &gphy->rfatt, sizeof(rf));
895 cal = b43_get_calib_lo_settings(dev, &gphy->bbatt, &rf);
923 struct b43_phy_g *gphy = phy->g;
924 struct b43_txpower_lo_control *lo = gphy->lo_control;
955 if (b43_compare_bbatt(&cal->bbatt, &gphy->bbatt) &&
956 b43_compare_rfatt(&cal->rfatt, &gphy->rfatt)) {
974 cal = b43_calibrate_lo_setting(dev, &gphy->bbatt, &gphy->rfatt);