Home
last modified time | relevance | path

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

12345678910>>...14

/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/spi/
A Dspi-pxa2xx-pci.c32 int port_id; member
115 c->port_id = 3; in mrfld_spi_setup()
121 c->port_id = 5; in mrfld_spi_setup()
156 .port_id = 0,
163 .port_id = 0,
170 .port_id = 1,
177 .port_id = 2,
189 .port_id = -1,
195 .port_id = 0,
202 .port_id = 1,
[all …]
/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()
272 port_mask = BIT(port->port_id); in am65_cpsw_port_mdb_add()
294 del_mask = BIT(port->port_id); in am65_cpsw_port_mdb_del()
377 int port_id = port->port_id; in am65_cpsw_switchdev_event_work() local
386 fdb->offloaded, port_id); in am65_cpsw_switchdev_event_work()
391 port_id = HOST_PORT_NUM; in am65_cpsw_switchdev_event_work()
402 fdb->offloaded, port_id); in am65_cpsw_switchdev_event_work()
[all …]
A Dam65-cpsw-nuss.c277 BIT(port->port_id) | ALE_PORT_HOST); in am65_cpsw_nuss_ndo_slave_kill_vid()
461 val |= BIT(port->port_id); in am65_cpsw_nuss_common_open()
678 port->port_id); in am65_cpsw_nuss_ndo_slave_open()
1837 u32 port_id; in am65_cpsw_nuss_init_slave_ports() local
1850 if (!port_id || port_id > common->port_num) { in am65_cpsw_nuss_init_slave_ports()
1852 port_np, port_id, port_np->name); in am65_cpsw_nuss_init_slave_ports()
1858 port->port_id = port_id; in am65_cpsw_nuss_init_slave_ports()
1909 "slave[%d] no phy found\n", port_id); in am65_cpsw_nuss_init_slave_ports()
1924 port->port_id, in am65_cpsw_nuss_init_slave_ports()
1975 port->port_id); in am65_cpsw_nuss_init_port_ndev()
[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/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); \
A Dfc_rport.c105 u32 port_id) in fc_rport_lookup() argument
111 if (tmp_rdata->ids.port_id == port_id && in fc_rport_lookup()
135 rdata = fc_rport_lookup(lport, port_id); in fc_rport_create()
149 rdata->ids.port_id = port_id; in fc_rport_create()
163 if (port_id != FC_FID_DIR_SERV) { in fc_rport_create()
260 u32 port_id; in fc_rport_work() local
335 port_id = rdata->ids.port_id; in fc_rport_work()
366 if (port_id == FC_FID_DIR_SERV) { in fc_rport_work()
506 u32 port_id = rdata->ids.port_id; in fc_rport_logoff() local
523 lport->tt.exch_mgr_reset(lport, 0, port_id); in fc_rport_logoff()
[all …]
/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.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 …]
/linux/drivers/net/ethernet/sfc/
A Def10_sriov.h63 unsigned int port_id, const u8 *mac);
65 unsigned int port_id, const u8 *mac);
66 int efx_ef10_vadaptor_alloc(struct efx_nic *efx, unsigned int port_id);
67 int efx_ef10_vadaptor_query(struct efx_nic *efx, unsigned int port_id,
70 int efx_ef10_vadaptor_free(struct efx_nic *efx, unsigned int port_id);
/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/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.c148 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_alloc_tc()
191 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_free_tc()
211 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_mirror_alloc()
235 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_mirror_free()
250 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_del_filter()
283 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_add_filter()
316 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_alloc_filter()
347 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_free_filter()
374 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_tc_matchall_replace()
413 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/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/qlogic/qed/
A Dqed_init_fw_funcs.c330 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in qed_cmdq_lines_rt_init()
333 if (!port_params[port_id].active) in qed_cmdq_lines_rt_init()
353 port_id, in qed_cmdq_lines_rt_init()
364 port_id, in qed_cmdq_lines_rt_init()
399 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in qed_btb_blocks_rt_init()
400 if (!port_params[port_id].active) in qed_btb_blocks_rt_init()
430 port_id, in qed_btb_blocks_rt_init()
441 port_id, in qed_btb_blocks_rt_init()
581 pq_params[i].port_id, in qed_tx_pq_map_rt_init()
633 pq_params[i].port_id, in qed_tx_pq_map_rt_init()
[all …]
/linux/drivers/scsi/fcoe/
A Dfcoe_ctlr.c2222 u32 port_id; in fcoe_ctlr_vn_restart() local
2233 port_id = fip->port_id; in fcoe_ctlr_vn_restart()
2238 if (!port_id || port_id == 0xffff) in fcoe_ctlr_vn_restart()
2240 fip->port_id = port_id; in fcoe_ctlr_vn_restart()
2414 if (frport->rdata.ids.port_id != fip->port_id) in fcoe_ctlr_vn_probe_req()
2465 if (frport->rdata.ids.port_id != fip->port_id) in fcoe_ctlr_vn_probe_reply()
2498 u32 port_id; in fcoe_ctlr_vn_add() local
2500 port_id = new->rdata.ids.port_id; in fcoe_ctlr_vn_add()
2501 if (port_id == fip->port_id) in fcoe_ctlr_vn_add()
2586 if (new->rdata.ids.port_id == fip->port_id) { in fcoe_ctlr_vn_claim_notify()
[all …]
/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/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()
449 u32 port_id; in bnx2fc_rport_event_handler() local
452 event, rdata->ids.port_id); in bnx2fc_rport_event_handler()
461 if (rport->port_id == FC_FID_DIR_SERV) { in bnx2fc_rport_event_handler()
469 rdata->ids.port_id); in bnx2fc_rport_event_handler()
528 port_id = rdata->ids.port_id; in bnx2fc_rport_event_handler()
529 if (port_id == FC_FID_DIR_SERV) in bnx2fc_rport_event_handler()
534 port_id); in bnx2fc_rport_event_handler()
579 u32 port_id) in bnx2fc_tgt_lookup() argument
591 if (rdata->ids.port_id == port_id) { in bnx2fc_tgt_lookup()
[all …]
/linux/drivers/net/ethernet/freescale/fman/
A Dfman.c589 __func__, fman->state->fm_id, port_id); in fman_bus_error()
620 u8 port_id) in set_port_order_restoration() argument
629 if (port_id % 2) in set_port_order_restoration()
647 if (port_id % 2) { in set_port_liodn()
1284 u8 tnum, port_id, relative_port_id; in dma_err_event() local
2129 u8 port_id = port_params->port_id, mac_id; in fman_set_port_params() local
2192 set_port_liodn(fman, port_id, fman->liodn_base[port_id], in fman_set_port_params()
2193 fman->liodn_offset[port_id]); in fman_set_port_params()
2204 __func__, port_id, mac_id); in fman_set_port_params()
2385 if (port_ids[i] == port_id) in fman_get_qman_channel_id()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dmain.c101 netdev = idr_find(&priv->internal_ports.port_ids, port_id); in nfp_flower_get_netdev_from_internal_port_id()
213 switch (FIELD_GET(NFP_FLOWER_CMSG_PORT_TYPE, port_id)) { in nfp_flower_repr_get_type_and_port()
216 port_id); in nfp_flower_repr_get_type_and_port()
220 *port = FIELD_GET(NFP_FLOWER_CMSG_PORT_VNIC, port_id); in nfp_flower_repr_get_type_and_port()
221 if (FIELD_GET(NFP_FLOWER_CMSG_PORT_VNIC_TYPE, port_id) == in nfp_flower_repr_get_type_and_port()
239 if (FIELD_GET(NFP_FLOWER_CMSG_PORT_TYPE, port_id) == in nfp_flower_dev_get()
243 port = FIELD_GET(NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM, port_id); in nfp_flower_dev_get()
392 u32 port_id; in nfp_flower_spawn_vnic_reprs() local
433 port_id = nfp_flower_cmsg_pcie_port(nfp_pcie, vnic_type, in nfp_flower_spawn_vnic_reprs()
436 port_id, port, priv->nn->dp.netdev); in nfp_flower_spawn_vnic_reprs()
[all …]
/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/mpt3sas/
A Dmpt3sas_transport.c72 u8 port_id = 0xFF; in _transport_get_port_id_by_sas_phy() local
76 port_id = port->port_id; in _transport_get_port_id_by_sas_phy()
78 return port_id; in _transport_get_port_id_by_sas_phy()
119 return port_id; in _transport_get_port_id_by_rphy()
127 port_id = sas_expander->port->port_id; in _transport_get_port_id_by_rphy()
136 port_id = sas_device->port->port_id; in _transport_get_port_id_by_rphy()
142 return port_id; in _transport_get_port_id_by_rphy()
1415 int port_id = port->port_id; in _transport_get_linkerrors() local
1703 int port_id = port->port_id; in _transport_phy_reset() local
1763 int port_id = port->port_id; in _transport_phy_enable() local
[all …]

Completed in 80 milliseconds

12345678910>>...14