usr/src/cmd/mdb/common/modules/mpt_sas/mpt_sas.c
820
uint_t port_info = FALSE;
usr/src/cmd/mdb/common/modules/mpt_sas/mpt_sas.c
843
'p', MDB_OPT_SETBITS, TRUE, &port_info,
usr/src/cmd/mdb/common/modules/mpt_sas/mpt_sas.c
920
if (port_info)
usr/src/lib/libexacct/demo/exdump.c
186
struct servent *port_info;
usr/src/lib/libexacct/demo/exdump.c
188
port_info = getservbyport(htons(port), NULL);
usr/src/lib/libexacct/demo/exdump.c
189
if (port_info != NULL) {
usr/src/lib/libexacct/demo/exdump.c
190
(void) printf("%s", port_info->s_name);
usr/src/lib/libi2c/common/libi2c_impl.h
103
ui2c_port_info_t port_info;
usr/src/lib/libi2c/common/libi2c_port.c
367
if (ioctl(port->port_fd, UI2C_IOCTL_PORT_INFO, &port->port_info) != 0) {
usr/src/lib/libi2c/common/libi2c_port.c
373
if (port->port_info.upo_error.i2c_error != I2C_CORE_E_OK) {
usr/src/lib/libi2c/common/libi2c_port.c
374
return (i2c_ioctl_error(hdl, &port->port_info.upo_error,
usr/src/lib/libi2c/common/libi2c_port.c
441
return (port->port_info.upo_portno);
usr/src/uts/common/io/bnxe/577xx/hsi/mcp/mac_stx.h
63
typedef struct port_info port_info_t;
usr/src/uts/common/io/comstar/port/fct/fct.c
3600
if (iport->iport_port->port_info == NULL) {
usr/src/uts/common/io/comstar/port/fct/fct.c
3603
ret = iport->iport_port->port_info(FC_TGT_PORT_RLS,
usr/src/uts/common/io/comstar/port/fct/fct.c
667
if (iport->iport_port->port_info == NULL) {
usr/src/uts/common/io/comstar/port/fct/fct.c
671
ret = iport->iport_port->port_info(FC_TGT_PORT_RLS,
usr/src/uts/common/io/comstar/port/fct/fct.c
720
if (iport->iport_port->port_info == NULL) {
usr/src/uts/common/io/comstar/port/fct/fct.c
724
ret = iport->iport_port->port_info(FC_TGT_PORT_RLS,
usr/src/uts/common/io/comstar/port/qlt/qlt.c
1946
port->port_info = qlt_info;
usr/src/uts/common/io/cxgbe/common/common.h
584
int t4_link_set_autoneg(struct port_info *pi, u8 autoneg,
usr/src/uts/common/io/cxgbe/common/common.h
586
int t4_link_set_pause(struct port_info *pi, cc_pause_t pause,
usr/src/uts/common/io/cxgbe/common/common.h
588
int t4_link_set_fec(struct port_info *pi, cc_fec_t fec,
usr/src/uts/common/io/cxgbe/common/common.h
590
int t4_link_set_speed(struct port_info *pi, fw_port_cap32_t speed, u8 en,
usr/src/uts/common/io/cxgbe/common/common.h
678
int t4_init_portinfo_viid(struct port_info *pi, int mbox,
usr/src/uts/common/io/cxgbe/common/common.h
680
int t4_init_portinfo(struct port_info *pi, int mbox,
usr/src/uts/common/io/cxgbe/common/common.h
877
struct port_info *pi,
usr/src/uts/common/io/cxgbe/common/common.h
919
void t4_handle_get_port_info(struct port_info *pi, const __be64 *rpl);
usr/src/uts/common/io/cxgbe/common/common.h
920
int t4_update_port_info(struct port_info *pi);
usr/src/uts/common/io/cxgbe/common/common.h
921
int t4_get_link_params(struct port_info *pi, unsigned int *link_okp,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
10673
struct port_info *p = adap2pinfo(adap, i);
usr/src/uts/common/io/cxgbe/common/t4_hw.c
10687
static int t4_init_portmirror(struct port_info *pi, int mbox,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
10724
struct port_info *pi = adap2pinfo(adap, i);
usr/src/uts/common/io/cxgbe/common/t4_hw.c
10758
int t4_init_portinfo_viid(struct port_info *pi, int mbox,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
10875
int t4_init_portinfo(struct port_info *pi, int mbox,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
10887
struct port_info *pi = adap2pinfo(adap, i);
usr/src/uts/common/io/cxgbe/common/t4_hw.c
8770
struct port_info *pi,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
9079
int t4_link_set_autoneg(struct port_info *pi, u8 autoneg,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
9102
int t4_link_set_pause(struct port_info *pi, cc_pause_t pause,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
9159
static void t4_link_update_fec(struct port_info *pi, u32 max_speed,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
9210
int t4_link_set_fec(struct port_info *pi, cc_fec_t fec,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
9232
int t4_link_set_speed(struct port_info *pi, fw_port_cap32_t speed, u8 en,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
9435
static void t4_init_link_config(struct port_info *pi, fw_port_cap32_t pcaps,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
9525
void t4_handle_get_port_info(struct port_info *pi, const __be64 *rpl)
usr/src/uts/common/io/cxgbe/common/t4_hw.c
9663
int t4_update_port_info(struct port_info *pi)
usr/src/uts/common/io/cxgbe/common/t4_hw.c
9698
int t4_get_link_params(struct port_info *pi, unsigned int *link_okp,
usr/src/uts/common/io/cxgbe/common/t4_hw.c
9770
struct port_info *pi = NULL;
usr/src/uts/common/io/cxgbe/cxgbe/cxgbe.c
121
struct port_info *pi = ddi_get_parent_data(dip);
usr/src/uts/common/io/cxgbe/cxgbe/cxgbe.c
140
struct port_info *pi = ddi_get_parent_data(dip);
usr/src/uts/common/io/cxgbe/shared/shared.h
57
struct port_info;
usr/src/uts/common/io/cxgbe/shared/shared.h
58
extern int t4_cxgbe_attach(struct port_info *, dev_info_t *);
usr/src/uts/common/io/cxgbe/shared/shared.h
59
extern int t4_cxgbe_detach(struct port_info *);
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
308
struct port_info *port; /* the port this txq belongs to */
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
362
struct port_info *port; /* the port this rxq belongs to */
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
498
struct port_info *port[MAX_NPORTS];
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
606
static inline struct port_info *
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
619
t4_port_is_10xg(const struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
654
int t4_port_full_init(struct port_info *);
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
655
void t4_port_queues_enable(struct port_info *pi);
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
656
void t4_port_queues_disable(struct port_info *pi);
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
671
int t4_setup_port_queues(struct port_info *pi);
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
672
int t4_teardown_port_queues(struct port_info *pi);
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
678
void t4_eq_update_dbq_timer(struct sge_eq *, struct port_info *);
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
686
void t4_mc_cb_init(struct port_info *);
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
688
void t4_mac_rx(struct port_info *pi, struct sge_rxq *rxq, mblk_t *m);
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
689
void t4_mac_tx_update(struct port_info *pi, struct sge_txq *txq);
usr/src/uts/common/io/cxgbe/t4nex/adapter.h
691
const char **t4_get_priv_props(struct port_info *, size_t *);
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1009
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1052
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1062
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1088
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1124
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1153
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1254
t4_mac_flowctrl_to_link_caps(struct port_info *pi, link_flowctrl_t fc,
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1317
t4_mac_fec_cap_to_link_caps(struct port_info *pi, link_fec_t v,
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1358
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
138
t4_priv_prop_supported(struct port_info *pi, const t4_priv_prop_t *prop)
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1483
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
152
t4_get_priv_props(struct port_info *pi, size_t *alloc_sz)
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1603
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1706
t4_init_synchronized(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1773
t4_uninit_synchronized(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1832
t4_propinfo_priv(struct port_info *pi, const char *name,
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
1885
t4_getprop_priv(struct port_info *pi, const char *name, uint_t size, void *val)
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
2005
t4_setprop_priv(struct port_info *pi, const char *name, const void *val)
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
2174
t4_mc_cb_init(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
2185
struct port_info *pi = sc->port[idx];
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
2192
t4_mac_rx(struct port_info *pi, struct sge_rxq *rxq, mblk_t *m)
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
2198
t4_mac_tx_update(struct port_info *pi, struct sge_txq *txq)
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
267
t4_port_to_media(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
371
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
53
static int t4_init_synchronized(struct port_info *pi);
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
54
static int t4_uninit_synchronized(struct port_info *pi);
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
55
static void t4_propinfo_priv(struct port_info *, const char *,
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
57
static int t4_getprop_priv(struct port_info *, const char *, uint_t, void *);
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
58
static int t4_setprop_priv(struct port_info *, const char *, const void *);
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
725
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
737
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
747
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
766
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
809
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
846
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_mac.c
862
struct port_info *pi = arg;
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2003
struct port_info *pi;
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2036
struct port_info *pi;
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2060
t4_port_speed_name(const struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2275
read_fec_pair(struct port_info *pi, uint32_t lo_reg, uint32_t high_reg)
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2292
struct port_info *pi = ksp->ks_private;
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2338
setup_port_fec_kstats(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2380
t4_port_full_init(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2428
t4_port_full_uninit(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2444
t4_port_queues_enable(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2480
t4_port_queues_disable(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2543
struct port_info *pi = sc->port[idx];
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2777
t4_cxgbe_attach(struct port_info *pi, dev_info_t *dip)
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
2826
t4_cxgbe_detach(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
380
struct port_info *pi;
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
398
struct port_info *pi = sc->port[i];
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
465
struct port_info *pi = sc->port[i];
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
525
struct port_info *pi = sc->port[i];
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
617
struct port_info *pi;
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
756
struct port_info *pi;
usr/src/uts/common/io/cxgbe/t4nex/t4_nexus.c
91
static int t4_port_full_uninit(struct port_info *);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
100
static int alloc_eq(struct adapter *sc, struct port_info *pi,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
103
static int alloc_txq(struct port_info *pi, struct sge_txq *txq, int idx);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
104
static int free_txq(struct port_info *pi, struct sge_txq *txq);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1129
alloc_iq_fl(struct port_info *pi, struct sge_iq *iq, struct sge_fl *fl,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1303
free_iq_fl(struct port_info *pi, struct sge_iq *iq, struct sge_fl *fl)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
138
static int write_txpkt_wr(struct port_info *pi, struct sge_txq *txq, mblk_t *m,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1387
alloc_rxq(struct port_info *pi, struct sge_rxq *rxq, int intr_idx, int i)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1403
free_rxq(struct port_info *pi, struct sge_rxq *rxq)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
141
static inline void write_ulp_cpl_sgl(struct port_info *pi, struct sge_txq *txq,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1420
eth_eq_alloc(struct adapter *sc, struct port_info *pi, struct sge_eq *eq)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1495
alloc_eq(struct adapter *sc, struct port_info *pi, struct sge_eq *eq)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
150
static kstat_t *setup_port_config_kstats(struct port_info *pi);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
151
static kstat_t *setup_port_info_kstats(struct port_info *pi);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
152
static kstat_t *setup_rxq_kstats(struct port_info *pi, struct sge_rxq *rxq,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
156
static kstat_t *setup_txq_kstats(struct port_info *pi, struct sge_txq *txq,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1570
alloc_txq(struct port_info *pi, struct sge_txq *txq, int idx)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1618
free_txq(struct port_info *pi, struct sge_txq *txq)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2621
write_txpkt_wr(struct port_info *pi, struct sge_txq *txq, mblk_t *m,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2804
write_ulp_cpl_sgl(struct port_info *pi, struct sge_txq *txq,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3342
setup_port_config_kstats(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3390
setup_port_info_kstats(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3432
struct port_info *pi = ksp->ks_private;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
347
first_vector(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3499
setup_rxq_kstats(struct port_info *pi, struct sge_rxq *rxq, int idx)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
356
struct port_info *p = sc->port[i];
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3573
setup_txq_kstats(struct port_info *pi, struct sge_txq *txq, int idx)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
378
port_intr_iq(struct port_info *pi, int idx)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
400
t4_setup_port_queues(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
483
t4_teardown_port_queues(struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
577
t4_eq_update_dbq_timer(struct sge_eq *eq, struct port_info *pi)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
91
static int alloc_iq_fl(struct port_info *pi, struct sge_iq *iq,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
93
static int free_iq_fl(struct port_info *pi, struct sge_iq *iq,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
95
static int alloc_rxq(struct port_info *pi, struct sge_rxq *rxq, int intr_idx,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
97
static int free_rxq(struct port_info *pi, struct sge_rxq *rxq);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
970
struct port_info *pi = txq->port;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
98
static int eth_eq_alloc(struct adapter *sc, struct port_info *pi,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
1201
fct_port->port_info = emlxs_fct_port_info;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1446
emlxs_fca_bind_port(dev_info_t *dip, fc_fca_port_info_t *port_info,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1491
port_info->pi_error = FC_OUTOFBOUNDS;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1508
port_info->pi_error = FC_ALREADY;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1519
port_info->pi_error = FC_OUTOFBOUNDS;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1530
bind_info->port_num, port_info, bind_info);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1589
port_info->pi_port_state = FC_STATE_OFFLINE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1590
port_info->pi_topology = FC_TOP_UNKNOWN;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1594
port_info->pi_port_state = FC_STATE_OFFLINE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1595
port_info->pi_topology = FC_TOP_UNKNOWN;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1599
port_info->pi_port_state = FC_STATE_OFFLINE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1600
port_info->pi_topology = FC_TOP_UNKNOWN;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1606
port_info->pi_port_state = FC_STATE_LOOP;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1610
port_info->pi_topology = FC_TOP_PUBLIC_LOOP;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1612
port_info->pi_topology = FC_TOP_PRIVATE_LOOP;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1615
port_info->pi_topology = FC_TOP_FABRIC;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1616
port_info->pi_port_state = FC_STATE_ONLINE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1624
port_info->pi_port_state |= FC_STATE_1GBIT_SPEED;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1629
port_info->pi_port_state |= FC_STATE_1GBIT_SPEED;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1633
port_info->pi_port_state |= FC_STATE_2GBIT_SPEED;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1637
port_info->pi_port_state |= FC_STATE_4GBIT_SPEED;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1641
port_info->pi_port_state |= FC_STATE_8GBIT_SPEED;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1645
port_info->pi_port_state |= FC_STATE_10GBIT_SPEED;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1649
port_info->pi_port_state |= FC_STATE_16GBIT_SPEED;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1653
port_info->pi_port_state |= FC_STATE_32GBIT_SPEED;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1687
port->ulp_statec = port_info->pi_port_state;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1695
(void *) &port_info->pi_login_params.common_service,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1700
emlxs_swap_service_params((SERV_PARM *)&port_info->pi_login_params.
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1704
port_info->pi_login_params.common_service.btob_credit = 0xffff;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1707
(void *) &port_info->pi_login_params.node_ww_name,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1711
(void *) &port_info->pi_login_params.nport_ww_name,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1721
if ((port_info->pi_login_params.class_1.class_opt) & 0x0080) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1722
port_info->pi_login_params.class_1.class_opt &= ~0x0080;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1725
if ((port_info->pi_login_params.class_2.class_opt) & 0x0080) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1726
port_info->pi_login_params.class_2.class_opt &= ~0x0080;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1729
if ((port_info->pi_login_params.class_1.class_opt) & 0x8000) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1730
port_info->pi_login_params.class_1.class_opt &= ~0x8000;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1733
if ((port_info->pi_login_params.class_2.class_opt) & 0x8000) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1734
port_info->pi_login_params.class_2.class_opt &= ~0x8000;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1741
if ((port_info->pi_login_params.class_1.data[0]) & 0x80) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1742
port_info->pi_login_params.class_1.data[0] &= ~0x80;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1745
if ((port_info->pi_login_params.class_2.data[0]) & 0x80) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1746
port_info->pi_login_params.class_2.data[0] &= ~0x80;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1751
port_info->pi_s_id.port_id = port->did;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1752
port_info->pi_s_id.priv_lilp_posit = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1753
port_info->pi_hard_addr.hard_addr = cfg[CFG_ASSIGN_ALPA].current;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1756
bzero(&port_info->pi_rnid_params, sizeof (port_info->pi_rnid_params));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1758
(void) snprintf((char *)port_info->pi_rnid_params.params.global_id,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1759
(sizeof (port_info->pi_rnid_params.params.global_id)-1),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1765
port_info->pi_rnid_params.params.unit_type = RNID_HBA;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1766
port_info->pi_rnid_params.params.port_id = port->did;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1767
port_info->pi_rnid_params.params.ip_version = RNID_IPV4;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1770
bzero(&port_info->pi_attrs, sizeof (port_info->pi_attrs));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1772
(void) strncpy(port_info->pi_attrs.manufacturer,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1774
(sizeof (port_info->pi_attrs.manufacturer)-1));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1776
port_info->pi_rnid_params.status = FC_SUCCESS;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1778
(void) strncpy(port_info->pi_attrs.serial_number, vpd->serial_num,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1779
(sizeof (port_info->pi_attrs.serial_number)-1));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1781
(void) snprintf(port_info->pi_attrs.firmware_version,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1782
(sizeof (port_info->pi_attrs.firmware_version)-1), "%s (%s)",
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1786
(void) snprintf(port_info->pi_attrs.option_rom_version,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1787
(sizeof (port_info->pi_attrs.option_rom_version)-1),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1790
(void) snprintf(port_info->pi_attrs.option_rom_version,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1791
(sizeof (port_info->pi_attrs.option_rom_version)-1),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1795
(void) snprintf(port_info->pi_attrs.driver_version,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1796
(sizeof (port_info->pi_attrs.driver_version)-1), "%s (%s)",
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1799
(void) strncpy(port_info->pi_attrs.driver_name, DRIVER_NAME,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1800
(sizeof (port_info->pi_attrs.driver_name)-1));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1802
port_info->pi_attrs.vendor_specific_id =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1805
port_info->pi_attrs.supported_cos = LE_SWAP32(FC_NS_CLASS3);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1807
port_info->pi_attrs.max_frame_size = FF_FRAME_SIZE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1810
port_info->pi_rnid_params.params.num_attached = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1844
port_info->pi_attrs.hba_fru_details.port_index = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1879
port_info->pi_attrs.hba_fru_details.port_index = port->vpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1891
port_info->pi_attrs.hba_fru_details.port_index =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1895
dptr = (char *)&port_info->pi_attrs.hba_fru_details.high;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1904
port_info->pi_attrs.hba_fru_details.high =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1905
LE_SWAP64(port_info->pi_attrs.hba_fru_details.high);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1907
dptr = (char *)&port_info->pi_attrs.hba_fru_details.low;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1916
port_info->pi_attrs.hba_fru_details.low =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1917
LE_SWAP64(port_info->pi_attrs.hba_fru_details.low);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1922
(void) strncpy((caddr_t)port_info->pi_attrs.sym_node_name,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1924
(void) strncpy((caddr_t)port_info->pi_attrs.sym_port_name,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1928
(void) snprintf(port_info->pi_attrs.hardware_version,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1929
(sizeof (port_info->pi_attrs.hardware_version)-1),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1934
port_info->pi_attrs.supported_speed |=
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1938
port_info->pi_attrs.supported_speed |=
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1942
port_info->pi_attrs.supported_speed |=
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1946
port_info->pi_attrs.supported_speed |= FC_HBA_PORTSPEED_8GBIT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1949
port_info->pi_attrs.supported_speed |= FC_HBA_PORTSPEED_4GBIT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1952
port_info->pi_attrs.supported_speed |= FC_HBA_PORTSPEED_2GBIT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1955
port_info->pi_attrs.supported_speed |= FC_HBA_PORTSPEED_1GBIT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1959
(void) strncpy(port_info->pi_attrs.model, hba->model_info.model,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1960
(sizeof (port_info->pi_attrs.model)-1));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1961
(void) strncpy(port_info->pi_attrs.model_description,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1963
(sizeof (port_info->pi_attrs.model_description)-1));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1978
"Port info: pi_topology = %x", port_info->pi_topology);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1980
"Port info: pi_error = %x", port_info->pi_error);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1982
"Port info: pi_port_state = %x", port_info->pi_port_state);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1985
"Port info: port_id = %x", port_info->pi_s_id.port_id);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1988
port_info->pi_s_id.priv_lilp_posit);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1992
port_info->pi_hard_addr.hard_addr);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1996
port_info->pi_rnid_params.status);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
1999
port_info->pi_rnid_params.params.global_id);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2002
port_info->pi_rnid_params.params.unit_type);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2005
port_info->pi_rnid_params.params.port_id);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2008
port_info->pi_rnid_params.params.num_attached);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2011
port_info->pi_rnid_params.params.ip_version);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2014
port_info->pi_rnid_params.params.udp_port);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2017
port_info->pi_rnid_params.params.ip_addr);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2020
port_info->pi_rnid_params.params.specific_id_resv);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2023
port_info->pi_rnid_params.params.topo_flags);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2027
port_info->pi_attrs.manufacturer);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2030
port_info->pi_attrs.serial_number);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2032
"Port info: model = %s", port_info->pi_attrs.model);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2035
port_info->pi_attrs.model_description);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2038
port_info->pi_attrs.hardware_version);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2041
port_info->pi_attrs.driver_version);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2044
port_info->pi_attrs.option_rom_version);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2047
port_info->pi_attrs.firmware_version);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2050
port_info->pi_attrs.driver_name);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2053
port_info->pi_attrs.vendor_specific_id);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2056
port_info->pi_attrs.supported_cos);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2059
port_info->pi_attrs.supported_speed);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2062
port_info->pi_attrs.max_frame_size);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2067
port_info->pi_attrs.hba_fru_details.port_index);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2070
port_info->pi_attrs.hba_fru_details.high);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2073
port_info->pi_attrs.hba_fru_details.low);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2079
port_info->pi_attrs.sym_node_name);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
2082
port_info->pi_attrs.sym_port_name);
usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_lv.c
121
fcoei_bind_port(dev_info_t *dip, fc_fca_port_info_t *port_info,
usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_lv.c
140
port_info->pi_error = FC_ALREADY;
usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_lv.c
149
port_info->pi_error = FC_OUTOFBOUNDS;
usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_lv.c
163
port_info->pi_rnid_params.status = FC_FAILURE;
usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_lv.c
168
fcoei_populate_hba_fru_details(ss, port_info);
usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_lv.c
175
port_info->pi_port_state = FC_STATE_FCA_IS_NODMA;
usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_lv.c
180
bcopy(&ss->ss_els_logi, &port_info->pi_login_params,
usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_lv.c
74
fc_fca_port_info_t *port_info);
usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_lv.c
769
fc_fca_port_info_t *port_info)
usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei_lv.c
771
fca_port_attrs_t *port_attrs = &(port_info->pi_attrs);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2619
ql_bind_port(dev_info_t *dip, fc_fca_port_info_t *port_info,
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2642
port_info->pi_error = FC_NPIV_NOT_SUPPORTED;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2647
port_info->pi_error = FC_NPIV_WRONG_TOPOLOGY;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2653
port_info->pi_error = FC_NPIV_FDISC_FAILED;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2659
port_info->pi_error = FC_OUTOFBOUNDS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2665
port_info->pi_error = FC_OUTOFBOUNDS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2683
port_info->pi_error = FC_ALREADY;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2696
port_info->pi_error = FC_NPIV_FDISC_FAILED;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2717
port_info->pi_s_id.port_id = vha->d_id.b24;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2721
(void *)&port_info->pi_login_params,
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2725
port_info->pi_hard_addr.hard_addr = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2734
port_info->pi_hard_addr.hard_addr =
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2741
port_info->pi_hard_addr.hard_addr = d_id.b24;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2746
sizeof (port_info->pi_rnid_params.params),
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2747
(caddr_t)&port_info->pi_rnid_params.params) ==
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2749
port_info->pi_rnid_params.status = FC_SUCCESS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2751
port_info->pi_rnid_params.status = FC_FAILURE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2755
ql_populate_hba_fru_details(ha, port_info);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2759
bcopy(&port_info->pi_attrs, ha->pi_attrs,
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2763
port_info->pi_rnid_params.status = FC_FAILURE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2765
bcopy(ha->pi_attrs, &port_info->pi_attrs,
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2777
port_info->pi_port_state = vha->state;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2782
port_info->pi_port_state, port_info->pi_s_id.port_id);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_hba_fru.c
231
fc_fca_port_info_t *port_info)
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_hba_fru.c
233
fca_port_attrs_t *attrs = &port_info->pi_attrs;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_hba_fru.c
242
attrs = &port_info->pi_attrs;
usr/src/uts/common/io/fibre-channel/impl/fp.c
13780
fc_fca_port_info_t *port_info;
usr/src/uts/common/io/fibre-channel/impl/fp.c
13823
port_info = kmem_zalloc(sizeof (*port_info), KM_SLEEP);
usr/src/uts/common/io/fibre-channel/impl/fp.c
13833
port->fp_fca_dip, port_info, &bind_info);
usr/src/uts/common/io/fibre-channel/impl/fp.c
13843
if (port_info->pi_port_state & FC_STATE_FCA_IS_NODMA) {
usr/src/uts/common/io/fibre-channel/impl/fp.c
13845
port_info->pi_port_state &= ~(FC_STATE_FCA_IS_NODMA);
usr/src/uts/common/io/fibre-channel/impl/fp.c
13848
port->fp_bind_state = port->fp_state = port_info->pi_port_state;
usr/src/uts/common/io/fibre-channel/impl/fp.c
13849
port->fp_service_params = port_info->pi_login_params;
usr/src/uts/common/io/fibre-channel/impl/fp.c
13850
port->fp_hard_addr = port_info->pi_hard_addr;
usr/src/uts/common/io/fibre-channel/impl/fp.c
13853
port->fp_hba_port_attrs = port_info->pi_attrs;
usr/src/uts/common/io/fibre-channel/impl/fp.c
13855
if (port_info->pi_rnid_params.status == FC_SUCCESS) {
usr/src/uts/common/io/fibre-channel/impl/fp.c
13857
bcopy(&port_info->pi_rnid_params.params,
usr/src/uts/common/io/fibre-channel/impl/fp.c
13864
node_namelen = strlen((char *)&port_info->pi_attrs.sym_node_name);
usr/src/uts/common/io/fibre-channel/impl/fp.c
13866
bcopy(&port_info->pi_attrs.sym_node_name,
usr/src/uts/common/io/fibre-channel/impl/fp.c
13871
port_namelen = strlen((char *)&port_info->pi_attrs.sym_port_name);
usr/src/uts/common/io/fibre-channel/impl/fp.c
13873
bcopy(&port_info->pi_attrs.sym_port_name,
usr/src/uts/common/io/fibre-channel/impl/fp.c
13885
class = port_info->pi_login_params.class_1.class_opt;
usr/src/uts/common/io/fibre-channel/impl/fp.c
13888
class = port_info->pi_login_params.class_2.class_opt;
usr/src/uts/common/io/fibre-channel/impl/fp.c
13891
class = port_info->pi_login_params.class_3.class_opt;
usr/src/uts/common/io/fibre-channel/impl/fp.c
13902
kmem_free(port_info, sizeof (*port_info));
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
1006
rval = fcip_handle_resume(fport, port_info, cmd);
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
1160
fcip_handle_resume(fcip_port_info_t *fport, fc_ulp_port_info_t *port_info,
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
1189
fport->fcipp_topology = port_info->port_flags;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
1190
fport->fcipp_pstate = port_info->port_state;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
1621
fcip_port_detach(opaque_t ulp_handle, fc_ulp_port_info_t *port_info,
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
1651
port_info->port_handle) {
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
1715
if (fport->fcipp_handle == port_info->port_handle) {
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
172
fc_ulp_port_info_t *port_info, fc_attach_cmd_t cmd);
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
754
fcip_port_attach(opaque_t ulp_handle, fc_ulp_port_info_t *port_info,
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
779
ww_pn = &port_info->port_pwwn;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
802
ddi_get_instance(port_info->port_dip));
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
815
port_info->port_handle) {
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
823
port_info->port_dip)));
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
839
ddi_get_instance(port_info->port_dip));
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
851
fport->fcipp_linkage = *port_info->port_linkage;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
852
fport->fcipp_handle = port_info->port_handle;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
853
fport->fcipp_dip = port_info->port_dip;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
854
fport->fcipp_topology = port_info->port_flags;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
855
fport->fcipp_pstate = port_info->port_state;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
856
fport->fcipp_naa = port_info->port_pwwn.w.naa_id;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
857
bcopy(&port_info->port_pwwn, &fport->fcipp_pwwn,
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
859
bcopy(&port_info->port_nwwn, &fport->fcipp_nwwn,
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
861
fport->fcipp_fca_pkt_size = port_info->port_fca_pkt_size;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
862
fport->fcipp_cmd_dma_attr = *port_info->port_cmd_dma_attr;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
863
fport->fcipp_resp_dma_attr = *port_info->port_resp_dma_attr;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
864
fport->fcipp_fca_acc_attr = *port_info->port_acc_attr;
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
908
if (FC_PORT_STATE_MASK(port_info->port_state) ==
usr/src/uts/common/io/fibre-channel/ulp/fcip.c
996
if (fport->fcipp_handle == port_info->port_handle) {
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ib_cma.c
2466
ibt_hca_portinfo_t *port_info, *tmp;
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ib_cma.c
2477
status = ibt_query_hca_ports_byguid(hca_guidp[i], 0, &port_info,
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ib_cma.c
2485
for (p = 0, tmp = port_info; p < num_ports; p++, tmp++) {
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ib_cma.c
2543
ibt_free_portinfo(port_info, port_size);
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1775
ibt_hca_portinfo_t *port_info;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1793
rc = ibt_query_hca_ports(uctxt->hca->hdl, cmd.port_num, &port_info,
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1804
cmd.port_num, port_info, port_info->p_opaque1,
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1805
port_info->p_sm_lid);
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1809
resp.state = port_info->p_linkstate;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1810
resp.max_mtu = port_info->p_mtu;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1811
resp.active_mtu = port_info->p_mtu;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1812
resp.gid_tbl_len = port_info->p_sgid_tbl_sz;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1813
resp.port_cap_flags = port_info->p_capabilities;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1814
resp.max_msg_sz = port_info->p_msg_sz;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1815
resp.bad_pkey_cntr = port_info->p_pkey_violations;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1816
resp.qkey_viol_cntr = port_info->p_qkey_violations;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1817
resp.pkey_tbl_len = port_info->p_pkey_tbl_sz;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1818
resp.lid = port_info->p_opaque1;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1819
resp.sm_lid = port_info->p_sm_lid;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1820
resp.lmc = port_info->p_lmc;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1821
resp.max_vl_num = port_info->p_max_vl;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1822
resp.sm_sl = port_info->p_sm_sl;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1823
resp.subnet_timeout = port_info->p_subnet_timeout;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1824
resp.init_type_reply = port_info->p_init_type_reply;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1825
resp.active_width = port_info->p_width_active;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1826
resp.active_speed = port_info->p_speed_active;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1827
resp.phys_state = port_info->p_phys_state;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1829
ibt_free_portinfo(port_info, port_info_size);
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1872
ibt_hca_portinfo_t *port_info;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1892
rc = ibt_query_hca_ports(uctxt->hca->hdl, cmd.port_num, &port_info,
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1903
port_info->p_sgid_tbl_sz);
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1906
if (cmd.gid_index >= port_info->p_sgid_tbl_sz) {
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1909
cmd.gid_index, port_info->p_sgid_tbl_sz);
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1911
ibt_free_portinfo(port_info, port_info_size);
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1919
temp = htonll(port_info->p_sgid_tbl[cmd.gid_index].gid.ucast_gid.
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1922
temp = htonll(port_info->p_sgid_tbl[cmd.gid_index].gid.ucast_gid.
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1934
ibt_free_portinfo(port_info, port_info_size);
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1976
ibt_hca_portinfo_t *port_info;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1995
rc = ibt_query_hca_ports(uctxt->hca->hdl, cmd.port_num, &port_info,
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
2006
"%d", cmd.port_num, cmd.pkey_index, port_info->p_pkey_tbl_sz);
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
2009
if (cmd.pkey_index >= port_info->p_pkey_tbl_sz) {
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
2012
cmd.pkey_index, port_info->p_pkey_tbl_sz);
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
2014
ibt_free_portinfo(port_info, port_info_size);
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
2020
resp.pkey = port_info->p_pkey_tbl[cmd.pkey_index];
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
2022
ibt_free_portinfo(port_info, port_info_size);
usr/src/uts/common/io/ib/ibnex/ibnex_ioctl.c
3221
&query_hca_port_32->port_info, ibt_pi,
usr/src/uts/common/io/ib/ibnex/ibnex_ioctl.c
3224
if (ddi_copyout(&query_hca_port_32->port_info,
usr/src/uts/common/io/ib/ibnex/ibnex_ioctl.c
3225
&((ibnex_ctl_query_hca_port_32_t *)arg)->port_info,
usr/src/uts/common/io/ib/ibnex/ibnex_ioctl.c
3245
&query_hca_port->port_info, ibt_pi,
usr/src/uts/common/io/ib/ibnex/ibnex_ioctl.c
3248
if (ddi_copyout(&query_hca_port->port_info,
usr/src/uts/common/io/ib/ibnex/ibnex_ioctl.c
3249
&((ibnex_ctl_query_hca_port_t *)arg)->port_info,
usr/src/uts/common/io/ib/ibtl/ibtl_hca.c
1268
ibt_free_portinfo(ibt_hca_portinfo_t *port_info, uint_t size)
usr/src/uts/common/io/ib/ibtl/ibtl_hca.c
1271
port_info, size);
usr/src/uts/common/io/ib/ibtl/ibtl_hca.c
1273
if ((port_info == NULL) || (size == 0)) {
usr/src/uts/common/io/ib/ibtl/ibtl_hca.c
1276
kmem_free(port_info, size);
usr/src/uts/common/io/qede/579xx/hsi/mcp/mcp_private.h
289
struct drv_port_info_t port_info;
usr/src/uts/common/sys/fct.h
260
fct_status_t (*port_info)(uint32_t cmd,
usr/src/uts/common/sys/fibre-channel/impl/fc_fcaif.h
167
fc_fca_port_info_t *port_info, fc_fca_bind_info_t *bind_info);
usr/src/uts/common/sys/ib/ibnex/ibnex_devctl.h
598
ibnex_ctl_hca_port_info_t port_info; /* out: port information */
usr/src/uts/common/sys/ib/ibnex/ibnex_devctl.h
612
ibnex_ctl_hca_port_info_32_t port_info; /* out: port information */
usr/src/uts/common/sys/ib/ibtl/ibti_common.h
770
void ibt_free_portinfo(ibt_hca_portinfo_t *port_info, uint_t size);