/linux/drivers/media/pci/intel/ipu6/ |
H A D | ipu6-isys-mcd-phy.c | 594 int phy_port; in ipu6_isys_driver_port_to_phy_port() local 602 phy_port = cfg->port % 4; in ipu6_isys_driver_port_to_phy_port() 605 if (phy_port == 0) in ipu6_isys_driver_port_to_phy_port() 606 phy_port = 1; in ipu6_isys_driver_port_to_phy_port() 607 else if (phy_port == 1) in ipu6_isys_driver_port_to_phy_port() 608 phy_port = 0; in ipu6_isys_driver_port_to_phy_port() 610 ret = phy_port; in ipu6_isys_driver_port_to_phy_port() 613 if (cfg->nlanes == 4 && !(phy_port == 0 || phy_port == 2)) in ipu6_isys_driver_port_to_phy_port() 616 !(phy_port > in ipu6_isys_driver_port_to_phy_port() 632 int phy_port, phy_id; ipu6_isys_mcd_phy_config() local [all...] |
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A 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()
|
H A D | qlcnic_83xx_hw.h | 166 * @phy_port: physical port id 175 u8 phy_port; member 182 u8 phy_port;
|
H A D | qlcnic_83xx_vnic.c | 112 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
|
H A D | qlcnic_sysfs.c | 387 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 D | qlcnic_main.c | 1042 adapter->npars[j].phy_port = (u8)pci_info[i].default_port; in qlcnic_init_pci_info()
|
/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_main.c | 48 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 D | hns_roce_device.h | 612 u8 phy_port; member 652 u8 phy_port[HNS_ROCE_MAX_PORTS]; member 919 int (*set_mac)(struct hns_roce_dev *hr_dev, u8 phy_port,
|
H A D | hns_roce_hw_v2.c | 3266 static int hns_roce_v2_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v2_set_mac() argument 3280 hr_reg_write(smac_tb, CFG_SMAC_TB_IDX, phy_port); in hns_roce_v2_set_mac() 5290 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields() 7011 hr_dev->iboe.phy_port[0] = 0; in hns_roce_hw_v2_get_cfg()
|
/linux/drivers/scsi/be2iscsi/ |
H A D | be_mgmt.h | 97 u8 phy_port; member
|
/linux/drivers/net/ethernet/broadcom/ |
H A 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() 3942 if (bp->phy_port == PORT_TP) { in bnx2_setup_wol() 3952 bnx2_setup_phy(bp, bp->phy_port); in bnx2_setup_wol() 3967 if (bp->phy_port in bnx2_setup_wol() [all...] |
H A D | bnx2.h | 6945 u8 phy_port; member
|
/linux/drivers/net/thunderbolt/ |
H A D | main.c | 1272 u8 phy_port; in tbnet_generate_mac() local 1275 phy_port = tb_phy_port_from_link(TBNET_L0_PORT_NUM(xd->route)); in tbnet_generate_mac() 1278 addr[0] = phy_port << 4 | 0x02; in tbnet_generate_mac()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp_hw.c | 2218 int phy_port, quadtype; in ice_fill_phy_msg_e82x() local 2220 phy_port = port % hw->ptp.ports_per_phy; in ice_fill_phy_msg_e82x() 2225 msg->msg_addr_low = P_Q0_L(P_0_BASE + offset, phy_port); in ice_fill_phy_msg_e82x() 2226 msg->msg_addr_high = P_Q0_H(P_0_BASE + offset, phy_port); in ice_fill_phy_msg_e82x() 2228 msg->msg_addr_low = P_Q1_L(P_4_BASE + offset, phy_port); in ice_fill_phy_msg_e82x() 2229 msg->msg_addr_high = P_Q1_H(P_4_BASE + offset, phy_port); in ice_fill_phy_msg_e82x()
|
/linux/drivers/thunderbolt/ |
H A D | tb.c | 1818 int phy_port = tb_phy_port_from_link(port->port); in tb_find_pcie_down() local 1827 index = !phy_port ? 6 : 7; in tb_find_pcie_down() 1829 index = !phy_port ? 6 : 8; in tb_find_pcie_down() 1831 index = !phy_port ? 8 : 9; in tb_find_pcie_down()
|
/linux/drivers/net/ethernet/sun/ |
H A D | niu.c | 8594 int dev_id_1, int dev_id_2, u8 phy_port, int type) in phy_record() argument 8613 pr_info("niu%d: Found PHY %08x type %s at phy_port %u\n", in phy_record() 8617 phy_port); in phy_record() 8625 p->phy_port[type][idx] = phy_port; in phy_record() 8635 if (p->phy_port[PHY_TYPE_PMA_PMD][i] == port) in port_has_10g() 8639 if (p->phy_port[PHY_TYPE_PCS][i] == port) in port_has_10g() 8667 *lowest = p->phy_port[PHY_TYPE_MII][0]; in count_1g_ports()
|
H A D | niu.h | 3043 u8 phy_port[PHY_TYPE_MAX][NIU_MAX_PORTS]; member
|
/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_sli.h | 661 u32 phy_port; member
|
/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.c | 3549 adapter->hba_port_num = attribs->hba_attribs.phy_port; in be_cmd_get_cntl_attributes()
|