cmd_blk           152 drivers/scsi/myrb.c static inline void myrb_reset_cmd(struct myrb_cmdblk *cmd_blk)
cmd_blk           154 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           157 drivers/scsi/myrb.c 	cmd_blk->status = 0;
cmd_blk           163 drivers/scsi/myrb.c static void myrb_qcmd(struct myrb_hba *cb, struct myrb_cmdblk *cmd_blk)
cmd_blk           166 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           186 drivers/scsi/myrb.c 		struct myrb_cmdblk *cmd_blk)
cmd_blk           191 drivers/scsi/myrb.c 	cmd_blk->completion = &cmpl;
cmd_blk           194 drivers/scsi/myrb.c 	cb->qcmd(cb, cmd_blk);
cmd_blk           199 drivers/scsi/myrb.c 	return cmd_blk->status;
cmd_blk           210 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk = &cb->dcmd_blk;
cmd_blk           211 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           215 drivers/scsi/myrb.c 	myrb_reset_cmd(cmd_blk);
cmd_blk           219 drivers/scsi/myrb.c 	status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk           233 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk = &cb->dcmd_blk;
cmd_blk           234 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           245 drivers/scsi/myrb.c 	myrb_reset_cmd(cmd_blk);
cmd_blk           251 drivers/scsi/myrb.c 	status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk           287 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk = &cb->mcmd_blk;
cmd_blk           288 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           299 drivers/scsi/myrb.c 	myrb_reset_cmd(cmd_blk);
cmd_blk           306 drivers/scsi/myrb.c 	status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk           343 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk = &cb->mcmd_blk;
cmd_blk           344 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           350 drivers/scsi/myrb.c 	myrb_reset_cmd(cmd_blk);
cmd_blk           354 drivers/scsi/myrb.c 	status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk           442 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk = &cb->mcmd_blk;
cmd_blk           443 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           454 drivers/scsi/myrb.c 	myrb_reset_cmd(cmd_blk);
cmd_blk           458 drivers/scsi/myrb.c 	status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk           535 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk = &cb->mcmd_blk;
cmd_blk           536 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           548 drivers/scsi/myrb.c 	myrb_reset_cmd(cmd_blk);
cmd_blk           552 drivers/scsi/myrb.c 	status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk           582 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk = &cb->mcmd_blk;
cmd_blk           583 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           596 drivers/scsi/myrb.c 	myrb_reset_cmd(cmd_blk);
cmd_blk           601 drivers/scsi/myrb.c 	status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk           784 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk = &cb->dcmd_blk;
cmd_blk           785 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           794 drivers/scsi/myrb.c 	status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk          1269 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk = scsi_cmd_priv(scmd);
cmd_blk          1270 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk          1278 drivers/scsi/myrb.c 	myrb_reset_cmd(cmd_blk);
cmd_blk          1334 drivers/scsi/myrb.c 	cb->qcmd(cb, cmd_blk);
cmd_blk          1425 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk = scsi_cmd_priv(scmd);
cmd_blk          1426 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk          1581 drivers/scsi/myrb.c 	myrb_reset_cmd(cmd_blk);
cmd_blk          1606 drivers/scsi/myrb.c 		cmd_blk->sgl = hw_sgl;
cmd_blk          1607 drivers/scsi/myrb.c 		cmd_blk->sgl_addr = hw_sgl_addr;
cmd_blk          1628 drivers/scsi/myrb.c 	cb->qcmd(cb, cmd_blk);
cmd_blk          1951 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk;
cmd_blk          1972 drivers/scsi/myrb.c 		cmd_blk = &cb->dcmd_blk;
cmd_blk          1973 drivers/scsi/myrb.c 		myrb_reset_cmd(cmd_blk);
cmd_blk          1974 drivers/scsi/myrb.c 		mbox = &cmd_blk->mbox;
cmd_blk          1979 drivers/scsi/myrb.c 		status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk          2000 drivers/scsi/myrb.c 		cmd_blk = &cb->dcmd_blk;
cmd_blk          2001 drivers/scsi/myrb.c 		myrb_reset_cmd(cmd_blk);
cmd_blk          2002 drivers/scsi/myrb.c 		mbox = &cmd_blk->mbox;
cmd_blk          2007 drivers/scsi/myrb.c 		status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk          2057 drivers/scsi/myrb.c 	struct myrb_cmdblk *cmd_blk;
cmd_blk          2079 drivers/scsi/myrb.c 		cmd_blk = &cb->dcmd_blk;
cmd_blk          2080 drivers/scsi/myrb.c 		myrb_reset_cmd(cmd_blk);
cmd_blk          2081 drivers/scsi/myrb.c 		mbox = &cmd_blk->mbox;
cmd_blk          2087 drivers/scsi/myrb.c 		status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk          2107 drivers/scsi/myrb.c 		cmd_blk = &cb->dcmd_blk;
cmd_blk          2108 drivers/scsi/myrb.c 		myrb_reset_cmd(cmd_blk);
cmd_blk          2109 drivers/scsi/myrb.c 		mbox = &cmd_blk->mbox;
cmd_blk          2114 drivers/scsi/myrb.c 		status = myrb_exec_cmd(cb, cmd_blk);
cmd_blk          2325 drivers/scsi/myrb.c static void myrb_handle_scsi(struct myrb_hba *cb, struct myrb_cmdblk *cmd_blk,
cmd_blk          2330 drivers/scsi/myrb.c 	if (!cmd_blk)
cmd_blk          2335 drivers/scsi/myrb.c 	if (cmd_blk->dcdb) {
cmd_blk          2336 drivers/scsi/myrb.c 		memcpy(scmd->sense_buffer, &cmd_blk->dcdb->sense, 64);
cmd_blk          2337 drivers/scsi/myrb.c 		dma_pool_free(cb->dcdb_pool, cmd_blk->dcdb,
cmd_blk          2338 drivers/scsi/myrb.c 			      cmd_blk->dcdb_addr);
cmd_blk          2339 drivers/scsi/myrb.c 		cmd_blk->dcdb = NULL;
cmd_blk          2341 drivers/scsi/myrb.c 	if (cmd_blk->sgl) {
cmd_blk          2342 drivers/scsi/myrb.c 		dma_pool_free(cb->sg_pool, cmd_blk->sgl, cmd_blk->sgl_addr);
cmd_blk          2343 drivers/scsi/myrb.c 		cmd_blk->sgl = NULL;
cmd_blk          2344 drivers/scsi/myrb.c 		cmd_blk->sgl_addr = 0;
cmd_blk          2346 drivers/scsi/myrb.c 	status = cmd_blk->status;
cmd_blk          2402 drivers/scsi/myrb.c static void myrb_handle_cmdblk(struct myrb_hba *cb, struct myrb_cmdblk *cmd_blk)
cmd_blk          2404 drivers/scsi/myrb.c 	if (!cmd_blk)
cmd_blk          2407 drivers/scsi/myrb.c 	if (cmd_blk->completion) {
cmd_blk          2408 drivers/scsi/myrb.c 		complete(cmd_blk->completion);
cmd_blk          2409 drivers/scsi/myrb.c 		cmd_blk->completion = NULL;
cmd_blk          2782 drivers/scsi/myrb.c 		struct myrb_cmdblk *cmd_blk = NULL;
cmd_blk          2785 drivers/scsi/myrb.c 			cmd_blk = &cb->dcmd_blk;
cmd_blk          2787 drivers/scsi/myrb.c 			cmd_blk = &cb->mcmd_blk;
cmd_blk          2791 drivers/scsi/myrb.c 				cmd_blk = scsi_cmd_priv(scmd);
cmd_blk          2793 drivers/scsi/myrb.c 		if (cmd_blk)
cmd_blk          2794 drivers/scsi/myrb.c 			cmd_blk->status = next_stat_mbox->status;
cmd_blk          2803 drivers/scsi/myrb.c 		if (cmd_blk) {
cmd_blk          2805 drivers/scsi/myrb.c 				myrb_handle_cmdblk(cb, cmd_blk);
cmd_blk          2807 drivers/scsi/myrb.c 				myrb_handle_scsi(cb, cmd_blk, scmd);
cmd_blk          3060 drivers/scsi/myrb.c 		struct myrb_cmdblk *cmd_blk = NULL;
cmd_blk          3063 drivers/scsi/myrb.c 			cmd_blk = &cb->dcmd_blk;
cmd_blk          3065 drivers/scsi/myrb.c 			cmd_blk = &cb->mcmd_blk;
cmd_blk          3069 drivers/scsi/myrb.c 				cmd_blk = scsi_cmd_priv(scmd);
cmd_blk          3071 drivers/scsi/myrb.c 		if (cmd_blk)
cmd_blk          3072 drivers/scsi/myrb.c 			cmd_blk->status = next_stat_mbox->status;
cmd_blk          3082 drivers/scsi/myrb.c 			myrb_handle_cmdblk(cb, cmd_blk);
cmd_blk          3084 drivers/scsi/myrb.c 			myrb_handle_scsi(cb, cmd_blk, scmd);
cmd_blk          3202 drivers/scsi/myrb.c static void DAC960_PD_qcmd(struct myrb_hba *cb, struct myrb_cmdblk *cmd_blk)
cmd_blk          3205 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk          3265 drivers/scsi/myrb.c 		struct myrb_cmdblk *cmd_blk = NULL;
cmd_blk          3268 drivers/scsi/myrb.c 			cmd_blk = &cb->dcmd_blk;
cmd_blk          3270 drivers/scsi/myrb.c 			cmd_blk = &cb->mcmd_blk;
cmd_blk          3274 drivers/scsi/myrb.c 				cmd_blk = scsi_cmd_priv(scmd);
cmd_blk          3276 drivers/scsi/myrb.c 		if (cmd_blk)
cmd_blk          3277 drivers/scsi/myrb.c 			cmd_blk->status = DAC960_PD_read_status(base);
cmd_blk          3286 drivers/scsi/myrb.c 			myrb_handle_cmdblk(cb, cmd_blk);
cmd_blk          3288 drivers/scsi/myrb.c 			myrb_handle_scsi(cb, cmd_blk, scmd);
cmd_blk          3321 drivers/scsi/myrb.c static inline void myrb_translate_to_rw_command(struct myrb_cmdblk *cmd_blk)
cmd_blk          3323 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk          3331 drivers/scsi/myrb.c static inline void myrb_translate_from_rw_command(struct myrb_cmdblk *cmd_blk)
cmd_blk          3333 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk          3341 drivers/scsi/myrb.c static void DAC960_P_qcmd(struct myrb_hba *cb, struct myrb_cmdblk *cmd_blk)
cmd_blk          3344 drivers/scsi/myrb.c 	union myrb_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk          3355 drivers/scsi/myrb.c 		myrb_translate_to_rw_command(cmd_blk);
cmd_blk          3359 drivers/scsi/myrb.c 		myrb_translate_to_rw_command(cmd_blk);
cmd_blk          3363 drivers/scsi/myrb.c 		myrb_translate_to_rw_command(cmd_blk);
cmd_blk          3367 drivers/scsi/myrb.c 		myrb_translate_to_rw_command(cmd_blk);
cmd_blk          3431 drivers/scsi/myrb.c 		struct myrb_cmdblk *cmd_blk = NULL;
cmd_blk          3437 drivers/scsi/myrb.c 			cmd_blk = &cb->dcmd_blk;
cmd_blk          3439 drivers/scsi/myrb.c 			cmd_blk = &cb->mcmd_blk;
cmd_blk          3443 drivers/scsi/myrb.c 				cmd_blk = scsi_cmd_priv(scmd);
cmd_blk          3445 drivers/scsi/myrb.c 		if (cmd_blk)
cmd_blk          3446 drivers/scsi/myrb.c 			cmd_blk->status = DAC960_PD_read_status(base);
cmd_blk          3454 drivers/scsi/myrb.c 		if (!cmd_blk)
cmd_blk          3457 drivers/scsi/myrb.c 		mbox = &cmd_blk->mbox;
cmd_blk          3466 drivers/scsi/myrb.c 			myrb_translate_from_rw_command(cmd_blk);
cmd_blk          3470 drivers/scsi/myrb.c 			myrb_translate_from_rw_command(cmd_blk);
cmd_blk          3474 drivers/scsi/myrb.c 			myrb_translate_from_rw_command(cmd_blk);
cmd_blk          3478 drivers/scsi/myrb.c 			myrb_translate_from_rw_command(cmd_blk);
cmd_blk          3484 drivers/scsi/myrb.c 			myrb_handle_cmdblk(cb, cmd_blk);
cmd_blk          3486 drivers/scsi/myrb.c 			myrb_handle_scsi(cb, cmd_blk, scmd);
cmd_blk           725 drivers/scsi/myrb.h 	void (*qcmd)(struct myrb_hba *cs, struct myrb_cmdblk *cmd_blk);
cmd_blk            93 drivers/scsi/myrs.c static inline void myrs_reset_cmd(struct myrs_cmdblk *cmd_blk)
cmd_blk            95 drivers/scsi/myrs.c 	union myrs_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk            98 drivers/scsi/myrs.c 	cmd_blk->status = 0;
cmd_blk           104 drivers/scsi/myrs.c static void myrs_qcmd(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk)
cmd_blk           107 drivers/scsi/myrs.c 	union myrs_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           129 drivers/scsi/myrs.c 		struct myrs_cmdblk *cmd_blk)
cmd_blk           134 drivers/scsi/myrs.c 	cmd_blk->complete = &complete;
cmd_blk           136 drivers/scsi/myrs.c 	myrs_qcmd(cs, cmd_blk);
cmd_blk           161 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk = &cs->dcmd_blk;
cmd_blk           162 drivers/scsi/myrs.c 	union myrs_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           179 drivers/scsi/myrs.c 	myrs_reset_cmd(cmd_blk);
cmd_blk           191 drivers/scsi/myrs.c 	myrs_exec_cmd(cs, cmd_blk);
cmd_blk           192 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk           223 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk = &cs->dcmd_blk;
cmd_blk           224 drivers/scsi/myrs.c 	union myrs_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           238 drivers/scsi/myrs.c 	myrs_reset_cmd(cmd_blk);
cmd_blk           251 drivers/scsi/myrs.c 	myrs_exec_cmd(cs, cmd_blk);
cmd_blk           252 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk           311 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk = &cs->dcmd_blk;
cmd_blk           312 drivers/scsi/myrs.c 	union myrs_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           324 drivers/scsi/myrs.c 	myrs_reset_cmd(cmd_blk);
cmd_blk           340 drivers/scsi/myrs.c 	myrs_exec_cmd(cs, cmd_blk);
cmd_blk           341 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk           354 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk = &cs->dcmd_blk;
cmd_blk           355 drivers/scsi/myrs.c 	union myrs_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           359 drivers/scsi/myrs.c 	myrs_reset_cmd(cmd_blk);
cmd_blk           366 drivers/scsi/myrs.c 	myrs_exec_cmd(cs, cmd_blk);
cmd_blk           367 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk           382 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk;
cmd_blk           395 drivers/scsi/myrs.c 	cmd_blk = &cs->dcmd_blk;
cmd_blk           396 drivers/scsi/myrs.c 	mbox = &cmd_blk->mbox;
cmd_blk           409 drivers/scsi/myrs.c 	myrs_exec_cmd(cs, cmd_blk);
cmd_blk           410 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk           425 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk = &cs->mcmd_blk;
cmd_blk           426 drivers/scsi/myrs.c 	union myrs_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           444 drivers/scsi/myrs.c 	myrs_exec_cmd(cs, cmd_blk);
cmd_blk           445 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk           457 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk = &cs->mcmd_blk;
cmd_blk           458 drivers/scsi/myrs.c 	union myrs_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk           460 drivers/scsi/myrs.c 	unsigned char status = cmd_blk->status;
cmd_blk           462 drivers/scsi/myrs.c 	myrs_reset_cmd(cmd_blk);
cmd_blk           473 drivers/scsi/myrs.c 	myrs_exec_cmd(cs, cmd_blk);
cmd_blk           474 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk           977 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk;
cmd_blk          1021 drivers/scsi/myrs.c 	cmd_blk = &cs->dcmd_blk;
cmd_blk          1022 drivers/scsi/myrs.c 	myrs_reset_cmd(cmd_blk);
cmd_blk          1023 drivers/scsi/myrs.c 	mbox = &cmd_blk->mbox;
cmd_blk          1031 drivers/scsi/myrs.c 	myrs_exec_cmd(cs, cmd_blk);
cmd_blk          1032 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk          1117 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk;
cmd_blk          1155 drivers/scsi/myrs.c 	cmd_blk = &cs->dcmd_blk;
cmd_blk          1156 drivers/scsi/myrs.c 	myrs_reset_cmd(cmd_blk);
cmd_blk          1157 drivers/scsi/myrs.c 	mbox = &cmd_blk->mbox;
cmd_blk          1169 drivers/scsi/myrs.c 	myrs_exec_cmd(cs, cmd_blk);
cmd_blk          1170 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk          1218 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk;
cmd_blk          1257 drivers/scsi/myrs.c 	cmd_blk = &cs->dcmd_blk;
cmd_blk          1258 drivers/scsi/myrs.c 	myrs_reset_cmd(cmd_blk);
cmd_blk          1259 drivers/scsi/myrs.c 	mbox = &cmd_blk->mbox;
cmd_blk          1273 drivers/scsi/myrs.c 	myrs_exec_cmd(cs, cmd_blk);
cmd_blk          1274 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk          1435 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk;
cmd_blk          1440 drivers/scsi/myrs.c 	cmd_blk = &cs->dcmd_blk;
cmd_blk          1441 drivers/scsi/myrs.c 	myrs_reset_cmd(cmd_blk);
cmd_blk          1442 drivers/scsi/myrs.c 	mbox = &cmd_blk->mbox;
cmd_blk          1448 drivers/scsi/myrs.c 	myrs_exec_cmd(cs, cmd_blk);
cmd_blk          1449 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk          1588 drivers/scsi/myrs.c 	struct myrs_cmdblk *cmd_blk = scsi_cmd_priv(scmd);
cmd_blk          1589 drivers/scsi/myrs.c 	union myrs_cmd_mbox *mbox = &cmd_blk->mbox;
cmd_blk          1631 drivers/scsi/myrs.c 	myrs_reset_cmd(cmd_blk);
cmd_blk          1632 drivers/scsi/myrs.c 	cmd_blk->sense = dma_pool_alloc(cs->sense_pool, GFP_ATOMIC,
cmd_blk          1634 drivers/scsi/myrs.c 	if (!cmd_blk->sense)
cmd_blk          1636 drivers/scsi/myrs.c 	cmd_blk->sense_addr = sense_addr;
cmd_blk          1660 drivers/scsi/myrs.c 		mbox->SCSI_10.sense_addr = cmd_blk->sense_addr;
cmd_blk          1672 drivers/scsi/myrs.c 		cmd_blk->dcdb = NULL;
cmd_blk          1676 drivers/scsi/myrs.c 		cmd_blk->dcdb = dma_pool_alloc(cs->dcdb_pool, GFP_ATOMIC,
cmd_blk          1678 drivers/scsi/myrs.c 		if (!cmd_blk->dcdb) {
cmd_blk          1679 drivers/scsi/myrs.c 			dma_pool_free(cs->sense_pool, cmd_blk->sense,
cmd_blk          1680 drivers/scsi/myrs.c 				      cmd_blk->sense_addr);
cmd_blk          1681 drivers/scsi/myrs.c 			cmd_blk->sense = NULL;
cmd_blk          1682 drivers/scsi/myrs.c 			cmd_blk->sense_addr = 0;
cmd_blk          1685 drivers/scsi/myrs.c 		cmd_blk->dcdb_dma = dcdb_dma;
cmd_blk          1706 drivers/scsi/myrs.c 		mbox->SCSI_255.sense_addr = cmd_blk->sense_addr;
cmd_blk          1709 drivers/scsi/myrs.c 		mbox->SCSI_255.cdb_addr = cmd_blk->dcdb_dma;
cmd_blk          1717 drivers/scsi/myrs.c 		memcpy(cmd_blk->dcdb, scmd->cmnd, scmd->cmd_len);
cmd_blk          1736 drivers/scsi/myrs.c 				if (cmd_blk->dcdb) {
cmd_blk          1738 drivers/scsi/myrs.c 						      cmd_blk->dcdb,
cmd_blk          1739 drivers/scsi/myrs.c 						      cmd_blk->dcdb_dma);
cmd_blk          1740 drivers/scsi/myrs.c 					cmd_blk->dcdb = NULL;
cmd_blk          1741 drivers/scsi/myrs.c 					cmd_blk->dcdb_dma = 0;
cmd_blk          1744 drivers/scsi/myrs.c 					      cmd_blk->sense,
cmd_blk          1745 drivers/scsi/myrs.c 					      cmd_blk->sense_addr);
cmd_blk          1746 drivers/scsi/myrs.c 				cmd_blk->sense = NULL;
cmd_blk          1747 drivers/scsi/myrs.c 				cmd_blk->sense_addr = 0;
cmd_blk          1750 drivers/scsi/myrs.c 			cmd_blk->sgl = hw_sgl;
cmd_blk          1751 drivers/scsi/myrs.c 			cmd_blk->sgl_addr = hw_sgl_addr;
cmd_blk          1757 drivers/scsi/myrs.c 			hw_sge->ext.sge0_addr = cmd_blk->sgl_addr;
cmd_blk          1775 drivers/scsi/myrs.c 	myrs_qcmd(cs, cmd_blk);
cmd_blk          2051 drivers/scsi/myrs.c static void myrs_handle_scsi(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk,
cmd_blk          2056 drivers/scsi/myrs.c 	if (!cmd_blk)
cmd_blk          2060 drivers/scsi/myrs.c 	status = cmd_blk->status;
cmd_blk          2061 drivers/scsi/myrs.c 	if (cmd_blk->sense) {
cmd_blk          2062 drivers/scsi/myrs.c 		if (status == MYRS_STATUS_FAILED && cmd_blk->sense_len) {
cmd_blk          2065 drivers/scsi/myrs.c 			if (sense_len > cmd_blk->sense_len)
cmd_blk          2066 drivers/scsi/myrs.c 				sense_len = cmd_blk->sense_len;
cmd_blk          2067 drivers/scsi/myrs.c 			memcpy(scmd->sense_buffer, cmd_blk->sense, sense_len);
cmd_blk          2069 drivers/scsi/myrs.c 		dma_pool_free(cs->sense_pool, cmd_blk->sense,
cmd_blk          2070 drivers/scsi/myrs.c 			      cmd_blk->sense_addr);
cmd_blk          2071 drivers/scsi/myrs.c 		cmd_blk->sense = NULL;
cmd_blk          2072 drivers/scsi/myrs.c 		cmd_blk->sense_addr = 0;
cmd_blk          2074 drivers/scsi/myrs.c 	if (cmd_blk->dcdb) {
cmd_blk          2075 drivers/scsi/myrs.c 		dma_pool_free(cs->dcdb_pool, cmd_blk->dcdb,
cmd_blk          2076 drivers/scsi/myrs.c 			      cmd_blk->dcdb_dma);
cmd_blk          2077 drivers/scsi/myrs.c 		cmd_blk->dcdb = NULL;
cmd_blk          2078 drivers/scsi/myrs.c 		cmd_blk->dcdb_dma = 0;
cmd_blk          2080 drivers/scsi/myrs.c 	if (cmd_blk->sgl) {
cmd_blk          2081 drivers/scsi/myrs.c 		dma_pool_free(cs->sg_pool, cmd_blk->sgl,
cmd_blk          2082 drivers/scsi/myrs.c 			      cmd_blk->sgl_addr);
cmd_blk          2083 drivers/scsi/myrs.c 		cmd_blk->sgl = NULL;
cmd_blk          2084 drivers/scsi/myrs.c 		cmd_blk->sgl_addr = 0;
cmd_blk          2086 drivers/scsi/myrs.c 	if (cmd_blk->residual)
cmd_blk          2087 drivers/scsi/myrs.c 		scsi_set_resid(scmd, cmd_blk->residual);
cmd_blk          2096 drivers/scsi/myrs.c static void myrs_handle_cmdblk(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk)
cmd_blk          2098 drivers/scsi/myrs.c 	if (!cmd_blk)
cmd_blk          2101 drivers/scsi/myrs.c 	if (cmd_blk->complete) {
cmd_blk          2102 drivers/scsi/myrs.c 		complete(cmd_blk->complete);
cmd_blk          2103 drivers/scsi/myrs.c 		cmd_blk->complete = NULL;
cmd_blk          2627 drivers/scsi/myrs.c 		struct myrs_cmdblk *cmd_blk = NULL;
cmd_blk          2630 drivers/scsi/myrs.c 			cmd_blk = &cs->dcmd_blk;
cmd_blk          2632 drivers/scsi/myrs.c 			cmd_blk = &cs->mcmd_blk;
cmd_blk          2636 drivers/scsi/myrs.c 				cmd_blk = scsi_cmd_priv(scmd);
cmd_blk          2638 drivers/scsi/myrs.c 		if (cmd_blk) {
cmd_blk          2639 drivers/scsi/myrs.c 			cmd_blk->status = next_stat_mbox->status;
cmd_blk          2640 drivers/scsi/myrs.c 			cmd_blk->sense_len = next_stat_mbox->sense_len;
cmd_blk          2641 drivers/scsi/myrs.c 			cmd_blk->residual = next_stat_mbox->residual;
cmd_blk          2650 drivers/scsi/myrs.c 		if (cmd_blk) {
cmd_blk          2652 drivers/scsi/myrs.c 				myrs_handle_cmdblk(cs, cmd_blk);
cmd_blk          2654 drivers/scsi/myrs.c 				myrs_handle_scsi(cs, cmd_blk, scmd);
cmd_blk          2877 drivers/scsi/myrs.c 		struct myrs_cmdblk *cmd_blk = NULL;
cmd_blk          2880 drivers/scsi/myrs.c 			cmd_blk = &cs->dcmd_blk;
cmd_blk          2882 drivers/scsi/myrs.c 			cmd_blk = &cs->mcmd_blk;
cmd_blk          2886 drivers/scsi/myrs.c 				cmd_blk = scsi_cmd_priv(scmd);
cmd_blk          2888 drivers/scsi/myrs.c 		if (cmd_blk) {
cmd_blk          2889 drivers/scsi/myrs.c 			cmd_blk->status = next_stat_mbox->status;
cmd_blk          2890 drivers/scsi/myrs.c 			cmd_blk->sense_len = next_stat_mbox->sense_len;
cmd_blk          2891 drivers/scsi/myrs.c 			cmd_blk->residual = next_stat_mbox->residual;
cmd_blk          2900 drivers/scsi/myrs.c 		if (cmd_blk) {
cmd_blk          2902 drivers/scsi/myrs.c 				myrs_handle_cmdblk(cs, cmd_blk);
cmd_blk          2904 drivers/scsi/myrs.c 				myrs_handle_scsi(cs, cmd_blk, scmd);
cmd_blk          3127 drivers/scsi/myrs.c 		struct myrs_cmdblk *cmd_blk = NULL;
cmd_blk          3130 drivers/scsi/myrs.c 			cmd_blk = &cs->dcmd_blk;
cmd_blk          3132 drivers/scsi/myrs.c 			cmd_blk = &cs->mcmd_blk;
cmd_blk          3136 drivers/scsi/myrs.c 				cmd_blk = scsi_cmd_priv(scmd);
cmd_blk          3138 drivers/scsi/myrs.c 		if (cmd_blk) {
cmd_blk          3139 drivers/scsi/myrs.c 			cmd_blk->status = next_stat_mbox->status;
cmd_blk          3140 drivers/scsi/myrs.c 			cmd_blk->sense_len = next_stat_mbox->sense_len;
cmd_blk          3141 drivers/scsi/myrs.c 			cmd_blk->residual = next_stat_mbox->residual;
cmd_blk          3150 drivers/scsi/myrs.c 		if (cmd_blk) {
cmd_blk          3152 drivers/scsi/myrs.c 				myrs_handle_cmdblk(cs, cmd_blk);
cmd_blk          3154 drivers/scsi/myrs.c 				myrs_handle_scsi(cs, cmd_blk, scmd);