Home
last modified time | relevance | path

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

12345678910>>...15

/openbmc/linux/drivers/target/tcm_fc/
H A Dtfc_sess.c33 (lport)->port_id, ##args )
174 if (sess->port_id == port_id) { in ft_sess_get()
178 port_id, sess); in ft_sess_get()
185 port_id, reason); in ft_sess_get()
219 if (sess->port_id == port_id) in ft_sess_create()
228 sess->port_id = port_id; in ft_sess_create()
253 sess->port_id = -1; in ft_sess_unhash()
268 if (sess->port_id == port_id) { in ft_sess_delete()
312 u32 port_id; in ft_sess_close() local
315 port_id = sess->port_id; in ft_sess_close()
[all …]
/openbmc/u-boot/drivers/net/fm/
H A Dfm.c211 int i, port_id; in fm_init_fpm() local
221 port_id = OH_PORT_ID_BASE + i; in fm_init_fpm()
222 val = fm_assign_risc(port_id); in fm_init_fpm()
227 port_id = RX_PORT_1G_BASE + i; in fm_init_fpm()
228 val = fm_assign_risc(port_id); in fm_init_fpm()
233 port_id = TX_PORT_1G_BASE + i; in fm_init_fpm()
238 port_id = RX_PORT_10G_BASE; in fm_init_fpm()
239 val = fm_assign_risc(port_id); in fm_init_fpm()
242 port_id = TX_PORT_10G_BASE; in fm_init_fpm()
243 val = fm_assign_risc(port_id); in fm_init_fpm()
[all …]
/openbmc/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-switchdev.c123 if (port->port_id) in am65_cpsw_get_pvid()
143 if (port->port_id) in am65_cpsw_set_pvid()
166 port_mask = BIT(port->port_id); in am65_cpsw_port_vlan_add()
208 port_mask = BIT(port->port_id); in am65_cpsw_port_vlan_del()
268 port_mask = BIT(port->port_id); in am65_cpsw_port_mdb_add()
290 del_mask = BIT(port->port_id); in am65_cpsw_port_mdb_del()
373 int port_id = port->port_id; in am65_cpsw_switchdev_event_work() local
382 fdb->offloaded, port_id); in am65_cpsw_switchdev_event_work()
387 port_id = HOST_PORT_NUM; in am65_cpsw_switchdev_event_work()
398 fdb->offloaded, port_id); in am65_cpsw_switchdev_event_work()
[all …]
/openbmc/linux/drivers/tty/serial/
H A Dserial_base_bus.c67 unsigned int port_id) in serial_base_device_init() argument
85 ctrl_id, port_id); in serial_base_device_init()
156 if (port->port_id) { in serial_base_port_add()
157 min = port->port_id; in serial_base_port_add()
158 max = port->port_id; in serial_base_port_add()
167 port->port_id = err; in serial_base_port_add()
172 port->ctrl_id, port->port_id); in serial_base_port_add()
186 ida_free(&ctrl_dev->port_ida, port->port_id); in serial_base_port_add()
203 ida_free(&ctrl_dev->port_ida, port_dev->port->port_id); in serial_base_port_device_remove()
/openbmc/linux/drivers/spi/
H A Dspi-pxa2xx-pci.c100 ssp->port_id = 0; in lpss_spi_setup()
106 ssp->port_id = 0; in lpss_spi_setup()
112 ssp->port_id = 1; in lpss_spi_setup()
118 ssp->port_id = 2; in lpss_spi_setup()
125 ssp->port_id = 0; in lpss_spi_setup()
132 ssp->port_id = 1; in lpss_spi_setup()
176 ssp->port_id = dev->devfn; in ce4100_spi_setup()
197 ssp->port_id = 3; in mrfld_spi_setup()
203 ssp->port_id = 5; in mrfld_spi_setup()
209 ssp->port_id = 6; in mrfld_spi_setup()
[all …]
/openbmc/linux/drivers/fpga/
H A Ddfl-fme-pr.c33 dfl_fme_region_find_by_port_id(struct dfl_fme *fme, int port_id) in dfl_fme_region_find_by_port_id() argument
38 if (fme_region->port_id == port_id) in dfl_fme_region_find_by_port_id()
49 static struct fpga_region *dfl_fme_region_find(struct dfl_fme *fme, int port_id) in dfl_fme_region_find() argument
54 fme_region = dfl_fme_region_find_by_port_id(fme, port_id); in dfl_fme_region_find()
95 if (port_pr.port_id >= FIELD_GET(FME_CAP_NUM_PORTS, v)) { in fme_pr()
134 region = dfl_fme_region_find(fme, port_pr.port_id); in fme_pr()
144 info->region_id = port_pr.port_id; in fme_pr()
230 dfl_fme_create_bridge(struct dfl_feature_platform_data *pdata, int port_id) in dfl_fme_create_bridge() argument
242 br_pdata.port_id = port_id; in dfl_fme_create_bridge()
303 struct platform_device *br, int port_id) in dfl_fme_create_region() argument
[all …]
H A Ddfl-fme-pr.h33 int port_id; member
68 int port_id; member
/openbmc/linux/drivers/scsi/libfc/
H A Dfc_npiv.c49 struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port, u32 port_id) in fc_vport_id_lookup() argument
54 if (n_port->port_id == port_id) in fc_vport_id_lookup()
57 if (port_id == FC_FID_FLOGI) in fc_vport_id_lookup()
62 if (vn_port->port_id == port_id) { in fc_vport_id_lookup()
H A Dfc_libfc.h38 (lport)->port_id, ##args))
46 #define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) \ argument
50 (port_id), ##args))
53 FC_RPORT_ID_DBG((rdata)->local_port, (rdata)->ids.port_id, fmt, ##args)
64 (pkt)->rport->port_id, \
69 (pkt)->rport->port_id, ##args); \
/openbmc/linux/drivers/net/ethernet/sfc/
H A Def10_sriov.h61 unsigned int port_id, const u8 *mac);
63 unsigned int port_id, const u8 *mac);
64 int efx_ef10_vadaptor_alloc(struct efx_nic *efx, unsigned int port_id);
65 int efx_ef10_vadaptor_query(struct efx_nic *efx, unsigned int port_id,
68 int efx_ef10_vadaptor_free(struct efx_nic *efx, unsigned int port_id);
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6adm.c280 int port_id, int copp_idx) in q6adm_device_close() argument
288 close.hdr.src_port = port_id; in q6adm_device_close()
290 close.hdr.token = port_id << 16 | copp_idx; in q6adm_device_close()
297 int port_id, int topology, in q6adm_find_matching_copp() argument
322 int port_id, int path, int topology, in q6adm_device_open() argument
326 int afe_port = q6afe_get_port_id(port_id); in q6adm_device_open()
392 if (port_id < 0) { in q6adm_open()
393 dev_err(dev, "Invalid port_id %d\n", port_id); in q6adm_open()
405 copp = q6adm_alloc_copp(adm, port_id); in q6adm_open()
508 int port_idx = payload_map.port_id[i]; in q6adm_matrix_map()
[all …]
H A Dq6afe.c378 u16 port_id; member
383 u16 port_id; member
403 u16 port_id; member
567 int port_id; member
1064 param->port_id = port_id; in q6afe_port_set_param_v2()
1219 stop->port_id = port_id; in q6afe_port_stop()
1500 port_id, ret); in q6afe_port_start()
1510 port_id, ret); in q6afe_port_start()
1532 start->port_id = port_id; in q6afe_port_start()
1555 int port_id; in q6afe_port_get_from_id() local
[all …]
/openbmc/linux/drivers/pci/controller/
H A Dpcie-hisi-error.c53 u8 port_id; member
109 u32 chip_id, u32 port_id) in hisi_pcie_port_reset() argument
121 arg[1].integer.value = HISI_PCIE_CORE_ID(port_id); in hisi_pcie_port_reset()
123 arg[2].integer.value = HISI_PCIE_CORE_PORT_ID(port_id); in hisi_pcie_port_reset()
143 u32 chip_id, u32 port_id) in hisi_pcie_port_do_recovery() argument
163 devfn = PCI_DEVFN(port_id, 0); in hisi_pcie_port_do_recovery()
174 if (hisi_pcie_port_reset(dev, chip_id, port_id)) in hisi_pcie_port_do_recovery()
221 dev_info(dev, "Port ID = port%d\n", edata->port_id); in hisi_pcie_handle_error()
244 HISI_PCIE_PORT_ID(edata->core_id, edata->port_id)); in hisi_pcie_handle_error()
/openbmc/linux/include/uapi/scsi/
H A Dscsi_bsg_fc.h74 __u8 port_id[3]; member
95 __u8 port_id[3]; member
119 __u8 port_id[3]; member
182 __u8 port_id[3]; member
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_dcb.c45 __func__, pi->port_id); in cxgb4_dcb_state_init()
452 INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); in cxgb4_getpgtccfg()
465 INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); in cxgb4_getpgtccfg()
517 INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); in cxgb4_setpgtccfg_tx()
531 INIT_PORT_DCB_WRITE_CMD(pcmd, pi->port_id); in cxgb4_setpgtccfg_tx()
542 INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); in cxgb4_setpgtccfg_tx()
554 INIT_PORT_DCB_WRITE_CMD(pcmd, pi->port_id); in cxgb4_setpgtccfg_tx()
575 INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); in cxgb4_getpgbwgcfg()
618 INIT_PORT_DCB_WRITE_CMD(pcmd, pi->port_id); in cxgb4_setpgbwgcfg_tx()
658 INIT_PORT_DCB_WRITE_CMD(pcmd, pi->port_id); in cxgb4_setpfccfg()
[all …]
H A Dcxgb4_tc_matchall.c187 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_alloc_tc()
230 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_free_tc()
250 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_mirror_alloc()
274 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_mirror_free()
289 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_del_filter()
322 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_add_filter()
355 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_alloc_filter()
386 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_free_filter()
413 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_tc_matchall_replace()
452 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_tc_matchall_destroy()
[all …]
/openbmc/linux/drivers/gpu/drm/bridge/imx/
H A Dimx8qxp-pixel-link.c271 u32 port_id; in imx8qxp_pixel_link_find_next_bridge() local
277 for (port_id = 1; port_id <= PL_MAX_MST_ADDR + 1; port_id++) { in imx8qxp_pixel_link_find_next_bridge()
278 port = of_graph_get_port_by_id(np, port_id); in imx8qxp_pixel_link_find_next_bridge()
297 remote = of_graph_get_remote_node(np, port_id, reg); in imx8qxp_pixel_link_find_next_bridge()
304 port_id, reg); in imx8qxp_pixel_link_find_next_bridge()
324 pl->mst_addr = port_id - 1; in imx8qxp_pixel_link_find_next_bridge()
/openbmc/linux/sound/soc/sh/
H A Dsiu_dai.c154 if (!info->port_id) in siu_dai_spbAselect()
179 if (!info->port_id) in siu_dai_spbBselect()
200 switch (info->port_id) { in siu_dai_open()
230 switch (info->port_id) { in siu_dai_pcmdatapack()
502 info->port_id, port_info); in siu_dai_startup()
522 info->port_id, port_info); in siu_dai_shutdown()
597 __func__, fmt, info->port_id); in siu_dai_set_fmt()
599 if (info->port_id < 0) in siu_dai_set_fmt()
606 siu_flags[info->port_id].capture.i2s; in siu_dai_set_fmt()
610 siu_flags[info->port_id].capture.pcm; in siu_dai_set_fmt()
[all …]
/openbmc/linux/net/bridge/
H A Dbr_private_stp.h34 port_id port_id; member
45 (p->designated_port == p->port_id); in br_is_designated_port()
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_attr.c31 u32 port_id; in fcoe_mac_show() local
35 port_id = fc_host_port_id(lport->host); in fcoe_mac_show()
36 lport_src_id[2] = (port_id & 0x000000FF); in fcoe_mac_show()
37 lport_src_id[1] = (port_id & 0x0000FF00) >> 8; in fcoe_mac_show()
38 lport_src_id[0] = (port_id & 0x00FF0000) >> 16; in fcoe_mac_show()
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c1009 hba_port->port_id = port_id; in mpi3mr_alloc_hba_port()
1025 u8 port_id) in mpi3mr_get_hba_port_by_id() argument
1031 if (port->port_id != port_id) in mpi3mr_get_hba_port_by_id()
2169 u8 port_id; in mpi3mr_expander_node_remove() local
2190 port_id = sas_expander->hba_port->port_id; in mpi3mr_expander_node_remove()
2319 u8 port_id; in mpi3mr_report_tgtdev_to_sas_transport() local
2411 port_id = hba_port->port_id; in mpi3mr_get_port_id_by_sas_phy()
2413 return port_id; in mpi3mr_get_port_id_by_sas_phy()
2443 port_id = sas_expander->hba_port->port_id; in mpi3mr_get_port_id_by_rphy()
2454 port_id = in mpi3mr_get_port_id_by_rphy()
[all …]
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dicid.c30 out_be32(&fm->fm_bmi_common.fmbm_ppid[tbl[i].port_id - 1], in set_fman_icids()
97 int get_fman_port_icid(int port_id, struct fman_icid_id_table *tbl, in get_fman_port_icid() argument
103 if (tbl[i].port_id == port_id) in get_fman_port_icid()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_init_fw_funcs.c406 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in qed_cmdq_lines_rt_init()
409 if (!port_params[port_id].active) in qed_cmdq_lines_rt_init()
429 port_id, in qed_cmdq_lines_rt_init()
440 port_id, in qed_cmdq_lines_rt_init()
475 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in qed_btb_blocks_rt_init()
476 if (!port_params[port_id].active) in qed_btb_blocks_rt_init()
506 port_id, in qed_btb_blocks_rt_init()
517 port_id, in qed_btb_blocks_rt_init()
657 pq_params[i].port_id, in qed_tx_pq_map_rt_init()
709 pq_params[i].port_id, in qed_tx_pq_map_rt_init()
[all …]
/openbmc/linux/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c2214 u32 port_id; in fcoe_ctlr_vn_restart() local
2225 port_id = fip->port_id; in fcoe_ctlr_vn_restart()
2230 if (!port_id || port_id == 0xffff) in fcoe_ctlr_vn_restart()
2232 fip->port_id = port_id; in fcoe_ctlr_vn_restart()
2406 if (frport->rdata.ids.port_id != fip->port_id) in fcoe_ctlr_vn_probe_req()
2457 if (frport->rdata.ids.port_id != fip->port_id) in fcoe_ctlr_vn_probe_reply()
2490 u32 port_id; in fcoe_ctlr_vn_add() local
2492 port_id = new->rdata.ids.port_id; in fcoe_ctlr_vn_add()
2493 if (port_id == fip->port_id) in fcoe_ctlr_vn_add()
2578 if (new->rdata.ids.port_id == fip->port_id) { in fcoe_ctlr_vn_claim_notify()
[all …]
/openbmc/linux/include/linux/
H A Dnvme-fc-driver.h160 u32 port_id; member
290 u32 port_id; member
334 u32 port_id; member
601 u32 port_id; member
758 u32 port_id; member

12345678910>>...15