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