Lines Matching refs:prq
247 struct qlcnic_hostrq_rx_ctx *prq; in qlcnic_82xx_fw_cmd_create_rx_ctx() local
269 prq = addr; in qlcnic_82xx_fw_cmd_create_rx_ctx()
279 prq->host_rsp_dma_addr = cpu_to_le64(cardrsp_phys_addr); in qlcnic_82xx_fw_cmd_create_rx_ctx()
290 prq->valid_field_offset = cpu_to_le16(temp_u16); in qlcnic_82xx_fw_cmd_create_rx_ctx()
291 prq->txrx_sds_binding = nsds_rings - 1; in qlcnic_82xx_fw_cmd_create_rx_ctx()
293 prq->host_int_crb_mode = cpu_to_le32(temp_intr_crb_mode); in qlcnic_82xx_fw_cmd_create_rx_ctx()
295 prq->host_rds_crb_mode = cpu_to_le32(temp_rds_crb_mode); in qlcnic_82xx_fw_cmd_create_rx_ctx()
298 prq->capabilities[0] = cpu_to_le32(cap); in qlcnic_82xx_fw_cmd_create_rx_ctx()
300 prq->num_rds_rings = cpu_to_le16(nrds_rings); in qlcnic_82xx_fw_cmd_create_rx_ctx()
301 prq->num_sds_rings = cpu_to_le16(nsds_rings); in qlcnic_82xx_fw_cmd_create_rx_ctx()
302 prq->rds_ring_offset = 0; in qlcnic_82xx_fw_cmd_create_rx_ctx()
304 val = le32_to_cpu(prq->rds_ring_offset) + in qlcnic_82xx_fw_cmd_create_rx_ctx()
306 prq->sds_ring_offset = cpu_to_le32(val); in qlcnic_82xx_fw_cmd_create_rx_ctx()
308 prq_rds = (struct qlcnic_hostrq_rds_ring *)(prq->data + in qlcnic_82xx_fw_cmd_create_rx_ctx()
309 le32_to_cpu(prq->rds_ring_offset)); in qlcnic_82xx_fw_cmd_create_rx_ctx()
320 prq_sds = (struct qlcnic_hostrq_sds_ring *)(prq->data + in qlcnic_82xx_fw_cmd_create_rx_ctx()
321 le32_to_cpu(prq->sds_ring_offset)); in qlcnic_82xx_fw_cmd_create_rx_ctx()
387 dma_free_coherent(&adapter->pdev->dev, rq_size, prq, hostrq_phys_addr); in qlcnic_82xx_fw_cmd_create_rx_ctx()
418 struct qlcnic_hostrq_tx_ctx *prq; in qlcnic_82xx_fw_cmd_create_tx_ctx() local
449 prq = rq_addr; in qlcnic_82xx_fw_cmd_create_tx_ctx()
452 prq->host_rsp_dma_addr = cpu_to_le64(rsp_phys_addr); in qlcnic_82xx_fw_cmd_create_tx_ctx()
459 prq->capabilities[0] = cpu_to_le32(temp); in qlcnic_82xx_fw_cmd_create_tx_ctx()
466 prq->msi_index = cpu_to_le16(msix_id); in qlcnic_82xx_fw_cmd_create_tx_ctx()
469 prq->host_int_crb_mode = cpu_to_le32(temp_int_crb_mode); in qlcnic_82xx_fw_cmd_create_tx_ctx()
470 prq->msi_index = 0; in qlcnic_82xx_fw_cmd_create_tx_ctx()
473 prq->interrupt_ctl = 0; in qlcnic_82xx_fw_cmd_create_tx_ctx()
474 prq->cmd_cons_dma_addr = cpu_to_le64(tx_ring->hw_cons_phys_addr); in qlcnic_82xx_fw_cmd_create_tx_ctx()
476 prq_cds = &prq->cds_ring; in qlcnic_82xx_fw_cmd_create_tx_ctx()