Lines Matching defs:c2_dev
287 struct c2_dev { struct
288 struct ib_device ibdev;
289 void __iomem *regs;
290 void __iomem *mmio_txp_ring; /* remapped adapter memory for hw rings */
291 void __iomem *mmio_rxp_ring;
292 spinlock_t lock;
293 struct pci_dev *pcidev;
294 struct net_device *netdev;
295 struct net_device *pseudo_netdev;
296 unsigned int cur_tx;
297 unsigned int cur_rx;
298 u32 adapter_handle;
299 int device_cap_flags;
300 void __iomem *kva; /* KVA device memory */
301 unsigned long pa; /* PA device memory */
302 void **qptr_array;
304 struct kmem_cache *host_msg_cache;
306 struct list_head cca_link; /* adapter list */
307 struct list_head eh_wakeup_list; /* event wakeup list */
308 wait_queue_head_t req_vq_wo;
311 struct ib_device_attr props;
313 struct c2_pd_table pd_table;
314 struct c2_qp_table qp_table;
315 int ports; /* num of GigE ports */
316 int devnum;
317 spinlock_t vqlock; /* sync vbs req MQ */
320 struct c2_mq req_vq; /* Verbs Request MQ */
321 struct c2_mq rep_vq; /* Verbs Reply MQ */
322 struct c2_mq aeq; /* Async Events MQ */
325 struct sp_chunk *kern_mqsp_pool;
329 u16 req_vq_shared;
330 u16 rep_vq_shared;
331 u16 aeq_shared;
332 u16 irq_claimed;
359 struct c2_dev *c2dev; argument