Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h90 struct tid_info { struct
122 static inline void *lookup_tid(const struct tid_info *t, unsigned int tid) in lookup_tid() argument
127 static inline void *lookup_atid(const struct tid_info *t, unsigned int atid) in lookup_atid()
132 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) in lookup_stid()
138 static inline void cxgb4_insert_tid(struct tid_info *t, void *data, in cxgb4_insert_tid()
145 int cxgb4_alloc_atid(struct tid_info *t, void *data);
146 int cxgb4_alloc_stid(struct tid_info *t, int family, void *data);
147 int cxgb4_alloc_sftid(struct tid_info *t, int family, void *data);
148 void cxgb4_free_atid(struct tid_info *t, unsigned int atid);
149 void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family);
[all …]
Dcxgb4_main.c2991 int cxgb4_alloc_atid(struct tid_info *t, void *data) in cxgb4_alloc_atid()
3012 void cxgb4_free_atid(struct tid_info *t, unsigned int atid) in cxgb4_free_atid()
3027 int cxgb4_alloc_stid(struct tid_info *t, int family, void *data) in cxgb4_alloc_stid()
3055 int cxgb4_alloc_sftid(struct tid_info *t, int family, void *data) in cxgb4_alloc_sftid()
3082 void cxgb4_free_stid(struct tid_info *t, unsigned int stid, int family) in cxgb4_free_stid()
3114 static void cxgb4_queue_tid_release(struct tid_info *t, unsigned int chan, in cxgb4_queue_tid_release()
3167 void cxgb4_remove_tid(struct tid_info *t, unsigned int chan, unsigned int tid) in cxgb4_remove_tid()
3189 static int tid_init(struct tid_info *t) in tid_init()
Dcxgb4.h580 struct tid_info tids;
/drivers/net/wireless/ath/carl9170/
Dtx.c348 struct carl9170_sta_tid *tid_info, u16 seq) in carl9170_tx_shift_bm() argument
352 off = SEQ_DIFF(seq, tid_info->bsn); in carl9170_tx_shift_bm()
363 WARN_ON_ONCE(!test_and_clear_bit(off, tid_info->bitmap)); in carl9170_tx_shift_bm()
365 off = SEQ_DIFF(tid_info->snx, tid_info->bsn); in carl9170_tx_shift_bm()
369 if (!bitmap_empty(tid_info->bitmap, off)) in carl9170_tx_shift_bm()
370 off = find_first_bit(tid_info->bitmap, off); in carl9170_tx_shift_bm()
372 tid_info->bsn += off; in carl9170_tx_shift_bm()
373 tid_info->bsn &= 0x0fff; in carl9170_tx_shift_bm()
375 bitmap_shift_right(tid_info->bitmap, tid_info->bitmap, in carl9170_tx_shift_bm()
386 struct carl9170_sta_tid *tid_info; in carl9170_tx_status_process_ampdu() local
[all …]
Dmain.c187 struct carl9170_sta_tid *tid_info; in carl9170_ampdu_gc() local
191 list_for_each_entry_rcu(tid_info, &ar->tx_ampdu_list, list) { in carl9170_ampdu_gc()
193 if (tid_info->state == CARL9170_TID_STATE_SHUTDOWN) { in carl9170_ampdu_gc()
194 tid_info->state = CARL9170_TID_STATE_KILLED; in carl9170_ampdu_gc()
195 list_del_rcu(&tid_info->list); in carl9170_ampdu_gc()
197 list_add_tail(&tid_info->tmp_list, &tid_gc); in carl9170_ampdu_gc()
202 rcu_assign_pointer(ar->tx_ampdu_iter, tid_info); in carl9170_ampdu_gc()
209 tid_info = list_first_entry(&tid_gc, struct carl9170_sta_tid, in carl9170_ampdu_gc()
212 while ((skb = __skb_dequeue(&tid_info->queue))) in carl9170_ampdu_gc()
215 list_del_init(&tid_info->tmp_list); in carl9170_ampdu_gc()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_defs.h50 static inline union active_open_entry *atid2entry(const struct tid_info *t, in atid2entry()
56 static inline union listen_entry *stid2entry(const struct tid_info *t, in stid2entry()
65 static inline struct t3c_tid_entry *lookup_tid(const struct tid_info *t, in lookup_tid()
77 static inline struct t3c_tid_entry *lookup_stid(const struct tid_info *t, in lookup_stid()
96 static inline struct t3c_tid_entry *lookup_atid(const struct tid_info *t, in lookup_atid()
Dcxgb3_offload.c503 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_free_atid()
523 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_free_stid()
538 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_insert_tid()
629 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_remove_tid()
654 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_alloc_atid()
678 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_alloc_stid()
799 struct tid_info *t = &(T3C_DATA(dev))->tid_maps; in do_cr()
893 struct tid_info *t = &(T3C_DATA(dev))->tid_maps; in do_act_establish()
1115 struct tid_info *ti; in cxgb_redirect()
1181 static int init_tid_tabs(struct tid_info *t, unsigned int ntids, in init_tid_tabs()
[all …]
Dcxgb3_offload.h157 struct tid_info { struct
194 struct tid_info tid_maps; argument
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c544 struct tid_info *t = lldi->tids; in do_act_establish()
664 struct tid_info *t = lldi->tids; in do_act_open_rpl()
708 struct tid_info *t = lldi->tids; in do_peer_close()
729 struct tid_info *t = lldi->tids; in do_close_con_rpl()
768 struct tid_info *t = lldi->tids; in do_abort_req_rss()
814 struct tid_info *t = lldi->tids; in do_abort_rpl_rss()
840 struct tid_info *t = lldi->tids; in do_rx_iscsi_hdr()
941 struct tid_info *t = lldi->tids; in do_rx_data_ddp()
1026 struct tid_info *t = lldi->tids; in do_fw4_ack()
1046 struct tid_info *t = lldi->tids; in do_set_tcb_rpl()
/drivers/infiniband/hw/cxgb4/
Dcm.c854 struct tid_info *t = dev->rdev.lldi.tids; in act_establish()
1422 struct tid_info *t = dev->rdev.lldi.tids; in rx_data()
1468 struct tid_info *t = dev->rdev.lldi.tids; in abort_rpl()
1678 struct tid_info *t = dev->rdev.lldi.tids; in act_open_rpl()
1753 struct tid_info *t = dev->rdev.lldi.tids; in pass_open_rpl()
1793 struct tid_info *t = dev->rdev.lldi.tids; in close_listsrv_rpl()
1965 struct tid_info *t = dev->rdev.lldi.tids; in pass_accept_req()
2056 struct tid_info *t = dev->rdev.lldi.tids; in pass_establish()
2085 struct tid_info *t = dev->rdev.lldi.tids; in peer_close()
2182 struct tid_info *t = dev->rdev.lldi.tids; in peer_abort()
[all …]
/drivers/infiniband/hw/qib/
Dqib_file_ops.c2016 copy = sizeof(cmd.cmd.tid_info); in qib_write()
2017 dest = &cmd.cmd.tid_info; in qib_write()
2018 src = &ucmd->cmd.tid_info; in qib_write()
2113 ret = qib_tid_update(rcd, fp, &cmd.cmd.tid_info); in qib_write()
2117 ret = qib_tid_free(rcd, subctxt_fp(fp), &cmd.cmd.tid_info); in qib_write()
Dqib_common.h449 struct qib_tid_info tid_info; member
/drivers/infiniband/hw/ipath/
Dipath_file_ops.c2277 copy = sizeof(cmd.cmd.tid_info); in ipath_write()
2278 dest = &cmd.cmd.tid_info; in ipath_write()
2279 src = &ucmd->cmd.tid_info; in ipath_write()
2372 ret = ipath_tid_update(pd, fp, &cmd.cmd.tid_info); in ipath_write()
2375 ret = ipath_tid_free(pd, subport_fp(fp), &cmd.cmd.tid_info); in ipath_write()
Dipath_common.h488 struct ipath_tid_info tid_info; member