Home
last modified time | relevance | path

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

/drivers/net/wireless/ralink/rt2x00/
Drt2400pci.c598 struct link_qual *qual, u8 vgc_level) in rt2400pci_set_vgc() argument
600 if (qual->vgc_level_reg != vgc_level) { in rt2400pci_set_vgc()
601 rt2400pci_bbp_write(rt2x00dev, 13, vgc_level); in rt2400pci_set_vgc()
602 qual->vgc_level = vgc_level; in rt2400pci_set_vgc()
603 qual->vgc_level_reg = vgc_level; in rt2400pci_set_vgc()
626 if ((qual->false_cca > 512) && (qual->vgc_level < 0x20)) in rt2400pci_link_tuner()
627 rt2400pci_set_vgc(rt2x00dev, qual, ++qual->vgc_level); in rt2400pci_link_tuner()
628 else if ((qual->false_cca < 100) && (qual->vgc_level > 0x08)) in rt2400pci_link_tuner()
629 rt2400pci_set_vgc(rt2x00dev, qual, --qual->vgc_level); in rt2400pci_link_tuner()
Drt73usb.c902 struct link_qual *qual, u8 vgc_level) in rt73usb_set_vgc() argument
904 if (qual->vgc_level != vgc_level) { in rt73usb_set_vgc()
905 rt73usb_bbp_write(rt2x00dev, 17, vgc_level); in rt73usb_set_vgc()
906 qual->vgc_level = vgc_level; in rt73usb_set_vgc()
907 qual->vgc_level_reg = vgc_level; in rt73usb_set_vgc()
999 if (qual->vgc_level > up_bound) { in rt73usb_link_tuner()
1010 if ((qual->false_cca > 512) && (qual->vgc_level < up_bound)) in rt73usb_link_tuner()
1012 min_t(u8, qual->vgc_level + 4, up_bound)); in rt73usb_link_tuner()
1013 else if ((qual->false_cca < 100) && (qual->vgc_level > low_bound)) in rt73usb_link_tuner()
1015 max_t(u8, qual->vgc_level - 4, low_bound)); in rt73usb_link_tuner()
Drt61pci.c1027 struct link_qual *qual, u8 vgc_level) in rt61pci_set_vgc() argument
1029 if (qual->vgc_level != vgc_level) { in rt61pci_set_vgc()
1030 rt61pci_bbp_write(rt2x00dev, 17, vgc_level); in rt61pci_set_vgc()
1031 qual->vgc_level = vgc_level; in rt61pci_set_vgc()
1032 qual->vgc_level_reg = vgc_level; in rt61pci_set_vgc()
1114 if (qual->vgc_level > up_bound) { in rt61pci_link_tuner()
1125 if ((qual->false_cca > 512) && (qual->vgc_level < up_bound)) in rt61pci_link_tuner()
1126 rt61pci_set_vgc(rt2x00dev, qual, ++qual->vgc_level); in rt61pci_link_tuner()
1127 else if ((qual->false_cca < 100) && (qual->vgc_level > low_bound)) in rt61pci_link_tuner()
1128 rt61pci_set_vgc(rt2x00dev, qual, --qual->vgc_level); in rt61pci_link_tuner()
Drt2x00link.c268 u8 vgc_level = qual->vgc_level_reg; in rt2x00link_reset_tuner() local
290 qual->vgc_level_reg = vgc_level; in rt2x00link_reset_tuner()
Drt2500pci.c636 struct link_qual *qual, u8 vgc_level) in rt2500pci_set_vgc() argument
638 if (qual->vgc_level_reg != vgc_level) { in rt2500pci_set_vgc()
639 rt2500pci_bbp_write(rt2x00dev, 17, vgc_level); in rt2500pci_set_vgc()
640 qual->vgc_level = vgc_level; in rt2500pci_set_vgc()
641 qual->vgc_level_reg = vgc_level; in rt2500pci_set_vgc()
680 rt2500pci_set_vgc(rt2x00dev, qual, qual->vgc_level); in rt2500pci_link_tuner()
705 rt2500pci_set_vgc(rt2x00dev, qual, qual->vgc_level); in rt2500pci_link_tuner()
Drt2800lib.c4470 struct link_qual *qual, u8 vgc_level) in rt2800_set_vgc() argument
4472 if (qual->vgc_level != vgc_level) { in rt2800_set_vgc()
4476 vgc_level); in rt2800_set_vgc()
4479 rt2800_bbp_write_with_rx_chain(rt2x00dev, 66, vgc_level); in rt2800_set_vgc()
4481 rt2800_bbp_write(rt2x00dev, 66, vgc_level); in rt2800_set_vgc()
4484 qual->vgc_level = vgc_level; in rt2800_set_vgc()
4485 qual->vgc_level_reg = vgc_level; in rt2800_set_vgc()
Drt2x00.h244 u8 vgc_level; member
Drt2500usb.c734 qual->vgc_level = value; in rt2500usb_reset_tuner()