Home
last modified time | relevance | path

Searched refs:__txpower (Results 1 – 6 of 6) sorted by relevance

/drivers/net/wireless/ralink/rt2x00/
Drt2400pci.h941 #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))
Drt2500usb.h838 #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)
Drt73usb.h1062 #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)
Drt2500pci.h1218 #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)
Drt61pci.h1483 #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)
Drt2800.h3159 #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)