Lines Matching refs:empty_buf
479 error = cyapa_i2c_pip_read(cyapa, gen5_pip->empty_buf, in cyapa_empty_pip_output_data()
484 length = get_unaligned_le16(gen5_pip->empty_buf); in cyapa_empty_pip_output_data()
495 func(cyapa, gen5_pip->empty_buf, length)) { in cyapa_empty_pip_output_data()
497 memcpy(buf, gen5_pip->empty_buf, length); in cyapa_empty_pip_output_data()
505 error = cyapa_i2c_pip_read(cyapa, gen5_pip->empty_buf, length); in cyapa_empty_pip_output_data()
511 length = get_unaligned_le16(gen5_pip->empty_buf); in cyapa_empty_pip_output_data()
515 func(cyapa, gen5_pip->empty_buf, length)) { in cyapa_empty_pip_output_data()
517 memcpy(buf, gen5_pip->empty_buf, length); in cyapa_empty_pip_output_data()
928 ret = cyapa_i2c_pip_read(cyapa, gen5_pip->empty_buf, length); in gen5_cmd_resp_header_parse()
944 } else if ((gen5_pip->empty_buf[GEN5_RESP_REPORT_ID_OFFSET] == in gen5_cmd_resp_header_parse()
946 (gen5_pip->empty_buf[GEN5_RESP_RSVD_OFFSET] == in gen5_cmd_resp_header_parse()
948 (gen5_pip->empty_buf[GEN5_RESP_BL_SOP_OFFSET] == in gen5_cmd_resp_header_parse()
950 (gen5_pip->empty_buf[length - 1] == in gen5_cmd_resp_header_parse()
955 } else if (gen5_pip->empty_buf[GEN5_RESP_REPORT_ID_OFFSET] == in gen5_cmd_resp_header_parse()
957 gen5_pip->empty_buf[GEN5_RESP_RSVD_OFFSET] == in gen5_cmd_resp_header_parse()