Lines Matching refs:msg
165 static int ch7322_send_message(struct ch7322 *ch7322, const struct cec_msg *msg) in ch7322_send_message() argument
168 unsigned int len = msg->len; in ch7322_send_message()
185 if (cec_msg_opcode(msg) == -1 && in ch7322_send_message()
186 cec_msg_initiator(msg) == cec_msg_destination(msg)) { in ch7322_send_message()
188 } else if (cec_msg_is_broadcast(msg)) { in ch7322_send_message()
200 CH7322_WRBUF + i, msg->msg[i]); in ch7322_send_message()
208 static int ch7322_receive_message(struct ch7322 *ch7322, struct cec_msg *msg) in ch7322_receive_message() argument
224 msg->len = (val & CH7322_READ_NMASK) + 1; in ch7322_receive_message()
231 msg->msg[i] = (u8)val; in ch7322_receive_message()
272 struct cec_msg msg; in ch7322_rx_done() local
276 ret = ch7322_receive_message(ch7322, &msg); in ch7322_rx_done()
282 cec_received_msg(ch7322->cec, &msg); in ch7322_rx_done()
354 u32 signal_free_time, struct cec_msg *msg) in ch7322_cec_adap_transmit() argument
360 ret = ch7322_send_message(ch7322, msg); in ch7322_cec_adap_transmit()