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