skspcl            359 drivers/block/skd_main.c 				    struct skd_special_context *skspcl);
skspcl            886 drivers/block/skd_main.c 	struct skd_special_context *skspcl = &skdev->internal_skspcl;
skspcl            887 drivers/block/skd_main.c 	struct fit_sg_descriptor *sgd = &skspcl->req.sksg_list[0];
skspcl            892 drivers/block/skd_main.c 	fmh = &skspcl->msg_buf->fmh;
skspcl            896 drivers/block/skd_main.c 	scsi = &skspcl->msg_buf->scsi[0];
skspcl            898 drivers/block/skd_main.c 	dma_address = skspcl->req.sksg_dma_address;
skspcl            900 drivers/block/skd_main.c 	skspcl->req.n_sg = 1;
skspcl            903 drivers/block/skd_main.c 	sgd->host_side_addr = skspcl->db_dma_address;
skspcl            913 drivers/block/skd_main.c 				     struct skd_special_context *skspcl,
skspcl            916 drivers/block/skd_main.c 	struct fit_sg_descriptor *sgd = &skspcl->req.sksg_list[0];
skspcl            918 drivers/block/skd_main.c 	unsigned char *buf = skspcl->data_buf;
skspcl            921 drivers/block/skd_main.c 	if (skspcl->req.state != SKD_REQ_STATE_IDLE)
skspcl            928 drivers/block/skd_main.c 	skspcl->req.state = SKD_REQ_STATE_BUSY;
skspcl            930 drivers/block/skd_main.c 	scsi = &skspcl->msg_buf->scsi[0];
skspcl            931 drivers/block/skd_main.c 	scsi->hdr.tag = skspcl->req.id;
skspcl            982 drivers/block/skd_main.c 		memset(skspcl->data_buf, 0, sgd->byte_count);
skspcl            990 drivers/block/skd_main.c 	skd_send_special_fitmsg(skdev, skspcl);
skspcl            995 drivers/block/skd_main.c 	struct skd_special_context *skspcl = &skdev->internal_skspcl;
skspcl            997 drivers/block/skd_main.c 	skd_send_internal_skspcl(skdev, skspcl, TEST_UNIT_READY);
skspcl           1001 drivers/block/skd_main.c 			    struct skd_special_context *skspcl)
skspcl           1003 drivers/block/skd_main.c 	unsigned char *buf = skspcl->data_buf;
skspcl           1029 drivers/block/skd_main.c 				  struct skd_special_context *skspcl)
skspcl           1031 drivers/block/skd_main.c 	u8 *buf = skspcl->data_buf;
skspcl           1034 drivers/block/skd_main.c 	struct skd_scsi_request *scsi = &skspcl->msg_buf->scsi[0];
skspcl           1038 drivers/block/skd_main.c 	SKD_ASSERT(skspcl == &skdev->internal_skspcl);
skspcl           1043 drivers/block/skd_main.c 				skspcl->db_dma_address,
skspcl           1044 drivers/block/skd_main.c 				skspcl->req.sksg_list[0].byte_count,
skspcl           1047 drivers/block/skd_main.c 	skspcl->req.completion = *skcomp;
skspcl           1048 drivers/block/skd_main.c 	skspcl->req.state = SKD_REQ_STATE_IDLE;
skspcl           1050 drivers/block/skd_main.c 	status = skspcl->req.completion.status;
skspcl           1058 drivers/block/skd_main.c 			skd_send_internal_skspcl(skdev, skspcl, WRITE_BUFFER);
skspcl           1061 drivers/block/skd_main.c 			skd_send_internal_skspcl(skdev, skspcl, WRITE_BUFFER);
skspcl           1071 drivers/block/skd_main.c 			skd_send_internal_skspcl(skdev, skspcl,
skspcl           1078 drivers/block/skd_main.c 			skd_send_internal_skspcl(skdev, skspcl, READ_BUFFER);
skspcl           1088 drivers/block/skd_main.c 			skd_send_internal_skspcl(skdev, skspcl,
skspcl           1095 drivers/block/skd_main.c 			if (skd_chk_read_buf(skdev, skspcl) == 0)
skspcl           1096 drivers/block/skd_main.c 				skd_send_internal_skspcl(skdev, skspcl,
skspcl           1122 drivers/block/skd_main.c 			skd_send_internal_skspcl(skdev, skspcl,
skspcl           1145 drivers/block/skd_main.c 			skd_send_internal_skspcl(skdev, skspcl, INQUIRY);
skspcl           1151 drivers/block/skd_main.c 			skd_send_internal_skspcl(skdev, skspcl, INQUIRY);
skspcl           1154 drivers/block/skd_main.c 			skd_send_internal_skspcl(skdev, skspcl,
skspcl           1241 drivers/block/skd_main.c 				    struct skd_special_context *skspcl)
skspcl           1245 drivers/block/skd_main.c 	WARN_ON_ONCE(skspcl->req.n_sg != 1);
skspcl           1248 drivers/block/skd_main.c 		u8 *bp = (u8 *)skspcl->msg_buf;
skspcl           1260 drivers/block/skd_main.c 			skspcl, skspcl->req.id, skspcl->req.sksg_list,
skspcl           1261 drivers/block/skd_main.c 			&skspcl->req.sksg_dma_address);
skspcl           1262 drivers/block/skd_main.c 		for (i = 0; i < skspcl->req.n_sg; i++) {
skspcl           1264 drivers/block/skd_main.c 				&skspcl->req.sksg_list[i];
skspcl           1277 drivers/block/skd_main.c 	qcmd = skspcl->mb_dma_address;
skspcl           1280 drivers/block/skd_main.c 	dma_sync_single_for_device(&skdev->pdev->dev, skspcl->mb_dma_address,
skspcl           1283 drivers/block/skd_main.c 				   skspcl->req.sksg_dma_address,
skspcl           1287 drivers/block/skd_main.c 				   skspcl->db_dma_address,
skspcl           1288 drivers/block/skd_main.c 				   skspcl->req.sksg_list[0].byte_count,
skspcl           1593 drivers/block/skd_main.c 	struct skd_special_context *skspcl;
skspcl           1620 drivers/block/skd_main.c 			skspcl = &skdev->internal_skspcl;
skspcl           1621 drivers/block/skd_main.c 			if (skspcl->req.id == req_id &&
skspcl           1622 drivers/block/skd_main.c 			    skspcl->req.state == SKD_REQ_STATE_BUSY) {
skspcl           1624 drivers/block/skd_main.c 						      skcomp, skerr, skspcl);
skspcl           2178 drivers/block/skd_main.c 	struct skd_special_context *skspcl = &skdev->internal_skspcl;
skspcl           2189 drivers/block/skd_main.c 	if (skspcl->req.state != SKD_REQ_STATE_IDLE) {
skspcl           2197 drivers/block/skd_main.c 	skd_send_internal_skspcl(skdev, skspcl, SYNCHRONIZE_CACHE);
skspcl           2766 drivers/block/skd_main.c 	struct skd_special_context *skspcl;
skspcl           2768 drivers/block/skd_main.c 	skspcl = &skdev->internal_skspcl;
skspcl           2770 drivers/block/skd_main.c 	skspcl->req.id = 0 + SKD_ID_INTERNAL;
skspcl           2771 drivers/block/skd_main.c 	skspcl->req.state = SKD_REQ_STATE_IDLE;
skspcl           2773 drivers/block/skd_main.c 	skspcl->data_buf = skd_alloc_dma(skdev, skdev->databuf_cache,
skspcl           2774 drivers/block/skd_main.c 					 &skspcl->db_dma_address,
skspcl           2777 drivers/block/skd_main.c 	if (skspcl->data_buf == NULL) {
skspcl           2782 drivers/block/skd_main.c 	skspcl->msg_buf = skd_alloc_dma(skdev, skdev->msgbuf_cache,
skspcl           2783 drivers/block/skd_main.c 					&skspcl->mb_dma_address,
skspcl           2785 drivers/block/skd_main.c 	if (skspcl->msg_buf == NULL) {
skspcl           2790 drivers/block/skd_main.c 	skspcl->req.sksg_list = skd_cons_sg_list(skdev, 1,
skspcl           2791 drivers/block/skd_main.c 						 &skspcl->req.sksg_dma_address);
skspcl           2792 drivers/block/skd_main.c 	if (skspcl->req.sksg_list == NULL) {
skspcl           3013 drivers/block/skd_main.c 	struct skd_special_context *skspcl = &skdev->internal_skspcl;
skspcl           3015 drivers/block/skd_main.c 	skd_free_dma(skdev, skdev->databuf_cache, skspcl->data_buf,
skspcl           3016 drivers/block/skd_main.c 		     skspcl->db_dma_address, DMA_BIDIRECTIONAL);
skspcl           3018 drivers/block/skd_main.c 	skspcl->data_buf = NULL;
skspcl           3019 drivers/block/skd_main.c 	skspcl->db_dma_address = 0;
skspcl           3021 drivers/block/skd_main.c 	skd_free_dma(skdev, skdev->msgbuf_cache, skspcl->msg_buf,
skspcl           3022 drivers/block/skd_main.c 		     skspcl->mb_dma_address, DMA_TO_DEVICE);
skspcl           3024 drivers/block/skd_main.c 	skspcl->msg_buf = NULL;
skspcl           3025 drivers/block/skd_main.c 	skspcl->mb_dma_address = 0;
skspcl           3027 drivers/block/skd_main.c 	skd_free_sg_list(skdev, skspcl->req.sksg_list,
skspcl           3028 drivers/block/skd_main.c 			 skspcl->req.sksg_dma_address);
skspcl           3030 drivers/block/skd_main.c 	skspcl->req.sksg_list = NULL;
skspcl           3031 drivers/block/skd_main.c 	skspcl->req.sksg_dma_address = 0;