Lines Matching refs:kfd_device

66 struct device *kfd_device;  variable
101 kfd_device = device_create(kfd_class, NULL, in kfd_chardev_init()
104 err = PTR_ERR(kfd_device); in kfd_chardev_init()
105 if (IS_ERR(kfd_device)) in kfd_chardev_init()
123 kfd_device = NULL; in kfd_chardev_exit()
138 dev_warn(kfd_device, in kfd_open()
150 dev_dbg(kfd_device, "kfd is locked!\n" in kfd_open()
159 dev_dbg(kfd_device, "process %d opened, compat mode (32 bit) - %d\n", in kfd_open()
701 dev_dbg(kfd_device, "get apertures for PASID 0x%x", p->pasid); in kfd_ioctl_get_process_apertures()
720 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures()
722 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures()
724 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures()
726 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures()
728 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures()
730 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures()
732 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures()
734 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures()
753 dev_dbg(kfd_device, "get apertures for PASID 0x%x", p->pasid); in kfd_ioctl_get_process_apertures_new()
793 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures_new()
795 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures_new()
797 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures_new()
799 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures_new()
801 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures_new()
803 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures_new()
805 dev_dbg(kfd_device, in kfd_ioctl_get_process_apertures_new()
2596 dev_dbg(kfd_device, "Num of devices:%u bos:%u objects:%u priv_data_size:%lld\n", in criu_process_info()
2614 dev_dbg(kfd_device, "CRIU operation: %d\n", args->op); in kfd_ioctl_criu()
2632 dev_dbg(kfd_device, "Unsupported CRIU operation:%d\n", args->op); in kfd_ioctl_criu()
2638 dev_dbg(kfd_device, "CRIU operation:%d err:%d\n", args->op, ret); in kfd_ioctl_criu()
2785 dev_dbg(kfd_device, "ioctl cmd 0x%x (#0x%x), arg 0x%lx\n", cmd, nr, arg); in kfd_ioctl()
2801 dev_dbg(kfd_device, "Using KFD FD in wrong process\n"); in kfd_ioctl()
2810 dev_dbg(kfd_device, "no function\n"); in kfd_ioctl()
2859 dev_dbg(kfd_device, "invalid ioctl: pid=%d, cmd=0x%02x, nr=0x%02x\n", in kfd_ioctl()
2866 dev_dbg(kfd_device, "ioctl cmd (#0x%x), arg 0x%lx, ret = %d\n", in kfd_ioctl()