Searched refs:MAX_TXPOWER (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2400pci.h | 938 #define MAX_TXPOWER 62 macro 942 clamp_t(u8, (__txpower), MIN_TXPOWER, MAX_TXPOWER) 945 ((__CLAMP_TX(__txpower) - MAX_TXPOWER) + MIN_TXPOWER) 948 (MAX_TXPOWER - (__CLAMP_TX(__txpower) - MIN_TXPOWER))
|
H A D | rt2500usb.h | 835 #define MAX_TXPOWER 31 macro 839 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 842 clamp_t(u8, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
H A D | rt73usb.h | 1059 #define MAX_TXPOWER 31 macro 1063 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 1066 clamp_t(u8, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
H A D | rt2500pci.h | 1215 #define MAX_TXPOWER 31 macro 1219 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 1222 clamp_t(u8, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
H A D | rt61pci.h | 1480 #define MAX_TXPOWER 31 macro 1484 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower) 1487 clamp_t(u8, __txpower, MIN_TXPOWER, MAX_TXPOWER)
|
H A D | rt73usb.c | 762 if (txpower > MAX_TXPOWER && txpower <= (MAX_TXPOWER + r94)) in rt73usb_config_channel() 763 r94 += txpower - MAX_TXPOWER; in rt73usb_config_channel() 2147 info[i].max_power = MAX_TXPOWER; in rt73usb_probe_hw_mode() 2154 info[i].max_power = MAX_TXPOWER; in rt73usb_probe_hw_mode()
|
H A D | rt61pci.c | 790 if (txpower > MAX_TXPOWER && txpower <= (MAX_TXPOWER + r94)) in rt61pci_config_channel() 791 r94 += txpower - MAX_TXPOWER; in rt61pci_config_channel() 2723 info[i].max_power = MAX_TXPOWER; in rt61pci_probe_hw_mode() 2730 info[i].max_power = MAX_TXPOWER; in rt61pci_probe_hw_mode()
|
H A D | rt2500usb.c | 1731 info[i].max_power = MAX_TXPOWER; in rt2500usb_probe_hw_mode() 1737 info[i].max_power = MAX_TXPOWER; in rt2500usb_probe_hw_mode()
|
H A D | rt2500pci.c | 1918 info[i].max_power = MAX_TXPOWER; in rt2500pci_probe_hw_mode() 1924 info[i].max_power = MAX_TXPOWER; in rt2500pci_probe_hw_mode()
|
H A D | rt2400pci.c | 1600 info[i].max_power = TXPOWER_FROM_DEV(MAX_TXPOWER); in rt2400pci_probe_hw_mode()
|