Lines Matching +full:0 +full:x50000
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()
360 msg->ddr_wait_bitmask = 0x07; in a6xx_build_bw_table()
362 msg->ddr_cmds_addrs[0] = 0x50000; in a6xx_build_bw_table()
363 msg->ddr_cmds_addrs[1] = 0x5005c; in a6xx_build_bw_table()
364 msg->ddr_cmds_addrs[2] = 0x5000c; in a6xx_build_bw_table()
366 msg->ddr_cmds_data[0][0] = 0x40000000; in a6xx_build_bw_table()
367 msg->ddr_cmds_data[0][1] = 0x40000000; in a6xx_build_bw_table()
368 msg->ddr_cmds_data[0][2] = 0x40000000; in a6xx_build_bw_table()
376 msg->cnoc_wait_bitmask = 0x05; in a6xx_build_bw_table()
378 msg->cnoc_cmds_addrs[0] = 0x50034; in a6xx_build_bw_table()
379 msg->cnoc_cmds_addrs[1] = 0x5007c; in a6xx_build_bw_table()
380 msg->cnoc_cmds_addrs[2] = 0x5004c; in a6xx_build_bw_table()
382 msg->cnoc_cmds_data[0][0] = 0x40000000; in a6xx_build_bw_table()
383 msg->cnoc_cmds_data[0][1] = 0x00000000; in a6xx_build_bw_table()
384 msg->cnoc_cmds_data[0][2] = 0x40000000; in a6xx_build_bw_table()
386 msg->cnoc_cmds_data[1][0] = 0x60000001; in a6xx_build_bw_table()
387 msg->cnoc_cmds_data[1][1] = 0x20000001; in a6xx_build_bw_table()
388 msg->cnoc_cmds_data[1][2] = 0x60000001; in a6xx_build_bw_table()
394 struct a6xx_hfi_msg_bw_table msg = { 0 }; in a6xx_hfi_send_bw_table()
408 NULL, 0); in a6xx_hfi_send_bw_table()
413 struct a6xx_hfi_msg_test msg = { 0 }; in a6xx_hfi_send_test()
416 NULL, 0); in a6xx_hfi_send_test()
421 struct a6xx_hfi_msg_start msg = { 0 }; in a6xx_hfi_send_start()
424 NULL, 0); in a6xx_hfi_send_start()
429 struct a6xx_hfi_msg_core_fw_start msg = { 0 }; in a6xx_hfi_send_core_fw_start()
432 sizeof(msg), NULL, 0); in a6xx_hfi_send_core_fw_start()
437 struct a6xx_hfi_gx_bw_perf_vote_cmd msg = { 0 }; in a6xx_hfi_set_freq()
441 msg.bw = 0; /* TODO: bus scaling */ in a6xx_hfi_set_freq()
444 sizeof(msg), NULL, 0); in a6xx_hfi_set_freq()
449 struct a6xx_hfi_prep_slumber_cmd msg = { 0 }; in a6xx_hfi_send_prep_slumber()
454 sizeof(msg), NULL, 0); in a6xx_hfi_send_prep_slumber()
489 return 0; in a6xx_hfi_start_v1()
520 return 0; in a6xx_hfi_start()
527 for (i = 0; i < ARRAY_SIZE(gmu->queues); i++) { in a6xx_hfi_stop()
536 queue->header->read_index = 0; in a6xx_hfi_stop()
537 queue->header->write_index = 0; in a6xx_hfi_stop()
548 atomic_set(&queue->seqnum, 0); in a6xx_hfi_queue_init()
555 header->msg_size = 0; in a6xx_hfi_queue_init()
556 header->dropped = 0; in a6xx_hfi_queue_init()
560 header->tx_request = 0; in a6xx_hfi_queue_init()
561 header->read_index = 0; in a6xx_hfi_queue_init()
562 header->write_index = 0; in a6xx_hfi_queue_init()
581 table->version = 0; in a6xx_hfi_init()
591 a6xx_hfi_queue_init(&gmu->queues[0], &headers[0], hfi->virt + offset, in a6xx_hfi_init()
592 hfi->iova + offset, 0); in a6xx_hfi_init()