Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/ath/ath_hal/ar9002/
H A Dar9287.c231 int totalD, totalF,totalMin; in ar9287GetChannelMaxMinPower()
264 totalD = data[i].channelValue - data[last].channelValue; in ar9287GetChannelMaxMinPower()
265 if (totalD > 0) { in ar9287GetChannelMaxMinPower()
267 …(int8_t) ((totalF*(chan->channel-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD); in ar9287GetChannelMaxMinPower()
270 …alMin*(chan->channel-data[last].channelValue) + ar9287GetMinPower(ah, &data[last])*totalD)/totalD); in ar9287GetChannelMaxMinPower()
H A Dar9280.c289 int totalD, totalF,totalMin; in ar9280GetChannelMaxMinPower()
322 totalD = data[i].channelValue - data[last].channelValue; in ar9280GetChannelMaxMinPower()
323 if (totalD > 0) { in ar9280GetChannelMaxMinPower()
325 …(int8_t) ((totalF*(chan->channel-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD); in ar9280GetChannelMaxMinPower()
328 …alMin*(chan->channel-data[last].channelValue) + ar9280GetMinPower(ah, &data[last])*totalD)/totalD); in ar9280GetChannelMaxMinPower()
/freebsd-13.1/sys/dev/ath/ath_hal/ar5416/
H A Dar2133.c372 int totalD, totalF,totalMin; in ar2133GetChannelMaxMinPower()
405 totalD = data[i].channelValue - data[last].channelValue; in ar2133GetChannelMaxMinPower()
406 if (totalD > 0) { in ar2133GetChannelMaxMinPower()
408 …(int8_t) ((totalF*(chan->channel-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD); in ar2133GetChannelMaxMinPower()
411 …alMin*(chan->channel-data[last].channelValue) + ar2133GetMinPower(ah, &data[last])*totalD)/totalD); in ar2133GetChannelMaxMinPower()
/freebsd-13.1/sys/dev/ath/ath_hal/ar5212/
H A Dar2413.c649 int totalD,totalF, totalMin,last, i; in ar2413GetChannelMaxMinPower() local
685 totalD = data[i].channelValue - data[last].channelValue; in ar2413GetChannelMaxMinPower()
686 if (totalD > 0) { in ar2413GetChannelMaxMinPower()
689 ar2413GetMaxPower(ah, &data[last])*totalD)/totalD); in ar2413GetChannelMaxMinPower()
692 ar2413GetMinPower(ah, &data[last])*totalD)/totalD); in ar2413GetChannelMaxMinPower()
H A Dar2425.c611 int totalD,totalF, totalMin,last, i; in ar2425GetChannelMaxMinPower() local
647 totalD = data[i].channelValue - data[last].channelValue; in ar2425GetChannelMaxMinPower()
648 if (totalD > 0) { in ar2425GetChannelMaxMinPower()
651 ar2425GetMaxPower(ah, &data[last])*totalD)/totalD); in ar2425GetChannelMaxMinPower()
654 ar2425GetMinPower(ah, &data[last])*totalD)/totalD); in ar2425GetChannelMaxMinPower()
H A Dar2317.c634 int totalD,totalF, totalMin,last, i; in ar2317GetChannelMaxMinPower() local
670 totalD = data[i].channelValue - data[last].channelValue; in ar2317GetChannelMaxMinPower()
671 if (totalD > 0) { in ar2317GetChannelMaxMinPower()
674 ar2317GetMaxPower(ah, &data[last])*totalD)/totalD); in ar2317GetChannelMaxMinPower()
677 ar2317GetMinPower(ah, &data[last])*totalD)/totalD); in ar2317GetChannelMaxMinPower()
H A Dar2316.c654 int totalD,totalF, totalMin,last, i; in ar2316GetChannelMaxMinPower() local
690 totalD = data[i].channelValue - data[last].channelValue; in ar2316GetChannelMaxMinPower()
691 if (totalD > 0) { in ar2316GetChannelMaxMinPower()
694 ar2316GetMaxPower(ah, &data[last])*totalD)/totalD); in ar2316GetChannelMaxMinPower()
697 ar2316GetMinPower(ah, &data[last])*totalD)/totalD); in ar2316GetChannelMaxMinPower()
H A Dar5413.c692 int totalD,totalF, totalMin,last, i; in ar5413GetChannelMaxMinPower() local
730 totalD = data[i].channelValue - data[last].channelValue; in ar5413GetChannelMaxMinPower()
731 if (totalD > 0) { in ar5413GetChannelMaxMinPower()
734 ar5413GetMaxPower(ah, &data[last])*totalD)/totalD); in ar5413GetChannelMaxMinPower()
737 ar5413GetMinPower(ah, &data[last])*totalD)/totalD); in ar5413GetChannelMaxMinPower()
H A Dar5112.c775 int totalD, totalF,totalMin; in ar5112GetChannelMaxMinPower() local
819 totalD = data[i].channelValue - data[last].channelValue; in ar5112GetChannelMaxMinPower()
820 if (totalD > 0) { in ar5112GetChannelMaxMinPower()
822 …maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD); in ar5112GetChannelMaxMinPower()
825 …_t) ((totalMin*(freq-data[last].channelValue) + ar5112GetMinPower(ah, &data[last])*totalD)/totalD); in ar5112GetChannelMaxMinPower()