Lines Matching refs:rx_header
455 struct MXL_EAGLE_HOST_MSG_HEADER_T *rx_header; in mxl692_i2c_writeread() local
494 rx_header = (struct MXL_EAGLE_HOST_MSG_HEADER_T *)rx_buf; in mxl692_i2c_writeread()
502 (rx_header->seqnum == 0) && in mxl692_i2c_writeread()
503 (rx_header->checksum == 0)); in mxl692_i2c_writeread()
512 if (rx_header->status) { in mxl692_i2c_writeread()
513 dev_dbg(&dev->i2c_client->dev, "rx header status code: %d\n", rx_header->status); in mxl692_i2c_writeread()
518 if (rx_header->seqnum != tx_header->seqnum || in mxl692_i2c_writeread()
519 rx_header->opcode != tx_header->opcode || in mxl692_i2c_writeread()
520 rx_header->payload_size != rx_payload_expected) { in mxl692_i2c_writeread()
522 rx_header->seqnum != tx_header->seqnum ? "X" : "0", in mxl692_i2c_writeread()
523 rx_header->opcode != tx_header->opcode ? "X" : "0", in mxl692_i2c_writeread()
524 rx_header->payload_size != rx_payload_expected ? "X" : "0"); in mxl692_i2c_writeread()
525 if (rx_header->payload_size != rx_payload_expected) in mxl692_i2c_writeread()
528 rx_header->payload_size, rx_payload_expected); in mxl692_i2c_writeread()
533 resp_checksum = rx_header->checksum; in mxl692_i2c_writeread()
534 rx_header->checksum = 0; in mxl692_i2c_writeread()
537 MXL_EAGLE_HOST_MSG_HEADER_SIZE + rx_header->payload_size); in mxl692_i2c_writeread()
547 mxl692_rx_swap(rx_header->opcode, rx_buf); in mxl692_i2c_writeread()
549 if (rx_header->payload_size > 0) { in mxl692_i2c_writeread()
556 rx_header->payload_size); in mxl692_i2c_writeread()