Home
last modified time | relevance | path

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

12345678910>>...15

/linux/drivers/target/tcm_fc/
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/drivers/tty/serial/
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/drivers/net/ethernet/ti/
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/drivers/fpga/
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 …]
/linux/drivers/net/ethernet/ti/icssg/
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/drivers/scsi/libfc/
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()
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/drivers/spi/
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/drivers/net/ethernet/sfc/
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/sound/soc/qcom/qdsp6/
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 …]
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/drivers/pci/controller/
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/include/uapi/scsi/
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/drivers/net/ethernet/chelsio/cxgb4/
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 …]
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/sound/soc/sh/
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/drivers/gpu/drm/bridge/imx/
A Dimx8qxp-pixel-link.c266 u32 port_id; in imx8qxp_pixel_link_find_next_bridge() local
272 for (port_id = 1; port_id <= PL_MAX_MST_ADDR + 1; port_id++) { in imx8qxp_pixel_link_find_next_bridge()
273 port = of_graph_get_port_by_id(np, port_id); in imx8qxp_pixel_link_find_next_bridge()
292 remote = of_graph_get_remote_node(np, port_id, reg); in imx8qxp_pixel_link_find_next_bridge()
299 port_id, reg); in imx8qxp_pixel_link_find_next_bridge()
319 pl->mst_addr = port_id - 1; in imx8qxp_pixel_link_find_next_bridge()
/linux/drivers/scsi/qedf/
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/net/bridge/
A Dbr_private_stp.h34 port_id port_id; member
45 (p->designated_port == p->port_id); in br_is_designated_port()
/linux/drivers/scsi/mpi3mr/
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/drivers/net/ethernet/qlogic/qed/
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/drivers/scsi/fcoe/
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 …]
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_hwi.c186 u32 port_id; in bnx2fc_send_session_ofld_req() local
244 if (port_id == 0) { in bnx2fc_send_session_ofld_req()
254 tgt->sid = port_id; in bnx2fc_send_session_ofld_req()
259 port_id = rport->port_id; in bnx2fc_send_session_ofld_req()
368 u32 port_id; in bnx2fc_send_session_enable_req() local
393 if (port_id != tgt->sid) { in bnx2fc_send_session_enable_req()
396 port_id = tgt->sid; in bnx2fc_send_session_enable_req()
402 port_id = rport->port_id; in bnx2fc_send_session_enable_req()
437 u32 port_id; in bnx2fc_send_session_disable_req() local
459 port_id = tgt->sid; in bnx2fc_send_session_disable_req()
[all …]
A Dbnx2fc_tgt.c95 "port_id (%6x)\n", rport->port_id); in bnx2fc_offload_session()
447 u32 port_id; in bnx2fc_rport_event_handler() local
450 event, rdata->ids.port_id); in bnx2fc_rport_event_handler()
459 if (rport->port_id == FC_FID_DIR_SERV) { in bnx2fc_rport_event_handler()
467 rdata->ids.port_id); in bnx2fc_rport_event_handler()
526 port_id = rdata->ids.port_id; in bnx2fc_rport_event_handler()
527 if (port_id == FC_FID_DIR_SERV) in bnx2fc_rport_event_handler()
532 port_id); in bnx2fc_rport_event_handler()
577 u32 port_id) in bnx2fc_tgt_lookup() argument
589 if (rdata->ids.port_id == port_id) { in bnx2fc_tgt_lookup()
[all …]
/linux/drivers/net/ethernet/freescale/fman/
A Dfman.c563 __func__, fman->state->fm_id, port_id); in fman_bus_error()
594 u8 port_id) in set_port_order_restoration() argument
603 if (port_id % 2) in set_port_order_restoration()
621 if (port_id % 2) { in set_port_liodn()
1258 u8 tnum, port_id, relative_port_id; in dma_err_event() local
2103 u8 port_id = port_params->port_id, mac_id; in fman_set_port_params() local
2166 set_port_liodn(fman, port_id, fman->liodn_base[port_id], in fman_set_port_params()
2167 fman->liodn_offset[port_id]); in fman_set_port_params()
2178 __func__, port_id, mac_id); in fman_set_port_params()
2359 if (port_ids[i] == port_id) in fman_get_qman_channel_id()
[all …]

Completed in 73 milliseconds

12345678910>>...15