Lines Matching refs:fc_lport
76 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev);
77 static int bnx2fc_lport_config(struct fc_lport *lport);
78 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba);
83 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface,
96 static void bnx2fc_port_shutdown(struct fc_lport *lport);
133 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev()
149 static void bnx2fc_clean_rx_queue(struct fc_lport *lp) in bnx2fc_clean_rx_queue()
179 static void bnx2fc_abort_io(struct fc_lport *lport) in bnx2fc_abort_io()
189 static void bnx2fc_cleanup(struct fc_lport *lport) in bnx2fc_cleanup()
264 static int bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp) in bnx2fc_xmit()
427 struct fc_lport *lport; in bnx2fc_rcv()
510 struct fc_lport *lport; in bnx2fc_recv_frame()
515 struct fc_lport *vn_port; in bnx2fc_recv_frame()
682 struct fc_lport *lport = shost_priv(shost); in bnx2fc_get_host_stats()
731 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev) in bnx2fc_shost_config()
764 static int bnx2fc_link_ok(struct fc_lport *lport) in bnx2fc_link_ok()
796 static int bnx2fc_net_config(struct fc_lport *lport, struct net_device *netdev) in bnx2fc_net_config()
866 struct fc_lport *lport; in bnx2fc_indicate_netevent()
867 struct fc_lport *vport; in bnx2fc_indicate_netevent()
985 static int bnx2fc_libfc_config(struct fc_lport *lport) in bnx2fc_libfc_config()
998 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba) in bnx2fc_em_config()
1016 static int bnx2fc_lport_config(struct fc_lport *lport) in bnx2fc_lport_config()
1074 static void bnx2fc_update_src_mac(struct fc_lport *lport, u8 *addr) in bnx2fc_update_src_mac()
1086 static u8 *bnx2fc_get_src_mac(struct fc_lport *lport) in bnx2fc_get_src_mac()
1123 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_create()
1127 struct fc_lport *vn_port; in bnx2fc_vport_create()
1171 static void bnx2fc_free_vport(struct bnx2fc_hba *hba, struct fc_lport *lport) in bnx2fc_free_vport()
1188 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_destroy()
1189 struct fc_lport *vn_port = vport->dd_data; in bnx2fc_vport_destroy()
1192 struct fc_lport *v_port; in bnx2fc_vport_destroy()
1217 struct fc_lport *lport = vport->dd_data; in bnx2fc_vport_disable()
1486 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface, in bnx2fc_if_create()
1490 struct fc_lport *lport, *n_port; in bnx2fc_if_create()
1600 struct fc_lport *lport = ctlr->lp; in bnx2fc_interface_cleanup()
1615 static void bnx2fc_if_destroy(struct fc_lport *lport) in bnx2fc_if_destroy()
1641 struct fc_lport *lport = ctlr->lp; in __bnx2fc_destroy()
1690 struct fc_lport *lport; in bnx2fc_port_destroy()
1830 struct fc_lport *lport; in bnx2fc_ulp_start()
1853 static void bnx2fc_port_shutdown(struct fc_lport *lport) in bnx2fc_port_shutdown()
1863 struct fc_lport *lport; in bnx2fc_stop()
1864 struct fc_lport *vport; in bnx2fc_stop()
1990 struct fc_lport *lport; in bnx2fc_start_disc()
2118 static uint bnx2fc_npiv_create_vports(struct fc_lport *lport, in bnx2fc_npiv_create_vports()
2175 struct fc_lport *lport; in __bnx2fc_enable()
2300 struct fc_lport *lport; in _bnx2fc_create()
2568 struct fc_lport *lport = shost_priv(shost); in bnx2fc_fcoe_reset()
2907 struct fc_lport *lport = shost_priv(shost); in bnx2fc_tm_timeout_show()
2920 struct fc_lport *lport = shost_priv(shost); in bnx2fc_tm_timeout_store()