#include "habanalabs.h"
#define VCMD_CONTROL_OFFSET …
#define VCMD_IRQ_STATUS_OFFSET …
#define VCMD_IRQ_STATUS_ENDCMD_MASK …
#define VCMD_IRQ_STATUS_BUSERR_MASK …
#define VCMD_IRQ_STATUS_TIMEOUT_MASK …
#define VCMD_IRQ_STATUS_CMDERR_MASK …
#define VCMD_IRQ_STATUS_ABORT_MASK …
#define VCMD_IRQ_STATUS_RESET_MASK …
static void dec_print_abnrm_intr_source(struct hl_device *hdev, u32 irq_status)
{ … }
static void dec_abnrm_intr_work(struct work_struct *work)
{ … }
void hl_dec_fini(struct hl_device *hdev)
{ … }
int hl_dec_init(struct hl_device *hdev)
{ … }
void hl_dec_ctx_fini(struct hl_ctx *ctx)
{ … }