Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_ioctl.c615 static int razwi_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in razwi_info() function
620 struct razwi_info *razwi_info; in razwi_info() local
625 razwi_info = &hdev->captured_err_info.razwi_info; in razwi_info()
626 if (!razwi_info->razwi_info_available) in razwi_info()
629 return copy_to_user(out, &razwi_info->razwi, in razwi_info()
1053 return razwi_info(hpriv, args); in _hl_info_ioctl()
H A Ddevice.c2694 struct razwi_info *razwi_info = &hdev->captured_err_info.razwi_info; in hl_capture_razwi() local
2704 if (atomic_cmpxchg(&hdev->captured_err_info.razwi_info.razwi_detected, 0, 1)) in hl_capture_razwi()
2707 razwi_info->razwi.timestamp = ktime_to_ns(ktime_get()); in hl_capture_razwi()
2708 razwi_info->razwi.addr = addr; in hl_capture_razwi()
2709 razwi_info->razwi.num_of_possible_engines = num_of_engines; in hl_capture_razwi()
2710 memcpy(&razwi_info->razwi.engine_id[0], &engine_id[0], in hl_capture_razwi()
2712 razwi_info->razwi.flags = flags; in hl_capture_razwi()
2714 razwi_info->razwi_info_available = true; in hl_capture_razwi()
H A Dhabanalabs.h3092 struct razwi_info { struct
3158 struct razwi_info razwi_info; member
/linux/include/linux/habanalabs/
H A Dcpucp_if.h164 struct hl_eq_razwi_info razwi_info; member
386 struct hl_eq_razwi_info razwi_info; member
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c8303 static int gaudi2_psoc_razwi_get_engines(struct gaudi2_razwi_info *razwi_info, u32 array_size, in gaudi2_psoc_razwi_get_engines() argument
8312 if (axuser_xy != razwi_info[i].axuser_xy) in gaudi2_psoc_razwi_get_engines()
8315 eng_id[num_of_eng] = razwi_info[i].eng_id; in gaudi2_psoc_razwi_get_engines()
8316 base[num_of_eng] = razwi_info[i].rtr_ctrl; in gaudi2_psoc_razwi_get_engines()
8320 razwi_info[i].eng_name); in gaudi2_psoc_razwi_get_engines()
8324 razwi_info[i].eng_name); in gaudi2_psoc_razwi_get_engines()