Searched refs:cqicb (Results 1 – 4 of 4) sorted by relevance
189 struct cqicb *cqicb; in ql_update_ring_coalescing() local197 cqicb = (struct cqicb *)&qdev->rx_ring[qdev->rss_ring_count]; in ql_update_ring_coalescing()198 if (le16_to_cpu(cqicb->irq_delay) != qdev->tx_coalesce_usecs || in ql_update_ring_coalescing()199 le16_to_cpu(cqicb->pkt_delay) != in ql_update_ring_coalescing()203 cqicb = (struct cqicb *)rx_ring; in ql_update_ring_coalescing()204 cqicb->irq_delay = cpu_to_le16(qdev->tx_coalesce_usecs); in ql_update_ring_coalescing()205 cqicb->pkt_delay = in ql_update_ring_coalescing()207 cqicb->flags = FLAGS_LI; in ql_update_ring_coalescing()208 status = ql_write_cfg(qdev, cqicb, sizeof(*cqicb), in ql_update_ring_coalescing()219 cqicb = (struct cqicb *)&qdev->rx_ring[0]; in ql_update_ring_coalescing()[all …]
1722 void ql_dump_cqicb(struct cqicb *cqicb) in ql_dump_cqicb() argument1726 pr_err("cqicb->msix_vect = %d\n", cqicb->msix_vect); in ql_dump_cqicb()1727 pr_err("cqicb->flags = %x\n", cqicb->flags); in ql_dump_cqicb()1728 pr_err("cqicb->len = %d\n", le16_to_cpu(cqicb->len)); in ql_dump_cqicb()1730 (unsigned long long) le64_to_cpu(cqicb->addr)); in ql_dump_cqicb()1732 (unsigned long long) le64_to_cpu(cqicb->prod_idx_addr)); in ql_dump_cqicb()1734 le16_to_cpu(cqicb->pkt_delay)); in ql_dump_cqicb()1736 le16_to_cpu(cqicb->irq_delay)); in ql_dump_cqicb()1738 (unsigned long long) le64_to_cpu(cqicb->lbq_addr)); in ql_dump_cqicb()1740 le16_to_cpu(cqicb->lbq_buf_size)); in ql_dump_cqicb()[all …]
1293 struct cqicb { struct1419 struct cqicb cqicb; /* The chip's completion queue init control block. */ member2294 void ql_dump_cqicb(struct cqicb *cqicb);2300 #define QL_DUMP_CQICB(cqicb) ql_dump_cqicb(cqicb) argument2308 #define QL_DUMP_CQICB(cqicb) argument
3136 struct cqicb *cqicb = &rx_ring->cqicb; in ql_start_rx_ring() local3176 memset((void *)cqicb, 0, sizeof(struct cqicb)); in ql_start_rx_ring()3177 cqicb->msix_vect = rx_ring->irq; in ql_start_rx_ring()3180 cqicb->len = cpu_to_le16(bq_len | LEN_V | LEN_CPP_CONT); in ql_start_rx_ring()3182 cqicb->addr = cpu_to_le64(rx_ring->cq_base_dma); in ql_start_rx_ring()3184 cqicb->prod_idx_addr = cpu_to_le64(rx_ring->prod_idx_sh_reg_dma); in ql_start_rx_ring()3189 cqicb->flags = FLAGS_LC | /* Load queue base address */ in ql_start_rx_ring()3193 cqicb->flags |= FLAGS_LL; /* Load lbq values */ in ql_start_rx_ring()3203 cqicb->lbq_addr = in ql_start_rx_ring()3207 cqicb->lbq_buf_size = cpu_to_le16(bq_len); in ql_start_rx_ring()[all …]