Home
last modified time | relevance | path

Searched refs:cbarg (Results 1 – 25 of 26) sorted by relevance

12

/drivers/scsi/bfa/
Dbfa_ioc.h239 typedef void (*bfa_ioc_mbox_mcfunc_t)(void *cbarg, struct bfi_mbmsg_s *m);
245 void *cbarg; member
277 void *cbarg; member
285 (__notify)->cbarg = (__cbarg); \
363 void (*qresume) (void *cbarg);
364 void *cbarg; member
367 typedef void (*bfa_cb_cbfn_t) (void *cbarg, bfa_boolean_t complete);
378 void *cbarg; member
411 void *cbarg; member
420 typedef void (*bfa_cb_sfp_t) (void *cbarg, bfa_status_t status);
[all …]
Dbfa_ioc.c1325 notify->cbfn(notify->cbarg, event); in bfa_ioc_event_notify()
1843 bfa_ioc_hb_check(void *cbarg) in bfa_ioc_hb_check() argument
1845 struct bfa_ioc_s *ioc = cbarg; in bfa_ioc_hb_check()
1998 mod->mbhdlr[mc].cbarg = ioc->bfa; in bfa_ioc_mbox_attach()
2558 bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg) in bfa_ioc_mbox_regisr() argument
2563 mod->mbhdlr[mc].cbarg = cbarg; in bfa_ioc_mbox_regisr()
2625 mod->mbhdlr[mc].cbfn(mod->mbhdlr[mc].cbarg, &m); in bfa_ioc_mbox_isr()
3293 bfa_ablk_isr(void *cbarg, struct bfi_mbmsg_s *msg) in bfa_ablk_isr() argument
3295 struct bfa_ablk_s *ablk = (struct bfa_ablk_s *)cbarg; in bfa_ablk_isr()
3337 cbfn(ablk->cbarg, rsp->status); in bfa_ablk_isr()
[all …]
Dbfa_svc.h41 void (*cbfn) (void *cbarg); /* callback function */
42 void *cbarg; /* callback arg */ member
78 void (*cbfn) (void *cbarg), void *cbarg);
125 void *cbarg, enum bfa_status req_status,
128 typedef void (*bfa_fcxp_alloc_cbfn_t) (void *cbarg, struct bfa_fcxp_s *fcxp);
349 typedef void (*bfa_cb_uf_recv_t) (void *cbarg, struct bfa_uf_s *uf);
373 void *cbarg; /* uf receive handler arg */ member
490 void (*event_cbfn) (void *cbarg,
550 void (*event_cbfn) (void *cbarg,
618 void *cbarg, void *bfad_fcxp,
[all …]
Dbfa_port.h60 bfa_port_stats_cbfn_t cbfn, void *cbarg);
62 bfa_port_stats_cbfn_t cbfn, void *cbarg);
64 bfa_port_endis_cbfn_t cbfn, void *cbarg);
66 bfa_port_endis_cbfn_t cbfn, void *cbarg);
119 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg);
122 bfa_cee_get_stats_cbfn_t cbfn, void *cbarg);
124 bfa_cee_reset_stats_cbfn_t cbfn, void *cbarg);
Dbfa_port.c152 bfa_port_isr(void *cbarg, struct bfi_mbmsg_s *m) in bfa_port_isr() argument
154 struct bfa_port_s *port = (struct bfa_port_s *) cbarg; in bfa_port_isr()
233 void *cbarg) in bfa_port_enable() argument
268 port->endis_cbarg = cbarg; in bfa_port_enable()
289 void *cbarg) in bfa_port_disable() argument
324 port->endis_cbarg = cbarg; in bfa_port_disable()
345 bfa_port_stats_cbfn_t cbfn, void *cbarg) in bfa_port_get_stats() argument
363 port->stats_cbarg = cbarg; in bfa_port_get_stats()
384 void *cbarg) in bfa_port_clear_stats() argument
401 port->stats_cbarg = cbarg; in bfa_port_clear_stats()
[all …]
Dbfa.h30 typedef void (*bfa_cb_cbfn_status_t) (void *cbarg, bfa_status_t status);
97 bfa_reqq_winit(struct bfa_reqq_wait_s *wqe, void (*qresume) (void *cbarg), in bfa_reqq_winit() argument
98 void *cbarg) in bfa_reqq_winit()
101 wqe->cbarg = cbarg; in bfa_reqq_winit()
115 WARN_ON(!((__wqe)->qresume && (__wqe)->cbarg)); \
124 (__hcb_qe)->cbarg = (__cbarg); \
133 (__hcb_qe)->cbarg = (__cbarg); \
200 typedef void (*bfa_cb_iocfc_t) (void *cbarg, enum bfa_status status);
422 typedef void (*bfa_cb_ioc_t) (void *cbarg, enum bfa_status status);
443 (__qe)->hcb_qe.cbarg = (__cbarg); \
Dbfa_svc.c111 static void __bfa_fcxp_send_cbfn(void *cbarg, bfa_boolean_t complete);
116 static void bfa_fcxp_qresume(void *cbarg);
168 static void __bfa_cb_fcport_event(void *cbarg, bfa_boolean_t complete);
173 static void __bfa_cb_fcport_stats_clr(void *cbarg, bfa_boolean_t complete);
174 static void bfa_fcport_stats_get_timeout(void *cbarg);
175 static void bfa_fcport_stats_clr_timeout(void *cbarg);
254 static void __bfa_cb_rport_online(void *cbarg,
256 static void __bfa_cb_rport_offline(void *cbarg,
700 bfa_fcxp_null_comp(void *bfad_fcxp, struct bfa_fcxp_s *fcxp, void *cbarg, in bfa_fcxp_null_comp() argument
708 __bfa_fcxp_send_cbfn(void *cbarg, bfa_boolean_t complete) in __bfa_fcxp_send_cbfn() argument
[all …]
Dbfa_fcs.c227 static void bfa_fcs_fabric_delay(void *cbarg);
229 static void bfa_fcs_fabric_delete_comp(void *cbarg);
231 static void bfa_fcs_fabric_stop_comp(void *cbarg);
238 struct bfa_fcxp_s *fcxp, void *cbarg,
1062 bfa_fcs_fabric_delay(void *cbarg) in bfa_fcs_fabric_delay() argument
1064 struct bfa_fcs_fabric_s *fabric = cbarg; in bfa_fcs_fabric_delay()
1110 bfa_fcs_fabric_delete_comp(void *cbarg) in bfa_fcs_fabric_delete_comp() argument
1112 struct bfa_fcs_fabric_s *fabric = cbarg; in bfa_fcs_fabric_delete_comp()
1118 bfa_fcs_fabric_stop_comp(void *cbarg) in bfa_fcs_fabric_stop_comp() argument
1120 struct bfa_fcs_fabric_s *fabric = cbarg; in bfa_fcs_fabric_stop_comp()
[all …]
Dbfa_fcpim.c172 static void __bfa_cb_itnim_online(void *cbarg, bfa_boolean_t complete);
173 static void __bfa_cb_itnim_offline(void *cbarg, bfa_boolean_t complete);
174 static void __bfa_cb_itnim_sler(void *cbarg, bfa_boolean_t complete);
223 static void __bfa_cb_ioim_good_comp(void *cbarg, bfa_boolean_t complete);
224 static void __bfa_cb_ioim_comp(void *cbarg, bfa_boolean_t complete);
225 static void __bfa_cb_ioim_abort(void *cbarg, bfa_boolean_t complete);
226 static void __bfa_cb_ioim_failed(void *cbarg, bfa_boolean_t complete);
227 static void __bfa_cb_ioim_pathtov(void *cbarg, bfa_boolean_t complete);
260 static void __bfa_cb_tskim_done(void *cbarg, bfa_boolean_t complete);
261 static void __bfa_cb_tskim_failed(void *cbarg, bfa_boolean_t complete);
[all …]
Dbfa_fcs_rport.c57 struct bfa_fcxp_s *fcxp, void *cbarg,
63 struct bfa_fcxp_s *fcxp, void *cbarg,
69 struct bfa_fcxp_s *fcxp, void *cbarg,
73 struct bfa_fcxp_s *fcxp, void *cbarg,
1739 bfa_fcs_rport_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, in bfa_fcs_rport_plogi_response() argument
1743 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) cbarg; in bfa_fcs_rport_plogi_response()
1891 bfa_fcs_rport_adisc_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, in bfa_fcs_rport_adisc_response() argument
1895 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) cbarg; in bfa_fcs_rport_adisc_response()
1960 bfa_fcs_rport_gidpn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, in bfa_fcs_rport_gidpn_response() argument
1964 struct bfa_fcs_rport_s *rport = (struct bfa_fcs_rport_s *) cbarg; in bfa_fcs_rport_gidpn_response()
[all …]
Dbfa_fcs_lport.c1387 void *cbarg,
1394 void *cbarg,
1401 void *cbarg,
2152 void *cbarg, bfa_status_t req_status, in bfa_fcs_lport_fdmi_rhba_response() argument
2157 (struct bfa_fcs_lport_fdmi_s *) cbarg; in bfa_fcs_lport_fdmi_rhba_response()
2475 void *cbarg, bfa_status_t req_status, in bfa_fcs_lport_fdmi_rprt_response() argument
2480 (struct bfa_fcs_lport_fdmi_s *) cbarg; in bfa_fcs_lport_fdmi_rprt_response()
2568 void *cbarg, bfa_status_t req_status, u32 rsp_len, in bfa_fcs_lport_fdmi_rpa_response() argument
2572 (struct bfa_fcs_lport_fdmi_s *) cbarg; in bfa_fcs_lport_fdmi_rpa_response()
2826 void *cbarg,
[all …]
Dbfa_fcs_fcpim.c37 struct bfa_fcxp_s *fcxp, void *cbarg,
482 bfa_fcs_itnim_prli_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, in bfa_fcs_itnim_prli_response() argument
486 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cbarg; in bfa_fcs_itnim_prli_response()
688 bfa_cb_itnim_online(void *cbarg) in bfa_cb_itnim_online() argument
690 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cbarg; in bfa_cb_itnim_online()
Dbfa_core.c711 wqe->qresume(wqe->cbarg); in bfa_reqq_resume()
1364 bfa_cb_iocfc_t cbfn, void *cbarg) in bfa_faa_query() argument
1379 iocfc->faa_args.faa_cb.faa_cbarg = cbarg; in bfa_faa_query()
1399 void *cbarg = iocfc->faa_args.faa_cb.faa_cbarg; in bfa_faa_query_reply() local
1409 iocfc->faa_args.faa_cb.faa_cbfn(cbarg, BFA_STATUS_OK); in bfa_faa_query_reply()
1910 cbfn(hcb_qe->cbarg, hcb_qe->fw_status); in bfa_comp_process()
1912 hcb_qe->cbfn(hcb_qe->cbarg, BFA_TRUE); in bfa_comp_process()
1926 hcb_qe->cbfn(hcb_qe->cbarg, BFA_FALSE); in bfa_comp_free()
Dbfa_cs.h284 typedef void (*bfa_wc_resume_t) (void *cbarg);
Dbfa_fcs.h348 void bfa_fcs_lport_ns_util_send_rspn_id(void *cbarg,
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.h105 typedef void (*bfa_mbox_cmd_cbfn_t)(void *cbarg);
109 void *cbarg; member
114 typedef void (*bfa_ioc_mbox_mcfunc_t)(void *cbarg, struct bfi_mbmsg *m);
120 void *cbarg; member
148 void *cbarg; member
154 (__notify)->cbarg = (__cbarg); \
259 bfa_mbox_cmd_cbfn_t cbfn, void *cbarg);
262 bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg);
333 typedef void (*bfa_cb_flash) (void *cbarg, enum bfa_status status);
347 void *cbarg; /* user callback arg */ member
[all …]
Dbfa_msgq.h44 (_cmd)->cbarg = (_cbarg); \
51 typedef void (*bfa_msgq_cmdcbfn_t)(void *cbarg, enum bfa_status status);
56 void *cbarg; member
89 typedef void (*bfa_msgq_mcfunc_t)(void *cbarg, struct bfi_msgq_mhdr *mhdr);
104 void *cbarg; member
125 bfa_msgq_mcfunc_t cbfn, void *cbarg);
Dbfa_msgq.c28 void *cbarg; \
30 cbarg = (_cmdq_ent)->cbarg; \
32 (_cmdq_ent)->cbarg = NULL; \
34 cbfn(cbarg, (_status)); \
487 (rspq->rsphdlr[mc].cbfn)(rspq->rsphdlr[mc].cbarg, msghdr); in bfa_msgq_rspq_pi_update()
532 bfa_msgq_isr(void *cbarg, struct bfi_mbmsg *msg) in bfa_msgq_isr() argument
534 struct bfa_msgq *msgq = (struct bfa_msgq *)cbarg; in bfa_msgq_isr()
559 bfa_msgq_notify(void *cbarg, enum bfa_ioc_event event) in bfa_msgq_notify() argument
561 struct bfa_msgq *msgq = (struct bfa_msgq *)cbarg; in bfa_msgq_notify()
624 bfa_msgq_mcfunc_t cbfn, void *cbarg) in bfa_msgq_regisr() argument
[all …]
Dbna.h189 struct bna_rx *cbarg; \
191 cbarg = (rxf)->stop_cbarg; \
194 cbfn(cbarg); \
202 struct bna_rx *cbarg; \
204 cbarg = (rxf)->start_cbarg; \
207 cbfn(cbarg); \
215 struct bnad *cbarg; \
217 cbarg = (rxf)->cam_fltr_cbarg; \
220 cbfn(cbarg, rxf->rx); \
228 struct bnad *cbarg; \
[all …]
Dbfa_ioc.c1111 notify->cbfn(notify->cbarg, event); in bfa_ioc_event_notify()
1982 bfa_nw_ioc_hb_check(void *cbarg) in bfa_nw_ioc_hb_check() argument
1984 struct bfa_ioc *ioc = cbarg; in bfa_nw_ioc_hb_check()
2149 mod->mbhdlr[mc].cbarg = ioc->bfa; in bfa_ioc_mbox_attach()
2160 void *cbarg; in bfa_ioc_mbox_poll() local
2187 cbarg = cmd->cbarg; in bfa_ioc_mbox_poll()
2189 cbfn(cbarg); in bfa_ioc_mbox_poll()
2650 bfa_ioc_mbox_mcfunc_t cbfn, void *cbarg) in bfa_nw_ioc_mbox_regisr() argument
2655 mod->mbhdlr[mc].cbarg = cbarg; in bfa_nw_ioc_mbox_regisr()
2668 bfa_mbox_cmd_cbfn_t cbfn, void *cbarg) in bfa_nw_ioc_mbox_queue() argument
[all …]
Dbfa_cee.c166 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg) in bfa_nw_cee_get_attr() argument
181 cee->cbfn.get_attr_cbarg = cbarg; in bfa_nw_cee_get_attr()
195 bfa_cee_isr(void *cbarg, struct bfi_mbmsg *m) in bfa_cee_isr() argument
199 struct bfa_cee *cee = (struct bfa_cee *) cbarg; in bfa_cee_isr()
Dbfa_cee.h64 bfa_cee_get_attr_cbfn_t cbfn, void *cbarg);
Dbfa_cs.h85 typedef void (*bfa_wc_resume_t) (void *cbarg);
Dbna_enet.c877 void *cbarg; \
879 cbarg = (enet)->stop_cbarg; \
882 cbfn(cbarg); \
1357 struct bnad *cbarg; \
1359 cbarg = (_ioceth)->stop_cbarg; \
1362 cbfn(cbarg); \
Dbna_tx_rx.c1459 void *cbarg; \
1461 cbarg = (rx)->stop_cbarg; \
1464 cbfn(cbarg, rx); \
3017 void *cbarg; \
3019 cbarg = (tx)->stop_cbarg; \
3022 cbfn(cbarg, (tx)); \

12