Lines Matching refs:i

571 	unsigned int i;  in kfd_cleanup_nodes()  local
573 for (i = 0; i < num_nodes; i++) { in kfd_cleanup_nodes()
574 knode = kfd->nodes[i]; in kfd_cleanup_nodes()
581 kfd->nodes[i] = NULL; in kfd_cleanup_nodes()
623 unsigned int size, map_process_packet_size, i; in kgd2kfd_device_init() local
755 for (i = 0, xcp_idx = 0; i < kfd->num_nodes; i++) { in kgd2kfd_device_init()
760 node->node_id = i; in kgd2kfd_device_init()
789 node->vm_info.first_vmid_kfd = (i%2 == 0) ? in kgd2kfd_device_init()
792 node->vm_info.last_vmid_kfd = (i%2 == 0) ? in kgd2kfd_device_init()
811 kfd_setup_interrupt_bitmap(node, i); in kgd2kfd_device_init()
818 kfd->nodes[i] = node; in kgd2kfd_device_init()
836 kfd_cleanup_nodes(kfd, i); in kgd2kfd_device_init()
868 int i; in kgd2kfd_pre_reset() local
873 for (i = 0; i < kfd->num_nodes; i++) { in kgd2kfd_pre_reset()
874 node = kfd->nodes[i]; in kgd2kfd_pre_reset()
881 for (i = 0; i < kfd->num_nodes; i++) in kgd2kfd_pre_reset()
882 kfd_signal_reset_event(kfd->nodes[i]); in kgd2kfd_pre_reset()
897 int i; in kgd2kfd_post_reset() local
902 for (i = 0; i < kfd->num_nodes; i++) { in kgd2kfd_post_reset()
903 ret = kfd_resume(kfd->nodes[i]); in kgd2kfd_post_reset()
912 for (i = 0; i < kfd->num_nodes; i++) { in kgd2kfd_post_reset()
913 node = kfd->nodes[i]; in kgd2kfd_post_reset()
930 int i; in kgd2kfd_suspend() local
944 for (i = 0; i < kfd->num_nodes; i++) { in kgd2kfd_suspend()
945 node = kfd->nodes[i]; in kgd2kfd_suspend()
952 int ret, i; in kgd2kfd_resume() local
957 for (i = 0; i < kfd->num_nodes; i++) { in kgd2kfd_resume()
958 ret = kfd_resume(kfd->nodes[i]); in kgd2kfd_resume()
1006 uint32_t patched_ihre[KFD_MAX_RING_ENTRY_SIZE], i; in kgd2kfd_interrupt() local
1019 for (i = 0; i < kfd->num_nodes; i++) { in kgd2kfd_interrupt()
1020 node = kfd->nodes[i]; in kgd2kfd_interrupt()