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