Lines Matching refs:q0

1617 	struct bna_rxq *q0 = NULL, *q1 = NULL;  in bna_bfi_rx_enet_start()  local
1630 GET_RXQS(rxp, q0, q1); in bna_bfi_rx_enet_start()
1644 &q0->qpt); in bna_bfi_rx_enet_start()
1645 if (q0->multi_buffer) in bna_bfi_rx_enet_start()
1654 q0->buffer_size = in bna_bfi_rx_enet_start()
1657 htons((u16)q0->buffer_size); in bna_bfi_rx_enet_start()
1831 bna_rxp_add_rxqs(struct bna_rxp *rxp, struct bna_rxq *q0, in bna_rxp_add_rxqs() argument
1836 rxp->rxq.single.only = q0; in bna_rxp_add_rxqs()
1840 rxp->rxq.slr.large = q0; in bna_rxp_add_rxqs()
1844 rxp->rxq.hds.data = q0; in bna_rxp_add_rxqs()
2090 struct bna_rxq *q0 = NULL, *q1 = NULL; in bna_bfi_rx_enet_start_rsp() local
2100 GET_RXQS(rxp, q0, q1); in bna_bfi_rx_enet_start_rsp()
2107 q0->rcb->q_dbell = in bna_bfi_rx_enet_start_rsp()
2110 q0->hw_id = cfg_rsp->q_handles[i].hw_lqid; in bna_bfi_rx_enet_start_rsp()
2121 q0->rcb->producer_index = q0->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
2259 struct bna_rxq *q0; in bna_rx_create() local
2347 q0 = bna_rxq_get(rx_mod); in bna_rx_create()
2375 bna_rxp_add_rxqs(rxp, q0, q1); in bna_rx_create()
2379 q0->rx = rx; in bna_rx_create()
2380 q0->rxp = rxp; in bna_rx_create()
2382 q0->rcb = (struct bna_rcb *) rcb_mem[rcb_idx].kva; in bna_rx_create()
2383 q0->rcb->unmap_q = (void *)dqunmap_mem[dq_idx].kva; in bna_rx_create()
2385 q0->rcb->q_depth = rx_cfg->q0_depth; in bna_rx_create()
2386 q0->q_depth = rx_cfg->q0_depth; in bna_rx_create()
2387 q0->multi_buffer = rx_cfg->q0_multi_buf; in bna_rx_create()
2388 q0->buffer_size = rx_cfg->q0_buf_size; in bna_rx_create()
2389 q0->num_vecs = rx_cfg->q0_num_vecs; in bna_rx_create()
2390 q0->rcb->rxq = q0; in bna_rx_create()
2391 q0->rcb->bnad = bna->bnad; in bna_rx_create()
2392 q0->rcb->id = 0; in bna_rx_create()
2393 q0->rx_packets = q0->rx_bytes = 0; in bna_rx_create()
2394 q0->rx_packets_with_error = q0->rxbuf_alloc_failed = 0; in bna_rx_create()
2395 q0->rxbuf_map_failed = 0; in bna_rx_create()
2397 bna_rxq_qpt_setup(q0, rxp, dpage_count, PAGE_SIZE, in bna_rx_create()
2401 rx->rcb_setup_cbfn(bnad, q0->rcb); in bna_rx_create()
2446 rxp->cq.ccb->rcb[0] = q0->rcb; in bna_rx_create()
2447 q0->rcb->ccb = rxp->cq.ccb; in bna_rx_create()
2486 struct bna_rxq *q0 = NULL; in bna_rx_destroy() local
2496 GET_RXQS(rxp, q0, q1); in bna_rx_destroy()
2498 rx->rcb_destroy_cbfn(rx->bna->bnad, q0->rcb); in bna_rx_destroy()
2499 q0->rcb = NULL; in bna_rx_destroy()
2500 q0->rxp = NULL; in bna_rx_destroy()
2501 q0->rx = NULL; in bna_rx_destroy()
2502 bna_rxq_put(rx_mod, q0); in bna_rx_destroy()