Lines Matching refs:hfi1_ctxtdata
87 struct hfi1_ctxtdata *rcd; in hfi1_create_kctxt()
161 static void hfi1_rcd_init(struct hfi1_ctxtdata *rcd) in hfi1_rcd_init()
174 struct hfi1_ctxtdata *rcd = in hfi1_rcd_free()
175 container_of(kref, struct hfi1_ctxtdata, kref); in hfi1_rcd_free()
192 int hfi1_rcd_put(struct hfi1_ctxtdata *rcd) in hfi1_rcd_put()
209 int hfi1_rcd_get(struct hfi1_ctxtdata *rcd) in hfi1_rcd_get()
225 struct hfi1_ctxtdata *rcd, u16 *index) in allocate_rcd_index()
262 struct hfi1_ctxtdata *hfi1_rcd_get_by_index_safe(struct hfi1_devdata *dd, in hfi1_rcd_get_by_index_safe()
283 struct hfi1_ctxtdata *hfi1_rcd_get_by_index(struct hfi1_devdata *dd, u16 ctxt) in hfi1_rcd_get_by_index()
286 struct hfi1_ctxtdata *rcd = NULL; in hfi1_rcd_get_by_index()
304 struct hfi1_ctxtdata **context) in hfi1_create_ctxtdata()
307 struct hfi1_ctxtdata *rcd; in hfi1_create_ctxtdata()
470 void hfi1_free_ctxt(struct hfi1_ctxtdata *rcd) in hfi1_free_ctxt()
679 struct hfi1_ctxtdata *rcd; in init_after_reset()
701 struct hfi1_ctxtdata *rcd; in enable_chip()
847 struct hfi1_ctxtdata *rcd; in hfi1_init()
1006 struct hfi1_ctxtdata *rcd; in shutdown_device()
1085 void hfi1_free_ctxtdata(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd) in hfi1_free_ctxtdata()
1513 struct hfi1_ctxtdata *rcd = dd->rcd[ctxt]; in cleanup_device_data()
1758 int hfi1_create_rcvhdrq(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd) in hfi1_create_rcvhdrq()
1819 int hfi1_setup_eagerbufs(struct hfi1_ctxtdata *rcd) in hfi1_setup_eagerbufs()