Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/uts/sun4v/io/
H A Dds_drv.c314 uint64_t port_id; in ds_port_add() local
320 if (md_get_prop_val(mdp, port, "id", &port_id) != 0) { in ds_port_add()
327 if (port_id > DS_MAX_PORT_ID) { in ds_port_add()
329 __func__, port_id); in ds_port_add()
336 port_id, __func__); in ds_port_add()
340 if (ds_add_port(port_id, ldc_id, DS_DHDL_INVALID, NULL, 1) != 0) in ds_port_add()
349 ds_sp_port_id = port_id; in ds_port_add()
750 ds_add_port(uint64_t port_id, uint64_t ldc_id, ds_domain_hdl_t dhdl, in ds_add_port() argument
756 if (port_id > DS_MAX_PORT_ID) { in ds_add_port()
758 __func__, port_id); in ds_add_port()
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_init_fw_funcs.c248 u8 tc, voq, port_id, num_tcs_in_port; in ecore_cmdq_lines_rt_init() local
254 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in ecore_cmdq_lines_rt_init()
257 if (!port_params[port_id].active) in ecore_cmdq_lines_rt_init()
261 phys_lines = port_params[port_id].num_pbf_cmd_lines - PBF_CMDQ_PURE_LB_LINES; in ecore_cmdq_lines_rt_init()
266 if (((port_params[port_id].active_phys_tcs >> tc) & 0x1) == 1) in ecore_cmdq_lines_rt_init()
272 if (((port_params[port_id].active_phys_tcs >> tc) & 0x1) == 1) { in ecore_cmdq_lines_rt_init()
273 voq = PHYS_VOQ(port_id, tc, max_phys_tcs_per_port); in ecore_cmdq_lines_rt_init()
279 ecore_cmdq_lines_voq_rt_init(p_hwfn, LB_VOQ(port_id), PBF_CMDQ_PURE_LB_LINES); in ecore_cmdq_lines_rt_init()
308 u8 tc, voq, port_id, num_tcs_in_port; in ecore_btb_blocks_rt_init() local
310 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in ecore_btb_blocks_rt_init()
[all …]
H A Decore_iro.h43 #define TSTORM_PORT_STAT_OFFSET(port_id) (IRO[1].base + ((port_id) * IRO… argument
46 #define TSTORM_LL2_PORT_STAT_OFFSET(port_id) (IRO[2].base + ((port_id) * IRO… argument
H A Decore_hw.h251 u8 port_id);
/illumos-gate/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
/illumos-gate/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 */ member
90 port_id : 24; /* Port Identifier */ argument
/illumos-gate/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 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 Dstpm.h118 STP_stpm_get_port_name_by_id (STPM_T* this, PORT_ID port_id);
H A Duid_stp.h165 UID_PORT_ID port_id; member
/illumos-gate/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,
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bay.c274 id_t port_id; in x86pi_gen_bay() local
292 port_id = eport->smbporte_port; in x86pi_gen_bay()
294 rv = smbios_info_port(shp, port_id, &smb_port); in x86pi_gen_bay()
298 f, port_id); in x86pi_gen_bay()
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c260 la_wwn_t tgt_pwwn, uint32_t port_id);
2913 port->fp_port_id.port_id = 0; in fp_port_startup()
2969 port->fp_port_id.port_id = p2p_info.fca_d_id; in fp_port_startup()
2985 port->fp_port_id.port_id, p2p_info.d_id); in fp_port_startup()
3025 port->fp_port_id.port_id = in fp_port_startup()
4128 src_id = port->fp_port_id.port_id; in fp_port_login()
4146 (port->fp_port_id.port_id & 0xffff00)) { in fp_port_login()
4222 pd->pd_port_id.port_id) == pd); in fp_register_login()
4475 fp_els_init(cmd, port->fp_port_id.port_id, pd->pd_port_id.port_id, in fp_logo_init()
4510 fp_els_init(cmd, port->fp_port_id.port_id, pd->pd_port_id.port_id, in fp_rnid_init()
[all …]
H A Dfctl.c1215 d_id = ((ns_resp_gid_pn_t *)ns_cmd->ns_data_buf)->pid.port_id; in fc_ulp_get_remote_port()
1226 ((ns_req_gan_t *)(ns_cmd->ns_cmd_buf))->pid.port_id = d_id - 1; in fc_ulp_get_remote_port()
1791 pd = fctl_get_remote_port_by_did(port, d_id.port_id); in fc_ulp_get_pwwn_by_did()
2511 s_id = port->fp_port_id.port_id; in fctl_attach_ulps()
3016 s_id = port->fp_port_id.port_id; in fctl_ulp_statec_cb()
3066 d_id.port_id); in fctl_ulp_statec_cb()
3471 pd->pd_port_id.port_id = d_id; in fctl_alloc_remote_port()
3631 head = &port->fp_did_table[D_ID_HASH_FUNC(pd->pd_port_id.port_id, in fctl_enlist_did_table()
3655 ASSERT(tmp_pd->pd_port_id.port_id != in fctl_enlist_did_table()
3656 pd->pd_port_id.port_id); in fctl_enlist_did_table()
[all …]
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_virtio_console.c245 pci_vtcon_port_add(struct pci_vtcon_softc *sc, int port_id, const char *name, in pci_vtcon_port_add() argument
250 port = &sc->vsc_ports[port_id]; in pci_vtcon_port_add()
255 port->vsp_id = port_id; in pci_vtcon_port_add()
266 port->vsp_txq = (port_id + 1) * 2; in pci_vtcon_port_add()
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcip.c865 src_id.port_id = sid; in fcip_port_attach()
1220 if (frp->fcipr_d_id.port_id == did) { in fcip_handle_resume()
1311 if (frp->fcipr_d_id.port_id != did) { in fcip_rt_update()
1340 wwn_buf, pmap->map_did.port_id)); in fcip_rt_update()
1357 (frp->fcipr_d_id.port_id != fptr->fcip_broadcast_did)) { in fcip_rt_update()
1375 wwn_buf, frp->fcipr_d_id.port_id)); in fcip_rt_update()
2617 map.map_hard_addr.hard_addr = fcmd->req_id.port_id; in fcip_handle_farp_request()
2705 map.map_hard_addr.hard_addr = fcmd->dest_id.port_id; in fcip_handle_farp_response()
3067 map.map_did.port_id = buf->ub_frame.s_id; in fcip_cache_arp_broadcast()
4255 if ((frp->fcipr_d_id.port_id != 0x0) && in fcip_transport()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dosdep.h111 void t1_os_link_changed(ch_t *adapter, int port_id, int link_status,
/illumos-gate/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()
1545 FCOE_V2B_3(els_adisc->nport_id.port_id, FPLD + offset); in fcoei_fill_els_adisc_cmd()
1593 FCOE_V2B_3(els_logo->nport_id.port_id, FPLD + offset); in fcoei_fill_els_logo_cmd()
1609 FCOE_V2B_3(els_rls->rls_portid.port_id, FPLD + offset); in fcoei_fill_els_rls_cmd()
1720 FCOE_V2B_3(els_adisc->nport_id.port_id, FPLD + offset); in fcoei_fill_els_adisc_resp()
1863 els_logo->nport_id.port_id = ss->ss_p2p_info.fca_d_id; in fcoei_logo_peer()

1234