Lines Matching refs:message
243 u8 message[7]; member
332 struct mxt_message *message) in mxt_dump_message() argument
335 message->reportid, 7, message->message); in mxt_dump_message()
488 struct mxt_message *message) in mxt_read_message() argument
499 sizeof(struct mxt_message), message); in mxt_read_message()
516 static void mxt_input_button(struct mxt_data *data, struct mxt_message *message) in mxt_input_button() argument
526 button = !(message->message[0] & MXT_GPIO0_MASK << i); in mxt_input_button()
532 struct mxt_message *message, int id) in mxt_input_touchevent() argument
535 u8 status = message->message[0]; in mxt_input_touchevent()
542 x = (message->message[1] << 4) | ((message->message[3] >> 4) & 0xf); in mxt_input_touchevent()
543 y = (message->message[2] << 4) | ((message->message[3] & 0xf)); in mxt_input_touchevent()
549 area = message->message[4]; in mxt_input_touchevent()
550 pressure = message->message[5]; in mxt_input_touchevent()
591 struct mxt_message message; in mxt_interrupt() local
592 const u8 *payload = &message.message[0]; in mxt_interrupt()
598 if (mxt_read_message(data, &message)) { in mxt_interrupt()
603 reportid = message.reportid; in mxt_interrupt()
610 } else if (mxt_is_T9_message(data, &message)) { in mxt_interrupt()
612 mxt_input_touchevent(data, &message, id); in mxt_interrupt()
614 } else if (message.reportid == data->T19_reportid) { in mxt_interrupt()
615 mxt_input_button(data, &message); in mxt_interrupt()
618 mxt_dump_message(dev, &message); in mxt_interrupt()
670 struct mxt_message message; in mxt_make_highchg() local
676 error = mxt_read_message(data, &message); in mxt_make_highchg()
679 } while (message.reportid != 0xff && --count); in mxt_make_highchg()