Home | History | Annotate | Download | only in tools

Lines Matching refs:vs

731 		uint16_t vs = htobs(strtoul(opt, NULL, 16));
732 if (hci_write_voice_setting(s, vs, 2000) < 0) {
738 uint16_t vs;
740 if (hci_read_voice_setting(s, &vs, 1000) < 0) {
745 vs = htobs(vs);
746 ic = (vs & 0x0300) >> 8;
748 printf("\tVoice setting: 0x%04x%s\n", vs,
749 ((vs & 0x03fc) == 0x0060) ? " (Default Condition)" : "");
751 printf("\tInput Data Format: %s\n", idf[(vs & 0xc0) >> 6]);
753 printf("\tInput Sample Size: %s\n", iss[(vs & 0x20) >> 5]);
754 printf("\t# of bits padding at MSB: %d\n", (vs & 0x1c) >> 2);
756 printf("\tAir Coding Format: %s\n", acf[vs & 0x03]);