• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/qla2xxx/

Lines Matching defs:rsp

306 static void qla2x00_free_rsp_que(struct qla_hw_data *ha, struct rsp_que *rsp)
308 if (rsp && rsp->ring)
310 (rsp->length + 1) * sizeof(response_t),
311 rsp->ring, rsp->dma);
313 kfree(rsp);
314 rsp = NULL;
320 struct rsp_que *rsp;
331 rsp = ha->rsp_q_map[cnt];
332 qla2x00_free_rsp_que(ha, rsp);
1941 struct rsp_que *rsp = NULL;
2107 ret = qla2x00_mem_alloc(ha, req_length, rsp_length, &req, &rsp);
2128 qla2x00_free_rsp_que(ha, rsp);
2158 ret = qla2x00_request_irqs(ha, rsp);
2173 ha->rsp_q_map[0] = rsp;
2175 rsp->req = req;
2176 req->rsp = rsp;
2182 rsp->rsp_q_in = &ha->iobase->isp24.rsp_q_in;
2183 rsp->rsp_q_out = &ha->iobase->isp24.rsp_q_out;
2187 rsp->rsp_q_in = &ha->mqiobase->isp25mq.rsp_q_in;
2188 rsp->rsp_q_out = &ha->mqiobase->isp25mq.rsp_q_out;
2193 rsp->rsp_q_in = &ha->iobase->isp82.rsp_q_in[0];
2194 rsp->rsp_q_out = &ha->iobase->isp82.rsp_q_out[0];
2300 qla2x00_free_rsp_que(ha, rsp);
2614 struct req_que **req, struct rsp_que **rsp)
2712 *rsp = kzalloc(sizeof(struct rsp_que), GFP_KERNEL);
2713 if (!*rsp) {
2715 "Unable to allocate memory for rsp\n");
2718 (*rsp)->hw = ha;
2719 (*rsp)->length = rsp_len;
2720 (*rsp)->ring = dma_alloc_coherent(&ha->pdev->dev,
2721 ((*rsp)->length + 1) * sizeof(response_t),
2722 &(*rsp)->dma, GFP_KERNEL);
2723 if (!(*rsp)->ring) {
2728 (*req)->rsp = *rsp;
2729 (*rsp)->req = *req;
2768 dma_free_coherent(&ha->pdev->dev, ((*rsp)->length + 1) *
2769 sizeof(response_t), (*rsp)->ring, (*rsp)->dma);
2770 (*rsp)->ring = NULL;
2771 (*rsp)->dma = 0;
2773 kfree(*rsp);
3837 struct rsp_que *rsp;
3862 rsp = ha->rsp_q_map[0];
3863 if (qla2x00_request_irqs(ha, rsp))