Lines Matching refs:sav
385 struct lo_g_saved_values *sav)
394 sav->phy_lo_mask = b43_phy_read(dev, B43_PHY_LO_MASK);
395 sav->phy_extg_01 = b43_phy_read(dev, B43_PHY_EXTG(0x01));
396 sav->phy_dacctl_hwpctl = b43_phy_read(dev, B43_PHY_DACCTL);
397 sav->phy_cck_14 = b43_phy_read(dev, B43_PHY_CCK(0x14));
398 sav->phy_hpwr_tssictl = b43_phy_read(dev, B43_PHY_HPWR_TSSICTL);
411 sav->phy_analogover = b43_phy_read(dev, B43_PHY_ANALOGOVER);
412 sav->phy_analogoverval =
414 sav->phy_rfover = b43_phy_read(dev, B43_PHY_RFOVER);
415 sav->phy_rfoverval = b43_phy_read(dev, B43_PHY_RFOVERVAL);
416 sav->phy_classctl = b43_phy_read(dev, B43_PHY_CLASSCTL);
417 sav->phy_cck_3E = b43_phy_read(dev, B43_PHY_CCK(0x3E));
418 sav->phy_crs0 = b43_phy_read(dev, B43_PHY_CRS0);
436 sav->reg_3F4 = b43_read16(dev, 0x3F4);
437 sav->reg_3E2 = b43_read16(dev, 0x3E2);
438 sav->radio_43 = b43_radio_read16(dev, 0x43);
439 sav->radio_7A = b43_radio_read16(dev, 0x7A);
440 sav->phy_pgactl = b43_phy_read(dev, B43_PHY_PGACTL);
441 sav->phy_cck_2A = b43_phy_read(dev, B43_PHY_CCK(0x2A));
442 sav->phy_syncctl = b43_phy_read(dev, B43_PHY_SYNCCTL);
443 sav->phy_dacctl = b43_phy_read(dev, B43_PHY_DACCTL);
446 sav->radio_52 = b43_radio_read16(dev, 0x52);
447 sav->radio_52 &= 0x00F0;
450 sav->phy_cck_30 = b43_phy_read(dev, B43_PHY_CCK(0x30));
451 sav->phy_cck_06 = b43_phy_read(dev, B43_PHY_CCK(0x06));
465 tmp = sav->phy_syncctl;
467 tmp = sav->radio_7A;
500 struct lo_g_saved_values *sav)
528 b43_write16(dev, 0x3F4, sav->reg_3F4);
529 b43_phy_write(dev, B43_PHY_PGACTL, sav->phy_pgactl);
530 b43_phy_write(dev, B43_PHY_CCK(0x2A), sav->phy_cck_2A);
531 b43_phy_write(dev, B43_PHY_SYNCCTL, sav->phy_syncctl);
532 b43_phy_write(dev, B43_PHY_DACCTL, sav->phy_dacctl);
533 b43_radio_write16(dev, 0x43, sav->radio_43);
534 b43_radio_write16(dev, 0x7A, sav->radio_7A);
536 tmp = sav->radio_52;
539 b43_write16(dev, 0x3E2, sav->reg_3E2);
542 b43_phy_write(dev, B43_PHY_CCK(0x30), sav->phy_cck_30);
543 b43_phy_write(dev, B43_PHY_CCK(0x06), sav->phy_cck_06);
546 b43_phy_write(dev, B43_PHY_ANALOGOVER, sav->phy_analogover);
548 sav->phy_analogoverval);
549 b43_phy_write(dev, B43_PHY_CLASSCTL, sav->phy_classctl);
550 b43_phy_write(dev, B43_PHY_RFOVER, sav->phy_rfover);
551 b43_phy_write(dev, B43_PHY_RFOVERVAL, sav->phy_rfoverval);
552 b43_phy_write(dev, B43_PHY_CCK(0x3E), sav->phy_cck_3E);
553 b43_phy_write(dev, B43_PHY_CRS0, sav->phy_crs0);
556 tmp = (sav->phy_lo_mask & 0xBFFF);
558 b43_phy_write(dev, B43_PHY_EXTG(0x01), sav->phy_extg_01);
559 b43_phy_write(dev, B43_PHY_DACCTL, sav->phy_dacctl_hwpctl);
560 b43_phy_write(dev, B43_PHY_CCK(0x14), sav->phy_cck_14);
561 b43_phy_write(dev, B43_PHY_HPWR_TSSICTL, sav->phy_hpwr_tssictl);
563 b43_gphy_channel_switch(dev, sav->old_channel, 1);