Searched refs:MAX_TXPOWER (Results 1 – 10 of 10) sorted by relevance
| /linux-4.4.14/drivers/net/wireless/rt2x00/ |
| D | rt2400pci.h | 949 #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))
|
| D | rt2500usb.h | 846 #define MAX_TXPOWER 31 macro 850 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 853 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
| D | rt73usb.h | 1070 #define MAX_TXPOWER 31 macro 1074 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 1077 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
| D | rt2500pci.h | 1226 #define MAX_TXPOWER 31 macro 1230 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 1233 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
| D | rt61pci.h | 1491 #define MAX_TXPOWER 31 macro 1495 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 1498 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
| D | rt73usb.c | 768 if (txpower > MAX_TXPOWER && txpower <= (MAX_TXPOWER + r94)) in rt73usb_config_channel() 769 r94 += txpower - MAX_TXPOWER; in rt73usb_config_channel() 2156 info[i].max_power = MAX_TXPOWER; in rt73usb_probe_hw_mode() 2163 info[i].max_power = MAX_TXPOWER; in rt73usb_probe_hw_mode()
|
| D | rt61pci.c | 881 if (txpower > MAX_TXPOWER && txpower <= (MAX_TXPOWER + r94)) in rt61pci_config_channel() 882 r94 += txpower - MAX_TXPOWER; in rt61pci_config_channel() 2814 info[i].max_power = MAX_TXPOWER; in rt61pci_probe_hw_mode() 2821 info[i].max_power = MAX_TXPOWER; in rt61pci_probe_hw_mode()
|
| D | rt2500usb.c | 1752 info[i].max_power = MAX_TXPOWER; in rt2500usb_probe_hw_mode() 1758 info[i].max_power = MAX_TXPOWER; in rt2500usb_probe_hw_mode()
|
| D | rt2500pci.c | 1925 info[i].max_power = MAX_TXPOWER; in rt2500pci_probe_hw_mode() 1931 info[i].max_power = MAX_TXPOWER; in rt2500pci_probe_hw_mode()
|
| D | rt2400pci.c | 1607 info[i].max_power = TXPOWER_FROM_DEV(MAX_TXPOWER); in rt2400pci_probe_hw_mode()
|