• Home
  • Raw
  • Download

Lines Matching refs:msg

39 #define HFI_HEADER_ID(msg) ((msg) & 0xff)  argument
41 #define HFI_HEADER_SIZE(msg) (((msg) >> 8) & 0xff) argument
42 #define HFI_HEADER_TYPE(msg) (((msg) >> 16) & 0xf) argument
43 #define HFI_HEADER_SEQNUM(msg) (((msg) >> 20) & 0xfff) argument
84 decode_F2H_MSG_ACK(struct a6xx_hfi_msg_response *msg) in decode_F2H_MSG_ACK() argument
86 unsigned msgid = HFI_HEADER_ID(msg->ret_header); in decode_F2H_MSG_ACK()
89 hfi_msg_name(msgid), msgid, HFI_HEADER_SIZE(msg->ret_header), in decode_F2H_MSG_ACK()
90 HFI_HEADER_TYPE(msg->ret_header), HFI_HEADER_SEQNUM(msg->ret_header)); in decode_F2H_MSG_ACK()
91 printf("\t\t\t\terror: %u\n", msg->error); in decode_F2H_MSG_ACK()
103 decode_F2H_MSG_ERROR(struct a6xx_hfi_msg_error *msg) in decode_F2H_MSG_ERROR() argument
105 printf("\t\t\t\tcode: %u\n", msg->code); in decode_F2H_MSG_ERROR()
119 decode_H2F_MSG_INIT(struct a6xx_hfi_msg_gmu_init_cmd *msg) in decode_H2F_MSG_INIT() argument
121 printf("\t\t\t\tseg_id: %u\n", msg->seg_id); in decode_H2F_MSG_INIT()
122 printf("\t\t\t\tdbg_buffer_addr: 0x%08x\n", msg->dbg_buffer_addr); in decode_H2F_MSG_INIT()
123 printf("\t\t\t\tdbg_buffer_size: %u\n", msg->dbg_buffer_size); in decode_H2F_MSG_INIT()
124 printf("\t\t\t\tboot_state: %u\n", msg->boot_state); in decode_H2F_MSG_INIT()
135 decode_H2F_MSG_FW_VERSION(struct a6xx_hfi_msg_fw_version *msg) in decode_H2F_MSG_FW_VERSION() argument
137 printf("\t\t\t\tsupported_version: 0x%x\n", msg->supported_version); in decode_H2F_MSG_FW_VERSION()
175 struct a6xx_hfi_msg_perf_table_v1 *msg = _msg; in decode_H2F_MSG_PERF_TABLE() local
178 printf("\t\t\t\tnum_gpu_levels: %u\n", msg->num_gpu_levels); in decode_H2F_MSG_PERF_TABLE()
179 printf("\t\t\t\tnum_gmu_levels: %u\n", msg->num_gmu_levels); in decode_H2F_MSG_PERF_TABLE()
181 assert(msg->num_gpu_levels <= ARRAY_SIZE(msg->gx_votes)); in decode_H2F_MSG_PERF_TABLE()
182 for (i = 0; i < msg->num_gpu_levels; i++) { in decode_H2F_MSG_PERF_TABLE()
184 msg->gx_votes[i].vote, msg->gx_votes[i].freq); in decode_H2F_MSG_PERF_TABLE()
187 for (; i < ARRAY_SIZE(msg->gx_votes); i++) { in decode_H2F_MSG_PERF_TABLE()
188 assert(!msg->gx_votes[i].vote); in decode_H2F_MSG_PERF_TABLE()
189 assert(!msg->gx_votes[i].freq); in decode_H2F_MSG_PERF_TABLE()
192 assert(msg->num_gmu_levels <= ARRAY_SIZE(msg->cx_votes)); in decode_H2F_MSG_PERF_TABLE()
193 for (i = 0; i < msg->num_gmu_levels; i++) { in decode_H2F_MSG_PERF_TABLE()
195 msg->cx_votes[i].vote, msg->cx_votes[i].freq); in decode_H2F_MSG_PERF_TABLE()
198 for (; i < ARRAY_SIZE(msg->cx_votes); i++) { in decode_H2F_MSG_PERF_TABLE()
199 assert(!msg->cx_votes[i].vote); in decode_H2F_MSG_PERF_TABLE()
200 assert(!msg->cx_votes[i].freq); in decode_H2F_MSG_PERF_TABLE()
203 struct a6xx_hfi_msg_perf_table *msg = _msg; in decode_H2F_MSG_PERF_TABLE() local
206 printf("\t\t\t\tnum_gpu_levels: %u\n", msg->num_gpu_levels); in decode_H2F_MSG_PERF_TABLE()
207 printf("\t\t\t\tnum_gmu_levels: %u\n", msg->num_gmu_levels); in decode_H2F_MSG_PERF_TABLE()
209 assert(msg->num_gpu_levels <= ARRAY_SIZE(msg->gx_votes)); in decode_H2F_MSG_PERF_TABLE()
210 for (i = 0; i < msg->num_gpu_levels; i++) { in decode_H2F_MSG_PERF_TABLE()
212 msg->gx_votes[i].vote, msg->gx_votes[i].acd, in decode_H2F_MSG_PERF_TABLE()
213 msg->gx_votes[i].freq); in decode_H2F_MSG_PERF_TABLE()
216 for (; i < ARRAY_SIZE(msg->gx_votes); i++) { in decode_H2F_MSG_PERF_TABLE()
217 assert(!msg->gx_votes[i].vote); in decode_H2F_MSG_PERF_TABLE()
218 assert(!msg->gx_votes[i].acd); in decode_H2F_MSG_PERF_TABLE()
219 assert(!msg->gx_votes[i].freq); in decode_H2F_MSG_PERF_TABLE()
222 assert(msg->num_gmu_levels <= ARRAY_SIZE(msg->cx_votes)); in decode_H2F_MSG_PERF_TABLE()
223 for (i = 0; i < msg->num_gmu_levels; i++) { in decode_H2F_MSG_PERF_TABLE()
225 msg->cx_votes[i].vote, msg->cx_votes[i].freq); in decode_H2F_MSG_PERF_TABLE()
228 for (; i < ARRAY_SIZE(msg->cx_votes); i++) { in decode_H2F_MSG_PERF_TABLE()
229 assert(!msg->cx_votes[i].vote); in decode_H2F_MSG_PERF_TABLE()
230 assert(!msg->cx_votes[i].freq); in decode_H2F_MSG_PERF_TABLE()
251 decode_H2F_MSG_BW_TABLE(struct a6xx_hfi_msg_bw_table *msg) in decode_H2F_MSG_BW_TABLE() argument
253 printf("\t\t\t\tbw_level_num: %u\n", msg->bw_level_num); in decode_H2F_MSG_BW_TABLE()
254 printf("\t\t\t\tcnoc_cmds_num: %u\n", msg->cnoc_cmds_num); in decode_H2F_MSG_BW_TABLE()
255 printf("\t\t\t\tddr_cmds_num: %u\n", msg->ddr_cmds_num); in decode_H2F_MSG_BW_TABLE()
256 printf("\t\t\t\tcnoc_wait_bitmask: 0x%x\n", msg->cnoc_wait_bitmask); in decode_H2F_MSG_BW_TABLE()
257 printf("\t\t\t\tddr_wait_bitmask: 0x%x\n", msg->ddr_wait_bitmask); in decode_H2F_MSG_BW_TABLE()
259 msg->cnoc_cmds_addrs[0], msg->cnoc_cmds_addrs[1], msg->cnoc_cmds_addrs[2], in decode_H2F_MSG_BW_TABLE()
260 msg->cnoc_cmds_addrs[3], msg->cnoc_cmds_addrs[4], msg->cnoc_cmds_addrs[5]); in decode_H2F_MSG_BW_TABLE()
261 for (unsigned i = 0; i < ARRAY_SIZE(msg->cnoc_cmds_data); i++) { in decode_H2F_MSG_BW_TABLE()
263 msg->cnoc_cmds_data[i][0], msg->cnoc_cmds_data[i][1], msg->cnoc_cmds_data[i][2], in decode_H2F_MSG_BW_TABLE()
264 msg->cnoc_cmds_data[i][3], msg->cnoc_cmds_data[i][4], msg->cnoc_cmds_data[i][5]); in decode_H2F_MSG_BW_TABLE()
267 msg->ddr_cmds_addrs[0], msg->ddr_cmds_addrs[1], msg->ddr_cmds_addrs[2], in decode_H2F_MSG_BW_TABLE()
268 msg->ddr_cmds_addrs[3], msg->ddr_cmds_addrs[4], msg->ddr_cmds_addrs[5], in decode_H2F_MSG_BW_TABLE()
269 msg->ddr_cmds_addrs[6], msg->ddr_cmds_addrs[7]); in decode_H2F_MSG_BW_TABLE()
270 for (unsigned i = 0; i < ARRAY_SIZE(msg->ddr_cmds_data); i++) { in decode_H2F_MSG_BW_TABLE()
272 msg->ddr_cmds_data[i][0], msg->ddr_cmds_data[i][1], msg->ddr_cmds_data[i][2], in decode_H2F_MSG_BW_TABLE()
273 msg->ddr_cmds_data[i][3], msg->ddr_cmds_data[i][4], msg->ddr_cmds_data[i][5], in decode_H2F_MSG_BW_TABLE()
274 msg->ddr_cmds_data[i][6], msg->ddr_cmds_data[i][7]); in decode_H2F_MSG_BW_TABLE()
285 decode_H2F_MSG_TEST(struct a6xx_hfi_msg_test *msg) in decode_H2F_MSG_TEST() argument
296 decode_H2F_MSG_START(struct a6xx_hfi_msg_start *msg) in decode_H2F_MSG_START() argument
308 decode_H2F_MSG_CORE_FW_START(struct a6xx_hfi_msg_core_fw_start *msg) in decode_H2F_MSG_CORE_FW_START() argument
310 printf("\t\t\t\thandle: %u\n", msg->handle); in decode_H2F_MSG_CORE_FW_START()
323 decode_H2F_MSG_GX_BW_PERF_VOTE(struct a6xx_hfi_gx_bw_perf_vote_cmd *msg) in decode_H2F_MSG_GX_BW_PERF_VOTE() argument
325 printf("\t\t\t\tack_type: %u\n", msg->ack_type); in decode_H2F_MSG_GX_BW_PERF_VOTE()
326 printf("\t\t\t\tfreq: %u\n", msg->freq); in decode_H2F_MSG_GX_BW_PERF_VOTE()
327 printf("\t\t\t\tbw: %u\n", msg->bw); in decode_H2F_MSG_GX_BW_PERF_VOTE()
339 decode_H2F_MSG_PREPARE_SLUMBER(struct a6xx_hfi_prep_slumber_cmd *msg) in decode_H2F_MSG_PREPARE_SLUMBER() argument
341 printf("\t\t\t\tbw: %u\n", msg->bw); in decode_H2F_MSG_PREPARE_SLUMBER()
342 printf("\t\t\t\tfreq: %u\n", msg->freq); in decode_H2F_MSG_PREPARE_SLUMBER()