Lines Matching refs:fw
91 void k3_sysctrler_load_msg_setup(struct k3_sysctrler_load_msg *fw, in k3_sysctrler_load_msg_setup() argument
95 fw->hdr.cmd_id = K3_MSG_R5_TO_M3_M3FW; in k3_sysctrler_load_msg_setup()
96 fw->hdr.host_id = priv->desc->host_id; in k3_sysctrler_load_msg_setup()
97 fw->hdr.seq_nr = priv->seq_nr++; in k3_sysctrler_load_msg_setup()
98 fw->hdr.flags = 0x0; in k3_sysctrler_load_msg_setup()
99 fw->buffer_address = addr; in k3_sysctrler_load_msg_setup()
100 fw->buffer_size = size; in k3_sysctrler_load_msg_setup()
105 struct k3_sysctrler_load_msg *fw; in k3_sysctrler_load_response() local
107 fw = (struct k3_sysctrler_load_msg *)buf; in k3_sysctrler_load_response()
110 if (fw->hdr.cmd_id != K3_MSG_M3_TO_R5_CERT_RESULT) { in k3_sysctrler_load_response()
112 __func__, K3_MSG_M3_TO_R5_CERT_RESULT, fw->hdr.cmd_id); in k3_sysctrler_load_response()
117 if (fw->hdr.flags == K3_FLAGS_MSG_CERT_AUTH_FAIL) { in k3_sysctrler_load_response()
121 } else if (fw->hdr.flags != K3_FLAGS_MSG_CERT_AUTH_PASS) { in k3_sysctrler_load_response()
123 __func__, fw->hdr.flags); in k3_sysctrler_load_response()