Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h144 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) in lookup_stid() argument
147 if (t->nsftids && (stid >= t->sftid_base)) { in lookup_stid()
148 stid -= t->sftid_base; in lookup_stid()
149 stid += t->nstids; in lookup_stid()
151 stid -= t->stid_base; in lookup_stid()
154 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid()
171 void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family);
176 int cxgb4_create_server(const struct net_device *dev, unsigned int stid,
179 int cxgb4_create_server6(const struct net_device *dev, unsigned int stid,
182 int cxgb4_remove_server(const struct net_device *dev, unsigned int stid,
[all …]
Dcxgb4_main.c1134 int stid; in cxgb4_alloc_stid() local
1138 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid()
1139 if (stid < t->nstids) in cxgb4_alloc_stid()
1140 __set_bit(stid, t->stid_bmap); in cxgb4_alloc_stid()
1142 stid = -1; in cxgb4_alloc_stid()
1144 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 1); in cxgb4_alloc_stid()
1145 if (stid < 0) in cxgb4_alloc_stid()
1146 stid = -1; in cxgb4_alloc_stid()
1148 if (stid >= 0) { in cxgb4_alloc_stid()
1149 t->stid_tab[stid].data = data; in cxgb4_alloc_stid()
[all …]
/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c83 unsigned int stid) in cxgbit_np_hash_add() argument
91 p->stid = stid; in cxgbit_np_hash_add()
104 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_find() local
110 stid = p->stid; in cxgbit_np_hash_find()
116 return stid; in cxgbit_np_hash_find()
121 int stid = -1, bucket = cxgbit_np_hashfn(cnp); in cxgbit_np_hash_del() local
127 stid = p->stid; in cxgbit_np_hash_del()
135 return stid; in cxgbit_np_hash_del()
147 cxgbit_create_server6(struct cxgbit_device *cdev, unsigned int stid, in cxgbit_create_server6() argument
156 __func__, cdev->lldi.ports[0]->name, stid, sin6->sin6_port); in cxgbit_create_server6()
[all …]
Dcxgbit.h125 unsigned int stid; member
188 unsigned int stid; member
/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.c369 unsigned int stid) in get_ep_from_stid() argument
375 ep = idr_find(&dev->stid_idr, stid); in get_ep_from_stid()
2302 unsigned int stid = GET_TID(rpl); in pass_open_rpl() local
2303 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); in pass_open_rpl()
2306 PDBG("%s stid %d lookup failure!\n", __func__, stid); in pass_open_rpl()
2320 unsigned int stid = GET_TID(rpl); in close_listsrv_rpl() local
2321 struct c4iw_listen_ep *ep = get_ep_from_stid(dev, stid); in close_listsrv_rpl()
2436 unsigned int stid = PASS_OPEN_TID_G(ntohl(req->tos_stid)); in pass_accept_req() local
2449 parent_ep = (struct c4iw_ep *)get_ep_from_stid(dev, stid); in pass_accept_req()
2451 PDBG("%s connect request on invalid stid %d\n", __func__, stid); in pass_accept_req()
[all …]
Ddevice.c610 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep()
623 ep->com.flags, ep->stid, ep->backlog, in dump_listen_ep()
Diw_cxgb4.h849 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.c193 cmd->body.stid = stdu->base.unit; in vmw_stdu_define_st()
196 cmd->body.flags = (0 == cmd->body.stid) ? SVGA_STFLAG_PRIMARY : 0; in vmw_stdu_define_st()
257 cmd->body.stid = stdu->base.unit; in vmw_stdu_bind_st()
284 update->body.stid = unit; in vmw_stdu_populate_update()
363 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()