Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2400pci.h938 #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 Drt2500usb.h835 #define MAX_TXPOWER 31 macro
839 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower)
842 clamp_t(u8, __txpower, MIN_TXPOWER, MAX_TXPOWER)
H A Drt73usb.h1059 #define MAX_TXPOWER 31 macro
1063 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower)
1066 clamp_t(u8, __txpower, MIN_TXPOWER, MAX_TXPOWER)
H A Drt2500pci.h1215 #define MAX_TXPOWER 31 macro
1219 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower)
1222 clamp_t(u8, __txpower, MIN_TXPOWER, MAX_TXPOWER)
H A Drt61pci.h1480 #define MAX_TXPOWER 31 macro
1484 (((u8)(__txpower)) > MAX_TXPOWER) ? DEFAULT_TXPOWER : (__txpower)
1487 clamp_t(u8, __txpower, MIN_TXPOWER, MAX_TXPOWER)
H A Drt73usb.c762 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 Drt61pci.c790 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 Drt2500usb.c1731 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 Drt2500pci.c1918 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 Drt2400pci.c1600 info[i].max_power = TXPOWER_FROM_DEV(MAX_TXPOWER); in rt2400pci_probe_hw_mode()