Home
last modified time | relevance | path

Searched refs:atid (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h127 static inline void *lookup_atid(const struct tid_info *t, unsigned int atid) in lookup_atid() argument
129 return atid < t->natids ? t->atid_tab[atid].data : NULL; in lookup_atid()
148 void cxgb4_free_atid(struct tid_info *t, unsigned int atid);
Dcxgb4_main.c2993 int atid = -1; in cxgb4_alloc_atid() local
2999 atid = (p - t->atid_tab) + t->atid_base; in cxgb4_alloc_atid()
3005 return atid; in cxgb4_alloc_atid()
3012 void cxgb4_free_atid(struct tid_info *t, unsigned int atid) in cxgb4_free_atid() argument
3014 union aopen_entry *p = &t->atid_tab[atid - t->atid_base]; in cxgb4_free_atid()
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c185 unsigned int qid_atid = ((unsigned int)csk->atid) | in send_act_open_req()
219 csk->atid, csk->rss_qid); in send_act_open_req()
530 cxgb4_free_atid(lldi->tids, csk->atid); in free_atid()
542 unsigned int atid = GET_TID_TID(ntohl(req->tos_atid)); in do_act_establish() local
547 csk = lookup_atid(t, atid); in do_act_establish()
549 pr_err("NO conn. for atid %u, cdev 0x%p.\n", atid, cdev); in do_act_establish()
553 if (csk->atid != atid) { in do_act_establish()
555 atid, csk, csk->state, csk->flags, csk->tid, csk->atid); in do_act_establish()
561 csk, csk->state, csk->flags, tid, atid, rcv_isn); in do_act_establish()
660 unsigned int atid = in do_act_open_rpl() local
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_defs.h51 unsigned int atid) in atid2entry() argument
53 return &t->atid_tab[atid - t->atid_base]; in atid2entry()
Dcxgb3_offload.c501 void *cxgb3_free_atid(struct t3cdev *tdev, int atid) in cxgb3_free_atid() argument
504 union active_open_entry *p = atid2entry(t, atid); in cxgb3_free_atid()
653 int atid = -1; in cxgb3_alloc_atid() local
662 atid = (p - t->atid_tab) + t->atid_base; in cxgb3_alloc_atid()
669 return atid; in cxgb3_alloc_atid()
742 unsigned int atid = G_TID(ntohl(rpl->atid)); in do_act_open_rpl() local
745 t3c_tid = lookup_atid(&(T3C_DATA(dev))->tid_maps, atid); in do_act_open_rpl()
892 unsigned int atid = G_PASS_OPEN_TID(ntohl(req->tos_tid)); in do_act_establish() local
904 t3c_tid = lookup_atid(t, atid); in do_act_establish()
Dcxgb3_offload.h100 void *cxgb3_free_atid(struct t3cdev *dev, int atid);
Dt3_cpl.h623 __be32 atid; member
/drivers/infiniband/hw/cxgb4/
Dcm.c525 PDBG("%s ep %p atid %u\n", __func__, ep, ep->atid); in send_connect()
564 ((ep->rss_qid << 14) | ep->atid))); in send_connect()
578 ((ep->rss_qid << 14) | ep->atid))); in send_connect()
853 unsigned int atid = GET_TID_TID(ntohl(req->tos_atid)); in act_establish() local
856 ep = lookup_atid(t, atid); in act_establish()
874 remove_handle(ep->com.dev, &ep->com.dev->atid_idr, atid); in act_establish()
875 cxgb4_free_atid(t, atid); in act_establish()
1495 static void send_fw_act_open_req(struct c4iw_ep *ep, unsigned int atid) in send_fw_act_open_req() argument
1515 V_FW_OFLD_CONNECTION_WR_ASTID(atid)); in send_fw_act_open_req()
1578 ep->atid = cxgb4_alloc_atid(ep->com.dev->rdev.lldi.tids, ep); in c4iw_reconnect()
[all …]
Diw_cxgb4.h773 unsigned int atid; member
Ddevice.c358 ep->com.flags, ep->com.history, ep->hwtid, ep->atid, in dump_ep()
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c164 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_ACT_OPEN_REQ, csk->atid)); in send_act_open_req()
178 csk, csk->state, csk->flags, csk->atid, in send_act_open_req()
467 cxgb3_free_atid(csk->cdev->lldev, csk->atid); in free_atid()
478 unsigned int atid = G_PASS_OPEN_TID(ntohl(req->tos_tid)); in do_act_establish() local
483 atid, atid, csk, csk->state, csk->flags, rcv_isn); in do_act_establish()
575 csk, csk->state, csk->flags, csk->atid, rpl->status, in do_act_open_rpl()
977 csk->atid = cxgb3_alloc_atid(t3dev, &t3_client, csk); in init_act_open()
978 if (csk->atid < 0) { in init_act_open()
/drivers/infiniband/hw/cxgb3/
Diwch_cm.h179 unsigned int atid; member
Diwch_cm.c461 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_ACT_OPEN_REQ, ep->atid)); in send_connect()
652 cxgb3_free_atid(ep->com.tdev, ep->atid); in act_establish()
1188 cxgb3_free_atid(ep->com.tdev, ep->atid); in act_open_rpl()
1924 ep->atid = cxgb3_alloc_atid(h->rdev.t3cdev_p, &t3c_client, ep); in iwch_connect()
1925 if (ep->atid == -1) { in iwch_connect()
1965 cxgb3_free_atid(ep->com.tdev, ep->atid); in iwch_connect()
/drivers/scsi/cxgbi/
Dlibcxgbi.h178 int atid; member