Lines Matching refs:report_data
346 struct cyapa_pip_report_data *report_data);
2675 const struct cyapa_pip_report_data *report_data) in cyapa_pip_report_buttons() argument
2678 u8 buttons = report_data->report_head[PIP_BUTTONS_OFFSET]; in cyapa_pip_report_buttons()
2699 const struct cyapa_pip_report_data *report_data) in cyapa_pip_report_proximity() argument
2702 u8 distance = report_data->report_head[PIP_PROXIMITY_DISTANCE_OFFSET] & in cyapa_pip_report_proximity()
2748 const struct cyapa_pip_report_data *report_data) in cyapa_pip_report_touches() argument
2754 touch_num = report_data->report_head[PIP_NUMBER_OF_TOUCH_OFFSET] & in cyapa_pip_report_touches()
2759 &report_data->touch_records[i]); in cyapa_pip_report_touches()
2768 struct cyapa_pip_report_data report_data; in cyapa_pip_irq_handler() local
2778 ret = cyapa_i2c_pip_read(cyapa, (u8 *)&report_data, in cyapa_pip_irq_handler()
2786 &report_data.report_head[PIP_RESP_LENGTH_OFFSET]); in cyapa_pip_irq_handler()
2790 report_len, report_data.report_head[0], in cyapa_pip_irq_handler()
2791 report_data.report_head[1]); in cyapa_pip_irq_handler()
2799 ret = cyapa_i2c_pip_read(cyapa, (u8 *)&report_data, report_len); in cyapa_pip_irq_handler()
2806 return cyapa_pip_event_process(cyapa, &report_data); in cyapa_pip_irq_handler()
2810 struct cyapa_pip_report_data *report_data) in cyapa_pip_event_process() argument
2817 &report_data->report_head[PIP_RESP_LENGTH_OFFSET]); in cyapa_pip_event_process()
2822 report_id = report_data->report_head[PIP_RESP_REPORT_ID_OFFSET]; in cyapa_pip_event_process()
2875 cyapa_pip_report_touches(cyapa, report_data); in cyapa_pip_event_process()
2877 cyapa_pip_report_proximity(cyapa, report_data); in cyapa_pip_event_process()
2879 cyapa_pip_report_buttons(cyapa, report_data); in cyapa_pip_event_process()