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);
878 void cxl_context_free(struct cxl_context *ctx);
879 void cxl_context_detach(struct cxl_context *ctx);
898 int afu_register_irqs(struct cxl_context *ctx, u32 count);
899 void afu_release_irqs(struct cxl_context *ctx, void *cookie);
900 void afu_irq_name_free(struct cxl_context *ctx);
902 int cxl_attach_afu_directed_psl9(struct cxl_context *ctx, u64 wed, u64 amr);
903 int cxl_attach_afu_directed_psl8(struct cxl_context *ctx, u64 wed, u64 amr);
906 int cxl_attach_dedicated_process_psl9(struct cxl_context *ctx, u64 wed, u64 amr);
907 int cxl_attach_dedicated_process_psl8(struct cxl_context *ctx, u64 wed, u64 amr);
908 void cxl_update_dedicated_ivtes_psl9(struct cxl_context *ctx);
909 void cxl_update_dedicated_ivtes_psl8(struct cxl_context *ctx);
971 void cxl_prefault(struct cxl_context *ctx, u64 wed);
975 int cxl_alloc_sst(struct cxl_context *ctx);
980 struct cxl_context *cxl_context_alloc(void);
981 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master);
982 void cxl_context_set_mapping(struct cxl_context *ctx,
984 void cxl_context_free(struct cxl_context *ctx);
985 int cxl_context_iomap(struct cxl_context *ctx, struct vm_area_struct *vma);
989 int __detach_context(struct cxl_context *ctx);
1009 void cxl_assign_psn_space(struct cxl_context *ctx);
1012 irqreturn_t cxl_irq_psl9(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info);
1013 irqreturn_t cxl_irq_psl8(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info);
1030 void cxl_native_irq_dump_regs_psl9(struct cxl_context *ctx);
1031 void cxl_native_irq_dump_regs_psl8(struct cxl_context *ctx);
1036 void cxl_release_mapping(struct cxl_context *ctx);
1040 int afu_allocate_irqs(struct cxl_context *ctx, u32 count);
1076 irqreturn_t (*handle_psl_slice_error)(struct cxl_context *ctx,
1079 int (*ack_irq)(struct cxl_context *ctx, u64 tfc, u64 psl_reset_mask);
1080 void (*irq_wait)(struct cxl_context *ctx);
1081 int (*attach_process)(struct cxl_context *ctx, bool kernel,
1083 int (*detach_process)(struct cxl_context *ctx);
1084 void (*update_ivtes)(struct cxl_context *ctx);
1129 void cxl_context_mm_count_get(struct cxl_context *ctx);
1132 void cxl_context_mm_count_put(struct cxl_context *ctx);