Lines Matching refs:report_len
2769 unsigned int report_len; in cyapa_pip_irq_handler() local
2785 report_len = get_unaligned_le16( in cyapa_pip_irq_handler()
2787 if (report_len < PIP_RESP_LENGTH_SIZE) { in cyapa_pip_irq_handler()
2790 report_len, report_data.report_head[0], in cyapa_pip_irq_handler()
2796 if (report_len == PIP_RESP_LENGTH_SIZE) in cyapa_pip_irq_handler()
2799 ret = cyapa_i2c_pip_read(cyapa, (u8 *)&report_data, report_len); in cyapa_pip_irq_handler()
2800 if (ret != report_len) { in cyapa_pip_irq_handler()
2802 report_len, ret); in cyapa_pip_irq_handler()
2813 unsigned int report_len; in cyapa_pip_event_process() local
2816 report_len = get_unaligned_le16( in cyapa_pip_event_process()
2819 if (report_len == PIP_RESP_LENGTH_SIZE) in cyapa_pip_event_process()
2824 report_len == PIP_WAKEUP_EVENT_SIZE) { in cyapa_pip_event_process()
2850 (report_len < PIP_TOUCH_REPORT_HEAD_SIZE || in cyapa_pip_event_process()
2851 report_len > PIP_TOUCH_REPORT_MAX_SIZE)) { in cyapa_pip_event_process()
2853 dev_err(dev, "invalid touch packet length=%d\n", report_len); in cyapa_pip_event_process()
2860 (report_len < PIP_BTN_REPORT_HEAD_SIZE || in cyapa_pip_event_process()
2861 report_len > PIP_BTN_REPORT_MAX_SIZE)) { in cyapa_pip_event_process()
2863 dev_err(dev, "invalid button packet length=%d\n", report_len); in cyapa_pip_event_process()
2868 report_len != PIP_PROXIMITY_REPORT_SIZE) { in cyapa_pip_event_process()
2870 dev_err(dev, "invalid proximity data, length=%d\n", report_len); in cyapa_pip_event_process()