Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c187 hns_get_gid_index(hr_dev, qp->phy_port, in hns_roce_v1_post_send()
326 SQ_DOORBELL_U32_4_PORT_S, qp->phy_port); in hns_roce_v1_post_send()
407 QP1C_CFGN_OFFSET * hr_qp->phy_port); in hns_roce_v1_post_recv()
416 QP1C_CFGN_OFFSET * hr_qp->phy_port, reg_val); in hns_roce_v1_post_recv()
701 u8 phy_port; in hns_roce_v1_rsv_lp_qp() local
762 phy_port = (i >= HNS_ROCE_MAX_PORTS) ? (i - 2) : in hns_roce_v1_rsv_lp_qp()
767 if (hr_dev->iboe.phy_port[j] == phy_port) { in hns_roce_v1_rsv_lp_qp()
786 hr_qp->phy_port = phy_port; in hns_roce_v1_rsv_lp_qp()
1700 static int hns_roce_v1_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v1_set_mac() argument
1726 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.h643 u8 phy_port; member
676 u8 phy_port[HNS_ROCE_MAX_PORTS]; member
905 int (*set_mac)(struct hns_roce_dev *hr_dev, u8 phy_port, u8 *addr);
906 void (*set_mtu)(struct hns_roce_dev *hr_dev, u8 phy_port,
Dhns_roce_qp.c166 hr_dev->iboe.phy_port[hr_qp->port]; in alloc_qpn()
1045 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
Dhns_roce_hw_v2.c2711 static int hns_roce_v2_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v2_set_mac() argument
2726 CFG_SMAC_TB_IDX_S, phy_port); in hns_roce_v2_set_mac()
4750 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields()
6227 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dicm.c574 u8 phy_port; in icm_fr_disconnect_xdomain_paths() local
577 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths()
578 if (phy_port == 0) in icm_fr_disconnect_xdomain_paths()
736 u8 phy_port, sw_phy_port; in icm_fr_device_connected() local
740 phy_port = tb_phy_port_from_link(link); in icm_fr_device_connected()
750 if (sw->depth == depth && sw_phy_port == phy_port && in icm_fr_device_connected()
900 u8 xd_phy_port, phy_port; in icm_fr_xdomain_connected() local
903 phy_port = phy_port_from_route(route, depth); in icm_fr_xdomain_connected()
905 if (xd->depth == depth && xd_phy_port == phy_port) { in icm_fr_xdomain_connected()
1789 static int icm_reset_phy_port(struct tb *tb, int phy_port) in icm_reset_phy_port() argument
[all …]
Dtb.c764 int phy_port = tb_phy_port_from_link(port->port); in tb_find_pcie_down() local
773 index = !phy_port ? 6 : 7; in tb_find_pcie_down()
775 index = !phy_port ? 6 : 8; in tb_find_pcie_down()
777 index = !phy_port ? 8 : 9; in tb_find_pcie_down()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c1209 if (adapter->npars[i].phy_port != eswitch) in qlcnic_get_eswitch_stats()
1335 arg1 = (adapter->npars[index].phy_port & BIT_0); in qlcnic_config_switch_port()
1405 u8 phy_port; in qlcnic_get_eswitch_port_config() local
1411 phy_port = adapter->npars[index].phy_port; in qlcnic_get_eswitch_port_config()
1413 phy_port = adapter->ahw->physical_port; in qlcnic_get_eswitch_port_config()
1415 arg1 = phy_port; in qlcnic_get_eswitch_port_config()
Dqlcnic_83xx_hw.h175 u8 phy_port; member
182 u8 phy_port;
Dqlcnic_83xx_vnic.c112 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
Dqlcnic_sysfs.c388 s_esw_id = adapter->npars[src_index].phy_port; in validate_pm_config()
389 d_esw_id = adapter->npars[dest_index].phy_port; in validate_pm_config()
428 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()
440 id = adapter->npars[index].phy_port; in qlcnic_sysfs_write_pm_config()
Dqlcnic.h1292 u8 phy_port; member
Dqlcnic_main.c1047 adapter->npars[j].phy_port = (u8)pci_info[i].default_port; in qlcnic_init_pci_info()
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/
Dbe_mgmt.h97 u8 phy_port; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbnx2.c994 return (bp->phy_port == PORT_FIBRE) ? "SerDes" : in bnx2_xceiver_str()
1891 if (bp->phy_port == PORT_TP) in bnx2_set_default_remote_link()
2038 old_port = bp->phy_port; in bnx2_remote_phy_event()
2040 bp->phy_port = PORT_FIBRE; in bnx2_remote_phy_event()
2042 bp->phy_port = PORT_TP; in bnx2_remote_phy_event()
2044 if (old_port != bp->phy_port) in bnx2_remote_phy_event()
2426 rc = bnx2_setup_phy(bp, bp->phy_port); in bnx2_init_phy()
3957 if (bp->phy_port == PORT_TP) { in bnx2_setup_wol()
3967 bnx2_setup_phy(bp, bp->phy_port); in bnx2_setup_wol()
3982 if (bp->phy_port == PORT_TP) { in bnx2_setup_wol()
[all …]
Dbnx2.h6946 u8 phy_port; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dniu.c8546 int dev_id_1, int dev_id_2, u8 phy_port, int type) in phy_record() argument
8569 phy_port); in phy_record()
8577 p->phy_port[type][idx] = phy_port; in phy_record()
8587 if (p->phy_port[PHY_TYPE_PMA_PMD][i] == port) in port_has_10g()
8591 if (p->phy_port[PHY_TYPE_PCS][i] == port) in port_has_10g()
8619 *lowest = p->phy_port[PHY_TYPE_MII][0]; in count_1g_ports()
Dniu.h3040 u8 phy_port[PHY_TYPE_MAX][NIU_MAX_PORTS]; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_sli.h661 u32 phy_port; member
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1718 u8 phy_port; member
Dbe_cmds.c3544 adapter->hba_port_num = attribs->hba_attribs.phy_port; in be_cmd_get_cntl_attributes()