Lines Matching refs:recv_ctx
280 int qlcnic_alloc_sds_rings(struct qlcnic_recv_context *recv_ctx, int count) in qlcnic_alloc_sds_rings() argument
284 recv_ctx->sds_rings = kzalloc(size, GFP_KERNEL); in qlcnic_alloc_sds_rings()
286 return recv_ctx->sds_rings == NULL; in qlcnic_alloc_sds_rings()
289 void qlcnic_free_sds_rings(struct qlcnic_recv_context *recv_ctx) in qlcnic_free_sds_rings() argument
291 kfree(recv_ctx->sds_rings); in qlcnic_free_sds_rings()
292 recv_ctx->sds_rings = NULL; in qlcnic_free_sds_rings()
1705 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_request_irq() local
1736 sds_ring = &recv_ctx->sds_rings[ring]; in qlcnic_request_irq()
1790 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_free_irq() local
1797 sds_ring = &recv_ctx->sds_rings[ring]; in qlcnic_free_irq()
1877 rds_ring = &adapter->recv_ctx->rds_rings[ring]; in __qlcnic_up()
2037 sds_ring = &adapter->recv_ctx->sds_rings[ring]; in qlcnic_diag_free_res()
2064 adapter->recv_ctx = kzalloc(sizeof(struct qlcnic_recv_context), in qlcnic_alloc_adapter_resources()
2066 if (!adapter->recv_ctx) { in qlcnic_alloc_adapter_resources()
2093 kfree(adapter->recv_ctx); in qlcnic_free_adapter_resources()
2094 adapter->recv_ctx = NULL; in qlcnic_free_adapter_resources()
2144 rds_ring = &adapter->recv_ctx->rds_rings[ring]; in qlcnic_diag_alloc_res()
2150 sds_ring = &adapter->recv_ctx->sds_rings[ring]; in qlcnic_diag_alloc_res()
2958 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_dump_rings() local
2969 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_dump_rings()
2979 sds_ring = &(recv_ctx->sds_rings[ring]); in qlcnic_dump_rings()