Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c648 unsigned char *args_buff; in kfd_ioctl_dbg_address_watch() local
675 args_buff = memdup_user(cmd_from_user, in kfd_ioctl_dbg_address_watch()
677 if (IS_ERR(args_buff)) in kfd_ioctl_dbg_address_watch()
678 return PTR_ERR(args_buff); in kfd_ioctl_dbg_address_watch()
682 aw_info.num_watch_points = *((uint32_t *)(&args_buff[args_idx])); in kfd_ioctl_dbg_address_watch()
685 aw_info.watch_mode = (enum HSA_DBG_WATCH_MODE *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
692 aw_info.watch_address = (uint64_t *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
702 watch_mask_value = (uint64_t) args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
710 aw_info.watch_mask = (uint64_t *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
736 kfree(args_buff); in kfd_ioctl_dbg_address_watch()
[all …]
/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()