Lines Matching +full:0 +full:x40000000
34 return 0; in a6xx_hfi_queue_read()
50 for (i = 0; i < HFI_HEADER_SIZE(hdr); i++) { in a6xx_hfi_queue_read()
78 for (i = 0; i < dwords; i++) { in a6xx_hfi_queue_write()
86 queue->data[index] = 0xfafafafa; in a6xx_hfi_queue_write()
92 gmu_write(gmu, REG_A6XX_GMU_HOST2GMU_INTR_SET, 0x01); in a6xx_hfi_queue_write()
93 return 0; in a6xx_hfi_queue_write()
161 return 0; in a6xx_hfi_wait_for_ack()
172 seqnum = atomic_inc_return(&queue->seqnum) % 0xfff; in a6xx_hfi_send_msg()
190 struct a6xx_hfi_msg_gmu_init_cmd msg = { 0 }; in a6xx_hfi_send_gmu_init()
197 NULL, 0); in a6xx_hfi_send_gmu_init()
202 struct a6xx_hfi_msg_fw_version msg = { 0 }; in a6xx_hfi_get_fw_version()
213 struct a6xx_hfi_msg_perf_table_v1 msg = { 0 }; in a6xx_hfi_send_perf_table_v1()
219 for (i = 0; i < gmu->nr_gpu_freqs; i++) { in a6xx_hfi_send_perf_table_v1()
224 for (i = 0; i < gmu->nr_gmu_freqs; i++) { in a6xx_hfi_send_perf_table_v1()
230 NULL, 0); in a6xx_hfi_send_perf_table_v1()
235 struct a6xx_hfi_msg_perf_table msg = { 0 }; in a6xx_hfi_send_perf_table()
241 for (i = 0; i < gmu->nr_gpu_freqs; i++) { in a6xx_hfi_send_perf_table()
243 msg.gx_votes[i].acd = 0xffffffff; in a6xx_hfi_send_perf_table()
247 for (i = 0; i < gmu->nr_gmu_freqs; i++) { in a6xx_hfi_send_perf_table()
253 NULL, 0); in a6xx_hfi_send_perf_table()
262 msg->ddr_wait_bitmask = 0x01; in a618_build_bw_table()
264 msg->ddr_cmds_addrs[0] = 0x50000; in a618_build_bw_table()
265 msg->ddr_cmds_addrs[1] = 0x5003c; in a618_build_bw_table()
266 msg->ddr_cmds_addrs[2] = 0x5000c; in a618_build_bw_table()
268 msg->ddr_cmds_data[0][0] = 0x40000000; in a618_build_bw_table()
269 msg->ddr_cmds_data[0][1] = 0x40000000; in a618_build_bw_table()
270 msg->ddr_cmds_data[0][2] = 0x40000000; in a618_build_bw_table()
277 msg->cnoc_wait_bitmask = 0x01; in a618_build_bw_table()
279 msg->cnoc_cmds_addrs[0] = 0x5007c; in a618_build_bw_table()
280 msg->cnoc_cmds_data[0][0] = 0x40000000; in a618_build_bw_table()
281 msg->cnoc_cmds_data[1][0] = 0x60000001; in a618_build_bw_table()
293 msg->ddr_wait_bitmask = 0x01; in a640_build_bw_table()
295 msg->ddr_cmds_addrs[0] = 0x50000; in a640_build_bw_table()
296 msg->ddr_cmds_addrs[1] = 0x5003c; in a640_build_bw_table()
297 msg->ddr_cmds_addrs[2] = 0x5000c; in a640_build_bw_table()
299 msg->ddr_cmds_data[0][0] = 0x40000000; in a640_build_bw_table()
300 msg->ddr_cmds_data[0][1] = 0x40000000; in a640_build_bw_table()
301 msg->ddr_cmds_data[0][2] = 0x40000000; in a640_build_bw_table()
308 msg->cnoc_wait_bitmask = 0x01; in a640_build_bw_table()
310 msg->cnoc_cmds_addrs[0] = 0x50034; in a640_build_bw_table()
311 msg->cnoc_cmds_addrs[1] = 0x5007c; in a640_build_bw_table()
312 msg->cnoc_cmds_addrs[2] = 0x5004c; in a640_build_bw_table()
314 msg->cnoc_cmds_data[0][0] = 0x40000000; in a640_build_bw_table()
315 msg->cnoc_cmds_data[0][1] = 0x00000000; in a640_build_bw_table()
316 msg->cnoc_cmds_data[0][2] = 0x40000000; in a640_build_bw_table()
318 msg->cnoc_cmds_data[1][0] = 0x60000001; in a640_build_bw_table()
319 msg->cnoc_cmds_data[1][1] = 0x20000001; in a640_build_bw_table()
320 msg->cnoc_cmds_data[1][2] = 0x60000001; in a640_build_bw_table()
332 msg->ddr_wait_bitmask = 0x01; in a650_build_bw_table()
334 msg->ddr_cmds_addrs[0] = 0x50000; in a650_build_bw_table()
335 msg->ddr_cmds_addrs[1] = 0x50004; in a650_build_bw_table()
336 msg->ddr_cmds_addrs[2] = 0x5007c; in a650_build_bw_table()
338 msg->ddr_cmds_data[0][0] = 0x40000000; in a650_build_bw_table()
339 msg->ddr_cmds_data[0][1] = 0x40000000; in a650_build_bw_table()
340 msg->ddr_cmds_data[0][2] = 0x40000000; in a650_build_bw_table()
347 msg->cnoc_wait_bitmask = 0x01; in a650_build_bw_table()
349 msg->cnoc_cmds_addrs[0] = 0x500a4; in a650_build_bw_table()
350 msg->cnoc_cmds_data[0][0] = 0x40000000; in a650_build_bw_table()
351 msg->cnoc_cmds_data[1][0] = 0x60000001; in a650_build_bw_table()
363 msg->ddr_wait_bitmask = 0x01; in a660_build_bw_table()
365 msg->ddr_cmds_addrs[0] = 0x50004; in a660_build_bw_table()
366 msg->ddr_cmds_addrs[1] = 0x500a0; in a660_build_bw_table()
367 msg->ddr_cmds_addrs[2] = 0x50000; in a660_build_bw_table()
369 msg->ddr_cmds_data[0][0] = 0x40000000; in a660_build_bw_table()
370 msg->ddr_cmds_data[0][1] = 0x40000000; in a660_build_bw_table()
371 msg->ddr_cmds_data[0][2] = 0x40000000; in a660_build_bw_table()
378 msg->cnoc_wait_bitmask = 0x01; in a660_build_bw_table()
380 msg->cnoc_cmds_addrs[0] = 0x50070; in a660_build_bw_table()
381 msg->cnoc_cmds_data[0][0] = 0x40000000; in a660_build_bw_table()
382 msg->cnoc_cmds_data[1][0] = 0x60000001; in a660_build_bw_table()
394 msg->ddr_wait_bitmask = 0x07; in adreno_7c3_build_bw_table()
396 msg->ddr_cmds_addrs[0] = 0x50004; in adreno_7c3_build_bw_table()
397 msg->ddr_cmds_addrs[1] = 0x50000; in adreno_7c3_build_bw_table()
398 msg->ddr_cmds_addrs[2] = 0x50088; in adreno_7c3_build_bw_table()
400 msg->ddr_cmds_data[0][0] = 0x40000000; in adreno_7c3_build_bw_table()
401 msg->ddr_cmds_data[0][1] = 0x40000000; in adreno_7c3_build_bw_table()
402 msg->ddr_cmds_data[0][2] = 0x40000000; in adreno_7c3_build_bw_table()
409 msg->cnoc_wait_bitmask = 0x01; in adreno_7c3_build_bw_table()
411 msg->cnoc_cmds_addrs[0] = 0x5006c; in adreno_7c3_build_bw_table()
412 msg->cnoc_cmds_data[0][0] = 0x40000000; in adreno_7c3_build_bw_table()
413 msg->cnoc_cmds_data[1][0] = 0x60000001; in adreno_7c3_build_bw_table()
421 msg->ddr_wait_bitmask = 0x07; in a6xx_build_bw_table()
423 msg->ddr_cmds_addrs[0] = 0x50000; in a6xx_build_bw_table()
424 msg->ddr_cmds_addrs[1] = 0x5005c; in a6xx_build_bw_table()
425 msg->ddr_cmds_addrs[2] = 0x5000c; in a6xx_build_bw_table()
427 msg->ddr_cmds_data[0][0] = 0x40000000; in a6xx_build_bw_table()
428 msg->ddr_cmds_data[0][1] = 0x40000000; in a6xx_build_bw_table()
429 msg->ddr_cmds_data[0][2] = 0x40000000; in a6xx_build_bw_table()
437 msg->cnoc_wait_bitmask = 0x05; in a6xx_build_bw_table()
439 msg->cnoc_cmds_addrs[0] = 0x50034; in a6xx_build_bw_table()
440 msg->cnoc_cmds_addrs[1] = 0x5007c; in a6xx_build_bw_table()
441 msg->cnoc_cmds_addrs[2] = 0x5004c; in a6xx_build_bw_table()
443 msg->cnoc_cmds_data[0][0] = 0x40000000; in a6xx_build_bw_table()
444 msg->cnoc_cmds_data[0][1] = 0x00000000; in a6xx_build_bw_table()
445 msg->cnoc_cmds_data[0][2] = 0x40000000; in a6xx_build_bw_table()
447 msg->cnoc_cmds_data[1][0] = 0x60000001; in a6xx_build_bw_table()
448 msg->cnoc_cmds_data[1][1] = 0x20000001; in a6xx_build_bw_table()
449 msg->cnoc_cmds_data[1][2] = 0x60000001; in a6xx_build_bw_table()
455 struct a6xx_hfi_msg_bw_table msg = { 0 }; in a6xx_hfi_send_bw_table()
473 NULL, 0); in a6xx_hfi_send_bw_table()
478 struct a6xx_hfi_msg_test msg = { 0 }; in a6xx_hfi_send_test()
481 NULL, 0); in a6xx_hfi_send_test()
486 struct a6xx_hfi_msg_start msg = { 0 }; in a6xx_hfi_send_start()
489 NULL, 0); in a6xx_hfi_send_start()
494 struct a6xx_hfi_msg_core_fw_start msg = { 0 }; in a6xx_hfi_send_core_fw_start()
497 sizeof(msg), NULL, 0); in a6xx_hfi_send_core_fw_start()
502 struct a6xx_hfi_gx_bw_perf_vote_cmd msg = { 0 }; in a6xx_hfi_set_freq()
506 msg.bw = 0; /* TODO: bus scaling */ in a6xx_hfi_set_freq()
509 sizeof(msg), NULL, 0); in a6xx_hfi_set_freq()
514 struct a6xx_hfi_prep_slumber_cmd msg = { 0 }; in a6xx_hfi_send_prep_slumber()
519 sizeof(msg), NULL, 0); in a6xx_hfi_send_prep_slumber()
554 return 0; in a6xx_hfi_start_v1()
585 return 0; in a6xx_hfi_start()
592 for (i = 0; i < ARRAY_SIZE(gmu->queues); i++) { in a6xx_hfi_stop()
601 queue->header->read_index = 0; in a6xx_hfi_stop()
602 queue->header->write_index = 0; in a6xx_hfi_stop()
613 atomic_set(&queue->seqnum, 0); in a6xx_hfi_queue_init()
620 header->msg_size = 0; in a6xx_hfi_queue_init()
621 header->dropped = 0; in a6xx_hfi_queue_init()
625 header->tx_request = 0; in a6xx_hfi_queue_init()
626 header->read_index = 0; in a6xx_hfi_queue_init()
627 header->write_index = 0; in a6xx_hfi_queue_init()
646 table->version = 0; in a6xx_hfi_init()
656 a6xx_hfi_queue_init(&gmu->queues[0], &headers[0], hfi->virt + offset, in a6xx_hfi_init()
657 hfi->iova + offset, 0); in a6xx_hfi_init()