Searched refs:asc_scsi_q (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dadvansys.c326 typedef struct asc_scsi_q { struct
7516 struct asc_scsi_q *asc_scsi_q) asc_build_req()
7522 memset(asc_scsi_q, 0, sizeof(*asc_scsi_q)); asc_build_req()
7529 asc_scsi_q->q2.srb_tag = srb_tag; asc_build_req()
7534 asc_scsi_q->cdbptr = &scp->cmnd[0]; asc_build_req()
7535 asc_scsi_q->q2.cdb_len = scp->cmd_len; asc_build_req()
7536 asc_scsi_q->q1.target_id = ASC_TID_TO_TARGET_ID(scp->device->id); asc_build_req()
7537 asc_scsi_q->q1.target_lun = scp->device->lun; asc_build_req()
7538 asc_scsi_q->q2.target_ix = asc_build_req()
7540 asc_scsi_q->q1.sense_addr = asc_get_sense_buffer_dma(scp); asc_build_req()
7541 asc_scsi_q->q1.sense_len = SCSI_SENSE_BUFFERSIZE; asc_build_req()
7542 if (!asc_scsi_q->q1.sense_addr) asc_build_req()
7558 asc_scsi_q->q2.tag_code = ORDERED_QUEUE_TAG; asc_build_req()
7560 asc_scsi_q->q2.tag_code = SIMPLE_QUEUE_TAG; asc_build_req()
7582 asc_sg_head = kzalloc(sizeof(asc_scsi_q->sg_head) + asc_build_req()
7590 asc_scsi_q->q1.cntl |= QC_SG_HEAD; asc_build_req()
7591 asc_scsi_q->sg_head = asc_sg_head; asc_build_req()
7592 asc_scsi_q->q1.data_cnt = 0; asc_build_req()
7593 asc_scsi_q->q1.data_addr = 0; asc_build_req()
7595 asc_sg_head->entry_cnt = asc_scsi_q->q1.sg_queue_cnt = use_sg; asc_build_req()
7614 ASC_DBG_PRT_ASC_SCSI_Q(2, asc_scsi_q);
8481 struct asc_scsi_q asc_scsi_q; asc_execute_scsi_cmnd() local
8483 ret = asc_build_req(boardp, scp, &asc_scsi_q); asc_execute_scsi_cmnd()
8489 ret = AscExeScsiQueue(asc_dvc, &asc_scsi_q); asc_execute_scsi_cmnd()
8490 kfree(asc_scsi_q.sg_head); asc_execute_scsi_cmnd()
7515 asc_build_req(struct asc_board *boardp, struct scsi_cmnd *scp, struct asc_scsi_q *asc_scsi_q) asc_build_req() argument

Completed in 115 milliseconds