Lines Matching refs:sg_head
326 ASC_SG_HEAD *sg_head; member
335 ASC_SG_HEAD *sg_head; member
2516 (ulong)q->sg_head, q->q1.sg_queue_cnt); in asc_prt_asc_scsi_q()
2518 if (q->sg_head) { in asc_prt_asc_scsi_q()
2519 sgp = q->sg_head; in asc_prt_asc_scsi_q()
7575 asc_sg_head = kzalloc(sizeof(asc_scsi_q->sg_head) + in asc_build_req()
7584 asc_scsi_q->sg_head = asc_sg_head; in asc_build_req()
8004 ASC_SG_HEAD *sg_head; in AscPutReadySgListQueue() local
8016 sg_head = scsiq->sg_head; in AscPutReadySgListQueue()
8019 scsiq->q1.data_addr = cpu_to_le32(sg_head->sg_list[0].addr); in AscPutReadySgListQueue()
8020 scsiq->q1.data_cnt = cpu_to_le32(sg_head->sg_list[0].bytes); in AscPutReadySgListQueue()
8026 sg_entry_cnt = sg_head->entry_cnt - 1; in AscPutReadySgListQueue()
8032 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt; in AscPutReadySgListQueue()
8035 for (i = 0; i < sg_head->queue_cnt; i++) { in AscPutReadySgListQueue()
8077 (uchar *)&sg_head-> in AscPutReadySgListQueue()
8112 scsiq->sg_head->queue_cnt = n_q_required - 1; in AscSendScsiQueue()
8168 ASC_SG_HEAD *sg_head; in AscExeScsiQueue() local
8172 sg_head = scsiq->sg_head; in AscExeScsiQueue()
8204 if ((sg_entry_cnt = sg_head->entry_cnt) == 0) { in AscExeScsiQueue()
8213 scsiq->q1.data_addr = cpu_to_le32(sg_head->sg_list[0].addr); in AscExeScsiQueue()
8214 scsiq->q1.data_cnt = cpu_to_le32(sg_head->sg_list[0].bytes); in AscExeScsiQueue()
8226 data_cnt += le32_to_cpu(sg_head->sg_list[i]. in AscExeScsiQueue()
8264 addr = le32_to_cpu(sg_head-> in AscExeScsiQueue()
8268 le32_to_cpu(sg_head-> in AscExeScsiQueue()
8285 le32_to_cpu(sg_head-> in AscExeScsiQueue()
8290 sg_head-> in AscExeScsiQueue()
8299 sg_head->entry_to_copy = sg_head->entry_cnt; in AscExeScsiQueue()
8483 kfree(asc_scsi_q.sg_head); in asc_execute_scsi_cmnd()