Home
last modified time | relevance | path

Searched refs:sw_tag (Results 1 – 3 of 3) sorted by relevance

/drivers/scsi/cxgb3i/
Dcxgb3i_ddp.h196 u32 sw_tag) in cxgb3i_sw_tag_usable() argument
198 sw_tag >>= (32 - tformat->rsvd_bits); in cxgb3i_sw_tag_usable()
199 return !sw_tag; in cxgb3i_sw_tag_usable()
210 u32 sw_tag) in cxgb3i_set_non_ddp_tag() argument
215 if (sw_tag && (sw_tag & ~mask)) { in cxgb3i_set_non_ddp_tag()
216 u32 v1 = sw_tag & ((1 << shift) - 1); in cxgb3i_set_non_ddp_tag()
217 u32 v2 = (sw_tag >> (shift - 1)) << shift; in cxgb3i_set_non_ddp_tag()
221 return sw_tag | 1 << shift; in cxgb3i_set_non_ddp_tag()
231 u32 sw_tag) in cxgb3i_ddp_tag_base() argument
235 if (sw_tag && (sw_tag & ~mask)) { in cxgb3i_ddp_tag_base()
[all …]
Dcxgb3i_iscsi.c775 u32 sw_tag = (sess->age << cconn->task_idx_bits) | task->itt; in cxgb3i_reserve_itt() local
781 cxgb3i_sw_tag_usable(tformat, sw_tag)) { in cxgb3i_reserve_itt()
791 tag = sw_tag; in cxgb3i_reserve_itt()
801 tag = cxgb3i_set_non_ddp_tag(tformat, sw_tag); in cxgb3i_reserve_itt()
Dcxgb3i_ddp.c375 u32 sw_tag = *tagp; in cxgb3i_ddp_tag_reserve() local
408 tag = cxgb3i_ddp_tag_base(tformat, sw_tag); in cxgb3i_ddp_tag_reserve()
423 gl->length, gl->nelem, gl->offset, tid, sw_tag, tag, in cxgb3i_ddp_tag_reserve()