Lines Matching refs:sg_head
330 ASC_SG_HEAD *sg_head; member
339 ASC_SG_HEAD *sg_head; member
2520 (ulong)q->sg_head, q->q1.sg_queue_cnt); in asc_prt_asc_scsi_q()
2522 if (q->sg_head) { in asc_prt_asc_scsi_q()
2523 sgp = q->sg_head; in asc_prt_asc_scsi_q()
7582 asc_sg_head = kzalloc(sizeof(asc_scsi_q->sg_head) + in asc_build_req()
7591 asc_scsi_q->sg_head = asc_sg_head; in asc_build_req()
8011 ASC_SG_HEAD *sg_head; in AscPutReadySgListQueue() local
8023 sg_head = scsiq->sg_head; in AscPutReadySgListQueue()
8026 scsiq->q1.data_addr = cpu_to_le32(sg_head->sg_list[0].addr); in AscPutReadySgListQueue()
8027 scsiq->q1.data_cnt = cpu_to_le32(sg_head->sg_list[0].bytes); in AscPutReadySgListQueue()
8033 sg_entry_cnt = sg_head->entry_cnt - 1; in AscPutReadySgListQueue()
8039 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt; in AscPutReadySgListQueue()
8042 for (i = 0; i < sg_head->queue_cnt; i++) { in AscPutReadySgListQueue()
8084 (uchar *)&sg_head-> in AscPutReadySgListQueue()
8119 scsiq->sg_head->queue_cnt = n_q_required - 1; in AscSendScsiQueue()
8175 ASC_SG_HEAD *sg_head; in AscExeScsiQueue() local
8179 sg_head = scsiq->sg_head; in AscExeScsiQueue()
8211 if ((sg_entry_cnt = sg_head->entry_cnt) == 0) { in AscExeScsiQueue()
8220 scsiq->q1.data_addr = cpu_to_le32(sg_head->sg_list[0].addr); in AscExeScsiQueue()
8221 scsiq->q1.data_cnt = cpu_to_le32(sg_head->sg_list[0].bytes); in AscExeScsiQueue()
8233 data_cnt += le32_to_cpu(sg_head->sg_list[i]. in AscExeScsiQueue()
8271 addr = le32_to_cpu(sg_head-> in AscExeScsiQueue()
8275 le32_to_cpu(sg_head-> in AscExeScsiQueue()
8292 le32_to_cpu(sg_head-> in AscExeScsiQueue()
8297 sg_head-> in AscExeScsiQueue()
8306 sg_head->entry_to_copy = sg_head->entry_cnt; in AscExeScsiQueue()
8490 kfree(asc_scsi_q.sg_head); in asc_execute_scsi_cmnd()