Lines Matching refs:__hcb_qe
113 #define bfa_cb_queue(__bfa, __hcb_qe, __cbfn, __cbarg) do { \ argument
114 (__hcb_qe)->cbfn = (__cbfn); \
115 (__hcb_qe)->cbarg = (__cbarg); \
116 (__hcb_qe)->pre_rmv = BFA_FALSE; \
117 list_add_tail(&(__hcb_qe)->qe, &(__bfa)->comp_q); \
120 #define bfa_cb_dequeue(__hcb_qe) list_del(&(__hcb_qe)->qe) argument
122 #define bfa_cb_queue_once(__bfa, __hcb_qe, __cbfn, __cbarg) do { \ argument
123 (__hcb_qe)->cbfn = (__cbfn); \
124 (__hcb_qe)->cbarg = (__cbarg); \
125 if (!(__hcb_qe)->once) { \
126 list_add_tail(&(__hcb_qe)->qe, &(__bfa)->comp_q); \
127 (__hcb_qe)->once = BFA_TRUE; \
131 #define bfa_cb_queue_status(__bfa, __hcb_qe, __status) do { \ argument
132 (__hcb_qe)->fw_status = (__status); \
133 list_add_tail(&(__hcb_qe)->qe, &(__bfa)->comp_q); \
136 #define bfa_cb_queue_done(__hcb_qe) do { \ argument
137 (__hcb_qe)->once = BFA_FALSE; \