Home
last modified time | relevance | path

Searched refs:tm_iocb (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_mr.c3175 struct tsk_mgmt_entry_fx00 tm_iocb; in qlafx00_tm_iocb() local
3178 memset(&tm_iocb, 0, sizeof(struct tsk_mgmt_entry_fx00)); in qlafx00_tm_iocb()
3179 tm_iocb.entry_type = TSK_MGMT_IOCB_TYPE_FX00; in qlafx00_tm_iocb()
3180 tm_iocb.entry_count = 1; in qlafx00_tm_iocb()
3181 tm_iocb.handle = make_handle(req->id, sp->handle); in qlafx00_tm_iocb()
3182 tm_iocb.reserved_0 = 0; in qlafx00_tm_iocb()
3183 tm_iocb.tgt_id = cpu_to_le16(sp->fcport->tgt_id); in qlafx00_tm_iocb()
3184 tm_iocb.control_flags = cpu_to_le32(fxio->u.tmf.flags); in qlafx00_tm_iocb()
3185 if (tm_iocb.control_flags == cpu_to_le32((uint32_t)TCF_LUN_RESET)) { in qlafx00_tm_iocb()
3187 host_to_adap((uint8_t *)&llun, (uint8_t *)&tm_iocb.lun, in qlafx00_tm_iocb()
[all …]
H A Dqla_init.c1893 struct srb_iocb *tm_iocb; in qla2x00_async_tm_cmd() local
1901 tm_iocb = &sp->u.iocb_cmd; in qla2x00_async_tm_cmd()
1905 tm_iocb->timeout = qla2x00_tmf_iocb_timeout; in qla2x00_async_tm_cmd()
1906 init_completion(&tm_iocb->u.tmf.comp); in qla2x00_async_tm_cmd()
1909 tm_iocb->u.tmf.flags = flags; in qla2x00_async_tm_cmd()
1910 tm_iocb->u.tmf.lun = lun; in qla2x00_async_tm_cmd()
1911 tm_iocb->u.tmf.data = tag; in qla2x00_async_tm_cmd()
1922 wait_for_completion(&tm_iocb->u.tmf.comp); in qla2x00_async_tm_cmd()
1924 rval = tm_iocb->u.tmf.data; in qla2x00_async_tm_cmd()
1932 flags = tm_iocb->u.tmf.flags; in qla2x00_async_tm_cmd()
[all …]
H A Dqla_target.h938 struct imm_ntfy_from_isp tm_iocb; member
H A Dqla_target.c1655 memcpy(&prm->tm_iocb, param, param_size); in qlt_sched_sess_work()