Lines Matching refs:report_len
2768 unsigned int report_len; in cyapa_pip_irq_handler() local
2784 report_len = get_unaligned_le16( in cyapa_pip_irq_handler()
2786 if (report_len < PIP_RESP_LENGTH_SIZE) { in cyapa_pip_irq_handler()
2789 report_len, report_data.report_head[0], in cyapa_pip_irq_handler()
2795 if (report_len == PIP_RESP_LENGTH_SIZE) in cyapa_pip_irq_handler()
2798 ret = cyapa_i2c_pip_read(cyapa, (u8 *)&report_data, report_len); in cyapa_pip_irq_handler()
2799 if (ret != report_len) { in cyapa_pip_irq_handler()
2801 report_len, ret); in cyapa_pip_irq_handler()
2812 unsigned int report_len; in cyapa_pip_event_process() local
2815 report_len = get_unaligned_le16( in cyapa_pip_event_process()
2818 if (report_len == PIP_RESP_LENGTH_SIZE) in cyapa_pip_event_process()
2823 report_len == PIP_WAKEUP_EVENT_SIZE) { in cyapa_pip_event_process()
2849 (report_len < PIP_TOUCH_REPORT_HEAD_SIZE || in cyapa_pip_event_process()
2850 report_len > PIP_TOUCH_REPORT_MAX_SIZE)) { in cyapa_pip_event_process()
2852 dev_err(dev, "invalid touch packet length=%d\n", report_len); in cyapa_pip_event_process()
2859 (report_len < PIP_BTN_REPORT_HEAD_SIZE || in cyapa_pip_event_process()
2860 report_len > PIP_BTN_REPORT_MAX_SIZE)) { in cyapa_pip_event_process()
2862 dev_err(dev, "invalid button packet length=%d\n", report_len); in cyapa_pip_event_process()
2867 report_len != PIP_PROXIMITY_REPORT_SIZE) { in cyapa_pip_event_process()
2869 dev_err(dev, "invalid proximity data, length=%d\n", report_len); in cyapa_pip_event_process()