/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v1.c | 188 hns_get_gid_index(hr_dev, qp->phy_port, in hns_roce_v1_post_send() 333 SQ_DOORBELL_U32_4_PORT_S, qp->phy_port); in hns_roce_v1_post_send() 416 QP1C_CFGN_OFFSET * hr_qp->phy_port); in hns_roce_v1_post_recv() 425 QP1C_CFGN_OFFSET * hr_qp->phy_port, reg_val); in hns_roce_v1_post_recv() 722 u8 phy_port; in hns_roce_v1_rsv_lp_qp() local 776 phy_port = (i >= HNS_ROCE_MAX_PORTS) ? (i - 2) : in hns_roce_v1_rsv_lp_qp() 781 if (hr_dev->iboe.phy_port[j] == phy_port) { in hns_roce_v1_rsv_lp_qp() 800 hr_qp->phy_port = phy_port; in hns_roce_v1_rsv_lp_qp() 1807 static int hns_roce_v1_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v1_set_mac() argument 1833 PHY_PORT_OFFSET * phy_port); in hns_roce_v1_set_mac() [all …]
|
D | hns_roce_main.c | 64 u8 phy_port; in hns_roce_set_mac() local 73 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac() 74 return hr_dev->hw->set_mac(hr_dev, phy_port, addr); in hns_roce_set_mac() 180 hr_dev->hw->set_mtu(hr_dev, hr_dev->iboe.phy_port[i], in hns_roce_setup_mtu_mac()
|
D | hns_roce_device.h | 545 u8 phy_port; member 574 u8 phy_port[HNS_ROCE_MAX_PORTS]; member 758 int (*set_mac)(struct hns_roce_dev *hr_dev, u8 phy_port, u8 *addr); 759 void (*set_mtu)(struct hns_roce_dev *hr_dev, u8 phy_port,
|
D | hns_roce_qp.c | 878 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp() 883 hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
|
D | hns_roce_hw_v2.c | 362 hns_get_gid_index(hr_dev, qp->phy_port, in hns_roce_v2_post_send() 1638 static int hns_roce_v2_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v2_set_mac() argument 1655 CFG_SMAC_TB_IDX_S, phy_port); in hns_roce_v2_set_mac() 3631 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_modify_qp() 5245 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()
|
/Linux-v4.19/drivers/thunderbolt/ |
D | icm.c | 448 u8 phy_port; in icm_fr_disconnect_xdomain_paths() local 451 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths() 452 if (phy_port == 0) in icm_fr_disconnect_xdomain_paths() 607 u8 phy_port, sw_phy_port; in icm_fr_device_connected() local 611 phy_port = tb_phy_port_from_link(link); in icm_fr_device_connected() 621 if (sw->depth == depth && sw_phy_port == phy_port && in icm_fr_device_connected() 754 u8 xd_phy_port, phy_port; in icm_fr_xdomain_connected() local 757 phy_port = phy_port_from_route(route, depth); in icm_fr_xdomain_connected() 759 if (xd->depth == depth && xd_phy_port == phy_port) { in icm_fr_xdomain_connected() 1585 static int icm_reset_phy_port(struct tb *tb, int phy_port) in icm_reset_phy_port() argument [all …]
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 1210 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()
|
D | qlcnic_83xx_hw.h | 176 u8 phy_port; member 183 u8 phy_port;
|
D | qlcnic_83xx_vnic.c | 113 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
|
D | qlcnic_sysfs.c | 389 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()
|
D | qlcnic.h | 1298 u8 phy_port; member
|
D | qlcnic_main.c | 1066 adapter->npars[j].phy_port = (u8)pci_info[i].default_port; in qlcnic_init_pci_info()
|
/Linux-v4.19/drivers/scsi/be2iscsi/ |
D | be_mgmt.h | 102 u8 phy_port; member
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 1000 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() 3965 if (bp->phy_port == PORT_TP) { in bnx2_setup_wol() 3975 bnx2_setup_phy(bp, bp->phy_port); in bnx2_setup_wol() 3990 if (bp->phy_port == PORT_TP) { in bnx2_setup_wol() [all …]
|
D | bnx2.h | 6946 u8 phy_port; member
|
/Linux-v4.19/drivers/net/ |
D | thunderbolt.c | 1180 u8 phy_port; in tbnet_generate_mac() local 1183 phy_port = tb_phy_port_from_link(TBNET_L0_PORT_NUM(xd->route)); in tbnet_generate_mac() 1186 dev->dev_addr[0] = phy_port << 4 | 0x02; in tbnet_generate_mac()
|
/Linux-v4.19/drivers/net/ethernet/sun/ |
D | niu.c | 8537 int dev_id_1, int dev_id_2, u8 phy_port, int type) in phy_record() argument 8560 phy_port); in phy_record() 8568 p->phy_port[type][idx] = phy_port; in phy_record() 8578 if (p->phy_port[PHY_TYPE_PMA_PMD][i] == port) in port_has_10g() 8582 if (p->phy_port[PHY_TYPE_PCS][i] == port) in port_has_10g() 8610 *lowest = p->phy_port[PHY_TYPE_MII][0]; in count_1g_ports()
|
D | niu.h | 3040 u8 phy_port[PHY_TYPE_MAX][NIU_MAX_PORTS]; member
|
/Linux-v4.19/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_sli.h | 661 u32 phy_port; member
|
/Linux-v4.19/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 1722 u8 phy_port; member
|
D | be_cmds.c | 3548 adapter->hba_port_num = attribs->hba_attribs.phy_port; in be_cmd_get_cntl_attributes()
|