Home
last modified time | relevance | path

Searched refs:port_id (Results 1 – 25 of 65) sorted by relevance

123

/titanic_50/usr/src/uts/sun4v/io/
H A Dds_drv.c335 uint64_t port_id; in ds_port_add() local
341 if (md_get_prop_val(mdp, port, "id", &port_id) != 0) { in ds_port_add()
348 if (port_id > DS_MAX_PORT_ID) { in ds_port_add()
350 __func__, port_id); in ds_port_add()
357 port_id, __func__); in ds_port_add()
361 if (ds_add_port(port_id, ldc_id, DS_DHDL_INVALID, NULL, 1) != 0) in ds_port_add()
370 ds_sp_port_id = port_id; in ds_port_add()
773 ds_add_port(uint64_t port_id, uint64_t ldc_id, ds_domain_hdl_t dhdl, in ds_add_port() argument
779 if (port_id > DS_MAX_PORT_ID) { in ds_add_port()
781 __func__, port_id); in ds_add_port()
[all …]
/titanic_50/usr/src/uts/common/sys/fibre-channel/
H A Dfc_types.h84 typedef struct port_id { struct
86 uint32_t port_id : 24, /* Port Identifier */ argument
90 port_id : 24; /* Port Identifier */ argument
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_sdapi.h135 HBA_WWN port_id,
140 HBA_WWN port_id,
144 HBA_WWN port_id,
148 HBA_WWN port_id,
285 HBA_WWN port_id,
H A Demlxs_dfc.h365 uint32_t port_id; member
537 uint32_t port_id; member
774 uint32_t port_id; member
/titanic_50/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_promif_isadep.c123 int port_id; in walk_cpus_cb() local
130 if ((prom_getprop(node, "portid", (caddr_t)&port_id) == -1) && in walk_cpus_cb()
131 (prom_getprop(node, "upa-portid", (caddr_t)&port_id) == -1) && in walk_cpus_cb()
132 (prom_getprop(node, "cpuid", (caddr_t)&port_id) == -1)) { in walk_cpus_cb()
/titanic_50/usr/src/lib/librstp/common/
H A Drolesel.c219 &stpm->BrId, port->port_id, port->port_id); in updtRolesBridge()
271 if (stpm->rootPortId == port->port_id) { in updtRolesBridge()
392 &this->BrId, port->port_id, port->port_id); in STP_rolesel_update_stpm()
393 if (Received != port->infoIs || this->rootPortId == port->port_id) { in STP_rolesel_update_stpm()
H A Dport.c75 this->port_id = (port_prio << 8) + port_index; in STP_port_create()
141 this->port_id, in STP_port_init()
142 this->port_id); in STP_port_init()
H A Dstpm.c344 STP_stpm_get_port_name_by_id (STPM_T* this, PORT_ID port_id) in STP_stpm_get_port_name_by_id() argument
349 if (port_id == port->port_id) { in STP_stpm_get_port_name_by_id()
H A Dvector.c126 v->design_port = stp_vect_get_short (b->port_id); in STP_VECT_get_vector()
141 stp_vect_set_short (v->design_port, b->port_id); in STP_VECT_set_vector()
H A Dstp_bpdu.h76 unsigned char port_id[2]; member
H A Dstpm.h118 STP_stpm_get_port_name_by_id (STPM_T* this, PORT_ID port_id);
H A Dstp_in.c310 uid_cfg->port_priority = port->port_id >> 8; in STP_IN_port_get_cfg()
357 entry->port_id = port->port_id; in STP_IN_port_get_state()
389 entry->designated_port = port->port_id; in STP_IN_port_get_state()
836 port->port_id = (uid_cfg->port_priority << 8) + port_index; in STP_IN_port_set_cfg()
H A Duid_stp.h165 UID_PORT_ID port_id; member
H A Dport.h103 PORT_ID port_id; /* 17.18.16 */ member
/titanic_50/usr/src/uts/common/sys/
H A Dpppt_ic_if.h231 scsi_devid_desc_t *port_id,
238 scsi_devid_desc_t *port_id,
247 scsi_devid_desc_t *port_id,
253 scsi_devid_desc_t *port_id,
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bay.c265 id_t port_id; in x86pi_gen_bay() local
283 port_id = eport->smbporte_port; in x86pi_gen_bay()
285 rv = smbios_info_port(shp, port_id, &smb_port); in x86pi_gen_bay()
289 f, port_id); in x86pi_gen_bay()
/titanic_50/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c259 la_wwn_t tgt_pwwn, uint32_t port_id);
2912 port->fp_port_id.port_id = 0; in fp_port_startup()
2968 port->fp_port_id.port_id = p2p_info.fca_d_id; in fp_port_startup()
2984 port->fp_port_id.port_id, p2p_info.d_id); in fp_port_startup()
3024 port->fp_port_id.port_id = in fp_port_startup()
4127 src_id = port->fp_port_id.port_id; in fp_port_login()
4145 (port->fp_port_id.port_id & 0xffff00)) { in fp_port_login()
4221 pd->pd_port_id.port_id) == pd); in fp_register_login()
4474 fp_els_init(cmd, port->fp_port_id.port_id, pd->pd_port_id.port_id, in fp_logo_init()
4509 fp_els_init(cmd, port->fp_port_id.port_id, pd->pd_port_id.port_id, in fp_rnid_init()
[all …]
H A Dfctl.c1214 d_id = ((ns_resp_gid_pn_t *)ns_cmd->ns_data_buf)->pid.port_id; in fc_ulp_get_remote_port()
1225 ((ns_req_gan_t *)(ns_cmd->ns_cmd_buf))->pid.port_id = d_id - 1; in fc_ulp_get_remote_port()
1790 pd = fctl_get_remote_port_by_did(port, d_id.port_id); in fc_ulp_get_pwwn_by_did()
2510 s_id = port->fp_port_id.port_id; in fctl_attach_ulps()
3015 s_id = port->fp_port_id.port_id; in fctl_ulp_statec_cb()
3065 d_id.port_id); in fctl_ulp_statec_cb()
3470 pd->pd_port_id.port_id = d_id; in fctl_alloc_remote_port()
3630 head = &port->fp_did_table[D_ID_HASH_FUNC(pd->pd_port_id.port_id, in fctl_enlist_did_table()
3654 ASSERT(tmp_pd->pd_port_id.port_id != in fctl_enlist_did_table()
3655 pd->pd_port_id.port_id); in fctl_enlist_did_table()
[all …]
/titanic_50/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_mac.c617 if (isset(&sc->open_device_map, pi->port_id) != 0) { in t4_mc_setprop()
619 t4_os_link_changed(pi->adapter, pi->port_id, 0); in t4_mc_setprop()
850 if (isset(&sc->open_device_map, pi->port_id) != 0) in t4_init_synchronized()
892 setbit(&sc->open_device_map, pi->port_id); in t4_init_synchronized()
926 clrbit(&sc->open_device_map, pi->port_id); in t4_uninit_synchronized()
1096 if (isset(&sc->open_device_map, pi->port_id) != 0) { in setprop()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_power.c226 const u8_t port_id = PORT_ID(pdev); in lm_set_d3_nwuf() local
254 offset = (0 == port_id) ? NIG_REG_LLH0_ACPI_ENABLE :NIG_REG_LLH1_ACPI_ENABLE; in lm_set_d3_nwuf()
275 … offset = (0 == port_id) ? NIG_REG_P0_ACPI_MF_GLOBAL_EN :NIG_REG_P1_ACPI_MF_GLOBAL_EN; in lm_set_d3_nwuf()
H A Dlm_hw_access.c67 …const u8_t port_id = PORT_ID(pdev); // TBD: E1H - cmng params are c… in lm_cmng_init() local
131 LM_INTMEM_WRITE32(pdev,XSTORM_RATE_SHAPING_PER_VN_VARS_OFFSET((port_id+2*vnic))+i*4, in lm_cmng_init()
148 …LM_INTMEM_WRITE32(pdev,(XSTORM_CMNG_PER_PORT_VARS_OFFSET(port_id) + OFFSETOF(struct cmng_struct_pe… in lm_cmng_init()
156 …LM_INTMEM_WRITE32(pdev,(XSTORM_CMNG_PER_PORT_VARS_OFFSET(port_id) + OFFSETOF(struct cmng_struct_pe… in lm_cmng_init()
164 …LM_INTMEM_WRITE32(pdev,(XSTORM_CMNG_PER_PORT_VARS_OFFSET(port_id) + OFFSETOF(struct cmng_struct_pe… in lm_cmng_init()
176 LM_INTMEM_WRITE32(pdev,XSTORM_FAIRNESS_PER_VN_VARS_OFFSET((port_id+2*vnic))+i*4, in lm_cmng_init()
/titanic_50/usr/src/uts/common/io/chxge/
H A Dosdep.h113 void t1_os_link_changed(ch_t *adapter, int port_id, int link_status,
/titanic_50/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcip.c881 src_id.port_id = sid; in fcip_port_attach()
1239 if (frp->fcipr_d_id.port_id == did) { in fcip_handle_resume()
1334 if (frp->fcipr_d_id.port_id != did) { in fcip_rt_update()
1368 wwn_buf, pmap->map_did.port_id)); in fcip_rt_update()
1385 (frp->fcipr_d_id.port_id != fptr->fcip_broadcast_did)) { in fcip_rt_update()
1403 wwn_buf, frp->fcipr_d_id.port_id)); in fcip_rt_update()
2683 map.map_hard_addr.hard_addr = fcmd->req_id.port_id; in fcip_handle_farp_request()
2775 map.map_hard_addr.hard_addr = fcmd->dest_id.port_id; in fcip_handle_farp_response()
3142 map.map_did.port_id = buf->ub_frame.s_id; in fcip_cache_arp_broadcast()
4410 if ((frp->fcipr_d_id.port_id != 0x0) && in fcip_transport()
[all …]
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_lv.c583 ss->ss_rnid.port_id = ss->ss_p2p_info.fca_d_id; in fcoei_port_manage()
1544 FCOE_V2B_3(els_adisc->nport_id.port_id, FPLD + offset); in fcoei_fill_els_adisc_cmd()
1592 FCOE_V2B_3(els_logo->nport_id.port_id, FPLD + offset); in fcoei_fill_els_logo_cmd()
1608 FCOE_V2B_3(els_rls->rls_portid.port_id, FPLD + offset); in fcoei_fill_els_rls_cmd()
1719 FCOE_V2B_3(els_adisc->nport_id.port_id, FPLD + offset); in fcoei_fill_els_adisc_resp()
1862 els_logo->nport_id.port_id = ss->ss_p2p_info.fca_d_id; in fcoei_logo_peer()
/titanic_50/usr/src/uts/common/io/chxge/com/
H A Dch_subr.c160 link_changed(adapter_t *adapter, int port_id) in link_changed() argument
163 struct cphy *phy = adapter->port[port_id].phy; in link_changed()
164 struct link_config *lc = &adapter->port[port_id].link_config; in link_changed()
175 struct cmac *mac = adapter->port[port_id].mac; in link_changed()
180 t1_os_link_changed(adapter, port_id, link_ok, speed, duplex, fc); in link_changed()

123