Lines Matching defs:cxlflash_cfg
112 struct cxlflash_cfg { struct
113 struct afu *afu;
115 const struct cxlflash_backend_ops *ops;
116 struct pci_dev *dev;
117 struct pci_device_id *dev_id;
118 struct Scsi_Host *host;
119 int num_fc_ports;
120 struct cdev cdev;
121 struct device *chardev;
123 ulong cxlflash_regs_pci;
125 struct work_struct work_q;
126 enum cxlflash_init_state init_state;
127 enum cxlflash_lr_state lr_state;
128 int lr_port;
129 atomic_t scan_host_needed;
131 void *afu_cookie;
133 atomic_t recovery_threads;
134 struct mutex ctx_recovery_mutex;
135 struct mutex ctx_tbl_list_mutex;
136 struct rw_semaphore ioctl_rwsem;
137 struct ctx_info *ctx_tbl[MAX_CONTEXT];
138 struct list_head ctx_err_recovery; /* contexts w/ recovery pending */
139 struct file_operations cxl_fops;
142 int last_lun_index[MAX_FC_PORTS];
143 int promote_lun_index;
144 struct list_head lluns; /* list of llun_info structs */
146 wait_queue_head_t tmf_waitq;
147 spinlock_t tmf_slock;
148 bool tmf_active;
149 bool ws_unmap; /* Write-same unmap supported */
150 wait_queue_head_t reset_waitq;
151 enum cxlflash_state state;
152 async_cookie_t async_reset_cookie;