20 #include <linux/kernel.h>
21 #include <linux/errno.h>
22 #include <linux/types.h>
23 #include <linux/pci.h>
36 unsigned int desc_count,
unsigned int desc_size)
45 pr_err(
"Failed to hook CQ[%d] resource\n", index);
57 unsigned int color_enable,
unsigned int cq_head,
unsigned int cq_tail,
58 unsigned int cq_tail_color,
unsigned int interrupt_enable,
59 unsigned int cq_entry_enable,
unsigned int cq_message_enable,
60 unsigned int interrupt_offset,
u64 cq_message_addr)
67 iowrite32(flow_control_enable, &cq->
ctrl->flow_control_enable);
76 writeq(cq_message_addr, &cq->
ctrl->cq_message_addr);