Lines Matching refs:sg_head

317 	ASC_SG_HEAD *sg_head;  member
326 ASC_SG_HEAD *sg_head; member
2505 (ulong)q->sg_head, q->q1.sg_queue_cnt); in asc_prt_asc_scsi_q()
2507 if (q->sg_head) { in asc_prt_asc_scsi_q()
2508 sgp = q->sg_head; in asc_prt_asc_scsi_q()
7498 asc_scsi_q->sg_head = asc_sg_head; in asc_build_req()
7918 ASC_SG_HEAD *sg_head; in AscPutReadySgListQueue() local
7930 sg_head = scsiq->sg_head; in AscPutReadySgListQueue()
7933 scsiq->q1.data_addr = cpu_to_le32(sg_head->sg_list[0].addr); in AscPutReadySgListQueue()
7934 scsiq->q1.data_cnt = cpu_to_le32(sg_head->sg_list[0].bytes); in AscPutReadySgListQueue()
7940 sg_entry_cnt = sg_head->entry_cnt - 1; in AscPutReadySgListQueue()
7946 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt; in AscPutReadySgListQueue()
7949 for (i = 0; i < sg_head->queue_cnt; i++) { in AscPutReadySgListQueue()
7991 (uchar *)&sg_head-> in AscPutReadySgListQueue()
8026 scsiq->sg_head->queue_cnt = n_q_required - 1; in AscSendScsiQueue()
8082 ASC_SG_HEAD *sg_head; in AscExeScsiQueue() local
8086 sg_head = scsiq->sg_head; in AscExeScsiQueue()
8118 if ((sg_entry_cnt = sg_head->entry_cnt) == 0) { in AscExeScsiQueue()
8127 scsiq->q1.data_addr = cpu_to_le32(sg_head->sg_list[0].addr); in AscExeScsiQueue()
8128 scsiq->q1.data_cnt = cpu_to_le32(sg_head->sg_list[0].bytes); in AscExeScsiQueue()
8140 data_cnt += le32_to_cpu(sg_head->sg_list[i]. in AscExeScsiQueue()
8178 addr = le32_to_cpu(sg_head-> in AscExeScsiQueue()
8182 le32_to_cpu(sg_head-> in AscExeScsiQueue()
8199 le32_to_cpu(sg_head-> in AscExeScsiQueue()
8204 sg_head-> in AscExeScsiQueue()
8213 sg_head->entry_to_copy = sg_head->entry_cnt; in AscExeScsiQueue()
8397 kfree(asc_scsi_q.sg_head); in asc_execute_scsi_cmnd()