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.c534 unsigned char *args_buff; in kfd_ioctl_dbg_address_watch() local
562 args_buff = kmalloc(args->buf_size_in_bytes - in kfd_ioctl_dbg_address_watch()
564 if (args_buff == NULL) in kfd_ioctl_dbg_address_watch()
567 status = copy_from_user(args_buff, cmd_from_user, in kfd_ioctl_dbg_address_watch()
572 kfree(args_buff); in kfd_ioctl_dbg_address_watch()
578 aw_info.num_watch_points = *((uint32_t *)(&args_buff[args_idx])); in kfd_ioctl_dbg_address_watch()
581 aw_info.watch_mode = (enum HSA_DBG_WATCH_MODE *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
588 aw_info.watch_address = (uint64_t *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
594 kfree(args_buff); in kfd_ioctl_dbg_address_watch()
598 watch_mask_value = (uint64_t) args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c78 char args_buff[4]; in nouveau_optimus_dsm() local
82 .buffer.pointer = args_buff in nouveau_optimus_dsm()
87 args_buff[i] = (arg >> i * 8) & 0xFF; in nouveau_optimus_dsm()