| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_vport.c | 297 struct lpfc_vport *pport = (struct lpfc_vport *) shost->hostdata; in lpfc_vport_create() local 298 struct lpfc_hba *phba = pport->phba; in lpfc_vport_create() 402 vport->cfg_lun_queue_depth = phba->pport->cfg_lun_queue_depth; in lpfc_vport_create() 415 vport->fdmi_hba_mask = phba->pport->fdmi_hba_mask; in lpfc_vport_create() 416 vport->fdmi_port_mask = phba->pport->fdmi_port_mask; in lpfc_vport_create() 424 test_bit(FC_VFI_REGISTERED, &pport->fc_flag)) { in lpfc_vport_create() 446 (pport->port_state < LPFC_FABRIC_CFG_LINK) || in lpfc_vport_create() 462 ndlp = lpfc_findnode_did(phba->pport, Fabric_DID); in lpfc_vport_create() 591 ndlp = lpfc_findnode_did(phba->pport, Fabric_DID); in enable_vport() 639 !test_bit(FC_UNLOADING, &phba->pport->load_flag)) { in lpfc_vport_delete() [all …]
|
| H A D | lpfc_init.c | 420 struct lpfc_vport *vport = phba->pport; in lpfc_config_port_post() 639 pmb->vport = phba->pport; in lpfc_config_port_post() 659 pmb->vport = phba->pport; in lpfc_config_port_post() 763 struct lpfc_vport *vport = phba->pport; in lpfc_hba_init_link_fc_topology() 899 if (test_bit(FC_UNLOADING, &phba->pport->load_flag)) in lpfc_hba_down_prep() 900 lpfc_cleanup_discovery_resources(phba->pport); in lpfc_hba_down_prep() 1204 spin_lock_irqsave(&phba->pport->work_port_lock, iflag); in lpfc_hb_timeout() 1205 tmo_posted = phba->pport->work_port_events & WORKER_HB_TMO; in lpfc_hb_timeout() 1207 phba->pport->work_port_events |= WORKER_HB_TMO; in lpfc_hb_timeout() 1208 spin_unlock_irqrestore(&phba->pport->work_port_lock, iflag); in lpfc_hb_timeout() [all …]
|
| H A D | lpfc_sli.c | 1035 (!test_bit(FC_UNLOADING, &phba->pport->load_flag))) in lpfc_handle_rrq_active() 1178 if (test_bit(FC_UNLOADING, &phba->pport->load_flag)) { in lpfc_set_rrq_active() 2020 sync_buf->vport = phba->pport; in lpfc_issue_cmf_sync_wqe() 2864 if (!test_bit(FC_UNLOADING, &phba->pport->load_flag) && in lpfc_sli_def_mbox_cmpl() 2886 !test_bit(FC_UNLOADING, &phba->pport->load_flag) && in lpfc_sli_def_mbox_cmpl() 3069 lpfc_debugfs_disc_trc(phba->pport, in lpfc_sli_handle_mb_event() 3222 if (test_bit(FC_UNLOADING, &phba->pport->load_flag)) { in lpfc_nvme_unsol_ls_handler() 3226 } else if (!phba->nvmet_support && !phba->pport->localport) { in lpfc_nvme_unsol_ls_handler() 3249 ndlp = lpfc_findnode_did(phba->pport, sid); in lpfc_nvme_unsol_ls_handler() 3446 saveq->vport = phba->pport; in lpfc_sli_process_unsol_iocb() [all …]
|
| H A D | lpfc_bsg.c | 477 cmdiocbq->vport = phba->pport; in lpfc_bsg_send_mgmt_cmd() 1468 ndlp = lpfc_findnode_did(phba->pport, phba->ct_ctx[tag].SID); in lpfc_issue_ct_rsp() 1525 ctiocb->vport = phba->pport; in lpfc_issue_ct_rsp() 1685 shost = lpfc_shost_from_vport(phba->pport); in lpfc_bsg_diag_mode_enter() 1727 shost = lpfc_shost_from_vport(phba->pport); in lpfc_bsg_diag_mode_exit() 1992 if (test_bit(FC_VFI_REGISTERED, &phba->pport->fc_flag)) { in lpfc_sli4_diag_fcport_reg_setup() 1996 phba->pport->fc_myDID, phba->fcf.fcfi, in lpfc_sli4_diag_fcport_reg_setup() 1997 phba->sli4_hba.vfi_ids[phba->pport->vfi], in lpfc_sli4_diag_fcport_reg_setup() 1998 phba->vpi_ids[phba->pport->vpi]); in lpfc_sli4_diag_fcport_reg_setup() 2001 return lpfc_issue_reg_vfi(phba->pport); in lpfc_sli4_diag_fcport_reg_setup() [all …]
|
| H A D | lpfc_ct.c | 942 if (vport == phba->pport && test_bit(FC_UNLOADING, &vport->load_flag)) { in lpfc_cmpl_ct_cmd_gid_ft() 1158 if (vport == phba->pport && test_bit(FC_UNLOADING, &vport->load_flag)) { in lpfc_cmpl_ct_cmd_gid_pt() 2118 if ((vport == phba->pport) && phba->nvmet_support) { in lpfc_ns_cmd() 2196 ndlp = lpfc_findnode_did(phba->pport, FDMI_DID); in lpfc_fdmi_rprt_defer() 2306 ndlp = lpfc_findnode_did(phba->pport, FDMI_DID); in lpfc_cmpl_ct_disc_fdmi() 2373 ndlp = lpfc_findnode_did(phba->pport, FDMI_DID); in lpfc_cmpl_ct_disc_fdmi() 2475 ndlp = lpfc_findnode_did(phba->pport, FDMI_DID); in lpfc_fdmi_change_check() 2499 ndlp = lpfc_findnode_did(phba->pport, FDMI_DID); in lpfc_fdmi_change_check() 2783 if ((phba->sli_rev == LPFC_SLI_REV4) && (vport == phba->pport) && in lpfc_fdmi_port_attr_fc4type() 3022 if (vport == phba->pport && in lpfc_fdmi_port_attr_active_fc4type() [all …]
|
| H A D | lpfc_scsi.c | 145 spin_lock_irqsave(&phba->pport->work_port_lock, flags); in lpfc_rampdown_queue_depth() 146 evt_posted = phba->pport->work_port_events & WORKER_RAMP_DOWN_QUEUE; in lpfc_rampdown_queue_depth() 148 phba->pport->work_port_events |= WORKER_RAMP_DOWN_QUEUE; in lpfc_rampdown_queue_depth() 149 spin_unlock_irqrestore(&phba->pport->work_port_lock, flags); in lpfc_rampdown_queue_depth() 2534 struct lpfc_vport *vport = phba->pport; in lpfc_bg_scsi_prep_dma_buf_s3() 3081 struct lpfc_vport *vport = phba->pport; in lpfc_scsi_prep_dma_buf_s4() 3308 struct lpfc_vport *vport = phba->pport; in lpfc_bg_scsi_prep_dma_buf_s4() 3693 shost = lpfc_shost_from_vport(phba->pport); in lpfc_unblock_requests() 3726 shost = lpfc_shost_from_vport(phba->pport); in lpfc_block_requests() 5358 phba->pport->vmid_priority_tagging == in lpfc_queuecommand()
|
| H A D | lpfc_attr.c | 305 if (vport->phba->pport->vmid_flag & LPFC_VMID_TYPE_PRIO) { in lpfc_vmid_info_show() 327 if (vport->phba->pport->vmid_flag & LPFC_VMID_TYPE_PRIO) { in lpfc_vmid_info_show() 364 if (vport->phba->pport->vmid_flag & LPFC_VMID_TYPE_PRIO) in lpfc_vmid_info_show() 1537 &phba_other->pport->fc_flag)) { in lpfc_reset_pci_bus() 1592 if (!test_bit(FC_OFFLINE_MODE, &phba->pport->fc_flag)) { in lpfc_selective_reset() 1746 before_fc_flag = phba->pport->fc_flag; in lpfc_sli4_pdev_reg_request() 2149 buf, status, phba->pport->fc_flag); in lpfc_board_mode_store() 2207 if (test_bit(FC_OFFLINE_MODE, &phba->pport->fc_flag)) in lpfc_get_hba_info() 4273 err = lpfc_issue_lip(lpfc_shost_from_vport(phba->pport)); in lpfc_topology_store() 4415 err = lpfc_issue_lip(lpfc_shost_from_vport(phba->pport)); in lpfc_link_speed_store()
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfad.c | 244 bfad->pport.flags |= BFAD_PORT_DELETE; in bfad_sm_created() 440 port_drv = &bfad->pport; in bfa_fcb_lport_new() 869 bfad->pport.flags |= BFAD_PORT_DELETE; in bfad_fcs_stop() 900 if (bfad->pport.im_port == NULL) { in bfad_cfg_pport() 905 rc = bfad_im_scsi_host_alloc(bfad, bfad->pport.im_port, in bfad_cfg_pport() 910 bfad->pport.roles |= BFA_LPORT_ROLE_FCP_IM; in bfad_cfg_pport() 923 (bfad->pport.roles & BFA_LPORT_ROLE_FCP_IM)) { in bfad_uncfg_pport() 924 bfad_im_scsi_host_free(bfad, bfad->pport.im_port); in bfad_uncfg_pport() 925 bfad_im_port_clean(bfad->pport.im_port); in bfad_uncfg_pport() 926 kfree(bfad->pport.im_port); in bfad_uncfg_pport() [all …]
|
| H A D | bfad_im.c | 517 if ((bfad->pport.flags & BFAD_PORT_DELETE) || in bfa_fcb_itnim_offline() 677 struct Scsi_Host *shost = bfad->pport.im_port->shost; in bfad_aen_im_notify_handler()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_stats.c | 875 &priv->stats.pport.IEEE_802_3_counters, 884 struct mlx5e_pport_stats *pstats = &priv->stats.pport; 1066 &priv->stats.pport.RFC_2863_counters, 1072 struct mlx5e_pport_stats *pstats = &priv->stats.pport; 1125 &priv->stats.pport.RFC_2819_counters, 1131 struct mlx5e_pport_stats *pstats = &priv->stats.pport; 1333 MLX5E_READ_CTR32_BE(&priv->stats.pport in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 1341 &priv->stats.pport.phy_statistical_counters, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 1350 &priv->stats.pport.phy_statistical_counters, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 1357 &priv->stats.pport.phy_recovery_counters, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | sysfs.c | 19 return &dd->pport[port_num - 1]; in hfi1_get_pportdata_kobj() 108 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in cc_prescan_show() 118 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in cc_prescan_store() 249 struct hfi1_ibport *ibp = &dd->pport[port_num - 1].ibport_data; in sl2sc_attr_show()
|
| H A D | pin_system.c | 40 ret = hfi1_mmu_rb_register(pq, &sdma_rb_ops, dd->pport->hfi1_wq, in hfi1_init_system_pinning()
|
| H A D | firmware.c | 1729 struct hfi1_pportdata *ppd = dd->pport; in parse_platform_config() 1901 struct hfi1_pportdata *ppd = dd->pport; in get_integrated_platform_config_field() 2038 struct hfi1_pportdata *ppd = dd->pport; in get_platform_config_field()
|
| H A D | debugfs.c | 438 avail = hfi1_read_portcntrs(dd->pport, &names, NULL); in portnames_read() 1190 for (ppd = dd->pport, j = 0; j < dd->num_pports; j++, ppd++) in hfi1_dbg_ibdev_init()
|
| /linux/drivers/net/ethernet/rocker/ |
| H A D | rocker_ofdpa.c | 198 u32 pport; member 1181 __be16 vlan_id, bool ttl_check, u32 pport) in ofdpa_group_l3_unicast() argument 1196 entry->l3_unicast.group_id = ROCKER_GROUP_L2_INTERFACE(vlan_id, pport); in ofdpa_group_l3_unicast() 1304 ofdpa_port->pport); in ofdpa_port_ipv4_neigh() 1455 ROCKER_GROUP_L2_INTERFACE(vlan_id, p->pport); in ofdpa_port_vlan_flood_group() 1491 out_pport = ofdpa_port->pport; in ofdpa_port_vlan_l2_groups() 1580 u32 in_pport = ofdpa_port->pport; in ofdpa_port_ctrl_vlan_acl() 1643 err = ofdpa_flow_tbl_term_mac(ofdpa_port, ofdpa_port->pport, in_pport_mask, in ofdpa_port_ctrl_vlan_term() 1713 u32 in_pport = ofdpa_port->pport; in ofdpa_port_vlan() 1829 u32 out_pport = ofdpa_port->pport; in ofdpa_port_fdb_learn() [all …]
|
| H A D | rocker.h | 45 u32 pport; member
|
| /linux/drivers/scsi/csiostor/ |
| H A D | csio_init.c | 268 0, hw->pport[0].portid, false, NULL); in csio_create_queues() 278 hw->pport[0].portid, true, NULL); in csio_create_queues() 286 mgmtm->iq_idx, hw->pport[0].portid, NULL); in csio_create_queues() 991 ln->portid = hw->pport[i].portid; in csio_probe_one() 1135 ln->portid = hw->pport[i].portid; in csio_pci_resume()
|
| H A D | csio_lnode.c | 352 if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_1G) in csio_ln_fdmi_rhba_cbfn() 354 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_10G) in csio_ln_fdmi_rhba_cbfn() 356 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_25G) in csio_ln_fdmi_rhba_cbfn() 358 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_40G) in csio_ln_fdmi_rhba_cbfn() 360 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_50G) in csio_ln_fdmi_rhba_cbfn() 362 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_100G) in csio_ln_fdmi_rhba_cbfn() 768 if (hw->pport[i].portid == portid) in csio_fcoe_enable_link() 769 memcpy(hw->pport[i].mac, lcmd->phy_mac, 6); in csio_fcoe_enable_link()
|
| H A D | csio_mb.c | 1382 struct csio_pport *port = &hw->pport[port_id]; in csio_mb_portmod_changed() 1433 hw->pport[port_id].link_status = in csio_mb_fwevt_handler() 1441 hw->pport[port_id].link_status = in csio_mb_fwevt_handler() 1445 hw->pport[port_id].link_speed = fwcap_to_fwspeed(linkattr); in csio_mb_fwevt_handler() 1448 hw->pport[port_id].link_status ? "UP" : "DOWN"); in csio_mb_fwevt_handler() 1450 if (mod_type != hw->pport[port_id].mod_type) { in csio_mb_fwevt_handler() 1451 hw->pport[port_id].mod_type = mod_type; in csio_mb_fwevt_handler()
|
| H A D | csio_hw.c | 1364 hw->pport[i].portid = -1; in csio_get_device_params() 1428 hw->pport[i].portid = j++; in csio_get_device_params() 1429 csio_dbg(hw, "Found Port:%d\n", hw->pport[i].portid); in csio_get_device_params() 1792 portid = hw->pport[i].portid; in csio_enable_ports() 1837 csio_init_link_config(&hw->pport[i].link_cfg, pcaps, acaps); in csio_enable_ports() 1839 csio_link_l1cfg(&hw->pport[i].link_cfg, fw_caps, &rcaps); in csio_enable_ports() 2651 hw->pport[i].mod_type = FW_PORT_MOD_TYPE_NA; in csio_hw_initialize()
|
| H A D | csio_hw.h | 523 struct csio_pport pport[CSIO_MAX_PPORTS]; /* Ports (XGMACs) */ member
|
| /linux/arch/mips/include/asm/sgi/ |
| H A D | ioc.h | 121 struct pi1_regs pport; member
|
| /linux/Documentation/i2c/busses/ |
| H A D | i2c-parport.rst | 145 This driver is NOT the same as the i2c-pport driver found in the i2c 146 package. The i2c-pport driver makes use of modern parallel port features so
|
| /linux/drivers/scsi/elx/efct/ |
| H A D | efct_xport.c | 969 struct efct_vport *pport = shost ? in efct_vport_create() local 972 struct efct *efct = pport ? pport->efct : NULL; in efct_vport_create()
|
| /linux/net/tipc/ |
| H A D | socket.c | 2202 u32 pport = tsk_peer_port(tsk); in tipc_sk_filter_connect() local 2230 if (oport != pport || onode != pnode) in tipc_sk_filter_connect() 2262 if (likely(con_msg && !err && pport == oport && in tipc_sk_filter_connect() 2835 u32 pport = tsk_peer_port(tsk); in tipc_sk_check_probing_state() local 2843 tipc_node_remove_conn(sock_net(sk), pnode, pport); in tipc_sk_check_probing_state() 2849 pnode, self, pport, oport, TIPC_OK); in tipc_sk_check_probing_state()
|