Lines Matching refs:mData1

38         : mType(type), mData1(data1), mData2(data2) {  in CCData()
41 if (mData1 >= 0x10 && mData1 <= 0x1f) { in getChannel()
42 *channel = (mData1 >= 0x18 ? 1 : 0) + (mType ? 2 : 0); in getChannel()
49 uint8_t mData1; member
54 return cc->mData1 < 0x10 && cc->mData2 < 0x10; in isNullPad()
73 if (cc->mData1 >= 0x20 && cc->mData1 <= 0x7f) { in dumpBytePair()
75 sprintf(tmp, "[%d]Basic: %c %c", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
76 } else if ((cc->mData1 == 0x11 || cc->mData1 == 0x19) in dumpBytePair()
79 sprintf(tmp, "[%d]Special: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
80 } else if ((cc->mData1 == 0x12 || cc->mData1 == 0x1A) in dumpBytePair()
83 sprintf(tmp, "[%d]Spanish: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
84 } else if ((cc->mData1 == 0x13 || cc->mData1 == 0x1B) in dumpBytePair()
87 sprintf(tmp, "[%d]German: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
88 } else if ((cc->mData1 == 0x11 || cc->mData1 == 0x19) in dumpBytePair()
91 sprintf(tmp, "[%d]Mid-row: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
92 } else if (((cc->mData1 == 0x14 || cc->mData1 == 0x1c) in dumpBytePair()
95 ((cc->mData1 == 0x17 || cc->mData1 == 0x1f) in dumpBytePair()
98 sprintf(tmp, "[%d]Ctrl: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
99 } else if ((cc->mData1 & 0x70) == 0x10 in dumpBytePair()
101 && ((cc->mData1 & 0x07) || !(cc->mData2 & 0x20)) ) { in dumpBytePair()
103 sprintf(tmp, "[%d]PAC: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()
105 sprintf(tmp, "[%d]Invalid: %02x %02x", cc->mType, cc->mData1, cc->mData2); in dumpBytePair()