| /linux/drivers/char/ |
| H A D | ppdev.c | 122 struct parport *pport; in pp_read() local 138 pport = pp->pdev->port; in pp_read() 139 mode = pport->ieee1284.mode & ~(IEEE1284_DEVICEID | IEEE1284_ADDR); in pp_read() 158 if (pport->ieee1284.mode & IEEE1284_ADDR) in pp_read() 159 fn = pport->ops->epp_read_addr; in pp_read() 161 fn = pport->ops->epp_read_data; in pp_read() 162 bytes_read = (*fn)(pport, kbuffer, need, flags); in pp_read() 164 bytes_read = parport_read(pport, kbuffer, need); in pp_read() 202 struct parport *pport; in pp_write() local 214 pport = pp->pdev->port; in pp_write() [all …]
|
| /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 | 1034 (!test_bit(FC_UNLOADING, &phba->pport->load_flag))) in lpfc_handle_rrq_active() 1177 if (test_bit(FC_UNLOADING, &phba->pport->load_flag)) { in lpfc_set_rrq_active() 2019 sync_buf->vport = phba->pport; in lpfc_issue_cmf_sync_wqe() 2863 if (!test_bit(FC_UNLOADING, &phba->pport->load_flag) && in lpfc_sli_def_mbox_cmpl() 2885 !test_bit(FC_UNLOADING, &phba->pport->load_flag) && in lpfc_sli_def_mbox_cmpl() 3068 lpfc_debugfs_disc_trc(phba->pport, in lpfc_sli_handle_mb_event() 3221 if (test_bit(FC_UNLOADING, &phba->pport->load_flag)) { in lpfc_nvme_unsol_ls_handler() 3225 } else if (!phba->nvmet_support && !phba->pport->localport) { in lpfc_nvme_unsol_ls_handler() 3248 ndlp = lpfc_findnode_did(phba->pport, sid); in lpfc_nvme_unsol_ls_handler() 3445 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() 1470 ndlp = lpfc_findnode_did(phba->pport, phba->ct_ctx[tag].SID); in lpfc_issue_ct_rsp() 1527 ctiocb->vport = phba->pport; in lpfc_issue_ct_rsp() 1687 shost = lpfc_shost_from_vport(phba->pport); in lpfc_bsg_diag_mode_enter() 1729 shost = lpfc_shost_from_vport(phba->pport); in lpfc_bsg_diag_mode_exit() 1994 if (test_bit(FC_VFI_REGISTERED, &phba->pport->fc_flag)) { in lpfc_sli4_diag_fcport_reg_setup() 1998 phba->pport->fc_myDID, phba->fcf.fcfi, in lpfc_sli4_diag_fcport_reg_setup() 1999 phba->sli4_hba.vfi_ids[phba->pport->vfi], in lpfc_sli4_diag_fcport_reg_setup() 2000 phba->vpi_ids[phba->pport->vpi]); in lpfc_sli4_diag_fcport_reg_setup() 2003 return lpfc_issue_reg_vfi(phba->pport); in lpfc_sli4_diag_fcport_reg_setup() [all …]
|
| /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/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 | pcie.c | 550 if (dd && dd->pport) { in pci_mmio_enabled() 551 words = read_port_cntr(dd->pport, C_RX_WORDS, CNTR_INVALID_VL); in pci_mmio_enabled()
|
| 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()
|
| H A D | user_sdma.c | 417 if (vl >= dd->pport->vls_operational || in hfi1_user_sdma_process_request() 427 if (egress_pkey_check(dd->pport, slid, pkey, sc, PKEY_CHECK_INVALID)) { in hfi1_user_sdma_process_request()
|
| /linux/drivers/net/ethernet/rocker/ |
| H A D | rocker_main.c | 865 val |= 1ULL << rocker_port->pport; in rocker_port_set_enable() 867 val &= ~(1ULL << rocker_port->pport); in rocker_port_set_enable() 1106 rocker_port->pport)) in rocker_cmd_get_port_settings_prep() 1263 rocker_port->pport)) in rocker_cmd_set_port_settings_ethtool_prep() 1293 rocker_port->pport)) in rocker_cmd_set_port_settings_macaddr_prep() 1317 rocker_port->pport)) in rocker_cmd_set_port_settings_mtu_prep() 1341 rocker_port->pport)) in rocker_cmd_set_port_learning_prep() 2278 rocker_port->pport)) in rocker_cmd_get_port_stats_prep() 2294 u32 pport; in rocker_cmd_get_port_stats_ethtool_proc() local 2309 pport = rocker_tlv_get_u32(stats_attrs[ROCKER_TLV_CMD_PORT_STATS_PPORT]); in rocker_cmd_get_port_stats_ethtool_proc() [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 | 2197 u32 pport = tsk_peer_port(tsk); in tipc_sk_filter_connect() local 2225 if (oport != pport || onode != pnode) in tipc_sk_filter_connect() 2257 if (likely(con_msg && !err && pport == oport && in tipc_sk_filter_connect() 2830 u32 pport = tsk_peer_port(tsk); in tipc_sk_check_probing_state() local 2838 tipc_node_remove_conn(sock_net(sk), pnode, pport); in tipc_sk_check_probing_state() 2844 pnode, self, pport, oport, TIPC_OK); in tipc_sk_check_probing_state()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_main.c | 1045 struct prestera_port **pport = (struct prestera_port **)priv->data; in prestera_lower_dev_walk() local 1048 *pport = netdev_priv(dev); in prestera_lower_dev_walk()
|