Home
last modified time | relevance | path

Searched refs:args_buff (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c632 unsigned char *args_buff; in kfd_ioctl_dbg_address_watch() local
659 args_buff = memdup_user(cmd_from_user, in kfd_ioctl_dbg_address_watch()
661 if (IS_ERR(args_buff)) in kfd_ioctl_dbg_address_watch()
662 return PTR_ERR(args_buff); in kfd_ioctl_dbg_address_watch()
666 aw_info.num_watch_points = *((uint32_t *)(&args_buff[args_idx])); in kfd_ioctl_dbg_address_watch()
669 aw_info.watch_mode = (enum HSA_DBG_WATCH_MODE *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
676 aw_info.watch_address = (uint64_t *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
686 watch_mask_value = (uint64_t) args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
694 aw_info.watch_mask = (uint64_t *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
720 kfree(args_buff); in kfd_ioctl_dbg_address_watch()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c76 char args_buff[4]; in nouveau_optimus_dsm() local
80 .buffer.pointer = args_buff in nouveau_optimus_dsm()
85 args_buff[i] = (arg >> i * 8) & 0xFF; in nouveau_optimus_dsm()