Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c636 unsigned int args_idx = 0; in kfd_ioctl_dbg_address_watch() local
666 aw_info.num_watch_points = *((uint32_t *)(&args_buff[args_idx])); in kfd_ioctl_dbg_address_watch()
667 args_idx += sizeof(aw_info.num_watch_points); 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()
670 args_idx += sizeof(enum HSA_DBG_WATCH_MODE) * aw_info.num_watch_points; in kfd_ioctl_dbg_address_watch()
676 aw_info.watch_address = (uint64_t *) &args_buff[args_idx]; in kfd_ioctl_dbg_address_watch()
679 args_idx += sizeof(aw_info.watch_address) * aw_info.num_watch_points; in kfd_ioctl_dbg_address_watch()
681 if (args_idx >= args->buf_size_in_bytes - sizeof(*args)) { 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()
[all …]