Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c186 hns_get_gid_index(hr_dev, qp->phy_port, in hns_roce_v1_post_send()
330 SQ_DOORBELL_U32_4_PORT_S, qp->phy_port); in hns_roce_v1_post_send()
413 QP1C_CFGN_OFFSET * hr_qp->phy_port); in hns_roce_v1_post_recv()
422 QP1C_CFGN_OFFSET * hr_qp->phy_port, reg_val); in hns_roce_v1_post_recv()
719 u8 phy_port; in hns_roce_v1_rsv_lp_qp() local
784 phy_port = (i >= HNS_ROCE_MAX_PORTS) ? (i - 2) : in hns_roce_v1_rsv_lp_qp()
789 if (hr_dev->iboe.phy_port[j] == phy_port) { in hns_roce_v1_rsv_lp_qp()
808 hr_qp->phy_port = phy_port; in hns_roce_v1_rsv_lp_qp()
1775 static int hns_roce_v1_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v1_set_mac() argument
1801 PHY_PORT_OFFSET * phy_port); in hns_roce_v1_set_mac()
[all …]
Dhns_roce_main.c63 u8 phy_port; in hns_roce_set_mac() local
72 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac()
73 return hr_dev->hw->set_mac(hr_dev, phy_port, addr); in hns_roce_set_mac()
169 hr_dev->hw->set_mtu(hr_dev, hr_dev->iboe.phy_port[i], in hns_roce_setup_mtu_mac()
Dhns_roce_device.h677 u8 phy_port; member
706 u8 phy_port[HNS_ROCE_MAX_PORTS]; member
943 int (*set_mac)(struct hns_roce_dev *hr_dev, u8 phy_port, u8 *addr);
944 void (*set_mtu)(struct hns_roce_dev *hr_dev, u8 phy_port,
Dhns_roce_qp.c1056 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
1061 hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
Dhns_roce_hw_v2.c420 hns_get_gid_index(hr_dev, qp->phy_port, in hns_roce_v2_post_send()
2193 static int hns_roce_v2_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v2_set_mac() argument
2210 CFG_SMAC_TB_IDX_S, phy_port); in hns_roce_v2_set_mac()
4378 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields()
6398 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()
/Linux-v5.4/drivers/thunderbolt/
Dicm.c550 u8 phy_port; in icm_fr_disconnect_xdomain_paths() local
553 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths()
554 if (phy_port == 0) in icm_fr_disconnect_xdomain_paths()
726 u8 phy_port, sw_phy_port; in icm_fr_device_connected() local
730 phy_port = tb_phy_port_from_link(link); in icm_fr_device_connected()
740 if (sw->depth == depth && sw_phy_port == phy_port && in icm_fr_device_connected()
873 u8 xd_phy_port, phy_port; in icm_fr_xdomain_connected() local
876 phy_port = phy_port_from_route(route, depth); in icm_fr_xdomain_connected()
878 if (xd->depth == depth && xd_phy_port == phy_port) { in icm_fr_xdomain_connected()
1730 static int icm_reset_phy_port(struct tb *tb, int phy_port) in icm_reset_phy_port() argument
[all …]
Dtb.c332 int phy_port = tb_phy_port_from_link(port->port); in tb_find_pcie_down() local
340 index = !phy_port ? 6 : 7; in tb_find_pcie_down()
342 index = !phy_port ? 6 : 8; in tb_find_pcie_down()
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c1210 if (adapter->npars[i].phy_port != eswitch) in qlcnic_get_eswitch_stats()
1336 arg1 = (adapter->npars[index].phy_port & BIT_0); in qlcnic_config_switch_port()
1406 u8 phy_port; in qlcnic_get_eswitch_port_config() local
1412 phy_port = adapter->npars[index].phy_port; in qlcnic_get_eswitch_port_config()
1414 phy_port = adapter->ahw->physical_port; in qlcnic_get_eswitch_port_config()
1416 arg1 = phy_port; in qlcnic_get_eswitch_port_config()
Dqlcnic_83xx_hw.h176 u8 phy_port; member
183 u8 phy_port;
Dqlcnic_83xx_vnic.c113 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
Dqlcnic_sysfs.c389 s_esw_id = adapter->npars[src_index].phy_port; in validate_pm_config()
390 d_esw_id = adapter->npars[dest_index].phy_port; in validate_pm_config()
429 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()
441 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()
Dqlcnic.h1298 u8 phy_port; member
Dqlcnic_main.c1067 adapter->npars[j].phy_port = (u8)pci_info[i].default_port; in qlcnic_init_pci_info()
/Linux-v5.4/drivers/scsi/be2iscsi/
Dbe_mgmt.h97 u8 phy_port; member
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbnx2.c1000 return (bp->phy_port == PORT_FIBRE) ? "SerDes" : in bnx2_xceiver_str()
1897 if (bp->phy_port == PORT_TP) in bnx2_set_default_remote_link()
2044 old_port = bp->phy_port; in bnx2_remote_phy_event()
2046 bp->phy_port = PORT_FIBRE; in bnx2_remote_phy_event()
2048 bp->phy_port = PORT_TP; in bnx2_remote_phy_event()
2050 if (old_port != bp->phy_port) in bnx2_remote_phy_event()
2432 rc = bnx2_setup_phy(bp, bp->phy_port); in bnx2_init_phy()
3963 if (bp->phy_port == PORT_TP) { in bnx2_setup_wol()
3973 bnx2_setup_phy(bp, bp->phy_port); in bnx2_setup_wol()
3988 if (bp->phy_port == PORT_TP) { in bnx2_setup_wol()
[all …]
Dbnx2.h6946 u8 phy_port; member
/Linux-v5.4/drivers/net/
Dthunderbolt.c1177 u8 phy_port; in tbnet_generate_mac() local
1180 phy_port = tb_phy_port_from_link(TBNET_L0_PORT_NUM(xd->route)); in tbnet_generate_mac()
1183 dev->dev_addr[0] = phy_port << 4 | 0x02; in tbnet_generate_mac()
/Linux-v5.4/drivers/net/ethernet/sun/
Dniu.c8542 int dev_id_1, int dev_id_2, u8 phy_port, int type) in phy_record() argument
8565 phy_port); in phy_record()
8573 p->phy_port[type][idx] = phy_port; in phy_record()
8583 if (p->phy_port[PHY_TYPE_PMA_PMD][i] == port) in port_has_10g()
8587 if (p->phy_port[PHY_TYPE_PCS][i] == port) in port_has_10g()
8615 *lowest = p->phy_port[PHY_TYPE_MII][0]; in count_1g_ports()
Dniu.h3040 u8 phy_port[PHY_TYPE_MAX][NIU_MAX_PORTS]; member
/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma_sli.h661 u32 phy_port; member
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1718 u8 phy_port; member
Dbe_cmds.c3542 adapter->hba_port_num = attribs->hba_attribs.phy_port; in be_cmd_get_cntl_attributes()