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()
507 struct fc_lport *lport; in bnx2fc_recv_frame()
512 struct fc_lport *vn_port; in bnx2fc_recv_frame()
679 struct fc_lport *lport = shost_priv(shost); in bnx2fc_get_host_stats()
728 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev) in bnx2fc_shost_config()
761 static int bnx2fc_link_ok(struct fc_lport *lport) in bnx2fc_link_ok()
793 static int bnx2fc_net_config(struct fc_lport *lport, struct net_device *netdev) in bnx2fc_net_config()
863 struct fc_lport *lport; in bnx2fc_indicate_netevent()
864 struct fc_lport *vport; in bnx2fc_indicate_netevent()
982 static int bnx2fc_libfc_config(struct fc_lport *lport) in bnx2fc_libfc_config()
995 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba) in bnx2fc_em_config()
1013 static int bnx2fc_lport_config(struct fc_lport *lport) in bnx2fc_lport_config()
1071 static void bnx2fc_update_src_mac(struct fc_lport *lport, u8 *addr) in bnx2fc_update_src_mac()
1083 static u8 *bnx2fc_get_src_mac(struct fc_lport *lport) in bnx2fc_get_src_mac()
1120 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_create()
1124 struct fc_lport *vn_port; in bnx2fc_vport_create()
1168 static void bnx2fc_free_vport(struct bnx2fc_hba *hba, struct fc_lport *lport) in bnx2fc_free_vport()
1185 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_destroy()
1186 struct fc_lport *vn_port = vport->dd_data; in bnx2fc_vport_destroy()
1189 struct fc_lport *v_port; in bnx2fc_vport_destroy()
1214 struct fc_lport *lport = vport->dd_data; in bnx2fc_vport_disable()
1483 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface, in bnx2fc_if_create()
1487 struct fc_lport *lport, *n_port; in bnx2fc_if_create()
1597 struct fc_lport *lport = ctlr->lp; in bnx2fc_interface_cleanup()
1612 static void bnx2fc_if_destroy(struct fc_lport *lport) in bnx2fc_if_destroy()
1638 struct fc_lport *lport = ctlr->lp; in __bnx2fc_destroy()
1687 struct fc_lport *lport; in bnx2fc_port_destroy()
1827 struct fc_lport *lport; in bnx2fc_ulp_start()
1850 static void bnx2fc_port_shutdown(struct fc_lport *lport) in bnx2fc_port_shutdown()
1860 struct fc_lport *lport; in bnx2fc_stop()
1861 struct fc_lport *vport; in bnx2fc_stop()
1987 struct fc_lport *lport; in bnx2fc_start_disc()
2115 static uint bnx2fc_npiv_create_vports(struct fc_lport *lport, in bnx2fc_npiv_create_vports()
2172 struct fc_lport *lport; in __bnx2fc_enable()
2297 struct fc_lport *lport; in _bnx2fc_create()
2565 struct fc_lport *lport = shost_priv(shost); in bnx2fc_fcoe_reset()
2904 struct fc_lport *lport = shost_priv(shost); in bnx2fc_tm_timeout_show()
2917 struct fc_lport *lport = shost_priv(shost); in bnx2fc_tm_timeout_store()