Lines Matching refs:msg_id
106 ret = amd_hsmp_rdwr(root, SMN_HSMP_MSG_ID, &msg->msg_id, HSMP_WR); in __hsmp_send_message()
108 pr_err("Error %d writing message ID %u\n", ret, msg->msg_id); in __hsmp_send_message()
145 msg->msg_id, mbox_status); in __hsmp_send_message()
162 ret, index, msg->msg_id); in __hsmp_send_message()
174 if (msg->msg_id < HSMP_TEST || msg->msg_id >= HSMP_MSG_ID_MAX) in validate_message()
178 if (hsmp_msg_desc_table[msg->msg_id].type == HSMP_RSVD) in validate_message()
182 if (msg->num_args != hsmp_msg_desc_table[msg->msg_id].num_args || in validate_message()
183 msg->response_sz != hsmp_msg_desc_table[msg->msg_id].response_sz) in validate_message()
238 msg.msg_id = HSMP_TEST; in hsmp_test()
271 if (msg.msg_id < HSMP_TEST || msg.msg_id >= HSMP_MSG_ID_MAX) in hsmp_ioctl()
280 if (hsmp_msg_desc_table[msg.msg_id].type != HSMP_SET) in hsmp_ioctl()
288 if (hsmp_msg_desc_table[msg.msg_id].type != HSMP_GET) in hsmp_ioctl()
305 if (hsmp_msg_desc_table[msg.msg_id].response_sz > 0) { in hsmp_ioctl()