Home
last modified time | relevance | path

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

/openbmc/u-boot/include/net/pfe_eth/
H A Dpfe_driver.h51 int pfe_send(int phy_port, void *data, int length);
52 int pfe_recv(uchar **pkt_ptr, int *phy_port);
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_eth.c189 int phy_port; in pfe_eth_recv() local
191 len = pfe_recv(&pkt_buf, &phy_port); in pfe_eth_recv()
199 phy_port, len); in pfe_eth_recv()
200 if (phy_port != priv->gemac_port) { in pfe_eth_recv()
H A Dpfe_driver.c27 int pfe_recv(uchar **pkt_ptr, int *phy_port) in pfe_recv() argument
64 *phy_port = hif_header->port_no; in pfe_recv()
124 int pfe_send(int phy_port, void *data, int length) in pfe_send() argument
150 hif_header.port_no = phy_port; in pfe_send()
/openbmc/linux/drivers/thunderbolt/
H A Dicm.c594 u8 phy_port; in icm_fr_disconnect_xdomain_paths() local
597 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths()
598 if (phy_port == 0) in icm_fr_disconnect_xdomain_paths()
754 u8 phy_port, sw_phy_port; in icm_fr_device_connected() local
757 phy_port = tb_phy_port_from_link(link); in icm_fr_device_connected()
767 if (sw->depth == depth && sw_phy_port == phy_port && in icm_fr_device_connected()
924 u8 xd_phy_port, phy_port; in icm_fr_xdomain_connected() local
927 phy_port = phy_port_from_route(route, depth); in icm_fr_xdomain_connected()
929 if (xd->depth == depth && xd_phy_port == phy_port) { in icm_fr_xdomain_connected()
1841 static int icm_reset_phy_port(struct tb *tb, int phy_port) in icm_reset_phy_port() argument
[all …]
H A Dtb.c1118 int phy_port = tb_phy_port_from_link(port->port); in tb_find_pcie_down() local
1127 index = !phy_port ? 6 : 7; in tb_find_pcie_down()
1129 index = !phy_port ? 6 : 8; in tb_find_pcie_down()
1131 index = !phy_port ? 8 : 9; in tb_find_pcie_down()
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_ctx.c1215 if (adapter->npars[i].phy_port != eswitch) in qlcnic_get_eswitch_stats()
1341 arg1 = (adapter->npars[index].phy_port & BIT_0); in qlcnic_config_switch_port()
1411 u8 phy_port; in qlcnic_get_eswitch_port_config() local
1417 phy_port = adapter->npars[index].phy_port; in qlcnic_get_eswitch_port_config()
1419 phy_port = adapter->ahw->physical_port; in qlcnic_get_eswitch_port_config()
1421 arg1 = phy_port; in qlcnic_get_eswitch_port_config()
H A Dqlcnic_83xx_hw.h175 u8 phy_port; member
182 u8 phy_port;
H A Dqlcnic_83xx_vnic.c112 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
H A Dqlcnic_sysfs.c387 s_esw_id = adapter->npars[src_index].phy_port; in validate_pm_config()
388 d_esw_id = adapter->npars[dest_index].phy_port; in validate_pm_config()
427 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()
439 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()
H A Dqlcnic.h1292 u8 phy_port; member
H A Dqlcnic_main.c1043 adapter->npars[j].phy_port = (u8)pci_info[i].default_port; in qlcnic_init_pci_info()
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_main.c48 u8 phy_port; in hns_roce_set_mac() local
60 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac()
61 return hr_dev->hw->set_mac(hr_dev, phy_port, addr); in hns_roce_set_mac()
H A Dhns_roce_device.h605 u8 phy_port; member
641 u8 phy_port[HNS_ROCE_MAX_PORTS]; member
882 int (*set_mac)(struct hns_roce_dev *hr_dev, u8 phy_port,
H A Dhns_roce_qp.c1226 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
H A Dhns_roce_hw_v2.c3153 static int hns_roce_v2_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v2_set_mac() argument
3167 hr_reg_write(smac_tb, CFG_SMAC_TB_IDX, phy_port); in hns_roce_v2_set_mac()
5137 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields()
6695 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()
/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_mgmt.h97 u8 phy_port; member
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c169 int phy_port, phy, quadtype; in ice_fill_phy_msg_e822() local
171 phy_port = port % ICE_PORTS_PER_PHY; in ice_fill_phy_msg_e822()
176 msg->msg_addr_low = P_Q0_L(P_0_BASE + offset, phy_port); in ice_fill_phy_msg_e822()
177 msg->msg_addr_high = P_Q0_H(P_0_BASE + offset, phy_port); in ice_fill_phy_msg_e822()
179 msg->msg_addr_low = P_Q1_L(P_4_BASE + offset, phy_port); in ice_fill_phy_msg_e822()
180 msg->msg_addr_high = P_Q1_H(P_4_BASE + offset, phy_port); in ice_fill_phy_msg_e822()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c1890 if (bp->phy_port == PORT_TP) in bnx2_set_default_remote_link()
2037 old_port = bp->phy_port; in bnx2_remote_phy_event()
2039 bp->phy_port = PORT_FIBRE; in bnx2_remote_phy_event()
2041 bp->phy_port = PORT_TP; in bnx2_remote_phy_event()
2043 if (old_port != bp->phy_port) in bnx2_remote_phy_event()
4717 bp->phy_port = PORT_FIBRE; in bnx2_init_fw_cap()
4719 bp->phy_port = PORT_TP; in bnx2_init_fw_cap()
4853 old_port = bp->phy_port; in bnx2_reset_chip()
4856 old_port != bp->phy_port) in bnx2_reset_chip()
8339 bp->phy_port = PORT_TP; in bnx2_init_board()
[all …]
H A Dbnx2.h6945 u8 phy_port; member
/openbmc/linux/drivers/net/thunderbolt/
H A Dmain.c1273 u8 phy_port; in tbnet_generate_mac() local
1276 phy_port = tb_phy_port_from_link(TBNET_L0_PORT_NUM(xd->route)); in tbnet_generate_mac()
1279 addr[0] = phy_port << 4 | 0x02; in tbnet_generate_mac()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dniu.c8570 int dev_id_1, int dev_id_2, u8 phy_port, int type) in phy_record() argument
8593 phy_port); in phy_record()
8601 p->phy_port[type][idx] = phy_port; in phy_record()
8611 if (p->phy_port[PHY_TYPE_PMA_PMD][i] == port) in port_has_10g()
8615 if (p->phy_port[PHY_TYPE_PCS][i] == port) in port_has_10g()
8643 *lowest = p->phy_port[PHY_TYPE_MII][0]; in count_1g_ports()
H A Dniu.h3040 u8 phy_port[PHY_TYPE_MAX][NIU_MAX_PORTS]; member
/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_sli.h661 u32 phy_port; member
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.h1718 u8 phy_port; member
H A Dbe_cmds.c3545 adapter->hba_port_num = attribs->hba_attribs.phy_port; in be_cmd_get_cntl_attributes()