/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v1.c | 203 hns_get_gid_index(hr_dev, qp->phy_port, in hns_roce_v1_post_send() 340 SQ_DOORBELL_U32_4_PORT_S, qp->phy_port); in hns_roce_v1_post_send() 419 QP1C_CFGN_OFFSET * hr_qp->phy_port); in hns_roce_v1_post_recv() 428 QP1C_CFGN_OFFSET * hr_qp->phy_port, reg_val); in hns_roce_v1_post_recv() 788 u8 phy_port; in hns_roce_v1_rsv_lp_qp() local 849 phy_port = (i >= HNS_ROCE_MAX_PORTS) ? (i - 2) : in hns_roce_v1_rsv_lp_qp() 854 if (hr_dev->iboe.phy_port[j] == phy_port) { in hns_roce_v1_rsv_lp_qp() 873 hr_qp->phy_port = phy_port; in hns_roce_v1_rsv_lp_qp() 1784 static int hns_roce_v1_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v1_set_mac() argument 1810 PHY_PORT_OFFSET * phy_port); in hns_roce_v1_set_mac() [all …]
|
D | hns_roce_main.c | 47 u8 phy_port; in hns_roce_set_mac() local 59 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac() 60 return hr_dev->hw->set_mac(hr_dev, phy_port, addr); in hns_roce_set_mac() 155 hr_dev->hw->set_mtu(hr_dev, hr_dev->iboe.phy_port[i], in hns_roce_setup_mtu_mac()
|
D | hns_roce_device.h | 643 u8 phy_port; member 678 u8 phy_port[HNS_ROCE_MAX_PORTS]; member 907 int (*set_mac)(struct hns_roce_dev *hr_dev, u8 phy_port, u8 *addr); 908 void (*set_mtu)(struct hns_roce_dev *hr_dev, u8 phy_port,
|
D | hns_roce_qp.c | 241 hr_dev->iboe.phy_port[hr_qp->port]; in alloc_qpn() 1211 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_create_qp()
|
D | hns_roce_hw_v2.c | 3024 static int hns_roce_v2_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v2_set_mac() argument 3038 hr_reg_write(smac_tb, CFG_SMAC_TB_IDX, phy_port); in hns_roce_v2_set_mac() 4946 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields() 6305 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()
|
/drivers/thunderbolt/ |
D | icm.c | 594 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() 756 u8 phy_port, sw_phy_port; in icm_fr_device_connected() local 760 phy_port = tb_phy_port_from_link(link); in icm_fr_device_connected() 770 if (sw->depth == depth && sw_phy_port == phy_port && in icm_fr_device_connected() 926 u8 xd_phy_port, phy_port; in icm_fr_xdomain_connected() local 929 phy_port = phy_port_from_route(route, depth); in icm_fr_xdomain_connected() 931 if (xd->depth == depth && xd_phy_port == phy_port) { in icm_fr_xdomain_connected() 1838 static int icm_reset_phy_port(struct tb *tb, int phy_port) in icm_reset_phy_port() argument [all …]
|
D | tb.c | 815 int phy_port = tb_phy_port_from_link(port->port); in tb_find_pcie_down() local 824 index = !phy_port ? 6 : 7; in tb_find_pcie_down() 826 index = !phy_port ? 6 : 8; in tb_find_pcie_down() 828 index = !phy_port ? 8 : 9; in tb_find_pcie_down()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 1215 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()
|
D | qlcnic_83xx_hw.h | 175 u8 phy_port; member 182 u8 phy_port;
|
D | qlcnic_sysfs.c | 388 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()
|
D | qlcnic_83xx_vnic.c | 112 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
|
D | qlcnic.h | 1292 u8 phy_port; member
|
D | qlcnic_main.c | 1043 adapter->npars[j].phy_port = (u8)pci_info[i].default_port; in qlcnic_init_pci_info()
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 994 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 …]
|
D | bnx2.h | 6946 u8 phy_port; member
|
/drivers/scsi/be2iscsi/ |
D | be_mgmt.h | 97 u8 phy_port; member
|
/drivers/net/ |
D | thunderbolt.c | 1211 u8 phy_port; in tbnet_generate_mac() local 1214 phy_port = tb_phy_port_from_link(TBNET_L0_PORT_NUM(xd->route)); in tbnet_generate_mac() 1217 dev->dev_addr[0] = phy_port << 4 | 0x02; in tbnet_generate_mac()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 8546 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()
|
D | niu.h | 3040 u8 phy_port[PHY_TYPE_MAX][NIU_MAX_PORTS]; member
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_sli.h | 661 u32 phy_port; member
|
/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 1718 u8 phy_port; member
|
D | be_cmds.c | 3544 adapter->hba_port_num = attribs->hba_attribs.phy_port; in be_cmd_get_cntl_attributes()
|