Searched refs:__txpower (Results 1 – 6 of 6) sorted by relevance
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2400pci.h | 941 #define __CLAMP_TX(__txpower) \ argument 942 clamp_t(char, (__txpower), MIN_TXPOWER, MAX_TXPOWER) 944 #define TXPOWER_FROM_DEV(__txpower) \ argument 945 ((__CLAMP_TX(__txpower) - MAX_TXPOWER) + MIN_TXPOWER) 947 #define TXPOWER_TO_DEV(__txpower) \ argument 948 (MAX_TXPOWER - (__CLAMP_TX(__txpower) - MIN_TXPOWER))
|
D | rt2500usb.h | 838 #define TXPOWER_FROM_DEV(__txpower) \ argument 839 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 841 #define TXPOWER_TO_DEV(__txpower) \ argument 842 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
D | rt73usb.h | 1062 #define TXPOWER_FROM_DEV(__txpower) \ argument 1063 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 1065 #define TXPOWER_TO_DEV(__txpower) \ argument 1066 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
D | rt2500pci.h | 1218 #define TXPOWER_FROM_DEV(__txpower) \ argument 1219 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 1221 #define TXPOWER_TO_DEV(__txpower) \ argument 1222 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
D | rt61pci.h | 1483 #define TXPOWER_FROM_DEV(__txpower) \ argument 1484 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 1486 #define TXPOWER_TO_DEV(__txpower) \ argument 1487 clamp_t(char, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
D | rt2800.h | 3159 #define TXPOWER_G_FROM_DEV(__txpower) \ argument 3160 ((__txpower) > MAX_G_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 3162 #define TXPOWER_A_FROM_DEV(__txpower) \ argument 3163 ((__txpower) > MAX_A_TXPOWER) ? DEFAULT_TXPOWER : (__txpower)
|