Lines Matching refs:fc_lport
73 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev);
74 static int bnx2fc_lport_config(struct fc_lport *lport);
75 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba);
80 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface,
93 static void bnx2fc_port_shutdown(struct fc_lport *lport);
108 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport) in bnx2fc_netdev()
124 static void bnx2fc_clean_rx_queue(struct fc_lport *lp) in bnx2fc_clean_rx_queue()
158 static void bnx2fc_abort_io(struct fc_lport *lport) in bnx2fc_abort_io()
168 static void bnx2fc_cleanup(struct fc_lport *lport) in bnx2fc_cleanup()
243 static int bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp) in bnx2fc_xmit()
409 struct fc_lport *lport; in bnx2fc_rcv()
496 struct fc_lport *lport; in bnx2fc_recv_frame()
502 struct fc_lport *vn_port; in bnx2fc_recv_frame()
633 struct fc_lport *lport = shost_priv(shost); in bnx2fc_get_host_stats()
677 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev) in bnx2fc_shost_config()
710 static int bnx2fc_link_ok(struct fc_lport *lport) in bnx2fc_link_ok()
742 static int bnx2fc_net_config(struct fc_lport *lport, struct net_device *netdev) in bnx2fc_net_config()
812 struct fc_lport *lport; in bnx2fc_indicate_netevent()
813 struct fc_lport *vport; in bnx2fc_indicate_netevent()
936 static int bnx2fc_libfc_config(struct fc_lport *lport) in bnx2fc_libfc_config()
950 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba) in bnx2fc_em_config()
968 static int bnx2fc_lport_config(struct fc_lport *lport) in bnx2fc_lport_config()
1027 static void bnx2fc_update_src_mac(struct fc_lport *lport, u8 *addr) in bnx2fc_update_src_mac()
1039 static u8 *bnx2fc_get_src_mac(struct fc_lport *lport) in bnx2fc_get_src_mac()
1062 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_create()
1066 struct fc_lport *vn_port; in bnx2fc_vport_create()
1107 static void bnx2fc_free_vport(struct bnx2fc_hba *hba, struct fc_lport *lport) in bnx2fc_free_vport()
1124 struct fc_lport *n_port = shost_priv(shost); in bnx2fc_vport_destroy()
1125 struct fc_lport *vn_port = vport->dd_data; in bnx2fc_vport_destroy()
1128 struct fc_lport *v_port; in bnx2fc_vport_destroy()
1153 struct fc_lport *lport = vport->dd_data; in bnx2fc_vport_disable()
1420 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface, in bnx2fc_if_create()
1424 struct fc_lport *lport, *n_port; in bnx2fc_if_create()
1532 struct fc_lport *lport = ctlr->lp; in bnx2fc_interface_cleanup()
1547 static void bnx2fc_if_destroy(struct fc_lport *lport) in bnx2fc_if_destroy()
1573 struct fc_lport *lport = ctlr->lp; in __bnx2fc_destroy()
1624 struct fc_lport *lport; in bnx2fc_destroy_work()
1766 struct fc_lport *lport; in bnx2fc_ulp_start()
1789 static void bnx2fc_port_shutdown(struct fc_lport *lport) in bnx2fc_port_shutdown()
1799 struct fc_lport *lport; in bnx2fc_stop()
1800 struct fc_lport *vport; in bnx2fc_stop()
1927 struct fc_lport *lport; in bnx2fc_start_disc()
2053 static uint bnx2fc_npiv_create_vports(struct fc_lport *lport, in bnx2fc_npiv_create_vports()
2095 struct fc_lport *lport; in __bnx2fc_enable()
2220 struct fc_lport *lport; in _bnx2fc_create()
2485 struct fc_lport *lport = shost_priv(shost); in bnx2fc_fcoe_reset()