Lines Matching refs:sds_ring

100 	struct qlcnic_host_sds_ring *sds_ring;  in qlcnic_fw_cmd_create_rx_ctx()  local
179 sds_ring = &recv_ctx->sds_rings[i]; in qlcnic_fw_cmd_create_rx_ctx()
180 sds_ring->consumer = 0; in qlcnic_fw_cmd_create_rx_ctx()
181 memset(sds_ring->desc_head, 0, STATUS_DESC_RINGSIZE(sds_ring)); in qlcnic_fw_cmd_create_rx_ctx()
183 prq_sds[i].host_phys_addr = cpu_to_le64(sds_ring->phys_addr); in qlcnic_fw_cmd_create_rx_ctx()
184 prq_sds[i].ring_size = cpu_to_le32(sds_ring->num_desc); in qlcnic_fw_cmd_create_rx_ctx()
217 sds_ring = &recv_ctx->sds_rings[i]; in qlcnic_fw_cmd_create_rx_ctx()
222 sds_ring->crb_sts_consumer = adapter->ahw.pci_base0 + reg; in qlcnic_fw_cmd_create_rx_ctx()
223 sds_ring->crb_intr_mask = adapter->ahw.pci_base0 + reg2; in qlcnic_fw_cmd_create_rx_ctx()
396 struct qlcnic_host_sds_ring *sds_ring; in qlcnic_alloc_hw_resources() local
440 sds_ring = &recv_ctx->sds_rings[ring]; in qlcnic_alloc_hw_resources()
443 STATUS_DESC_RINGSIZE(sds_ring), in qlcnic_alloc_hw_resources()
444 &sds_ring->phys_addr); in qlcnic_alloc_hw_resources()
451 sds_ring->desc_head = (struct status_desc *)addr; in qlcnic_alloc_hw_resources()
500 struct qlcnic_host_sds_ring *sds_ring; in qlcnic_free_hw_resources() local
535 sds_ring = &recv_ctx->sds_rings[ring]; in qlcnic_free_hw_resources()
537 if (sds_ring->desc_head != NULL) { in qlcnic_free_hw_resources()
539 STATUS_DESC_RINGSIZE(sds_ring), in qlcnic_free_hw_resources()
540 sds_ring->desc_head, in qlcnic_free_hw_resources()
541 sds_ring->phys_addr); in qlcnic_free_hw_resources()
542 sds_ring->desc_head = NULL; in qlcnic_free_hw_resources()