Lines Matching defs:bfa

56 	struct bfa_s *bfa;
67 bfa_status_t bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q,
69 void bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs);
72 void bfa_sgpg_wait(struct bfa_s *bfa, struct bfa_sgpg_wqe_s *wqe, int nsgpgs);
73 void bfa_sgpg_wcancel(struct bfa_s *bfa, struct bfa_sgpg_wqe_s *wqe);
90 struct bfa_s *bfa; /* backpointer to BFA */
130 /* Pointer to the bfa rport that was
204 struct bfa_s *bfa;
227 void bfa_fcxp_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
235 struct list_head rp_unused_q; /* unused bfa rports */
253 void bfa_rport_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
254 void bfa_rport_res_recfg(struct bfa_s *bfa, u16 num_rport_fw);
295 struct bfa_s *bfa; /* backpointer to BFA */
322 struct bfa_s *bfa; /* bfa instance */
359 struct bfa_s *bfa; /* back pointer to BFA */
379 void bfa_uf_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
380 void bfa_uf_res_recfg(struct bfa_s *bfa, u16 num_uf_fw);
401 * LPS - bfa lport login/logout service interface
405 struct bfa_s *bfa; /* parent bfa instance */
453 void bfa_lps_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
516 struct bfa_s *bfa; /* parent BFA instance */
574 void bfa_fcport_init(struct bfa_s *bfa);
575 void bfa_fcport_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
578 * bfa fcport API functions
580 bfa_status_t bfa_fcport_enable(struct bfa_s *bfa);
581 bfa_status_t bfa_fcport_disable(struct bfa_s *bfa);
582 bfa_status_t bfa_fcport_cfg_speed(struct bfa_s *bfa,
584 enum bfa_port_speed bfa_fcport_get_speed(struct bfa_s *bfa);
585 bfa_status_t bfa_fcport_cfg_topology(struct bfa_s *bfa,
587 enum bfa_port_topology bfa_fcport_get_topology(struct bfa_s *bfa);
588 enum bfa_port_topology bfa_fcport_get_cfg_topology(struct bfa_s *bfa);
589 bfa_status_t bfa_fcport_cfg_hardalpa(struct bfa_s *bfa, u8 alpa);
590 u8 bfa_fcport_get_myalpa(struct bfa_s *bfa);
591 bfa_status_t bfa_fcport_clr_hardalpa(struct bfa_s *bfa);
592 bfa_status_t bfa_fcport_cfg_maxfrsize(struct bfa_s *bfa, u16 maxsize);
593 u16 bfa_fcport_get_maxfrsize(struct bfa_s *bfa);
594 u8 bfa_fcport_get_rx_bbcredit(struct bfa_s *bfa);
595 void bfa_fcport_get_attr(struct bfa_s *bfa, struct bfa_port_attr_s *attr);
596 void bfa_fcport_event_register(struct bfa_s *bfa,
599 bfa_boolean_t bfa_fcport_is_disabled(struct bfa_s *bfa);
600 bfa_boolean_t bfa_fcport_is_dport(struct bfa_s *bfa);
601 bfa_boolean_t bfa_fcport_is_ddport(struct bfa_s *bfa);
602 bfa_status_t bfa_fcport_set_qos_bw(struct bfa_s *bfa,
604 enum bfa_port_speed bfa_fcport_get_ratelim_speed(struct bfa_s *bfa);
606 void bfa_fcport_set_tx_bbcredit(struct bfa_s *bfa, u16 tx_bbcredit);
607 bfa_boolean_t bfa_fcport_is_ratelim(struct bfa_s *bfa);
610 bfa_boolean_t bfa_fcport_is_linkup(struct bfa_s *bfa);
611 bfa_status_t bfa_fcport_get_stats(struct bfa_s *bfa,
613 bfa_status_t bfa_fcport_clear_stats(struct bfa_s *bfa,
615 bfa_boolean_t bfa_fcport_is_qos_enabled(struct bfa_s *bfa);
616 bfa_boolean_t bfa_fcport_is_trunk_enabled(struct bfa_s *bfa);
617 void bfa_fcport_dportenable(struct bfa_s *bfa);
618 void bfa_fcport_dportdisable(struct bfa_s *bfa);
619 bfa_status_t bfa_fcport_is_pbcdisabled(struct bfa_s *bfa);
620 bfa_status_t bfa_fcport_cfg_bbcr(struct bfa_s *bfa,
622 bfa_status_t bfa_fcport_get_bbcr_attr(struct bfa_s *bfa,
626 * bfa rport API functions
628 struct bfa_rport_s *bfa_rport_create(struct bfa_s *bfa, void *rport_drv);
637 void bfa_cb_rport_scn_online(struct bfa_s *bfa);
638 void bfa_cb_rport_scn_offline(struct bfa_s *bfa);
649 void bfa_rport_set_lunmask(struct bfa_s *bfa, struct bfa_rport_s *rp);
650 void bfa_rport_unset_lunmask(struct bfa_s *bfa, struct bfa_rport_s *rp);
653 * bfa fcxp API functions
655 struct bfa_fcxp_s *bfa_fcxp_req_rsp_alloc(void *bfad_fcxp, struct bfa_s *bfa,
662 void bfa_fcxp_req_rsp_alloc_wait(struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe,
671 void bfa_fcxp_walloc_cancel(struct bfa_s *bfa,
687 u32 bfa_fcxp_get_maxrsp(struct bfa_s *bfa);
688 void bfa_fcxp_res_recfg(struct bfa_s *bfa, u16 num_fcxp_fw);
703 * bfa uf API functions
705 void bfa_uf_recv_register(struct bfa_s *bfa, bfa_cb_uf_recv_t ufrecv,
710 * bfa lport service api
713 u32 bfa_lps_get_max_vport(struct bfa_s *bfa);
714 struct bfa_lps_s *bfa_lps_alloc(struct bfa_s *bfa);
723 u8 bfa_lps_get_fwtag(struct bfa_s *bfa, u8 lp_tag);
724 u32 bfa_lps_get_base_pid(struct bfa_s *bfa);
725 u8 bfa_lps_get_tag_from_pid(struct bfa_s *bfa, u32 pid);
733 bfa_status_t bfa_faa_query(struct bfa_s *bfa, struct bfa_faa_attr_s *attr,
778 struct bfa_s *bfa; /* Back pointer to BFA */
795 struct bfa_s *bfa; /* Back pointer to BFA */
804 void bfa_fcdiag_intr(struct bfa_s *bfa, struct bfi_msg_s *msg);
806 bfa_status_t bfa_fcdiag_loopback(struct bfa_s *bfa,
811 bfa_status_t bfa_fcdiag_queuetest(struct bfa_s *bfa, u32 ignore,
814 bfa_status_t bfa_fcdiag_lb_is_running(struct bfa_s *bfa);
815 bfa_status_t bfa_dport_enable(struct bfa_s *bfa, u32 lpcnt, u32 pat,
817 bfa_status_t bfa_dport_disable(struct bfa_s *bfa, bfa_cb_diag_t cbfn,
819 bfa_status_t bfa_dport_start(struct bfa_s *bfa, u32 lpcnt, u32 pat,
821 bfa_status_t bfa_dport_show(struct bfa_s *bfa,