Lines Matching refs:empty_buf
439 error = cyapa_i2c_pip_read(cyapa, pip->empty_buf, in cyapa_empty_pip_output_data()
444 length = get_unaligned_le16(pip->empty_buf); in cyapa_empty_pip_output_data()
455 func(cyapa, pip->empty_buf, length)) { in cyapa_empty_pip_output_data()
457 memcpy(buf, pip->empty_buf, length); in cyapa_empty_pip_output_data()
465 error = cyapa_i2c_pip_read(cyapa, pip->empty_buf, length); in cyapa_empty_pip_output_data()
471 length = get_unaligned_le16(pip->empty_buf); in cyapa_empty_pip_output_data()
475 func(cyapa, pip->empty_buf, length)) { in cyapa_empty_pip_output_data()
477 memcpy(buf, pip->empty_buf, length); in cyapa_empty_pip_output_data()
888 ret = cyapa_i2c_pip_read(cyapa, pip->empty_buf, length); in gen5_cmd_resp_header_parse()
904 } else if ((pip->empty_buf[PIP_RESP_REPORT_ID_OFFSET] == in gen5_cmd_resp_header_parse()
906 (pip->empty_buf[PIP_RESP_RSVD_OFFSET] == in gen5_cmd_resp_header_parse()
908 (pip->empty_buf[PIP_RESP_BL_SOP_OFFSET] == in gen5_cmd_resp_header_parse()
910 (pip->empty_buf[length - 1] == in gen5_cmd_resp_header_parse()
915 } else if (pip->empty_buf[PIP_RESP_REPORT_ID_OFFSET] == in gen5_cmd_resp_header_parse()
917 pip->empty_buf[PIP_RESP_RSVD_OFFSET] == in gen5_cmd_resp_header_parse()