| /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 …]
|
| /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; 1344 MLX5E_READ_CTR32_BE(&priv->stats.pport in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 1352 &priv->stats.pport.phy_statistical_counters, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 1361 &priv->stats.pport.phy_statistical_counters, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() 1368 &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()
|
| H A D | qsfp.c | 659 ppd = dd->pport + (port_num - 1); in get_cable_info()
|
| H A D | sdma.c | 288 queue_work(dd->pport->link_wq, in sdma_wait_for_packet_egress() 289 &dd->pport->link_bounce_work); in sdma_wait_for_packet_egress() 1330 struct hfi1_pportdata *ppd = dd->pport + port; in sdma_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
|
| H A D | csio_attr.c | 276 switch (hw->pport[ln->portid].link_speed) { in csio_get_host_speed()
|
| /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/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()
|
| /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()
|