/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm80xx_hwi.c | 2091 u32 port_id = le32_to_cpu(psspPayload->port_id); in mpi_ssp_event() local 2681 u32 port_id = le32_to_cpu(psataPayload->port_id); in mpi_sata_event() local 3164 port->port_id = port_id; in hw_event_sas_phy_up() 3247 port->port_id = port_id; in hw_event_sata_phy_up() 3296 phy_id, port_id); in hw_event_phy_down() 3301 phy_id, port_id); in hw_event_phy_down() 3315 phy_id, port_id); in hw_event_phy_down() 3320 phy_id, port_id); in hw_event_phy_down() 3326 phy_id, port_id); in hw_event_phy_down() 3438 phy_id, port_id); in mpi_hw_event() [all …]
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | ldmvsw.c | 228 u64 port_id) in vsw_alloc_netdev() argument 242 sprintf(dev->name, "vif%d.%d", (int)handle, (int)port_id); in vsw_alloc_netdev() 284 const u64 *port_id; in vsw_port_probe() local 300 port_id = mdesc_get_property(hp, vdev->mp, id_prop, NULL); in vsw_port_probe() 302 if (!port_id) { in vsw_port_probe() 319 dev = vsw_alloc_netdev(vsw_port_hwaddr, vdev, handle, *port_id); in vsw_port_probe()
|
/openbmc/linux/drivers/gpu/drm/bridge/imx/ |
H A D | imx8qxp-pxl2dpi.c | 226 u32 port_id) in imx8qxp_pxl2dpi_get_available_ep_from_port() argument 231 port = of_graph_get_port_by_id(p2d->dev->of_node, port_id); in imx8qxp_pxl2dpi_get_available_ep_from_port() 233 DRM_DEV_ERROR(p2d->dev, "failed to get port@%u\n", port_id); in imx8qxp_pxl2dpi_get_available_ep_from_port() 240 port_id); in imx8qxp_pxl2dpi_get_available_ep_from_port() 246 port_id); in imx8qxp_pxl2dpi_get_available_ep_from_port() 255 port_id); in imx8qxp_pxl2dpi_get_available_ep_from_port()
|
/openbmc/qemu/hw/char/ |
H A D | virtio-serial-bus.c | 255 virtio_stl_p(vdev, &cpkt.id, port_id); in send_control_event() 259 trace_virtio_serial_send_control_event(port_id, event, value); in send_control_event() 890 i = port_id / 32; in mark_port_added() 891 vser->ports_map[i] |= 1U << (port_id % 32); in mark_port_added() 894 static void add_port(VirtIOSerial *vser, uint32_t port_id) in add_port() argument 896 mark_port_added(vser, port_id); in add_port() 900 static void remove_port(VirtIOSerial *vser, uint32_t port_id) in remove_port() argument 909 if (port_id) { in remove_port() 912 i = port_id / 32; in remove_port() 913 vser->ports_map[i] &= ~(1U << (port_id % 32)); in remove_port() [all …]
|
/openbmc/linux/include/scsi/ |
H A D | scsi_transport_srp.h | 13 u8 port_id[16]; member 58 u8 port_id[16]; member
|
H A D | libfc.h | 118 u32 port_id; member 541 void (*lport_set_port_id)(struct fc_lport *, u32 port_id, 727 u32 port_id; member 912 struct fc_lport *fc_vport_id_lookup(struct fc_lport *, u32 port_id); 914 void fc_lport_set_local_id(struct fc_lport *, u32 port_id); 922 u32 port_id);
|
H A D | scsi_transport_fc.h | 285 u32 port_id; member 365 u32 port_id; member 417 u32 port_id; member 425 (((struct fc_starget_attrs *)&(x)->starget_data)->port_id) 554 u32 port_id; member 626 (((struct fc_host_attrs *)(x)->shost_data)->port_id)
|
/openbmc/linux/net/bridge/ |
H A D | br_stp_if.c | 24 static inline port_id br_make_port_id(__u8 priority, __u16 port_no) in br_make_port_id() 37 p->port_id = br_make_port_id(p->priority, p->port_no); in br_init_port() 311 port_id new_port_id; in br_stp_set_port_priority() 320 p->port_id = new_port_id; in br_stp_set_port_priority() 323 p->port_id < p->designated_port) { in br_stp_set_port_priority()
|
H A D | br_stp.c | 146 if (p->port_id < rp->port_id) in br_should_become_root_port() 227 bpdu.port_id = p->port_id; in br_transmit_config() 257 p->designated_port = bpdu->port_id; in br_record_config_information() 311 if (p->port_id < p->designated_port) in br_should_become_designated_port() 356 if (bpdu->port_id <= p->designated_port) in br_supersedes_port_info() 426 p->designated_port = p->port_id; in br_become_designated_port()
|
/openbmc/linux/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 244 csk->cdev->ports[csk->port_id], in send_act_open_req() 269 csk->cdev->ports[csk->port_id], in send_act_open_req() 297 csk->cdev->ports[csk->port_id], in send_act_open_req() 373 csk->cdev->ports[csk->port_id], in send_act_open_req6() 396 csk->cdev->ports[csk->port_id], in send_act_open_req6() 421 csk->cdev->ports[csk->port_id], in send_act_open_req6() 451 set_wr_txq(skb, CPL_PRIORITY_DATA, csk->port_id); in send_close_req() 493 set_wr_txq(skb, CPL_PRIORITY_DATA, csk->port_id); in send_abort_req() 547 set_wr_txq(skb, CPL_PRIORITY_ACK, csk->port_id); in send_rx_credits() 2061 ttinfo->cid = csk->port_id; in ddp_set_map() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ef10_sriov.c | 15 static int efx_ef10_evb_port_assign(struct efx_nic *efx, unsigned int port_id, in efx_ef10_evb_port_assign() argument 21 MCDI_SET_DWORD(inbuf, EVB_PORT_ASSIGN_IN_PORT_ID, port_id); in efx_ef10_evb_port_assign() 30 static int efx_ef10_vswitch_alloc(struct efx_nic *efx, unsigned int port_id, in efx_ef10_vswitch_alloc() argument 36 MCDI_SET_DWORD(inbuf, VSWITCH_ALLOC_IN_UPSTREAM_PORT_ID, port_id); in efx_ef10_vswitch_alloc() 59 static int efx_ef10_vswitch_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vswitch_free() argument 63 MCDI_SET_DWORD(inbuf, VSWITCH_FREE_IN_UPSTREAM_PORT_ID, port_id); in efx_ef10_vswitch_free() 103 static int efx_ef10_vport_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vport_free() argument 107 MCDI_SET_DWORD(inbuf, VPORT_FREE_IN_VPORT_ID, port_id); in efx_ef10_vport_free() 470 static int efx_ef10_vport_del_vf_mac(struct efx_nic *efx, unsigned int port_id, in efx_ef10_vport_del_vf_mac() argument 478 MCDI_SET_DWORD(inbuf, VPORT_DEL_MAC_ADDRESS_IN_VPORT_ID, port_id); in efx_ef10_vport_del_vf_mac()
|
/openbmc/linux/drivers/scsi/libfc/ |
H A D | fc_fcp.c | 542 lport->port_id); in fc_fcp_recv_data() 943 fsp->rport->port_id); in fc_fcp_resp() 948 fsp->rport->port_id, in fc_fcp_resp() 956 fsp->rport->port_id, in fc_fcp_resp() 1532 fsp->rport->port_id, rjt->er_reason, in fc_fcp_rec_resp() 1548 fsp->rport->port_id, rjt->er_reason, in fc_fcp_rec_resp() 1658 fsp, fsp->rport->port_id); in fc_fcp_rec_error() 1664 fsp, fsp->rport->port_id, error); in fc_fcp_rec_error() 2213 "on port (%6.6x)\n", lport->port_id); in fc_eh_host_reset() 2218 lport->port_id); in fc_eh_host_reset() [all …]
|
/openbmc/qemu/contrib/rdmacm-mux/ |
H A D | main.c | 62 int port_id; member 392 rc = umad_recv(server.umad_agent.port_id, &msg.umad, &msg.umad_len, in umad_recv_thread_func() 469 rc = umad_send(server.umad_agent.port_id, server.umad_agent.agent_id, in read_and_process() 634 umad_unregister(server.umad_agent.port_id, server.umad_agent.agent_id); in fini_umad() 637 if (server.umad_agent.port_id) { in fini_umad() 638 umad_close_port(server.umad_agent.port_id); in fini_umad() 729 server.umad_agent.port_id = umad_open_port(server.args.rdma_dev_name, in init_umad() 732 if (server.umad_agent.port_id < 0) { in init_umad() 739 server.umad_agent.agent_id = umad_register(server.umad_agent.port_id, in init_umad()
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_s5p.c | 33 u8 port_id; /* uart port number */ member 104 uclk = get_uart_clk(plat->port_id); in s5p_serial_setbrg() 189 plat->port_id = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in s5p_serial_ofdata_to_platdata()
|
/openbmc/linux/drivers/scsi/qedf/ |
H A D | qedf_main.c | 749 rdata->ids.port_id); in qedf_eh_abort() 807 rdata->ids.port_id); in qedf_eh_abort() 1024 if (rdata->ids.port_id == port_id) { in qedf_fcport_lookup() 1310 u32 port_id; in qedf_offload_connection() local 1358 fcport->sid = port_id; in qedf_offload_connection() 1366 port_id = fcport->rdata->rport->port_id; in qedf_offload_connection() 1462 u32 port_id; in qedf_rport_event_handler() local 1494 rdata->ids.port_id); in qedf_rport_event_handler() 1507 rdata->ids.port_id); in qedf_rport_event_handler() 1540 rdata->ids.port_id); in qedf_rport_event_handler() [all …]
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_fcbuild.c | 962 u32 port_id) in fc_gpnid_build() argument 972 gpnid->dap = port_id; in fc_gpnid_build() 978 u32 port_id) in fc_gnnid_build() argument 988 gnnid->dap = port_id; in fc_gnnid_build() 1185 fc_rpnid_build(struct fchs_s *fchs, void *pyld, u32 s_id, u32 port_id, in fc_rpnid_build() argument 1196 rpnid->port_id = port_id; in fc_rpnid_build() 1203 fc_rnnid_build(struct fchs_s *fchs, void *pyld, u32 s_id, u32 port_id, in fc_rnnid_build() argument 1214 rnnid->port_id = port_id; in fc_rnnid_build() 1233 rcsid->port_id = port_id; in fc_rcsid_build() 1251 rptid->port_id = port_id; in fc_rptid_build() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | fifo_monitor.c | 46 const unsigned int port_id); 51 const unsigned int port_id); 555 const unsigned int port_id) in fifo_monitor_status_valid() argument 559 return (data >> (((port_id * 2) + _hive_str_mon_valid_offset))) & 0x1; in fifo_monitor_status_valid() 565 const unsigned int port_id) in fifo_monitor_status_accept() argument 569 return (data >> (((port_id * 2) + _hive_str_mon_accept_offset))) & 0x1; in fifo_monitor_status_accept()
|
/openbmc/linux/drivers/net/ethernet/freescale/fman/ |
H A D | fman.h | 277 typedef irqreturn_t (fman_bus_error_cb)(struct fman *fman, u8 port_id, 331 u8 port_id; /* port Id */ member 367 u32 fman_get_qman_channel_id(struct fman *fman, u32 port_id);
|
/openbmc/linux/drivers/scsi/elx/libefc/ |
H A D | efc_node.c | 25 efc_node_find(struct efc_nport *nport, u32 port_id) in efc_node_find() argument 28 return xa_load(&nport->lookup, port_id); in efc_node_find() 45 u32 port_id, bool init, bool targ) in efc_node_alloc() argument 54 port_id); in efc_node_alloc() 60 efc_log_err(efc, "node allocation failed %06x", port_id); in efc_node_alloc() 85 rc = efc_cmd_node_alloc(efc, &node->rnode, port_id, nport); in efc_node_alloc() 97 rc = xa_err(xa_store(&nport->lookup, port_id, node, GFP_ATOMIC)); in efc_node_alloc() 248 u32 port_id = node->rnode.fc_id; in efc_node_update_display_name() local 252 efc_node_fcid_display(port_id, portid_display, sizeof(portid_display)); in efc_node_update_display_name()
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_edif.c | 1154 __func__, ack.port_id.b24); in qla_edif_ack() 1189 ap.port_id = dbnode->u.plogi_did; in qla_edif_consume_dbell() 1190 dat_size += sizeof(ap.port_id); in qla_edif_consume_dbell() 1193 ap.port_id = dbnode->u.els_sid; in qla_edif_consume_dbell() 1194 dat_size += sizeof(ap.port_id); in qla_edif_consume_dbell() 1197 ap.port_id = dbnode->u.sa_aen.port_id; in qla_edif_consume_dbell() 1596 sa_frame.port_id.b24); in qla24xx_sadb_update() 2484 __func__, sa_update_iocb->port_id[2], sa_update_iocb->port_id[1], in qla24xx_sa_update_iocb() 2527 __func__, sa_update_iocb->port_id[2], sa_update_iocb->port_id[1], in qla24xx_sa_replace_iocb() 2885 pkt->port_id[2], pkt->port_id[1], pkt->port_id[0]); in qla28xx_sa_update_iocb_entry() [all …]
|
H A D | qla_iocb.c | 2408 logio->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_prli_iocb() 2409 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_prli_iocb() 2439 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_login_iocb() 2486 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_logout_iocb() 2559 tsk->port_id[0] = fcport->d_id.b.al_pa; in qla24xx_tm_iocb() 2560 tsk->port_id[1] = fcport->d_id.b.area; in qla24xx_tm_iocb() 2561 tsk->port_id[2] = fcport->d_id.b.domain; in qla24xx_tm_iocb() 3843 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_prlo_iocb() 4208 cmd_pkt->port_id[0] = vha->d_id.b.al_pa; in qla2x00_start_bidir() 4209 cmd_pkt->port_id[1] = vha->d_id.b.area; in qla2x00_start_bidir() [all …]
|
/openbmc/linux/drivers/message/fusion/ |
H A D | mptsas.h | 136 u8 port_id; /* sas physical port this device member 162 u8 port_id; /* firmware port identifier */ member
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_hw.h | 224 u8 port_id); 249 struct qed_ptt *p_ptt, u8 port_id, u16 fid);
|
H A D | qed_hw.c | 323 struct qed_ptt *p_ptt, u8 port_id) in qed_port_pretend() argument 327 SET_FIELD(control, PXP_PRETEND_CMD_PORT, port_id); in qed_port_pretend() 356 struct qed_ptt *p_ptt, u8 port_id, u16 fid) in qed_port_fid_pretend() argument 360 SET_FIELD(control, PXP_PRETEND_CMD_PORT, port_id); in qed_port_fid_pretend() 395 u8 src_pfid, dst_pfid, port_id; in qed_dmae_opcode() local 430 port_id = (QED_DMAE_FLAGS_IS_SET(p_params, PORT_VALID)) ? in qed_dmae_opcode() 431 p_params->port_id : p_hwfn->port_id; in qed_dmae_opcode() 432 SET_FIELD(opcode, DMAE_CMD_PORT_ID, port_id); in qed_dmae_opcode()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_83xx_vnic.c | 264 int func, int *port_id) in qlcnic_83xx_set_port_eswitch_status() argument 276 *port_id = nic_info.phys_port; in qlcnic_83xx_set_port_eswitch_status() 281 adapter->eswitch[*port_id].flags |= QLCNIC_SWITCH_ENABLE; in qlcnic_83xx_set_port_eswitch_status()
|