Home
last modified time | relevance | path

Searched refs:vgc_level (Results 1 – 8 of 8) sorted by relevance

/drivers/net/wireless/ralink/rt2x00/
Drt2400pci.c601 struct link_qual *qual, u8 vgc_level) in rt2400pci_set_vgc() argument
603 if (qual->vgc_level_reg != vgc_level) { in rt2400pci_set_vgc()
604 rt2400pci_bbp_write(rt2x00dev, 13, vgc_level); in rt2400pci_set_vgc()
605 qual->vgc_level = vgc_level; in rt2400pci_set_vgc()
606 qual->vgc_level_reg = vgc_level; in rt2400pci_set_vgc()
629 if ((qual->false_cca > 512) && (qual->vgc_level < 0x20)) in rt2400pci_link_tuner()
630 rt2400pci_set_vgc(rt2x00dev, qual, ++qual->vgc_level); in rt2400pci_link_tuner()
631 else if ((qual->false_cca < 100) && (qual->vgc_level > 0x08)) in rt2400pci_link_tuner()
632 rt2400pci_set_vgc(rt2x00dev, qual, --qual->vgc_level); in rt2400pci_link_tuner()
Drt73usb.c905 struct link_qual *qual, u8 vgc_level) in rt73usb_set_vgc() argument
907 if (qual->vgc_level != vgc_level) { in rt73usb_set_vgc()
908 rt73usb_bbp_write(rt2x00dev, 17, vgc_level); in rt73usb_set_vgc()
909 qual->vgc_level = vgc_level; in rt73usb_set_vgc()
910 qual->vgc_level_reg = vgc_level; in rt73usb_set_vgc()
1002 if (qual->vgc_level > up_bound) { in rt73usb_link_tuner()
1013 if ((qual->false_cca > 512) && (qual->vgc_level < up_bound)) in rt73usb_link_tuner()
1015 min_t(u8, qual->vgc_level + 4, up_bound)); in rt73usb_link_tuner()
1016 else if ((qual->false_cca < 100) && (qual->vgc_level > low_bound)) in rt73usb_link_tuner()
1018 max_t(u8, qual->vgc_level - 4, low_bound)); in rt73usb_link_tuner()
Drt2x00link.c266 u8 vgc_level = qual->vgc_level_reg; in rt2x00link_reset_tuner() local
288 qual->vgc_level_reg = vgc_level; in rt2x00link_reset_tuner()
Drt61pci.c1030 struct link_qual *qual, u8 vgc_level) in rt61pci_set_vgc() argument
1032 if (qual->vgc_level != vgc_level) { in rt61pci_set_vgc()
1033 rt61pci_bbp_write(rt2x00dev, 17, vgc_level); in rt61pci_set_vgc()
1034 qual->vgc_level = vgc_level; in rt61pci_set_vgc()
1035 qual->vgc_level_reg = vgc_level; in rt61pci_set_vgc()
1117 if (qual->vgc_level > up_bound) { in rt61pci_link_tuner()
1128 if ((qual->false_cca > 512) && (qual->vgc_level < up_bound)) in rt61pci_link_tuner()
1129 rt61pci_set_vgc(rt2x00dev, qual, ++qual->vgc_level); in rt61pci_link_tuner()
1130 else if ((qual->false_cca < 100) && (qual->vgc_level > low_bound)) in rt61pci_link_tuner()
1131 rt61pci_set_vgc(rt2x00dev, qual, --qual->vgc_level); in rt61pci_link_tuner()
Drt2500pci.c639 struct link_qual *qual, u8 vgc_level) in rt2500pci_set_vgc() argument
641 if (qual->vgc_level_reg != vgc_level) { in rt2500pci_set_vgc()
642 rt2500pci_bbp_write(rt2x00dev, 17, vgc_level); in rt2500pci_set_vgc()
643 qual->vgc_level = vgc_level; in rt2500pci_set_vgc()
644 qual->vgc_level_reg = vgc_level; in rt2500pci_set_vgc()
683 rt2500pci_set_vgc(rt2x00dev, qual, qual->vgc_level); in rt2500pci_link_tuner()
708 rt2500pci_set_vgc(rt2x00dev, qual, qual->vgc_level); in rt2500pci_link_tuner()
Drt2x00.h247 u8 vgc_level; member
Drt2800lib.c5100 struct link_qual *qual, u8 vgc_level) in rt2800_set_vgc() argument
5102 if (qual->vgc_level != vgc_level) { in rt2800_set_vgc()
5106 vgc_level); in rt2800_set_vgc()
5109 rt2800_bbp_write_with_rx_chain(rt2x00dev, 66, vgc_level); in rt2800_set_vgc()
5111 rt2800_bbp_write(rt2x00dev, 66, vgc_level); in rt2800_set_vgc()
5114 qual->vgc_level = vgc_level; in rt2800_set_vgc()
5115 qual->vgc_level_reg = vgc_level; in rt2800_set_vgc()
Drt2500usb.c722 qual->vgc_level = value; in rt2500usb_reset_tuner()