Lines Matching refs:report
191 uint8_t report[APPLEIR_REPORT_LEN]; in appleir_intr() local
200 memcpy(report, buf, APPLEIR_REPORT_LEN); in appleir_intr()
205 if (report[0] == APPLEIR_PKT_KEYDOWN && in appleir_intr()
206 report[1] == APPLEIR_SIG_HI && report[2] == APPLEIR_SIG_BATTLO) { in appleir_intr()
216 if (report[0] == APPLEIR_PKT_KEYDOWN && in appleir_intr()
217 report[1] == APPLEIR_SIG_HI && report[2] == APPLEIR_SIG_KEYLO) { in appleir_intr()
230 } else if (report[4] & APPLEIR_TWO_PKT_FLAG) { in appleir_intr()
232 sc->sc_prev_key_idx = (report[4] >> 1) & APPLEIR_KEY_MASK; in appleir_intr()
237 index = (report[4] >> 1) & APPLEIR_KEY_MASK; in appleir_intr()
253 if (report[0] == APPLEIR_PKT_REPEAT && in appleir_intr()
254 report[1] == APPLEIR_SIG_HI && report[2] == APPLEIR_SIG_KEYLO) { in appleir_intr()
260 if (report[4] & APPLEIR_TWO_PKT_FLAG) in appleir_intr()
263 repeat_idx = (report[4] >> 1) & APPLEIR_KEY_MASK; in appleir_intr()
278 if (report[0] == APPLEIR_PKT_REPEAT && in appleir_intr()
279 report[1] == APPLEIR_NEC_HI && report[2] == APPLEIR_NEC_LO) { in appleir_intr()
280 uint8_t code = report[3]; in appleir_intr()
281 uint8_t checksum = report[4]; in appleir_intr()
313 report[0], report[1], report[2]); in appleir_intr()