Home
last modified time | relevance | path

Searched refs:cxl_context (Results 1 – 14 of 14) sorted by relevance

/linux/include/misc/
A Dcxl.h82 int cxl_release_context(struct cxl_context *ctx);
89 void *cxl_get_priv(struct cxl_context *ctx);
99 void cxl_free_afu_irqs(struct cxl_context *cxl);
120 int cxl_stop_context(struct cxl_context *ctx);
123 int cxl_afu_reset(struct cxl_context *ctx);
130 void cxl_set_master(struct cxl_context *ctx);
136 void __iomem *cxl_psa_map(struct cxl_context *ctx);
140 int cxl_process_element(struct cxl_context *ctx);
189 int cxl_start_work(struct cxl_context *ctx,
248 struct cxl_context *ctx);
[all …]
/linux/drivers/misc/cxl/
A Dapi.c50 void cxl_release_mapping(struct cxl_context *ctx) in cxl_release_mapping()
103 struct cxl_context *ctx; in cxl_dev_context_init()
135 int cxl_release_context(struct cxl_context *ctx) in cxl_release_context()
173 void *cxl_get_priv(struct cxl_context *ctx) in cxl_get_priv()
212 void cxl_free_afu_irqs(struct cxl_context *ctx) in cxl_free_afu_irqs()
332 int cxl_process_element(struct cxl_context *ctx) in cxl_process_element()
339 int cxl_stop_context(struct cxl_context *ctx) in cxl_stop_context()
345 void cxl_set_master(struct cxl_context *ctx) in cxl_set_master()
442 void cxl_set_driver_ops(struct cxl_context *ctx, in cxl_set_driver_ops()
459 int cxl_start_work(struct cxl_context *ctx, in cxl_start_work()
[all …]
A Dcxl.h538 struct cxl_context { struct
876 void cxl_context_free(struct cxl_context *ctx);
877 void cxl_context_detach(struct cxl_context *ctx);
898 void afu_irq_name_free(struct cxl_context *ctx);
973 int cxl_alloc_sst(struct cxl_context *ctx);
978 struct cxl_context *cxl_context_alloc(void);
982 void cxl_context_free(struct cxl_context *ctx);
987 int __detach_context(struct cxl_context *ctx);
1078 void (*irq_wait)(struct cxl_context *ctx);
1081 int (*detach_process)(struct cxl_context *ctx);
[all …]
A Dcontext.c27 struct cxl_context *cxl_context_alloc(void) in cxl_context_alloc()
29 return kzalloc(sizeof(struct cxl_context), GFP_KERNEL); in cxl_context_alloc()
118 void cxl_context_set_mapping(struct cxl_context *ctx, in cxl_context_set_mapping()
129 struct cxl_context *ctx = vma->vm_file->private_data; in cxl_mmap_fault()
234 int __detach_context(struct cxl_context *ctx) in __detach_context()
282 void cxl_context_detach(struct cxl_context *ctx) in cxl_context_detach()
299 struct cxl_context *ctx; in cxl_context_detach_all()
326 struct cxl_context *ctx = container_of(rcu, struct cxl_context, rcu); in reclaim_ctx()
342 void cxl_context_free(struct cxl_context *ctx) in cxl_context_free()
352 void cxl_context_mm_count_get(struct cxl_context *ctx) in cxl_context_mm_count_get()
[all …]
A Dfault.c32 static struct cxl_sste *find_free_sste(struct cxl_context *ctx, in find_free_sste()
97 static void cxl_ack_ae(struct cxl_context *ctx) in cxl_ack_ae()
112 static int cxl_handle_segment_miss(struct cxl_context *ctx, in cxl_handle_segment_miss()
180 static void cxl_handle_page_fault(struct cxl_context *ctx, in cxl_handle_page_fault()
198 static struct mm_struct *get_mem_context(struct cxl_context *ctx) in get_mem_context()
217 static bool cxl_is_page_fault(struct cxl_context *ctx, u64 dsisr) in cxl_is_page_fault()
230 struct cxl_context *ctx = in cxl_handle_fault()
231 container_of(fault_work, struct cxl_context, fault_work); in cxl_handle_fault()
283 static void cxl_prefault_one(struct cxl_context *ctx, u64 ea) in cxl_prefault_one()
309 static void cxl_prefault_vma(struct cxl_context *ctx) in cxl_prefault_vma()
[all …]
A Dirq.c25 static irqreturn_t schedule_cxl_fault(struct cxl_context *ctx, u64 dsisr, u64 dar) in schedule_cxl_fault()
33 irqreturn_t cxl_irq_psl9(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info) in cxl_irq_psl9()
84 irqreturn_t cxl_irq_psl8(int irq, struct cxl_context *ctx, struct cxl_irq_info *irq_info) in cxl_irq_psl8()
172 struct cxl_context *ctx = data; in cxl_irq_afu()
280 void afu_irq_name_free(struct cxl_context *ctx) in afu_irq_name_free()
291 int afu_allocate_irqs(struct cxl_context *ctx, u32 count) in afu_allocate_irqs()
356 static void afu_register_hwirqs(struct cxl_context *ctx) in afu_register_hwirqs()
389 int afu_register_irqs(struct cxl_context *ctx, u32 count) in afu_register_irqs()
401 void afu_release_irqs(struct cxl_context *ctx, void *cookie) in afu_release_irqs()
A Dnative.c408 static void slb_invalid(struct cxl_context *ctx) in slb_invalid()
430 static int do_process_element_cmd(struct cxl_context *ctx, in do_process_element_cmd()
481 static int add_process_element(struct cxl_context *ctx) in add_process_element()
517 static int remove_process_element(struct cxl_context *ctx) in remove_process_element()
540 void cxl_assign_psn_space(struct cxl_context *ctx) in cxl_assign_psn_space()
627 static u64 calculate_sr(struct cxl_context *ctx) in calculate_sr()
633 static void update_ivtes_directed(struct cxl_context *ctx) in update_ivtes_directed()
1052 static void native_update_ivtes(struct cxl_context *ctx) in native_update_ivtes()
1074 static int native_detach_process(struct cxl_context *ctx) in native_detach_process()
1176 struct cxl_context *ctx; in native_irq_multiplexed()
[all …]
A Dfile.c47 struct cxl_context *ctx; in __afu_open()
119 struct cxl_context *ctx = file->private_data; in afu_release()
147 static long afu_ioctl_start_work(struct cxl_context *ctx, in afu_ioctl_start_work()
280 static long afu_ioctl_process_element(struct cxl_context *ctx, in afu_ioctl_process_element()
291 static long afu_ioctl_get_afu_id(struct cxl_context *ctx, in afu_ioctl_get_afu_id()
312 struct cxl_context *ctx = file->private_data; in afu_ioctl()
341 struct cxl_context *ctx = file->private_data; in afu_mmap()
353 static inline bool ctx_event_pending(struct cxl_context *ctx) in ctx_event_pending()
366 struct cxl_context *ctx = file->private_data; in afu_poll()
389 static ssize_t afu_driver_event_copy(struct cxl_context *ctx, in afu_driver_event_copy()
[all …]
A Dtrace.h64 TP_PROTO(struct cxl_context *ctx),
125 TP_PROTO(struct cxl_context *ctx),
163 TP_PROTO(struct cxl_context *ctx, int irq, u64 dsisr, u64 dar),
197 TP_PROTO(struct cxl_context *ctx, int irq, u64 dsisr, u64 dar),
230 TP_PROTO(struct cxl_context *ctx, u64 tfc),
257 TP_PROTO(struct cxl_context *ctx, u64 dar),
284 TP_PROTO(struct cxl_context *ctx, unsigned int idx, u64 e, u64 v),
317 TP_PROTO(struct cxl_context *ctx, u64 dsisr, u64 dar),
347 TP_PROTO(struct cxl_context *ctx, u64 cmd),
374 TP_PROTO(struct cxl_context *ctx, u64 cmd, int rc),
[all …]
A Dguest.c59 static irqreturn_t guest_handle_psl_slice_error(struct cxl_context *ctx, u64 dsisr, in guest_handle_psl_slice_error()
154 static int guest_get_irq_info(struct cxl_context *ctx, struct cxl_irq_info *info) in guest_get_irq_info()
161 struct cxl_context *ctx = data; in guest_psl_irq()
377 static int guest_ack_irq(struct cxl_context *ctx, u64 tfc, u64 psl_reset_mask) in guest_ack_irq()
383 static void disable_afu_irqs(struct cxl_context *ctx) in disable_afu_irqs()
399 static void enable_afu_irqs(struct cxl_context *ctx) in enable_afu_irqs()
519 static int attach_afu_directed(struct cxl_context *ctx, u64 wed, u64 amr) in attach_afu_directed()
624 static int guest_attach_process(struct cxl_context *ctx, bool kernel, u64 wed, u64 amr) in guest_attach_process()
637 static int detach_afu_directed(struct cxl_context *ctx) in detach_afu_directed()
646 static int guest_detach_process(struct cxl_context *ctx) in guest_detach_process()
A Dmain.c57 static inline void _cxl_slbia(struct cxl_context *ctx, struct mm_struct *mm) in _cxl_slbia()
79 struct cxl_context *ctx; in cxl_slbia_core()
107 int cxl_alloc_sst(struct cxl_context *ctx) in cxl_alloc_sst()
A Dvphb.c32 struct cxl_context *ctx; in cxl_pci_enable_device_hook()
58 struct cxl_context *ctx = cxl_get_context(dev); in cxl_pci_disable_device()
A Dpci.c1977 struct cxl_context *ctx; in cxl_pci_slot_reset()
/linux/arch/powerpc/include/asm/
A Ddevice.h42 struct cxl_context *cxl_ctx;

Completed in 30 milliseconds