Searched refs:ocxl_context (Results 1 – 5 of 5) sorted by relevance
| /drivers/misc/ocxl/ |
| A D | context.c | 7 int ocxl_context_alloc(struct ocxl_context **context, struct ocxl_afu *afu, in ocxl_context_alloc() 11 struct ocxl_context *ctx; in ocxl_context_alloc() 58 struct ocxl_context *ctx = data; in xsl_fault_error() 99 u64 offset, struct ocxl_context *ctx) in map_afu_irq() 112 u64 offset, struct ocxl_context *ctx) in map_pp_mmio() 142 struct ocxl_context *ctx = vma->vm_file->private_data; in ocxl_mmap_fault() 161 static int check_mmap_afu_irq(struct ocxl_context *ctx, in check_mmap_afu_irq() 187 static int check_mmap_mmio(struct ocxl_context *ctx, in check_mmap_mmio() 213 int ocxl_context_detach(struct ocxl_context *ctx) in ocxl_context_detach() 262 struct ocxl_context *ctx; in ocxl_context_detach_all() [all …]
|
| A D | afu_irq.c | 20 int ocxl_irq_offset_to_id(struct ocxl_context *ctx, u64 offset) in ocxl_irq_offset_to_id() 25 u64 ocxl_irq_id_to_offset(struct ocxl_context *ctx, int irq_id) in ocxl_irq_id_to_offset() 30 int ocxl_irq_set_handler(struct ocxl_context *ctx, int irq_id, in ocxl_irq_set_handler() 70 static int setup_afu_irq(struct ocxl_context *ctx, struct afu_irq *irq) in setup_afu_irq() 105 int ocxl_afu_irq_alloc(struct ocxl_context *ctx, int *irq_id) in ocxl_afu_irq_alloc() 154 static void afu_irq_free(struct afu_irq *irq, struct ocxl_context *ctx) in afu_irq_free() 168 int ocxl_afu_irq_free(struct ocxl_context *ctx, int irq_id) in ocxl_afu_irq_free() 186 void ocxl_afu_irq_free_all(struct ocxl_context *ctx) in ocxl_afu_irq_free_all() 197 u64 ocxl_afu_irq_get_addr(struct ocxl_context *ctx, int irq_id) in ocxl_afu_irq_get_addr()
|
| A D | file.c | 52 struct ocxl_context *ctx; in afu_open() 71 static long afu_ioctl_attach(struct ocxl_context *ctx, in afu_ioctl_attach() 90 static long afu_ioctl_get_metadata(struct ocxl_context *ctx, in afu_ioctl_get_metadata() 201 struct ocxl_context *ctx = file->private_data; in afu_ioctl() 294 struct ocxl_context *ctx = file->private_data; in afu_mmap() 300 static bool has_xsl_error(struct ocxl_context *ctx) in has_xsl_error() 316 static bool afu_events_pending(struct ocxl_context *ctx) in afu_events_pending() 325 struct ocxl_context *ctx = file->private_data; in afu_poll() 353 static ssize_t append_xsl_error(struct ocxl_context *ctx, in append_xsl_error() 397 struct ocxl_context *ctx = file->private_data; in afu_read() [all …]
|
| A D | ocxl_internal.h | 70 struct ocxl_context { struct 141 int ocxl_context_mmap(struct ocxl_context *ctx, 148 int ocxl_irq_offset_to_id(struct ocxl_context *ctx, u64 offset); 149 u64 ocxl_irq_id_to_offset(struct ocxl_context *ctx, int irq_id); 150 void ocxl_afu_irq_free_all(struct ocxl_context *ctx);
|
| A D | trace.h | 75 DECLARE_EVENT_CLASS(ocxl_context, 104 DEFINE_EVENT(ocxl_context, ocxl_context_add, 109 DEFINE_EVENT(ocxl_context, ocxl_context_remove,
|
Completed in 14 milliseconds