Searched refs:sav (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/net/wireless/b43/
H A Dlo.c386 struct lo_g_saved_values *sav) lo_measure_setup()
395 sav->phy_lo_mask = b43_phy_read(dev, B43_PHY_LO_MASK); lo_measure_setup()
396 sav->phy_extg_01 = b43_phy_read(dev, B43_PHY_EXTG(0x01)); lo_measure_setup()
397 sav->phy_dacctl_hwpctl = b43_phy_read(dev, B43_PHY_DACCTL); lo_measure_setup()
398 sav->phy_cck_14 = b43_phy_read(dev, B43_PHY_CCK(0x14)); lo_measure_setup()
399 sav->phy_hpwr_tssictl = b43_phy_read(dev, B43_PHY_HPWR_TSSICTL); lo_measure_setup()
412 sav->phy_analogover = b43_phy_read(dev, B43_PHY_ANALOGOVER); lo_measure_setup()
413 sav->phy_analogoverval = lo_measure_setup()
415 sav->phy_rfover = b43_phy_read(dev, B43_PHY_RFOVER); lo_measure_setup()
416 sav->phy_rfoverval = b43_phy_read(dev, B43_PHY_RFOVERVAL); lo_measure_setup()
417 sav->phy_classctl = b43_phy_read(dev, B43_PHY_CLASSCTL); lo_measure_setup()
418 sav->phy_cck_3E = b43_phy_read(dev, B43_PHY_CCK(0x3E)); lo_measure_setup()
419 sav->phy_crs0 = b43_phy_read(dev, B43_PHY_CRS0); lo_measure_setup()
437 sav->reg_3F4 = b43_read16(dev, 0x3F4); lo_measure_setup()
438 sav->reg_3E2 = b43_read16(dev, 0x3E2); lo_measure_setup()
439 sav->radio_43 = b43_radio_read16(dev, 0x43); lo_measure_setup()
440 sav->radio_7A = b43_radio_read16(dev, 0x7A); lo_measure_setup()
441 sav->phy_pgactl = b43_phy_read(dev, B43_PHY_PGACTL); lo_measure_setup()
442 sav->phy_cck_2A = b43_phy_read(dev, B43_PHY_CCK(0x2A)); lo_measure_setup()
443 sav->phy_syncctl = b43_phy_read(dev, B43_PHY_SYNCCTL); lo_measure_setup()
444 sav->phy_dacctl = b43_phy_read(dev, B43_PHY_DACCTL); lo_measure_setup()
447 sav->radio_52 = b43_radio_read16(dev, 0x52); lo_measure_setup()
448 sav->radio_52 &= 0x00F0; lo_measure_setup()
451 sav->phy_cck_30 = b43_phy_read(dev, B43_PHY_CCK(0x30)); lo_measure_setup()
452 sav->phy_cck_06 = b43_phy_read(dev, B43_PHY_CCK(0x06)); lo_measure_setup()
466 tmp = sav->phy_syncctl; lo_measure_setup()
468 tmp = sav->radio_7A; lo_measure_setup()
501 struct lo_g_saved_values *sav) lo_measure_restore()
529 b43_write16(dev, 0x3F4, sav->reg_3F4); lo_measure_restore()
530 b43_phy_write(dev, B43_PHY_PGACTL, sav->phy_pgactl); lo_measure_restore()
531 b43_phy_write(dev, B43_PHY_CCK(0x2A), sav->phy_cck_2A); lo_measure_restore()
532 b43_phy_write(dev, B43_PHY_SYNCCTL, sav->phy_syncctl); lo_measure_restore()
533 b43_phy_write(dev, B43_PHY_DACCTL, sav->phy_dacctl); lo_measure_restore()
534 b43_radio_write16(dev, 0x43, sav->radio_43); lo_measure_restore()
535 b43_radio_write16(dev, 0x7A, sav->radio_7A); lo_measure_restore()
537 tmp = sav->radio_52; lo_measure_restore()
540 b43_write16(dev, 0x3E2, sav->reg_3E2); lo_measure_restore()
543 b43_phy_write(dev, B43_PHY_CCK(0x30), sav->phy_cck_30); lo_measure_restore()
544 b43_phy_write(dev, B43_PHY_CCK(0x06), sav->phy_cck_06); lo_measure_restore()
547 b43_phy_write(dev, B43_PHY_ANALOGOVER, sav->phy_analogover); lo_measure_restore()
549 sav->phy_analogoverval); lo_measure_restore()
550 b43_phy_write(dev, B43_PHY_CLASSCTL, sav->phy_classctl); lo_measure_restore()
551 b43_phy_write(dev, B43_PHY_RFOVER, sav->phy_rfover); lo_measure_restore()
552 b43_phy_write(dev, B43_PHY_RFOVERVAL, sav->phy_rfoverval); lo_measure_restore()
553 b43_phy_write(dev, B43_PHY_CCK(0x3E), sav->phy_cck_3E); lo_measure_restore()
554 b43_phy_write(dev, B43_PHY_CRS0, sav->phy_crs0); lo_measure_restore()
557 tmp = (sav->phy_lo_mask & 0xBFFF); lo_measure_restore()
559 b43_phy_write(dev, B43_PHY_EXTG(0x01), sav->phy_extg_01); lo_measure_restore()
560 b43_phy_write(dev, B43_PHY_DACCTL, sav->phy_dacctl_hwpctl); lo_measure_restore()
561 b43_phy_write(dev, B43_PHY_CCK(0x14), sav->phy_cck_14); lo_measure_restore()
562 b43_phy_write(dev, B43_PHY_HPWR_TSSICTL, sav->phy_hpwr_tssictl); lo_measure_restore()
564 b43_gphy_channel_switch(dev, sav->old_channel, 1); lo_measure_restore()
385 lo_measure_setup(struct b43_wldev *dev, struct lo_g_saved_values *sav) lo_measure_setup() argument
500 lo_measure_restore(struct b43_wldev *dev, struct lo_g_saved_values *sav) lo_measure_restore() argument
H A Dphy_g.c1260 struct init2050_saved_values sav; b43_radio_init2050() local
1267 memset(&sav, 0, sizeof(sav)); /* get rid of "may be used uninitialized..." */ b43_radio_init2050()
1269 sav.radio_43 = b43_radio_read16(dev, 0x43); b43_radio_init2050()
1270 sav.radio_51 = b43_radio_read16(dev, 0x51); b43_radio_init2050()
1271 sav.radio_52 = b43_radio_read16(dev, 0x52); b43_radio_init2050()
1272 sav.phy_pgactl = b43_phy_read(dev, B43_PHY_PGACTL); b43_radio_init2050()
1273 sav.phy_cck_5A = b43_phy_read(dev, B43_PHY_CCK(0x5A)); b43_radio_init2050()
1274 sav.phy_cck_59 = b43_phy_read(dev, B43_PHY_CCK(0x59)); b43_radio_init2050()
1275 sav.phy_cck_58 = b43_phy_read(dev, B43_PHY_CCK(0x58)); b43_radio_init2050()
1278 sav.phy_cck_30 = b43_phy_read(dev, B43_PHY_CCK(0x30)); b43_radio_init2050()
1279 sav.reg_3EC = b43_read16(dev, 0x3EC); b43_radio_init2050()
1284 sav.phy_rfover = b43_phy_read(dev, B43_PHY_RFOVER); b43_radio_init2050()
1285 sav.phy_rfoverval = b43_phy_read(dev, B43_PHY_RFOVERVAL); b43_radio_init2050()
1286 sav.phy_analogover = b43_phy_read(dev, B43_PHY_ANALOGOVER); b43_radio_init2050()
1287 sav.phy_analogoverval = b43_radio_init2050()
1289 sav.phy_crs0 = b43_phy_read(dev, B43_PHY_CRS0); b43_radio_init2050()
1290 sav.phy_classctl = b43_phy_read(dev, B43_PHY_CLASSCTL); b43_radio_init2050()
1297 sav.phy_lo_mask = b43_phy_read(dev, B43_PHY_LO_MASK); b43_radio_init2050()
1298 sav.phy_lo_ctl = b43_phy_read(dev, B43_PHY_LO_CTL); b43_radio_init2050()
1315 sav.phy_syncctl = b43_phy_read(dev, B43_PHY_SYNCCTL); b43_radio_init2050()
1317 sav.reg_3E6 = b43_read16(dev, 0x3E6); b43_radio_init2050()
1318 sav.reg_3F4 = b43_read16(dev, 0x3F4); b43_radio_init2050()
1453 b43_phy_write(dev, B43_PHY_PGACTL, sav.phy_pgactl); b43_radio_init2050()
1454 b43_radio_write16(dev, 0x51, sav.radio_51); b43_radio_init2050()
1455 b43_radio_write16(dev, 0x52, sav.radio_52); b43_radio_init2050()
1456 b43_radio_write16(dev, 0x43, sav.radio_43); b43_radio_init2050()
1457 b43_phy_write(dev, B43_PHY_CCK(0x5A), sav.phy_cck_5A); b43_radio_init2050()
1458 b43_phy_write(dev, B43_PHY_CCK(0x59), sav.phy_cck_59); b43_radio_init2050()
1459 b43_phy_write(dev, B43_PHY_CCK(0x58), sav.phy_cck_58); b43_radio_init2050()
1460 b43_write16(dev, 0x3E6, sav.reg_3E6); b43_radio_init2050()
1462 b43_write16(dev, 0x3F4, sav.reg_3F4); b43_radio_init2050()
1463 b43_phy_write(dev, B43_PHY_SYNCCTL, sav.phy_syncctl); b43_radio_init2050()
1466 b43_phy_write(dev, B43_PHY_CCK(0x30), sav.phy_cck_30); b43_radio_init2050()
1467 b43_write16(dev, 0x3EC, sav.reg_3EC); b43_radio_init2050()
1472 b43_phy_write(dev, B43_PHY_RFOVER, sav.phy_rfover); b43_radio_init2050()
1473 b43_phy_write(dev, B43_PHY_RFOVERVAL, sav.phy_rfoverval); b43_radio_init2050()
1474 b43_phy_write(dev, B43_PHY_ANALOGOVER, sav.phy_analogover); b43_radio_init2050()
1476 sav.phy_analogoverval); b43_radio_init2050()
1477 b43_phy_write(dev, B43_PHY_CRS0, sav.phy_crs0); b43_radio_init2050()
1478 b43_phy_write(dev, B43_PHY_CLASSCTL, sav.phy_classctl); b43_radio_init2050()
1480 b43_phy_write(dev, B43_PHY_LO_MASK, sav.phy_lo_mask); b43_radio_init2050()
1481 b43_phy_write(dev, B43_PHY_LO_CTL, sav.phy_lo_ctl); b43_radio_init2050()
/linux-4.4.14/arch/mips/include/asm/octeon/
H A Dcvmx-spinlock.h164 unsigned int sav; cvmx_spinlock_bit_lock() local
177 [val] "+m"(*word), [tmp] "=&r"(tmp), [sav] "=&r"(sav) cvmx_spinlock_bit_lock()
/linux-4.4.14/drivers/media/pci/ivtv/
H A Divtv-vbi.c337 static u32 compress_sliced_buf(struct ivtv *itv, u32 line, u8 *buf, u32 size, u8 sav) compress_sliced_buf() argument
346 if (buf[0] == 0xff && !buf[1] && !buf[2] && buf[3] == sav) compress_sliced_buf()
358 if (p[0] != 0xff || p[1] || p[2] || p[3] != sav) { compress_sliced_buf()
/linux-4.4.14/drivers/media/platform/davinci/
H A Dvpif.h627 u16 eav2sav; /* length of eav 2 sav */
628 u16 sav2eav; /* length of sav 2 eav */
/linux-4.4.14/net/rfkill/
H A Dcore.c120 bool cur, sav; member in struct:__anon15062
408 rfkill_global_states[i].sav = rfkill_global_states[i].cur; rfkill_epo()
433 __rfkill_switch_all(i, rfkill_global_states[i].sav); rfkill_restore_states()

Completed in 216 milliseconds