Lines Matching defs:vga
935 vga_dbs(u_int8_t vga)
937 if (vga < 0x0F) return 0.0;
938 if ((vga >= 0x0F) && (vga <= 0x1B)) return 0.0 + 0.77 * (vga - 0x0F);
939 if ((vga >= 0x1C) && (vga <= 0x33)) return 10.0 + 1.25 * (vga - 0x1C);
940 if ((vga >= 0x34) && (vga <= 0x39)) return 40.0 + 1.67 * (vga - 0x34);
941 if ((vga >= 0x3A) && (vga < 0x3F)) return 50.0 + 2.80 * (vga - 0x3A);
1628 u_int8_t vga;
1633 vga = read_framer(Bt8370_VGA) & 0x3F;
1651 printf("Cur line loss: \t\t%4.1f dB\n", vga_dbs(vga));