Home
last modified time | relevance | path

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

/drivers/net/wireless/rt2x00/
Drt2400pci.h942 #define MAX_TXPOWER 62 macro
946 clamp_t(char, (__txpower), MIN_TXPOWER, MAX_TXPOWER)
949 ((__CLAMP_TX(__txpower) - MAX_TXPOWER) + MIN_TXPOWER)
952 (MAX_TXPOWER - (__CLAMP_TX(__txpower) - MIN_TXPOWER))
Drt2500usb.h839 #define MAX_TXPOWER 31 macro
843 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower)
846 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.h1493 #define MAX_TXPOWER 31 macro
1497 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower)
1500 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
Drt73usb.c773 if (txpower > MAX_TXPOWER && txpower <= (MAX_TXPOWER + r94)) in rt73usb_config_channel()
774 r94 += txpower - MAX_TXPOWER; in rt73usb_config_channel()
2162 info[i].max_power = MAX_TXPOWER; in rt73usb_probe_hw_mode()
2169 info[i].max_power = MAX_TXPOWER; in rt73usb_probe_hw_mode()
Drt61pci.c884 if (txpower > MAX_TXPOWER && txpower <= (MAX_TXPOWER + r94)) in rt61pci_config_channel()
885 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.c1754 info[i].max_power = MAX_TXPOWER; in rt2500usb_probe_hw_mode()
1760 info[i].max_power = MAX_TXPOWER; in rt2500usb_probe_hw_mode()
Drt2500pci.c1915 info[i].max_power = MAX_TXPOWER; in rt2500pci_probe_hw_mode()
1921 info[i].max_power = MAX_TXPOWER; in rt2500pci_probe_hw_mode()
Drt2400pci.c1604 info[i].max_power = TXPOWER_FROM_DEV(MAX_TXPOWER); in rt2400pci_probe_hw_mode()