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