Home
last modified time | relevance | path

Searched refs:MAX_TXPOWER (Results 1 – 10 of 10) sorted by relevance

/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2400pci.h949 #define MAX_TXPOWER 62 macro
953 clamp_t(char, (__txpower), MIN_TXPOWER, MAX_TXPOWER)
956 ((__CLAMP_TX(__txpower) - MAX_TXPOWER) + MIN_TXPOWER)
959 (MAX_TXPOWER - (__CLAMP_TX(__txpower) - MIN_TXPOWER))
Drt2500usb.h846 #define MAX_TXPOWER 31 macro
850 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower)
853 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
Drt73usb.h1070 #define MAX_TXPOWER 31 macro
1074 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower)
1077 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
Drt2500pci.h1226 #define MAX_TXPOWER 31 macro
1230 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower)
1233 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
Drt61pci.h1491 #define MAX_TXPOWER 31 macro
1495 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower)
1498 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
Drt73usb.c770 if (txpower > MAX_TXPOWER && txpower <= (MAX_TXPOWER + r94)) in rt73usb_config_channel()
771 r94 += txpower - MAX_TXPOWER; in rt73usb_config_channel()
2159 info[i].max_power = MAX_TXPOWER; in rt73usb_probe_hw_mode()
2166 info[i].max_power = MAX_TXPOWER; in rt73usb_probe_hw_mode()
Drt61pci.c883 if (txpower > MAX_TXPOWER && txpower <= (MAX_TXPOWER + r94)) in rt61pci_config_channel()
884 r94 += txpower - MAX_TXPOWER; in rt61pci_config_channel()
2817 info[i].max_power = MAX_TXPOWER; in rt61pci_probe_hw_mode()
2824 info[i].max_power = MAX_TXPOWER; in rt61pci_probe_hw_mode()
Drt2500usb.c1755 info[i].max_power = MAX_TXPOWER; in rt2500usb_probe_hw_mode()
1761 info[i].max_power = MAX_TXPOWER; in rt2500usb_probe_hw_mode()
Drt2500pci.c1927 info[i].max_power = MAX_TXPOWER; in rt2500pci_probe_hw_mode()
1933 info[i].max_power = MAX_TXPOWER; in rt2500pci_probe_hw_mode()
Drt2400pci.c1609 info[i].max_power = TXPOWER_FROM_DEV(MAX_TXPOWER); in rt2400pci_probe_hw_mode()