Commit b3184843 authored by Rajaravi Krishna Katta's avatar Rajaravi Krishna Katta Committed by Greg Kroah-Hartman

habanalabs: fix comments according to kernel-doc

Incorrect/Missing doxygen tag
Signed-off-by: default avatarRajaravi Krishna Katta <rkatta@habana.ai>
Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 658591ec
...@@ -2667,7 +2667,7 @@ static int hl_multi_cs_wait_ioctl(struct hl_fpriv *hpriv, void *data) ...@@ -2667,7 +2667,7 @@ static int hl_multi_cs_wait_ioctl(struct hl_fpriv *hpriv, void *data)
{ {
struct multi_cs_completion *mcs_compl; struct multi_cs_completion *mcs_compl;
struct hl_device *hdev = hpriv->hdev; struct hl_device *hdev = hpriv->hdev;
struct multi_cs_data mcs_data = {0}; struct multi_cs_data mcs_data = {};
union hl_wait_cs_args *args = data; union hl_wait_cs_args *args = data;
struct hl_ctx *ctx = hpriv->ctx; struct hl_ctx *ctx = hpriv->ctx;
struct hl_fence **fence_arr; struct hl_fence **fence_arr;
......
...@@ -35,7 +35,7 @@ struct hl_mmap_mem_buf *hl_mmap_mem_buf_get(struct hl_mem_mgr *mmg, u32 handle) ...@@ -35,7 +35,7 @@ struct hl_mmap_mem_buf *hl_mmap_mem_buf_get(struct hl_mem_mgr *mmg, u32 handle)
} }
/** /**
* @hl_mmap_mem_buf_release - release buffer * hl_mmap_mem_buf_release - release buffer
* *
* @kref: kref that reached 0. * @kref: kref that reached 0.
* *
...@@ -58,7 +58,7 @@ static void hl_mmap_mem_buf_release(struct kref *kref) ...@@ -58,7 +58,7 @@ static void hl_mmap_mem_buf_release(struct kref *kref)
} }
/** /**
* @hl_mmap_mem_buf_put - decrease the reference to the buffer * hl_mmap_mem_buf_put - decrease the reference to the buffer
* *
* @buf: memory manager buffer descriptor * @buf: memory manager buffer descriptor
* *
...@@ -71,7 +71,7 @@ int hl_mmap_mem_buf_put(struct hl_mmap_mem_buf *buf) ...@@ -71,7 +71,7 @@ int hl_mmap_mem_buf_put(struct hl_mmap_mem_buf *buf)
} }
/** /**
* @hl_mmap_mem_buf_alloc - allocate a new mappable buffer * hl_mmap_mem_buf_alloc - allocate a new mappable buffer
* *
* @mmg: parent unifed memory manager * @mmg: parent unifed memory manager
* @behavior: behavior object describing this buffer polymorphic behavior * @behavior: behavior object describing this buffer polymorphic behavior
...@@ -127,7 +127,7 @@ hl_mmap_mem_buf_alloc(struct hl_mem_mgr *mmg, ...@@ -127,7 +127,7 @@ hl_mmap_mem_buf_alloc(struct hl_mem_mgr *mmg,
} }
/** /**
* @hl_mmap_mem_buf_vm_close - handle mmap close * hl_mmap_mem_buf_vm_close - handle mmap close
* *
* @vma: the vma object for which mmap was closed. * @vma: the vma object for which mmap was closed.
* *
...@@ -156,7 +156,7 @@ static const struct vm_operations_struct hl_mmap_mem_buf_vm_ops = { ...@@ -156,7 +156,7 @@ static const struct vm_operations_struct hl_mmap_mem_buf_vm_ops = {
}; };
/** /**
* @hl_mem_mgr_mmap - map the given buffer to the user * hl_mem_mgr_mmap - map the given buffer to the user
* *
* @mmg: unifed memory manager * @mmg: unifed memory manager
* @vma: the vma object for which mmap was closed. * @vma: the vma object for which mmap was closed.
...@@ -240,7 +240,7 @@ int hl_mem_mgr_mmap(struct hl_mem_mgr *mmg, struct vm_area_struct *vma, ...@@ -240,7 +240,7 @@ int hl_mem_mgr_mmap(struct hl_mem_mgr *mmg, struct vm_area_struct *vma,
} }
/** /**
* @hl_mem_mgr_init - initialize unified memory manager * hl_mem_mgr_init - initialize unified memory manager
* *
* @dev: owner device pointer * @dev: owner device pointer
* @mmg: structure to initialize * @mmg: structure to initialize
...@@ -255,7 +255,7 @@ void hl_mem_mgr_init(struct device *dev, struct hl_mem_mgr *mmg) ...@@ -255,7 +255,7 @@ void hl_mem_mgr_init(struct device *dev, struct hl_mem_mgr *mmg)
} }
/** /**
* @hl_mem_mgr_fini - release unified memory manager * hl_mem_mgr_fini - release unified memory manager
* *
* @mmg: parent unifed memory manager * @mmg: parent unifed memory manager
* *
......
...@@ -684,6 +684,7 @@ u64 hl_mmu_get_next_hop_addr(struct hl_ctx *ctx, u64 curr_pte) ...@@ -684,6 +684,7 @@ u64 hl_mmu_get_next_hop_addr(struct hl_ctx *ctx, u64 curr_pte)
/** /**
* hl_mmu_get_hop_pte_phys_addr() - extract PTE address from HOP * hl_mmu_get_hop_pte_phys_addr() - extract PTE address from HOP
* @ctx: pointer to the context structure to initialize. * @ctx: pointer to the context structure to initialize.
* @mmu_prop: MMU properties.
* @hop_idx: HOP index. * @hop_idx: HOP index.
* @hop_addr: HOP address. * @hop_addr: HOP address.
* @virt_addr: virtual address fro the translation. * @virt_addr: virtual address fro the translation.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment