Home
last modified time | relevance | path

Searched refs:rt2x00_rf (Results 1 – 7 of 7) sorted by relevance

/drivers/net/wireless/ralink/rt2x00/
Drt2500usb.c584 if (rt2x00_rf(rt2x00dev, RF2525E) || rt2x00_rf(rt2x00dev, RF5222)) { in rt2500usb_config_ant()
592 if (rt2x00_rf(rt2x00dev, RF2525E)) in rt2500usb_config_ant()
616 if (rt2x00_rf(rt2x00dev, RF2525E)) { in rt2500usb_config_channel()
1474 if (!rt2x00_rf(rt2x00dev, RF2522) && in rt2500usb_init_eeprom()
1475 !rt2x00_rf(rt2x00dev, RF2523) && in rt2500usb_init_eeprom()
1476 !rt2x00_rf(rt2x00dev, RF2524) && in rt2500usb_init_eeprom()
1477 !rt2x00_rf(rt2x00dev, RF2525) && in rt2500usb_init_eeprom()
1478 !rt2x00_rf(rt2x00dev, RF2525E) && in rt2500usb_init_eeprom()
1479 !rt2x00_rf(rt2x00dev, RF5222)) { in rt2500usb_init_eeprom()
1725 if (rt2x00_rf(rt2x00dev, RF2522)) { in rt2500usb_probe_hw_mode()
[all …]
Drt2500pci.c455 if (rt2x00_rf(rt2x00dev, RF2525E) || rt2x00_rf(rt2x00dev, RF5222)) { in rt2500pci_config_ant()
463 if (rt2x00_rf(rt2x00dev, RF2525E)) in rt2500pci_config_ant()
489 if (!rt2x00_rf(rt2x00dev, RF2523)) in rt2500pci_config_channel()
496 if (rt2x00_rf(rt2x00dev, RF2525)) { in rt2500pci_config_channel()
530 if (!rt2x00_rf(rt2x00dev, RF2523)) { in rt2500pci_config_channel()
1649 if (!rt2x00_rf(rt2x00dev, RF2522) && in rt2500pci_init_eeprom()
1650 !rt2x00_rf(rt2x00dev, RF2523) && in rt2500pci_init_eeprom()
1651 !rt2x00_rf(rt2x00dev, RF2524) && in rt2500pci_init_eeprom()
1652 !rt2x00_rf(rt2x00dev, RF2525) && in rt2500pci_init_eeprom()
1653 !rt2x00_rf(rt2x00dev, RF2525E) && in rt2500pci_init_eeprom()
[all …]
Drt73usb.c137 20 + (rt2x00_rf(rt2x00dev, RF5225) || in rt73usb_rf_write()
138 rt2x00_rf(rt2x00dev, RF2527))); in rt73usb_rf_write()
727 if (rt2x00_rf(rt2x00dev, RF5226) || rt2x00_rf(rt2x00dev, RF5225)) in rt73usb_config_ant()
729 else if (rt2x00_rf(rt2x00dev, RF2528) || rt2x00_rf(rt2x00dev, RF2527)) in rt73usb_config_ant()
763 smart = !(rt2x00_rf(rt2x00dev, RF5225) || rt2x00_rf(rt2x00dev, RF2527)); in rt73usb_config_channel()
1241 if (rt2x00_rf(rt2x00dev, RF5225) || rt2x00_rf(rt2x00dev, RF2527)) in rt73usb_init_registers()
1879 if (!rt2x00_rf(rt2x00dev, RF5226) && in rt73usb_init_eeprom()
1880 !rt2x00_rf(rt2x00dev, RF2528) && in rt73usb_init_eeprom()
1881 !rt2x00_rf(rt2x00dev, RF5225) && in rt73usb_init_eeprom()
1882 !rt2x00_rf(rt2x00dev, RF2527)) { in rt73usb_init_eeprom()
[all …]
Drt61pci.c637 rt2x00_set_field8(&r3, BBP_R3_SMART_MODE, rt2x00_rf(rt2x00dev, RF5325)); in rt61pci_config_antenna_5x()
683 rt2x00_set_field8(&r3, BBP_R3_SMART_MODE, rt2x00_rf(rt2x00dev, RF2529)); in rt61pci_config_antenna_2x()
831 if (rt2x00_rf(rt2x00dev, RF5225) || rt2x00_rf(rt2x00dev, RF5325)) in rt61pci_config_ant()
833 else if (rt2x00_rf(rt2x00dev, RF2527)) in rt61pci_config_ant()
835 else if (rt2x00_rf(rt2x00dev, RF2529)) { in rt61pci_config_ant()
876 smart = !(rt2x00_rf(rt2x00dev, RF5225) || rt2x00_rf(rt2x00dev, RF2527)); in rt61pci_config_channel()
2519 if (!rt2x00_rf(rt2x00dev, RF5225) && in rt61pci_init_eeprom()
2520 !rt2x00_rf(rt2x00dev, RF5325) && in rt61pci_init_eeprom()
2521 !rt2x00_rf(rt2x00dev, RF2527) && in rt61pci_init_eeprom()
2522 !rt2x00_rf(rt2x00dev, RF2529)) { in rt61pci_init_eeprom()
[all …]
Drt2800lib.c76 if (rt2x00_rf(rt2x00dev, RF3020) || in rt2800_is_305x_soc()
77 rt2x00_rf(rt2x00dev, RF3021) || in rt2800_is_305x_soc()
78 rt2x00_rf(rt2x00dev, RF3022)) in rt2800_is_305x_soc()
3180 if (rt2x00_rf(rt2x00dev, RF3070) || in rt2800_config_channel()
3181 rt2x00_rf(rt2x00dev, RF3290) || in rt2800_config_channel()
3182 rt2x00_rf(rt2x00dev, RF3322) || in rt2800_config_channel()
3183 rt2x00_rf(rt2x00dev, RF5360) || in rt2800_config_channel()
3184 rt2x00_rf(rt2x00dev, RF5362) || in rt2800_config_channel()
3185 rt2x00_rf(rt2x00dev, RF5370) || in rt2800_config_channel()
3186 rt2x00_rf(rt2x00dev, RF5372) || in rt2800_config_channel()
[all …]
Drt2400pci.c466 if (rt2x00_rf(rt2x00dev, RF2420)) in rt2400pci_config_channel()
1495 if (!rt2x00_rf(rt2x00dev, RF2420) && !rt2x00_rf(rt2x00dev, RF2421)) { in rt2400pci_init_eeprom()
Drt2x00.h1119 static inline bool rt2x00_rf(struct rt2x00_dev *rt2x00dev, const u16 rf) in rt2x00_rf() function