Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2500usb.c561 if (rt2x00_rf(rt2x00dev, RF2525E) || rt2x00_rf(rt2x00dev, RF5222)) { in rt2500usb_config_ant()
569 if (rt2x00_rf(rt2x00dev, RF2525E)) in rt2500usb_config_ant()
593 if (rt2x00_rf(rt2x00dev, RF2525E)) { in rt2500usb_config_channel()
1448 if (!rt2x00_rf(rt2x00dev, RF2522) && in rt2500usb_init_eeprom()
1449 !rt2x00_rf(rt2x00dev, RF2523) && in rt2500usb_init_eeprom()
1450 !rt2x00_rf(rt2x00dev, RF2524) && in rt2500usb_init_eeprom()
1451 !rt2x00_rf(rt2x00dev, RF2525) && in rt2500usb_init_eeprom()
1452 !rt2x00_rf(rt2x00dev, RF2525E) && in rt2500usb_init_eeprom()
1453 !rt2x00_rf(rt2x00dev, RF5222)) { in rt2500usb_init_eeprom()
1699 if (rt2x00_rf(rt2x00dev, RF2522)) { in rt2500usb_probe_hw_mode()
[all …]
Drt2500pci.c447 if (rt2x00_rf(rt2x00dev, RF2525E) || rt2x00_rf(rt2x00dev, RF5222)) { in rt2500pci_config_ant()
455 if (rt2x00_rf(rt2x00dev, RF2525E)) in rt2500pci_config_ant()
481 if (!rt2x00_rf(rt2x00dev, RF2523)) in rt2500pci_config_channel()
488 if (rt2x00_rf(rt2x00dev, RF2525)) { in rt2500pci_config_channel()
522 if (!rt2x00_rf(rt2x00dev, RF2523)) { in rt2500pci_config_channel()
1640 if (!rt2x00_rf(rt2x00dev, RF2522) && in rt2500pci_init_eeprom()
1641 !rt2x00_rf(rt2x00dev, RF2523) && in rt2500pci_init_eeprom()
1642 !rt2x00_rf(rt2x00dev, RF2524) && in rt2500pci_init_eeprom()
1643 !rt2x00_rf(rt2x00dev, RF2525) && in rt2500pci_init_eeprom()
1644 !rt2x00_rf(rt2x00dev, RF2525E) && in rt2500pci_init_eeprom()
[all …]
Drt73usb.c129 20 + (rt2x00_rf(rt2x00dev, RF5225) || in rt73usb_rf_write()
130 rt2x00_rf(rt2x00dev, RF2527))); in rt73usb_rf_write()
719 if (rt2x00_rf(rt2x00dev, RF5226) || rt2x00_rf(rt2x00dev, RF5225)) in rt73usb_config_ant()
721 else if (rt2x00_rf(rt2x00dev, RF2528) || rt2x00_rf(rt2x00dev, RF2527)) in rt73usb_config_ant()
755 smart = !(rt2x00_rf(rt2x00dev, RF5225) || rt2x00_rf(rt2x00dev, RF2527)); in rt73usb_config_channel()
1233 if (rt2x00_rf(rt2x00dev, RF5225) || rt2x00_rf(rt2x00dev, RF2527)) in rt73usb_init_registers()
1868 if (!rt2x00_rf(rt2x00dev, RF5226) && in rt73usb_init_eeprom()
1869 !rt2x00_rf(rt2x00dev, RF2528) && in rt73usb_init_eeprom()
1870 !rt2x00_rf(rt2x00dev, RF5225) && in rt73usb_init_eeprom()
1871 !rt2x00_rf(rt2x00dev, RF2527)) { in rt73usb_init_eeprom()
[all …]
Drt61pci.c544 rt2x00_set_field8(&r3, BBP_R3_SMART_MODE, rt2x00_rf(rt2x00dev, RF5325)); in rt61pci_config_antenna_5x()
590 rt2x00_set_field8(&r3, BBP_R3_SMART_MODE, rt2x00_rf(rt2x00dev, RF2529)); in rt61pci_config_antenna_2x()
738 if (rt2x00_rf(rt2x00dev, RF5225) || rt2x00_rf(rt2x00dev, RF5325)) in rt61pci_config_ant()
740 else if (rt2x00_rf(rt2x00dev, RF2527)) in rt61pci_config_ant()
742 else if (rt2x00_rf(rt2x00dev, RF2529)) { in rt61pci_config_ant()
783 smart = !(rt2x00_rf(rt2x00dev, RF5225) || rt2x00_rf(rt2x00dev, RF2527)); in rt61pci_config_channel()
2426 if (!rt2x00_rf(rt2x00dev, RF5225) && in rt61pci_init_eeprom()
2427 !rt2x00_rf(rt2x00dev, RF5325) && in rt61pci_init_eeprom()
2428 !rt2x00_rf(rt2x00dev, RF2527) && in rt61pci_init_eeprom()
2429 !rt2x00_rf(rt2x00dev, RF2529)) { in rt61pci_init_eeprom()
[all …]
Drt2400pci.c458 if (rt2x00_rf(rt2x00dev, RF2420)) in rt2400pci_config_channel()
1486 if (!rt2x00_rf(rt2x00dev, RF2420) && !rt2x00_rf(rt2x00dev, RF2421)) { in rt2400pci_init_eeprom()
Drt2800lib.c72 if (rt2x00_rf(rt2x00dev, RF3020) || in rt2800_is_305x_soc()
73 rt2x00_rf(rt2x00dev, RF3021) || in rt2800_is_305x_soc()
74 rt2x00_rf(rt2x00dev, RF3022)) in rt2800_is_305x_soc()
4080 if (rt2x00_rf(rt2x00dev, RF3070) || in rt2800_config_channel()
4081 rt2x00_rf(rt2x00dev, RF3290) || in rt2800_config_channel()
4082 rt2x00_rf(rt2x00dev, RF3322) || in rt2800_config_channel()
4083 rt2x00_rf(rt2x00dev, RF5350) || in rt2800_config_channel()
4084 rt2x00_rf(rt2x00dev, RF5360) || in rt2800_config_channel()
4085 rt2x00_rf(rt2x00dev, RF5362) || in rt2800_config_channel()
4086 rt2x00_rf(rt2x00dev, RF5370) || in rt2800_config_channel()
[all …]
Drt2x00.h1125 static inline bool rt2x00_rf(struct rt2x00_dev *rt2x00dev, const u16 rf) in rt2x00_rf() function