Home
last modified time | relevance | path

Searched refs:stid (Results 1 – 12 of 12) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h139 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) in lookup_stid() argument
142 if (t->nsftids && (stid >= t->sftid_base)) { in lookup_stid()
143 stid -= t->sftid_base; in lookup_stid()
144 stid += t->nstids; in lookup_stid()
146 stid -= t->stid_base; in lookup_stid()
149 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid()
166 void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family);
171 int cxgb4_create_server(const struct net_device *dev, unsigned int stid,
174 int cxgb4_create_server6(const struct net_device *dev, unsigned int stid,
177 int cxgb4_remove_server(const struct net_device *dev, unsigned int stid,
[all …]
Dcxgb4_main.c1504 int stid; in cxgb4_alloc_stid() local
1508 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid()
1509 if (stid < t->nstids) in cxgb4_alloc_stid()
1510 __set_bit(stid, t->stid_bmap); in cxgb4_alloc_stid()
1512 stid = -1; in cxgb4_alloc_stid()
1514 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 2); in cxgb4_alloc_stid()
1515 if (stid < 0) in cxgb4_alloc_stid()
1516 stid = -1; in cxgb4_alloc_stid()
1518 if (stid >= 0) { in cxgb4_alloc_stid()
1519 t->stid_tab[stid].data = data; in cxgb4_alloc_stid()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_defs.h57 unsigned int stid) in stid2entry() argument
59 return &t->stid_tab[stid - t->stid_base]; in stid2entry()
Dcxgb3_offload.c521 void cxgb3_free_stid(struct t3cdev *tdev, int stid) in cxgb3_free_stid() argument
524 union listen_entry *p = stid2entry(t, stid); in cxgb3_free_stid()
677 int stid = -1; in cxgb3_alloc_stid() local
684 stid = (p - t->stid_tab) + t->stid_base; in cxgb3_alloc_stid()
691 return stid; in cxgb3_alloc_stid()
762 unsigned int stid = G_TID(ntohl(p->opcode_tid)); in do_stid_rpl() local
765 t3c_tid = lookup_stid(&(T3C_DATA(dev))->tid_maps, stid); in do_stid_rpl()
798 unsigned int stid = G_PASS_OPEN_TID(ntohl(req->tos_tid)); in do_cr() local
810 t3c_tid = lookup_stid(t, stid); in do_cr()
Dcxgb3_offload.h101 void cxgb3_free_stid(struct t3cdev *dev, int stid);
/drivers/infiniband/hw/cxgb4/
Dcm.c2214 unsigned int stid = GET_TID(rpl); in pass_open_rpl() local
2215 struct c4iw_listen_ep *ep = lookup_stid(t, stid); in pass_open_rpl()
2218 PDBG("%s stid %d lookup failure!\n", __func__, stid); in pass_open_rpl()
2233 unsigned int stid = GET_TID(rpl); in close_listsrv_rpl() local
2234 struct c4iw_listen_ep *ep = lookup_stid(t, stid); in close_listsrv_rpl()
2385 unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); in pass_accept_req() local
2397 parent_ep = lookup_stid(t, stid); in pass_accept_req()
2399 PDBG("%s connect request on invalid stid %d\n", __func__, stid); in pass_accept_req()
3278 ep->stid, &sin6->sin6_addr, in create_server6()
3289 err, ep->stid, in create_server6()
[all …]
Ddevice.c627 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep()
640 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep()
Diw_cxgb4.h802 unsigned int stid; member
/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_cmd.h2006 uint32 stid; member
2026 uint32 stid; member
2034 uint32 stid; member
2043 uint32 stid; member
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_stdu.c213 cmd->body.stid = stdu->base.unit; in vmw_stdu_define_st()
216 cmd->body.flags = (0 == cmd->body.stid) ? SVGA_STFLAG_PRIMARY : 0; in vmw_stdu_define_st()
275 cmd->body.stid = stdu->base.unit; in vmw_stdu_bind_st()
302 update->body.stid = unit; in vmw_stdu_populate_update()
381 cmd->body.stid = stdu->base.unit; in vmw_stdu_destroy_st()
/drivers/infiniband/hw/cxgb3/
Diwch_cm.h171 unsigned int stid; member
Diwch_cm.c1214 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_PASS_OPEN_REQ, ep->stid)); in listen_start()
1256 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, ep->stid)); in listen_stop()
2017 ep->stid = cxgb3_alloc_stid(h->rdev.t3cdev_p, &t3c_client, ep); in iwch_create_listen()
2018 if (ep->stid == -1) { in iwch_create_listen()
2037 cxgb3_free_stid(ep->com.tdev, ep->stid); in iwch_create_listen()
2061 cxgb3_free_stid(ep->com.tdev, ep->stid); in iwch_destroy_listen()