| /OK3568_Linux_fs/u-boot/drivers/net/fm/ |
| H A D | fm.c | 198 static u32 fm_assign_risc(int port_id) in fm_assign_risc() argument 201 risc_sel = (port_id & 0x1) ? FMFPPRC_RISC2 : FMFPPRC_RISC1; in fm_assign_risc() 202 val = (port_id << FMFPPRC_PORTID_SHIFT) & FMFPPRC_PORTID_MASK; in fm_assign_risc() 210 int i, port_id; in fm_init_fpm() local 220 port_id = OH_PORT_ID_BASE + i; in fm_init_fpm() 221 val = fm_assign_risc(port_id); in fm_init_fpm() 226 port_id = RX_PORT_1G_BASE + i; in fm_init_fpm() 227 val = fm_assign_risc(port_id); in fm_init_fpm() 232 port_id = TX_PORT_1G_BASE + i; in fm_init_fpm() 233 val = fm_assign_risc(port_id); in fm_init_fpm() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/target/tcm_fc/ |
| H A D | tfc_sess.c | 33 (lport)->port_id, ##args ) 148 static u32 ft_sess_hash(u32 port_id) in ft_sess_hash() argument 150 return hash_32(port_id, FT_SESS_HASH_BITS); in ft_sess_hash() 158 static struct ft_sess *ft_sess_get(struct fc_lport *lport, u32 port_id) in ft_sess_get() argument 172 head = &tport->hash[ft_sess_hash(port_id)]; in ft_sess_get() 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() 194 struct hlist_head *head = &tport->hash[ft_sess_hash(sess->port_id)]; in ft_sess_alloc_cb() 196 TFC_SESS_DBG(tport->lport, "port_id %x sess %p\n", sess->port_id, sess); in ft_sess_alloc_cb() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-pxa2xx-pci.c | 30 int port_id; member 123 c->port_id = 3; in mrfld_spi_setup() 129 c->port_id = 5; in mrfld_spi_setup() 135 c->port_id = 6; in mrfld_spi_setup() 163 .port_id = -1, 169 .port_id = 0, 176 .port_id = 0, 183 .port_id = 1, 190 .port_id = 2, 202 .port_id = -1, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/fpga/ |
| H A D | dfl-fme-pr.c | 33 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/libfc/ |
| H A D | fc_npiv.c | 49 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 D | fc_libfc.h | 38 (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); \
|
| H A D | fc_rport.c | 105 u32 port_id) in fc_rport_lookup() argument 111 if (tmp_rdata->ids.port_id == port_id && in fc_rport_lookup() 128 struct fc_rport_priv *fc_rport_create(struct fc_lport *lport, u32 port_id) in fc_rport_create() argument 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() 352 lport->tt.exch_mgr_reset(lport, 0, port_id); in fc_rport_work() 353 lport->tt.exch_mgr_reset(lport, port_id, 0); in fc_rport_work() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | ef10_sriov.h | 63 unsigned int port_id, u8 *mac); 65 unsigned int port_id, 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);
|
| /OK3568_Linux_fs/kernel/sound/soc/qcom/qdsp6/ |
| H A D | q6adm.c | 280 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 309 if ((port_id == c->afe_port) && (topology == c->topology) && in q6adm_find_matching_copp() 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() 344 pkt->hdr.token = port_id << 16 | copp->copp_idx; in q6adm_device_open() 383 struct q6copp *q6adm_open(struct device *dev, int port_id, int path, int rate, in q6adm_open() argument 392 if (port_id < 0) { in q6adm_open() [all …]
|
| H A D | q6afe.c | 376 u16 port_id; member 381 u16 port_id; member 401 u16 port_id; member 565 int port_id; member 926 return port_maps[index].port_id; in q6afe_get_port_id() 1034 u16 port_id = port->id; in q6afe_port_set_param_v2() local 1058 param->port_id = port_id; in q6afe_port_set_param_v2() 1070 port_id, ret); in q6afe_port_set_param_v2() 1186 int port_id = port->id; in q6afe_port_stop() local 1191 port_id = port->id; in q6afe_port_stop() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pci/controller/ |
| H A D | pcie-hisi-error.c | 53 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_dcb.c | 45 __func__, pi->port_id); in cxgb4_dcb_state_init() 450 INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); in cxgb4_getpgtccfg() 452 INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); in cxgb4_getpgtccfg() 463 INIT_PORT_DCB_READ_LOCAL_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() 573 INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); in cxgb4_getpgbwgcfg() [all …]
|
| H A D | cxgb4_tc_matchall.c | 143 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_alloc_tc() 182 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_free_tc() 202 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_mirror_alloc() 226 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_mirror_free() 241 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_del_filter() 274 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_add_filter() 307 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_alloc_filter() 338 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_free_filter() 365 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_tc_matchall_replace() 404 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_tc_matchall_destroy() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/sh/ |
| H A D | siu_dai.c | 154 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() 551 __func__, info->port_id, port_info->play_cap, rt->channels); in siu_dai_prepare() 597 __func__, fmt, info->port_id); in siu_dai_set_fmt() 599 if (info->port_id < 0) in siu_dai_set_fmt() 605 ifctl = siu_flags[info->port_id].playback.i2s | in siu_dai_set_fmt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_init_fw_funcs.c | 194 u8 port_id, u8 tc, u8 max_phys_tcs_per_port) in qed_get_ext_voq() argument 197 return NUM_OF_PHYS_TCS * MAX_NUM_PORTS_BB + port_id; in qed_get_ext_voq() 199 return port_id * max_phys_tcs_per_port + tc; in qed_get_ext_voq() 300 u8 tc, ext_voq, port_id, num_tcs_in_port; in qed_cmdq_lines_rt_init() local 307 for (port_id = 0; port_id < max_ports_per_engine; port_id++) { in qed_cmdq_lines_rt_init() 310 if (!port_params[port_id].active) in qed_cmdq_lines_rt_init() 316 phys_lines = port_params[port_id].num_pbf_cmd_lines; in qed_cmdq_lines_rt_init() 322 if (((port_params[port_id].active_phys_tcs >> in qed_cmdq_lines_rt_init() 330 port_id, in qed_cmdq_lines_rt_init() 332 if (((port_params[port_id].active_phys_tcs >> in qed_cmdq_lines_rt_init() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/scsi/ |
| H A D | scsi_bsg_fc.h | 87 uint8_t port_id[3]; member 108 uint8_t port_id[3]; member 132 uint8_t port_id[3]; member 195 uint8_t port_id[3]; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/scsi/ |
| H A D | scsi_bsg_fc.h | 87 uint8_t port_id[3]; member 108 uint8_t port_id[3]; member 132 uint8_t port_id[3]; member 195 uint8_t port_id[3]; member
|
| /OK3568_Linux_fs/kernel/include/uapi/scsi/ |
| H A D | scsi_bsg_fc.h | 74 __u8 port_id[3]; member 95 __u8 port_id[3]; member 119 __u8 port_id[3]; member 182 __u8 port_id[3]; member
|
| /OK3568_Linux_fs/kernel/drivers/scsi/fcoe/ |
| H A D | fcoe_ctlr.c | 546 if (!fcf || (ports && !lp->port_id)) in fcoe_ctlr_send_keep_alive() 577 hton24(vn->fd_fc_id, lport->port_id); in fcoe_ctlr_send_keep_alive() 663 hton24(mac->fd_mac + 3, fip->port_id); in fcoe_ctlr_encaps() 1361 if (!lport->port_id) { in fcoe_ctlr_recv_clr_vlink() 2059 hton24(frame->eth.h_source + 3, fip->port_id); in fcoe_ctlr_vn_send() 2081 hton24(frame->vn.fd_mac + 3, fip->port_id); in fcoe_ctlr_vn_send() 2082 hton24(frame->vn.fd_fc_id, fip->port_id); in fcoe_ctlr_vn_send() 2134 rdata->ids.port_id, event); in fcoe_ctlr_vn_rport_callback() 2148 rdata->ids.port_id); in fcoe_ctlr_vn_rport_callback() 2222 u32 port_id; in fcoe_ctlr_vn_restart() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/qedf/ |
| H A D | qedf_attr.c | 32 u32 port_id; in qedf_fcoe_mac_show() local 36 port_id = fc_host_port_id(lport->host); in qedf_fcoe_mac_show() 37 lport_src_id[2] = (port_id & 0x000000FF); in qedf_fcoe_mac_show() 38 lport_src_id[1] = (port_id & 0x0000FF00) >> 8; in qedf_fcoe_mac_show() 39 lport_src_id[0] = (port_id & 0x00FF0000) >> 16; in qedf_fcoe_mac_show()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/bnx2fc/ |
| H A D | bnx2fc_hwi.c | 186 u32 port_id; in bnx2fc_send_session_ofld_req() local 243 port_id = fc_host_port_id(lport->host); in bnx2fc_send_session_ofld_req() 244 if (port_id == 0) { in bnx2fc_send_session_ofld_req() 254 tgt->sid = port_id; in bnx2fc_send_session_ofld_req() 255 ofld_req3.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_ofld_req() 256 ofld_req3.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_ofld_req() 257 ofld_req3.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_ofld_req() 259 port_id = rport->port_id; in bnx2fc_send_session_ofld_req() 260 ofld_req3.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_ofld_req() 261 ofld_req3.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_ofld_req() [all …]
|
| H A D | bnx2fc_tgt.c | 95 "port_id (%6x)\n", rport->port_id); in bnx2fc_offload_session() 272 tgt->rdata->ids.port_id, tgt->num_active_ios.counter); in bnx2fc_flush_active_ios() 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 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/fman/ |
| H A D | fman.c | 583 static irqreturn_t fman_bus_error(struct fman *fman, u8 __maybe_unused port_id, in fman_bus_error() argument 589 __func__, fman->state->fm_id, port_id); in fman_bus_error() 620 u8 port_id) in set_port_order_restoration() argument 624 tmp = port_id << FPM_PORT_FM_CTL_PORTID_SHIFT; in set_port_order_restoration() 629 if (port_id % 2) in set_port_order_restoration() 637 static void set_port_liodn(struct fman *fman, u8 port_id, in set_port_liodn() argument 642 iowrite32be(liodn_ofst, &fman->bmi_regs->fmbm_spliodn[port_id - 1]); in set_port_liodn() 646 tmp = ioread32be(&fman->dma_regs->fmdmplr[port_id / 2]); in set_port_liodn() 647 if (port_id % 2) { in set_port_liodn() 654 iowrite32be(tmp, &fman->dma_regs->fmdmplr[port_id / 2]); in set_port_liodn() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/ |
| H A D | am65-cpsw-nuss.c | 195 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_nuss_adjust_link() 204 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_nuss_adjust_link() 240 port_mask = BIT(port->port_id) | ALE_PORT_HOST; in am65_cpsw_nuss_ndo_slave_add_vid() 280 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_slave_set_promisc_2g() 285 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_slave_set_promisc_2g() 306 ndev->flags & IFF_ALLMULTI, port->port_id); in am65_cpsw_nuss_ndo_slave_set_rx_mode() 441 val |= BIT(port->port_id); in am65_cpsw_nuss_common_open() 634 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_nuss_ndo_slave_open() 637 cpsw_ale_control_set(common->ale, port->port_id, in am65_cpsw_nuss_ndo_slave_open() 640 port_mask = BIT(port->port_id) | ALE_PORT_HOST; in am65_cpsw_nuss_ndo_slave_open() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtw88/ |
| H A D | ps.c | 199 static void __rtw_enter_lps(struct rtw_dev *rtwdev, u8 port_id) in __rtw_enter_lps() argument 207 conf->port_id = port_id; in __rtw_enter_lps() 230 void rtw_enter_lps(struct rtw_dev *rtwdev, u8 port_id) in rtw_enter_lps() argument 237 __rtw_enter_lps(rtwdev, port_id); in rtw_enter_lps()
|