• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/b43/

Lines Matching defs:gphy

175 	struct b43_phy_g *gphy = phy->g;
176 struct b43_txpower_lo_control *lo = gphy->lo_control;
197 lb_gain = gphy->max_lb_gain / 2;
272 struct b43_phy_g *gphy = phy->g;
273 struct b43_txpower_lo_control *lo = gphy->lo_control;
294 struct b43_phy_g *gphy = phy->g;
305 trsw_rx_gain = gphy->trsw_rx_gain / 2;
313 gphy->lna_lod_gain = 0;
315 gphy->lna_lod_gain = 1;
319 gphy->pga_gain = trsw_rx_gain / 3;
320 if (gphy->pga_gain >= 5) {
321 gphy->pga_gain -= 5;
322 gphy->lna_gain = 2;
324 gphy->lna_gain = 0;
326 gphy->lna_gain = 0;
327 gphy->trsw_rx_gain = 0x20;
329 gphy->lna_lod_gain = 1;
330 gphy->pga_gain = 2;
332 gphy->lna_lod_gain = 1;
333 gphy->pga_gain = 1;
335 gphy->lna_lod_gain = 1;
336 gphy->pga_gain = 0;
338 gphy->lna_lod_gain = 0;
339 gphy->pga_gain = 0;
344 if (gphy->lna_lod_gain == 0)
389 struct b43_phy_g *gphy = phy->g;
390 struct b43_txpower_lo_control *lo = gphy->lo_control;
503 struct b43_phy_g *gphy = phy->g;
508 tmp = (gphy->pga_gain << 8);
515 tmp = (gphy->pga_gain | 0xEFA0);
580 struct b43_phy_g *gphy = phy->g;
630 feedth = lo_measure_feedthrough(dev, gphy->lna_gain,
631 gphy->pga_gain,
632 gphy->trsw_rx_gain);
661 struct b43_phy_g *gphy = phy->g;
678 feedth = lo_measure_feedthrough(dev, gphy->lna_gain,
679 gphy->pga_gain,
680 gphy->trsw_rx_gain);
686 feedth = lo_measure_feedthrough(dev, gphy->lna_gain,
687 gphy->pga_gain,
688 gphy->trsw_rx_gain);
737 struct b43_phy_g *gphy = phy->g;
764 max_rx_gain += gphy->max_lb_gain;
821 struct b43_phy_g *gphy = phy->g;
822 struct b43_txpower_lo_control *lo = gphy->lo_control;
899 struct b43_phy_g *gphy = dev->phy.g;
903 memcpy(&rf, &gphy->rfatt, sizeof(rf));
906 cal = b43_get_calib_lo_settings(dev, &gphy->bbatt, &rf);
934 struct b43_phy_g *gphy = phy->g;
935 struct b43_txpower_lo_control *lo = gphy->lo_control;
965 if (b43_compare_bbatt(&cal->bbatt, &gphy->bbatt) &&
966 b43_compare_rfatt(&cal->rfatt, &gphy->rfatt)) {
984 cal = b43_calibrate_lo_setting(dev, &gphy->bbatt, &gphy->rfatt);