Home
last modified time | relevance | path

Searched refs:write_msg (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/sm8150/display/hdmi_cec/
Dqhdmi_cec.cpp226 char write_msg[MAX_CEC_FRAME_SIZE]; in cec_send_message() local
227 memset(write_msg, 0, sizeof(write_msg)); in cec_send_message()
232 write_msg[CEC_OFFSET_SENDER_ID] = msg->initiator; in cec_send_message()
233 write_msg[CEC_OFFSET_RECEIVER_ID] = msg->destination; in cec_send_message()
235 write_msg[CEC_OFFSET_OPCODE] = msg->body[0]; in cec_send_message()
237 memcpy(&write_msg[CEC_OFFSET_OPERAND], &msg->body[1], in cec_send_message()
241 write_msg[CEC_OFFSET_FRAME_LENGTH] = (unsigned char) (msg->length + 1); in cec_send_message()
242 hex_to_string(write_msg, sizeof(write_msg), dump); in cec_send_message()
250 err = write_node(write_msg_path, write_msg, sizeof(write_msg)); in cec_send_message()
/hardware/qcom/display/msm8998/hdmi_cec/
Dqhdmi_cec.cpp230 char write_msg[MAX_CEC_FRAME_SIZE]; in cec_send_message() local
231 memset(write_msg, 0, sizeof(write_msg)); in cec_send_message()
236 write_msg[CEC_OFFSET_SENDER_ID] = msg->initiator; in cec_send_message()
237 write_msg[CEC_OFFSET_RECEIVER_ID] = msg->destination; in cec_send_message()
239 write_msg[CEC_OFFSET_OPCODE] = msg->body[0]; in cec_send_message()
241 memcpy(&write_msg[CEC_OFFSET_OPERAND], &msg->body[1], in cec_send_message()
245 write_msg[CEC_OFFSET_FRAME_LENGTH] = (unsigned char) (msg->length + 1); in cec_send_message()
246 hex_to_string(write_msg, sizeof(write_msg), dump); in cec_send_message()
254 err = write_node(write_msg_path, write_msg, sizeof(write_msg)); in cec_send_message()
/hardware/qcom/display/msm8996/hdmi_cec/
Dqhdmi_cec.cpp226 char write_msg[MAX_CEC_FRAME_SIZE]; in cec_send_message() local
227 memset(write_msg, 0, sizeof(write_msg)); in cec_send_message()
232 write_msg[CEC_OFFSET_SENDER_ID] = msg->initiator; in cec_send_message()
233 write_msg[CEC_OFFSET_RECEIVER_ID] = msg->destination; in cec_send_message()
235 write_msg[CEC_OFFSET_OPCODE] = msg->body[0]; in cec_send_message()
237 memcpy(&write_msg[CEC_OFFSET_OPERAND], &msg->body[1], in cec_send_message()
241 write_msg[CEC_OFFSET_FRAME_LENGTH] = (unsigned char) (msg->length + 1); in cec_send_message()
242 hex_to_string(write_msg, sizeof(write_msg), dump); in cec_send_message()
250 err = write_node(write_msg_path, write_msg, sizeof(write_msg)); in cec_send_message()
/hardware/qcom/sm7250/display/hdmi_cec/
Dqhdmi_cec.cpp226 char write_msg[MAX_CEC_FRAME_SIZE]; in cec_send_message() local
227 memset(write_msg, 0, sizeof(write_msg)); in cec_send_message()
232 write_msg[CEC_OFFSET_SENDER_ID] = msg->initiator; in cec_send_message()
233 write_msg[CEC_OFFSET_RECEIVER_ID] = msg->destination; in cec_send_message()
235 write_msg[CEC_OFFSET_OPCODE] = msg->body[0]; in cec_send_message()
237 memcpy(&write_msg[CEC_OFFSET_OPERAND], &msg->body[1], in cec_send_message()
241 write_msg[CEC_OFFSET_FRAME_LENGTH] = (unsigned char) (msg->length + 1); in cec_send_message()
242 hex_to_string(write_msg, sizeof(write_msg), dump); in cec_send_message()
250 err = write_node(write_msg_path, write_msg, sizeof(write_msg)); in cec_send_message()
/hardware/qcom/display/msm8909/hdmi_cec/
Dqhdmi_cec.cpp238 char write_msg[MAX_CEC_FRAME_SIZE]; in cec_send_message() local
239 memset(write_msg, 0, sizeof(write_msg)); in cec_send_message()
244 write_msg[CEC_OFFSET_SENDER_ID] = msg->initiator; in cec_send_message()
245 write_msg[CEC_OFFSET_RECEIVER_ID] = msg->destination; in cec_send_message()
247 write_msg[CEC_OFFSET_OPCODE] = msg->body[0]; in cec_send_message()
249 memcpy(&write_msg[CEC_OFFSET_OPERAND], &msg->body[1], in cec_send_message()
253 write_msg[CEC_OFFSET_FRAME_LENGTH] = (unsigned char) (msg->length + 1); in cec_send_message()
254 hex_to_string(write_msg, sizeof(write_msg), dump); in cec_send_message()
261 err = write_node(write_msg_path.c_str(), write_msg, sizeof(write_msg)); in cec_send_message()
/hardware/qcom/display/msm8909w_3100/hdmi_cec/
Dqhdmi_cec.cpp238 char write_msg[MAX_CEC_FRAME_SIZE]; in cec_send_message() local
239 memset(write_msg, 0, sizeof(write_msg)); in cec_send_message()
244 write_msg[CEC_OFFSET_SENDER_ID] = msg->initiator; in cec_send_message()
245 write_msg[CEC_OFFSET_RECEIVER_ID] = msg->destination; in cec_send_message()
247 write_msg[CEC_OFFSET_OPCODE] = msg->body[0]; in cec_send_message()
249 memcpy(&write_msg[CEC_OFFSET_OPERAND], &msg->body[1], in cec_send_message()
253 write_msg[CEC_OFFSET_FRAME_LENGTH] = (unsigned char) (msg->length + 1); in cec_send_message()
254 hex_to_string(write_msg, sizeof(write_msg), dump); in cec_send_message()
261 err = write_node(write_msg_path.c_str(), write_msg, sizeof(write_msg)); in cec_send_message()