Searched refs:sw_tag (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/scsi/cxgbi/ |
D | libcxgbi.h | 609 u32 sw_tag) in cxgbi_sw_tag_usable() argument 611 sw_tag >>= (32 - tformat->rsvd_bits); in cxgbi_sw_tag_usable() 612 return !sw_tag; in cxgbi_sw_tag_usable() 616 u32 sw_tag) in cxgbi_set_non_ddp_tag() argument 621 if (sw_tag && (sw_tag & ~mask)) { in cxgbi_set_non_ddp_tag() 622 u32 v1 = sw_tag & ((1 << shift) - 1); in cxgbi_set_non_ddp_tag() 623 u32 v2 = (sw_tag >> (shift - 1)) << shift; in cxgbi_set_non_ddp_tag() 628 return sw_tag | 1 << shift; in cxgbi_set_non_ddp_tag() 632 u32 sw_tag) in cxgbi_ddp_tag_base() argument 636 if (sw_tag && (sw_tag & ~mask)) { in cxgbi_ddp_tag_base() [all …]
|
D | libcxgbi.c | 1486 u32 sw_tag, u32 *tagp, struct cxgbi_gather_list *gl, in ddp_tag_reserve() argument 1519 tag = cxgbi_ddp_tag_base(tformat, sw_tag); in ddp_tag_reserve() 1535 gl->length, gl->nelem, gl->offset, tid, sw_tag, tag, idx, in ddp_tag_reserve() 1546 unsigned int sw_tag, unsigned int xferlen, in cxgbi_ddp_reserve() argument 1561 if (!cxgbi_sw_tag_usable(tformat, sw_tag)) { in cxgbi_ddp_reserve() 1563 "sw_tag 0x%x NOT usable.\n", sw_tag); in cxgbi_ddp_reserve() 1571 err = ddp_tag_reserve(csk, csk->tid, sw_tag, tagp, gl, gfp); in cxgbi_ddp_reserve() 1710 u32 sw_tag = (sess->age << cconn->task_idx_bits) | task->itt; in task_reserve_itt() local 1716 err = cxgbi_ddp_reserve(cconn->cep->csk, &tag, sw_tag, in task_reserve_itt() 1729 tag = cxgbi_set_non_ddp_tag(tformat, sw_tag); in task_reserve_itt() [all …]
|