Lines Matching refs:fc_lport
74 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev);
75 static int bnx2fc_lport_config(struct fc_lport *lport);
76 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba);
81 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface,
94 static void bnx2fc_port_shutdown(struct fc_lport *lport);
131 static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport)
147 static void bnx2fc_clean_rx_queue(struct fc_lport *lp)
177 static void bnx2fc_abort_io(struct fc_lport *lport)
187 static void bnx2fc_cleanup(struct fc_lport *lport)
262 static int bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp)
428 struct fc_lport *lport;
508 struct fc_lport *lport;
514 struct fc_lport *vn_port;
685 struct fc_lport *lport = shost_priv(shost);
734 static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev)
767 static int bnx2fc_link_ok(struct fc_lport *lport)
799 static int bnx2fc_net_config(struct fc_lport *lport, struct net_device *netdev)
869 struct fc_lport *lport;
870 struct fc_lport *vport;
990 static int bnx2fc_libfc_config(struct fc_lport *lport)
1003 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba)
1021 static int bnx2fc_lport_config(struct fc_lport *lport)
1041 /* Finish fc_lport configuration */
1079 static void bnx2fc_update_src_mac(struct fc_lport *lport, u8 *addr)
1091 static u8 *bnx2fc_get_src_mac(struct fc_lport *lport)
1128 struct fc_lport *n_port = shost_priv(shost);
1132 struct fc_lport *vn_port;
1176 static void bnx2fc_free_vport(struct bnx2fc_hba *hba, struct fc_lport *lport)
1193 struct fc_lport *n_port = shost_priv(shost);
1194 struct fc_lport *vn_port = vport->dd_data;
1197 struct fc_lport *v_port;
1222 struct fc_lport *lport = vport->dd_data;
1487 * Creates a fc_lport instance and a Scsi_Host instance and configure them.
1489 * Returns: Allocated fc_lport or an error pointer
1491 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface,
1495 struct fc_lport *lport, *n_port;
1605 struct fc_lport *lport = ctlr->lp;
1620 static void bnx2fc_if_destroy(struct fc_lport *lport)
1646 struct fc_lport *lport = ctlr->lp;
1695 struct fc_lport *lport;
1835 struct fc_lport *lport;
1858 static void bnx2fc_port_shutdown(struct fc_lport *lport)
1868 struct fc_lport *lport;
1869 struct fc_lport *vport;
1995 struct fc_lport *lport;
2123 static uint bnx2fc_npiv_create_vports(struct fc_lport *lport,
2180 struct fc_lport *lport;
2305 struct fc_lport *lport;
2573 struct fc_lport *lport = shost_priv(shost);
2913 struct fc_lport *lport = shost_priv(shost);
2926 struct fc_lport *lport = shost_priv(shost);