Lines Matching refs:cxl
12 #include <uapi/misc/cxl.h>
44 * One context is inited by the cxl driver for every pci_dev. This is to be
65 * On pci_enabled_device(), the cxl driver will init a single cxl context for
97 int cxl_allocate_afu_irqs(struct cxl_context *cxl, int num);
99 void cxl_free_afu_irqs(struct cxl_context *cxl);
106 int cxl_map_afu_irq(struct cxl_context *cxl, int num,
109 void cxl_unmap_afu_irq(struct cxl_context *cxl, int num, void *cookie);
112 * Start work on the AFU. This starts an cxl context and associates it with a
144 * identical to the cxl file descriptor user API. An example use case:
166 * ops to that file descriptor. If the file ops are blank, the cxl driver will
179 * cxl driver with the default ops to mimic the standard API.
187 * standard cxl user API.
220 * the read() and poll() calls that works with the generic cxl events. These
221 * events are given priority over the generic cxl events, so they will be
224 * The AFU driver must call cxl_context_events_pending() to notify the cxl
230 * The cxl driver will then call fetch_event() to get a structure defining
231 * the size and address of the driver specific event data. The cxl driver
232 * will build a cxl header with type and process_element fields filled in,
238 * The cxl driver will then deliver the event to userspace, and finally
240 * by cxl context and AFU driver event data pointers.
261 /* Notify cxl driver that new events are ready to be delivered for context */