Home
last modified time | relevance | path

Searched refs:txpow1 (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/usb/wlan/
H A Dif_run.c1735 sc->txpow1[i + 0] = (int8_t)(val & 0xff); in run_rt3593_get_txpower()
1736 sc->txpow1[i + 1] = (int8_t)(val >> 8); in run_rt3593_get_txpower()
1753 if (sc->txpow1[i] > 31) in run_rt3593_get_txpower()
1754 sc->txpow1[i] = 5; in run_rt3593_get_txpower()
1765 sc->txpow1[i + 14] = (int8_t)(val & 0xff); in run_rt3593_get_txpower()
1766 sc->txpow1[i + 15] = (int8_t)(val >> 8); in run_rt3593_get_txpower()
1790 sc->txpow1[i + 0] = (int8_t)(val & 0xff); in run_get_txpower()
1791 sc->txpow1[i + 1] = (int8_t)(val >> 8); in run_get_txpower()
1803 if (sc->txpow1[i] < 0 || sc->txpow1[i] > 39) in run_get_txpower()
1804 sc->txpow1[i] = 5; in run_get_txpower()
[all …]
H A Dif_runvar.h196 int8_t txpow1[54]; member
H A Dif_mtwvar.h331 int8_t txpow1[54]; member
H A Dif_mtw.c1441 sc->txpow1[i + 0] = (int8_t)(val & 0xff); in mtw_get_txpower()
1442 sc->txpow1[i + 1] = (int8_t)(val >> 8); in mtw_get_txpower()
1449 if (sc->txpow1[i] < 0 || sc->txpow1[i] > 27) in mtw_get_txpower()
1450 sc->txpow1[i] = 5; in mtw_get_txpower()
1455 sc->txpow1[i], sc->txpow2[i]); in mtw_get_txpower()
3634 uint8_t bbp, rf, txpow1; in mt7601_set_chan() local
3646 txpow1 = sc->txpow1[i]; in mt7601_set_chan()
3651 tmp |= (txpow1 & 0x3f); in mt7601_set_chan()
/freebsd/sys/dev/ral/
H A Drt2860.c2410 int8_t txpow1, txpow2; in rt2860_set_chan() local
2425 txpow1 = sc->txpow1[i]; in rt2860_set_chan()
2428 if (txpow1 >= 0) in rt2860_set_chan()
2429 txpow1 = txpow1 << 1 | 1; in rt2860_set_chan()
2431 txpow1 = (7 + txpow1) << 1; in rt2860_set_chan()
2437 r3 = rfprog[i].r3 | txpow1 << 7; in rt2860_set_chan()
2463 int8_t txpow1, txpow2; in rt3090_set_chan() local
2474 txpow1 = sc->txpow1[i]; in rt3090_set_chan()
2487 rf = (rf & ~0x1f) | txpow1; in rt3090_set_chan()
2529 int8_t txpow1, txpow2; in rt5390_set_chan() local
[all …]
H A Drt2860var.h167 int8_t txpow1[54]; member