Lines Matching refs:rds_ring

140 	struct nx_host_rds_ring *rds_ring;  in nx_fw_cmd_create_rx_ctx()  local
200 rds_ring = &recv_ctx->rds_rings[i]; in nx_fw_cmd_create_rx_ctx()
202 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); in nx_fw_cmd_create_rx_ctx()
203 prq_rds[i].ring_size = cpu_to_le32(rds_ring->num_desc); in nx_fw_cmd_create_rx_ctx()
205 prq_rds[i].buff_size = cpu_to_le64(rds_ring->dma_size); in nx_fw_cmd_create_rx_ctx()
239 rds_ring = &recv_ctx->rds_rings[i]; in nx_fw_cmd_create_rx_ctx()
242 rds_ring->crb_rcv_producer = netxen_get_ioaddr(adapter, in nx_fw_cmd_create_rx_ctx()
556 struct nx_host_rds_ring *rds_ring; in netxen_init_old_ctx() local
573 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_init_old_ctx()
576 cpu_to_le64(rds_ring->phys_addr); in netxen_init_old_ctx()
578 cpu_to_le32(rds_ring->num_desc); in netxen_init_old_ctx()
612 struct nx_host_rds_ring *rds_ring; in netxen_alloc_hw_resources() local
654 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_alloc_hw_resources()
656 RCV_DESC_RINGSIZE(rds_ring), in netxen_alloc_hw_resources()
657 &rds_ring->phys_addr); in netxen_alloc_hw_resources()
665 rds_ring->desc_head = (struct rcv_desc *)addr; in netxen_alloc_hw_resources()
668 rds_ring->crb_rcv_producer = in netxen_alloc_hw_resources()
726 struct nx_host_rds_ring *rds_ring; in netxen_free_hw_resources() local
770 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_free_hw_resources()
772 if (rds_ring->desc_head != NULL) { in netxen_free_hw_resources()
774 RCV_DESC_RINGSIZE(rds_ring), in netxen_free_hw_resources()
775 rds_ring->desc_head, in netxen_free_hw_resources()
776 rds_ring->phys_addr); in netxen_free_hw_resources()
777 rds_ring->desc_head = NULL; in netxen_free_hw_resources()