Lines Matching refs:sg_head

374 	ASC_SG_HEAD *sg_head;  member
383 ASC_SG_HEAD *sg_head; member
394 ASC_SG_HEAD *sg_head; member
2615 (ulong)q->sg_head, q->q1.sg_queue_cnt); in asc_prt_asc_scsi_q()
2617 if (q->sg_head) { in asc_prt_asc_scsi_q()
2618 sgp = q->sg_head; in asc_prt_asc_scsi_q()
6862 ASC_SG_HEAD *sg_head; /* Ptr to driver SG request. */ in AscIsrChipHalted() local
6908 sg_head = scsiq->sg_head; in AscIsrChipHalted()
6941 for (i = 0; i < sg_head->queue_cnt; i++) { in AscIsrChipHalted()
6983 (uchar *)&sg_head-> in AscIsrChipHalted()
7927 asc_sg_head = kzalloc(sizeof(asc_scsi_q->sg_head) + in asc_build_req()
7936 asc_scsi_q->sg_head = asc_sg_head; in asc_build_req()
8359 ASC_SG_HEAD *sg_head; in AscPutReadySgListQueue() local
8371 sg_head = scsiq->sg_head; in AscPutReadySgListQueue()
8374 scsiq->q1.data_addr = (ASC_PADDR) sg_head->sg_list[0].addr; in AscPutReadySgListQueue()
8375 scsiq->q1.data_cnt = (ASC_DCNT) sg_head->sg_list[0].bytes; in AscPutReadySgListQueue()
8383 if (sg_head->entry_cnt > ASC_MAX_SG_LIST) { in AscPutReadySgListQueue()
8398 sg_head->entry_cnt - ASC_MAX_SG_LIST; in AscPutReadySgListQueue()
8406 sg_entry_cnt = sg_head->entry_cnt - 1; in AscPutReadySgListQueue()
8414 scsiq->q1.sg_queue_cnt = sg_head->queue_cnt; in AscPutReadySgListQueue()
8417 for (i = 0; i < sg_head->queue_cnt; i++) { in AscPutReadySgListQueue()
8441 if (sg_head->entry_cnt > ASC_MAX_SG_LIST) { in AscPutReadySgListQueue()
8473 (uchar *)&sg_head-> in AscPutReadySgListQueue()
8508 scsiq->sg_head->queue_cnt = n_q_required - 1; in AscSendScsiQueue()
8564 ASC_SG_HEAD *sg_head; in AscExeScsiQueue() local
8568 sg_head = scsiq->sg_head; in AscExeScsiQueue()
8600 if ((sg_entry_cnt = sg_head->entry_cnt) == 0) { in AscExeScsiQueue()
8612 (ADV_PADDR)sg_head->sg_list[0].addr; in AscExeScsiQueue()
8614 (ADV_DCNT)sg_head->sg_list[0].bytes; in AscExeScsiQueue()
8627 (ADV_DCNT)le32_to_cpu(sg_head->sg_list[i]. in AscExeScsiQueue()
8666 (ADV_PADDR)le32_to_cpu(sg_head-> in AscExeScsiQueue()
8670 (ADV_DCNT)le32_to_cpu(sg_head-> in AscExeScsiQueue()
8687 le32_to_cpu(sg_head-> in AscExeScsiQueue()
8693 sg_head-> in AscExeScsiQueue()
8702 sg_head->entry_to_copy = sg_head->entry_cnt; in AscExeScsiQueue()
8918 kfree(asc_scsi_q.sg_head); in asc_execute_scsi_cmnd()