Lines Matching refs:cxl_context

540 struct cxl_context {  struct
634 irqreturn_t (*handle_interrupt)(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info); argument
637 int (*attach_afu_directed)(struct cxl_context *ctx, u64 wed, u64 amr);
638 int (*attach_dedicated_process)(struct cxl_context *ctx, u64 wed, u64 amr);
639 void (*update_dedicated_ivtes)(struct cxl_context *ctx);
642 void (*psl_irq_dump_registers)(struct cxl_context *ctx);
879 void cxl_context_free(struct cxl_context *ctx);
880 void cxl_context_detach(struct cxl_context *ctx);
899 int afu_register_irqs(struct cxl_context *ctx, u32 count);
900 void afu_release_irqs(struct cxl_context *ctx, void *cookie);
901 void afu_irq_name_free(struct cxl_context *ctx);
903 int cxl_attach_afu_directed_psl9(struct cxl_context *ctx, u64 wed, u64 amr);
904 int cxl_attach_afu_directed_psl8(struct cxl_context *ctx, u64 wed, u64 amr);
907 int cxl_attach_dedicated_process_psl9(struct cxl_context *ctx, u64 wed, u64 amr);
908 int cxl_attach_dedicated_process_psl8(struct cxl_context *ctx, u64 wed, u64 amr);
909 void cxl_update_dedicated_ivtes_psl9(struct cxl_context *ctx);
910 void cxl_update_dedicated_ivtes_psl8(struct cxl_context *ctx);
972 void cxl_prefault(struct cxl_context *ctx, u64 wed);
976 int cxl_alloc_sst(struct cxl_context *ctx);
981 struct cxl_context *cxl_context_alloc(void);
982 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master);
983 void cxl_context_set_mapping(struct cxl_context *ctx,
985 void cxl_context_free(struct cxl_context *ctx);
986 int cxl_context_iomap(struct cxl_context *ctx, struct vm_area_struct *vma);
990 int __detach_context(struct cxl_context *ctx);
1010 void cxl_assign_psn_space(struct cxl_context *ctx);
1013 irqreturn_t cxl_irq_psl9(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info);
1014 irqreturn_t cxl_irq_psl8(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info);
1031 void cxl_native_irq_dump_regs_psl9(struct cxl_context *ctx);
1032 void cxl_native_irq_dump_regs_psl8(struct cxl_context *ctx);
1037 void cxl_release_mapping(struct cxl_context *ctx);
1041 int afu_allocate_irqs(struct cxl_context *ctx, u32 count);
1077 irqreturn_t (*handle_psl_slice_error)(struct cxl_context *ctx,
1080 int (*ack_irq)(struct cxl_context *ctx, u64 tfc, u64 psl_reset_mask);
1081 void (*irq_wait)(struct cxl_context *ctx);
1082 int (*attach_process)(struct cxl_context *ctx, bool kernel,
1084 int (*detach_process)(struct cxl_context *ctx);
1085 void (*update_ivtes)(struct cxl_context *ctx);
1130 void cxl_context_mm_count_get(struct cxl_context *ctx);
1133 void cxl_context_mm_count_put(struct cxl_context *ctx);