Lines Matching defs:ocxlflash_context
55 struct ocxlflash_context { struct
56 struct ocxl_hw_afu *hw_afu; /* HW AFU back pointer */
57 struct address_space *mapping; /* Mapping for pseudo filesystem */
58 bool master; /* Whether this is a master context */
59 int pe; /* Process element */
61 phys_addr_t psn_phys; /* Process mapping */
62 u64 psn_size; /* Process mapping size */
64 spinlock_t slock; /* Protects irq/fault/event updates */
65 wait_queue_head_t wq; /* Wait queue for poll and interrupts */
66 struct mutex state_mutex; /* Mutex to update context state */
67 enum ocxlflash_ctx_state state; /* Context state */
69 struct ocxlflash_irqs *irqs; /* Pointer to array of structures */
70 int num_irqs; /* Number of interrupts */
71 bool pending_irq; /* Pending interrupt on the context */
72 ulong irq_bitmap; /* Bits indicating pending irq num */
74 u64 fault_addr; /* Address that triggered the fault */
75 u64 fault_dsisr; /* Value of dsisr register at fault */
76 bool pending_fault; /* Pending translation fault */