Home
last modified time | relevance | path

Searched refs:cqicb (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/staging/qlge/
Dqlge_ethtool.c189 struct cqicb *cqicb; in ql_update_ring_coalescing() local
197 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) != qdev->tx_max_coalesced_frames) { in ql_update_ring_coalescing()
202 cqicb = (struct cqicb *)rx_ring; in ql_update_ring_coalescing()
203 cqicb->irq_delay = cpu_to_le16(qdev->tx_coalesce_usecs); in ql_update_ring_coalescing()
204 cqicb->pkt_delay = in ql_update_ring_coalescing()
206 cqicb->flags = FLAGS_LI; in ql_update_ring_coalescing()
207 status = ql_write_cfg(qdev, cqicb, sizeof(*cqicb), in ql_update_ring_coalescing()
218 cqicb = (struct cqicb *)&qdev->rx_ring[0]; in ql_update_ring_coalescing()
[all …]
Dqlge_dbg.c1692 void ql_dump_cqicb(struct cqicb *cqicb) in ql_dump_cqicb() argument
1694 struct rx_ring *rx_ring = container_of(cqicb, struct rx_ring, cqicb); in ql_dump_cqicb()
1699 netdev_err(qdev->ndev, "cqicb->msix_vect = %d\n", cqicb->msix_vect); in ql_dump_cqicb()
1700 netdev_err(qdev->ndev, "cqicb->flags = %x\n", cqicb->flags); in ql_dump_cqicb()
1701 netdev_err(qdev->ndev, "cqicb->len = %d\n", le16_to_cpu(cqicb->len)); in ql_dump_cqicb()
1703 (unsigned long long)le64_to_cpu(cqicb->addr)); in ql_dump_cqicb()
1705 (unsigned long long)le64_to_cpu(cqicb->prod_idx_addr)); in ql_dump_cqicb()
1707 le16_to_cpu(cqicb->pkt_delay)); in ql_dump_cqicb()
1709 le16_to_cpu(cqicb->irq_delay)); in ql_dump_cqicb()
1711 (unsigned long long)le64_to_cpu(cqicb->lbq_addr)); in ql_dump_cqicb()
[all …]
Dqlge_main.c2969 struct cqicb *cqicb = &rx_ring->cqicb; in ql_start_rx_ring() local
3008 memset((void *)cqicb, 0, sizeof(struct cqicb)); in ql_start_rx_ring()
3009 cqicb->msix_vect = rx_ring->irq; in ql_start_rx_ring()
3011 cqicb->len = cpu_to_le16(QLGE_FIT16(rx_ring->cq_len) | LEN_V | in ql_start_rx_ring()
3014 cqicb->addr = cpu_to_le64(rx_ring->cq_base_dma); in ql_start_rx_ring()
3016 cqicb->prod_idx_addr = cpu_to_le64(rx_ring->prod_idx_sh_reg_dma); in ql_start_rx_ring()
3021 cqicb->flags = FLAGS_LC | /* Load queue base address */ in ql_start_rx_ring()
3025 cqicb->flags |= FLAGS_LL; /* Load lbq values */ in ql_start_rx_ring()
3035 cqicb->lbq_addr = cpu_to_le64(rx_ring->lbq.base_indirect_dma); in ql_start_rx_ring()
3036 cqicb->lbq_buf_size = in ql_start_rx_ring()
[all …]
Dqlge.h1300 struct cqicb { struct
1460 struct cqicb cqicb; /* The chip's completion queue init control block. */ member
2320 void ql_dump_cqicb(struct cqicb *cqicb);
2326 #define QL_DUMP_CQICB(cqicb) ql_dump_cqicb(cqicb) argument
2334 #define QL_DUMP_CQICB(cqicb) argument