Home
last modified time | relevance | path

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

12345678910>>...16

/linux-6.15/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 …]
/linux-6.15/drivers/tty/serial/
H A Dserial_base_bus.c68 unsigned int port_id) in serial_base_device_init() argument
86 ctrl_id, port_id); in serial_base_device_init()
157 if (port->port_id) { in serial_base_port_add()
158 min = port->port_id; in serial_base_port_add()
159 max = port->port_id; in serial_base_port_add()
168 port->port_id = err; in serial_base_port_add()
173 port->ctrl_id, port->port_id); in serial_base_port_add()
187 ida_free(&ctrl_dev->port_ida, port->port_id); in serial_base_port_add()
204 ida_free(&ctrl_dev->port_ida, port_dev->port->port_id); in serial_base_port_device_remove()
229 port->ctrl_id, port->port_id); in serial_base_match_and_update_preferred_console()
/linux-6.15/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 …]
/linux-6.15/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()
94 if (port_pr.port_id >= FIELD_GET(FME_CAP_NUM_PORTS, v)) { in fme_pr()
133 region = dfl_fme_region_find(fme, port_pr.port_id); in fme_pr()
143 info->region_id = port_pr.port_id; in fme_pr()
229 dfl_fme_create_bridge(struct dfl_feature_dev_data *fdata, int port_id) in dfl_fme_create_bridge() argument
241 br_pdata.port_id = port_id; in dfl_fme_create_bridge()
302 struct platform_device *br, int port_id) in dfl_fme_create_region() argument
[all …]
/linux-6.15/drivers/net/ethernet/ti/icssg/
H A Dicssg_switchdev.c65 emac_state, emac->port_id); in prueth_switchdev_attr_br_flags_set()
131 int port_id = emac->port_id; in prueth_switchdev_event_work() local
141 fdb->offloaded, port_id); in prueth_switchdev_event_work()
149 BIT(port_id), true); in prueth_switchdev_event_work()
158 fdb->offloaded, port_id); in prueth_switchdev_event_work()
165 BIT(port_id), false); in prueth_switchdev_event_work()
241 port_mask = BIT(emac->port_id); in prueth_switchdev_vlan_add()
269 port_mask = BIT(emac->port_id); in prueth_switchdev_vlan_del()
278 icssg_set_pvid(emac->prueth, 0, emac->port_id); in prueth_switchdev_vlan_del()
330 port_mask = BIT(emac->port_id); in prueth_switchdev_mdb_add()
[all …]
/linux-6.15/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); \
/linux-6.15/drivers/spi/
H A Dspi-pxa2xx-pci.c106 ssp->port_id = 0; in lpss_spi_setup()
112 ssp->port_id = 0; in lpss_spi_setup()
118 ssp->port_id = 1; in lpss_spi_setup()
124 ssp->port_id = 2; in lpss_spi_setup()
131 ssp->port_id = 0; in lpss_spi_setup()
138 ssp->port_id = 1; in lpss_spi_setup()
182 ssp->port_id = dev->devfn; in ce4100_spi_setup()
203 ssp->port_id = 3; in mrfld_spi_setup()
209 ssp->port_id = 5; in mrfld_spi_setup()
215 ssp->port_id = 6; in mrfld_spi_setup()
[all …]
/linux-6.15/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);
/linux-6.15/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.c379 u16 port_id; member
384 u16 port_id; member
404 u16 port_id; member
568 int port_id; member
1065 param->port_id = port_id; in q6afe_port_set_param_v2()
1220 stop->port_id = port_id; in q6afe_port_stop()
1501 port_id, ret); in q6afe_port_start()
1511 port_id, ret); in q6afe_port_start()
1533 start->port_id = port_id; in q6afe_port_start()
1556 int port_id; in q6afe_port_get_from_id() local
[all …]
/linux-6.15/drivers/hv/
H A Dmshv_portid_table.c54 mshv_portid_free(int port_id) in mshv_portid_free() argument
59 info = idr_remove(&port_table_idr, port_id); in mshv_portid_free()
68 mshv_portid_lookup(int port_id, struct port_table_info *info) in mshv_portid_lookup() argument
74 _info = idr_find(&port_table_idr, port_id); in mshv_portid_lookup()
H A Dmshv_synic.c605 union hv_port_id port_id = { 0 }; in mshv_register_doorbell() local
621 port_id.u.id = ret; in mshv_register_doorbell()
625 ret = hv_call_create_port(hv_current_partition_id, port_id, partition_id, in mshv_register_doorbell()
630 mshv_portid_free(port_id.u.id); in mshv_register_doorbell()
634 connection_id.u.id = port_id.u.id; in mshv_register_doorbell()
643 hv_call_delete_port(hv_current_partition_id, port_id); in mshv_register_doorbell()
644 mshv_portid_free(port_id.u.id); in mshv_register_doorbell()
649 return port_id.u.id; in mshv_register_doorbell()
655 union hv_port_id port_id = { 0 }; in mshv_unregister_doorbell() local
661 port_id.u.id = doorbell_portid; in mshv_unregister_doorbell()
[all …]
/linux-6.15/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()
/linux-6.15/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
/linux-6.15/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 …]
/linux-6.15/drivers/gpu/drm/rockchip/
H A Ddw_hdmi_qp-rockchip.c96 int port_id; member
187 if (hdmi->port_id) in dw_hdmi_qp_rk3588_setup_hpd()
295 if (hdmi->port_id) in dw_hdmi_qp_rk3588_hardirq()
317 if (hdmi->port_id) in dw_hdmi_qp_rk3588_irq()
328 if (hdmi->port_id) in dw_hdmi_qp_rk3588_irq()
367 if (hdmi->port_id) in dw_hdmi_qp_rk3588_io_init()
373 if (hdmi->port_id) in dw_hdmi_qp_rk3588_io_init()
467 hdmi->port_id = -ENODEV; in dw_hdmi_qp_rockchip_bind()
472 hdmi->port_id = i; in dw_hdmi_qp_rockchip_bind()
476 if (hdmi->port_id < 0) { in dw_hdmi_qp_rockchip_bind()
[all …]
/linux-6.15/sound/soc/renesas/
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 …]
/linux-6.15/drivers/gpu/drm/bridge/imx/
H A Dimx8qxp-pixel-link.c264 u32 port_id; in imx8qxp_pixel_link_find_next_bridge() local
270 for (port_id = 1; port_id <= PL_MAX_MST_ADDR + 1; port_id++) { in imx8qxp_pixel_link_find_next_bridge()
271 port = of_graph_get_port_by_id(np, port_id); in imx8qxp_pixel_link_find_next_bridge()
290 remote = of_graph_get_remote_node(np, port_id, reg); in imx8qxp_pixel_link_find_next_bridge()
297 port_id, reg); in imx8qxp_pixel_link_find_next_bridge()
317 pl->mst_addr = port_id - 1; in imx8qxp_pixel_link_find_next_bridge()
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c1027 hba_port->port_id = port_id; in mpi3mr_alloc_hba_port()
1046 u8 port_id) in mpi3mr_get_hba_port_by_id() argument
1052 if (port->port_id != port_id) in mpi3mr_get_hba_port_by_id()
2208 u8 port_id; in mpi3mr_expander_node_remove() local
2229 port_id = sas_expander->hba_port->port_id; in mpi3mr_expander_node_remove()
2358 u8 port_id; in mpi3mr_report_tgtdev_to_sas_transport() local
2450 port_id = hba_port->port_id; in mpi3mr_get_port_id_by_sas_phy()
2452 return port_id; in mpi3mr_get_port_id_by_sas_phy()
2482 port_id = sas_expander->hba_port->port_id; in mpi3mr_get_port_id_by_rphy()
2493 port_id = in mpi3mr_get_port_id_by_rphy()
[all …]
/linux-6.15/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 …]
/linux-6.15/drivers/phy/marvell/
H A Dphy-mvebu-cp110-utmi.c325 u32 port_id; in mvebu_cp110_utmi_phy_probe() local
327 ret = of_property_read_u32(child, "reg", &port_id); in mvebu_cp110_utmi_phy_probe()
328 if ((ret < 0) || (port_id >= UTMI_PHY_PORTS)) { in mvebu_cp110_utmi_phy_probe()
346 port_id); in mvebu_cp110_utmi_phy_probe()
355 port_id); in mvebu_cp110_utmi_phy_probe()
361 if (swap_dx == port_id) in mvebu_cp110_utmi_phy_probe()
376 port->id = port_id; in mvebu_cp110_utmi_phy_probe()

12345678910>>...16