OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:EEP_SCALE
(Results
1 - 4
of
4
) sorted by relevancy
/src/sys/external/isc/atheros_hal/dist/ar5212/
ar5111.c
362
lRatio = (target - srcLeft) *
EEP_SCALE
/ (srcRight - srcLeft);
366
} else if (lRatio >
EEP_SCALE
) {
370
rv = (lRatio * targetRight + (
EEP_SCALE
- lRatio) *
371
targetLeft) /
EEP_SCALE
;
490
for (i = 0; i < (2 * (pwr - PWR_MIN) /
EEP_SCALE
+ 1); i++) {
ar5212_reset.c
2415
lRatio = (target - srcLeft) *
EEP_SCALE
/ (srcRight - srcLeft);
2419
} else if (lRatio >
EEP_SCALE
) {
2423
rv = (lRatio * targetRight + (
EEP_SCALE
- lRatio) *
2424
targetLeft) /
EEP_SCALE
;
2492
uint32_t target = v *
EEP_SCALE
;
2498
if (target < (uint32_t)(lp[0] *
EEP_SCALE
- EEP_DELTA)) {
2502
if (target > (uint32_t)(ep[-1] *
EEP_SCALE
+ EEP_DELTA)) {
2513
if (lp[0] *
EEP_SCALE
- target < EEP_DELTA) {
2521
if (target < (uint32_t)(lp[1] *
EEP_SCALE
- EEP_DELTA)) {
/src/sys/external/isc/atheros_hal/dist/ar5211/
ar5211_reset.c
1471
for (i = 0; i < (2 * (pwr - PWR_MIN) /
EEP_SCALE
+ 1); i++)
1788
uint16_t scaleValue =
EEP_SCALE
;
1801
lRatio = (target - srcLeft) *
EEP_SCALE
/ (srcRight - srcLeft);
1804
rv = targetLeft * (scaleUp ?
EEP_SCALE
: 1);
1805
} else if (lRatio >
EEP_SCALE
) {
1807
rv = targetRight * (scaleUp ?
EEP_SCALE
: 1);
1809
rv = (lRatio * targetRight + (
EEP_SCALE
- lRatio) *
1815
rv *=
EEP_SCALE
;
1823
* up by
EEP_SCALE
so can do integer arithmatic
1837
uint32_t target = value *
EEP_SCALE
;
[
all
...]
/src/sys/external/isc/atheros_hal/dist/
ah_eeprom_v3.h
129
#define
EEP_SCALE
100 /* conversion scale to avoid fp arith */
Completed in 15 milliseconds
Indexes created Fri Oct 17 03:10:13 GMT 2025