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