Searched refs:totalD (Results 1 - 9 of 9) sorted by relevance

/freebsd-11.0-release/sys/dev/ath/ath_hal/ar9002/
H A Dar9280.c287 int totalD, totalF,totalMin;
320 totalD = data[i].channelValue - data[last].channelValue;
321 if (totalD > 0) {
323 *maxPow = (int8_t) ((totalF*(chan->channel-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD);
326 *minPow = (int8_t) ((totalMin*(chan->channel-data[last].channelValue) + ar9280GetMinPower(ah, &data[last])*totalD)/totalD);
H A Dar9287.c229 int totalD, totalF,totalMin;
262 totalD = data[i].channelValue - data[last].channelValue;
263 if (totalD > 0) {
265 *maxPow = (int8_t) ((totalF*(chan->channel-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD);
268 *minPow = (int8_t) ((totalMin*(chan->channel-data[last].channelValue) + ar9287GetMinPower(ah, &data[last])*totalD)/totalD);
/freebsd-11.0-release/sys/dev/ath/ath_hal/ar5416/
H A Dar2133.c370 int totalD, totalF,totalMin;
403 totalD = data[i].channelValue - data[last].channelValue;
404 if (totalD > 0) {
406 *maxPow = (int8_t) ((totalF*(chan->channel-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD);
409 *minPow = (int8_t) ((totalMin*(chan->channel-data[last].channelValue) + ar2133GetMinPower(ah, &data[last])*totalD)/totalD);
/freebsd-11.0-release/sys/dev/ath/ath_hal/ar5212/
H A Dar2316.c652 int totalD,totalF, totalMin,last, i; local
688 totalD = data[i].channelValue - data[last].channelValue;
689 if (totalD > 0) {
692 ar2316GetMaxPower(ah, &data[last])*totalD)/totalD);
695 ar2316GetMinPower(ah, &data[last])*totalD)/totalD);
H A Dar2317.c632 int totalD,totalF, totalMin,last, i; local
668 totalD = data[i].channelValue - data[last].channelValue;
669 if (totalD > 0) {
672 ar2317GetMaxPower(ah, &data[last])*totalD)/totalD);
675 ar2317GetMinPower(ah, &data[last])*totalD)/totalD);
H A Dar2413.c647 int totalD,totalF, totalMin,last, i; local
683 totalD = data[i].channelValue - data[last].channelValue;
684 if (totalD > 0) {
687 ar2413GetMaxPower(ah, &data[last])*totalD)/totalD);
690 ar2413GetMinPower(ah, &data[last])*totalD)/totalD);
H A Dar2425.c610 int totalD,totalF, totalMin,last, i; local
646 totalD = data[i].channelValue - data[last].channelValue;
647 if (totalD > 0) {
650 ar2425GetMaxPower(ah, &data[last])*totalD)/totalD);
653 ar2425GetMinPower(ah, &data[last])*totalD)/totalD);
H A Dar5112.c773 int totalD, totalF,totalMin; local
817 totalD = data[i].channelValue - data[last].channelValue;
818 if (totalD > 0) {
820 *maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD);
823 *minPow = (int8_t) ((totalMin*(freq-data[last].channelValue) + ar5112GetMinPower(ah, &data[last])*totalD)/totalD);
H A Dar5413.c691 int totalD,totalF, totalMin,last, i; local
729 totalD = data[i].channelValue - data[last].channelValue;
730 if (totalD > 0) {
733 ar5413GetMaxPower(ah, &data[last])*totalD)/totalD);
736 ar5413GetMinPower(ah, &data[last])*totalD)/totalD);

Completed in 191 milliseconds