| /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 >= 0 && phy_port <= 3)) in ipu6_isys_driver_port_to_phy_port() 632 int phy_port, phy_id; in ipu6_isys_mcd_phy_config() local [all …]
|
| /linux/drivers/net/phy/ |
| H A D | phy_port.c | 18 struct phy_port *phy_port_alloc(void) in phy_port_alloc() 20 struct phy_port *port; in phy_port_alloc() 37 void phy_port_destroy(struct phy_port *port) in phy_port_destroy() 50 struct phy_port *phy_of_parse_port(struct device_node *dn) in phy_of_parse_port() 54 struct phy_port *port; in phy_of_parse_port() 109 void phy_port_update_supported(struct phy_port *port) in phy_port_update_supported() 165 static void phy_port_filter_supported(struct phy_port *port) in phy_port_filter_supported() 187 int phy_port_restrict_mediums(struct phy_port *port, unsigned long mediums) in phy_port_restrict_mediums() 207 int phy_port_get_type(struct phy_port *port) in phy_port_get_type()
|
| H A D | phy_device.c | 33 #include <linux/phy_port.h> 1556 struct phy_port *port; in phy_sfp_module_insert() 1593 struct phy_port *port = phy_get_sfp_port(phydev); in phy_sfp_module_remove() 1605 struct phy_port *port = phy_get_sfp_port(phydev); in phy_sfp_link_up() 1614 struct phy_port *port = phy_get_sfp_port(phydev); in phy_sfp_link_down() 1631 static int phy_add_port(struct phy_device *phydev, struct phy_port *port) in phy_add_port() 1666 static void phy_del_port(struct phy_device *phydev, struct phy_port *port) in phy_del_port() 1678 struct phy_port *port = phy_port_alloc(); in phy_setup_sfp_port() 3420 struct phy_port *tmp, *port; in phy_cleanup_ports() 3430 struct phy_port *por in phy_default_setup_single_port() [all...] |
| /linux/drivers/thunderbolt/ |
| H A D | icm.c | 622 u8 phy_port; in icm_fr_disconnect_xdomain_paths() 625 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths() 626 if (phy_port == 0) in icm_fr_disconnect_xdomain_paths() 785 u8 phy_port, sw_phy_port; in icm_fr_device_connected() 788 phy_port = tb_phy_port_from_link(link); in icm_fr_device_connected() 798 if (sw->depth == depth && sw_phy_port == phy_port && in icm_fr_device_connected() 955 u8 xd_phy_port, phy_port; in icm_fr_xdomain_connected() 958 phy_port = phy_port_from_route(route, depth); in icm_fr_xdomain_connected() 960 if (xd->depth == depth && xd_phy_port == phy_port) { in icm_fr_xdomain_connected() 1889 static int icm_reset_phy_port(struct tb *tb, int phy_port) in icm_reset_phy_port() 617 u8 phy_port; icm_fr_disconnect_xdomain_paths() local 779 u8 phy_port, sw_phy_port; icm_fr_device_connected() local 949 u8 xd_phy_port, phy_port; icm_fr_xdomain_connected() local 1875 icm_reset_phy_port(struct tb * tb,int phy_port) icm_reset_phy_port() argument [all...] |
| H A D | tb.c | 1826 int phy_port = tb_phy_port_from_link(port->port); in tb_find_pcie_down() local 1835 index = !phy_port ? 6 : 7; in tb_find_pcie_down() 1837 index = !phy_port ? 6 : 8; in tb_find_pcie_down() 1839 index = !phy_port ? 8 : 9; in tb_find_pcie_down()
|
| /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 | 175 u8 phy_port; member 182 u8 phy_port;
|
| 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_83xx_vnic.c | 112 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
|
| H A D | qlcnic_main.c | 1037 adapter->npars[j].phy_port = (u8)pci_info[i].default_port; in qlcnic_init_pci_info()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bnx2.c | 1010 return (bp->phy_port == PORT_FIBRE) ? "SerDes" : in bnx2_report_link() 1907 if (bp->phy_port == PORT_TP) in bnx2_set_default_remote_link() 2054 old_port = bp->phy_port; 2056 bp->phy_port = PORT_FIBRE; in bnx2_set_remote_link() 2058 bp->phy_port = PORT_TP; in bnx2_set_remote_link() 2060 if (old_port != bp->phy_port) in bnx2_set_remote_link() 2442 rc = bnx2_setup_phy(bp, bp->phy_port); in bnx2_set_mac_loopback() 3958 if (bp->phy_port == PORT_TP) { in bnx2_setup_wol() 3968 bnx2_setup_phy(bp, bp->phy_port); in bnx2_setup_wol() 3983 if (bp->phy_port in bnx2_setup_wol() [all...] |
| H A D | bnx2.h | 6945 u8 phy_port; member
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_mgmt.h | 97 u8 phy_port; member
|
| /linux/drivers/net/phy/qcom/ |
| H A D | qca807x.c | 646 static int qca807x_configure_serdes(struct phy_port *port, bool enable, in qca807x_configure_serdes() 684 struct phy_port *port) in qca807x_attach_mii_port()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp_hw.c | 2417 int phy_port, quadtype; in ice_is_64b_phy_reg_e82x() 2419 phy_port = port % hw->ptp.ports_per_phy; in ice_is_64b_phy_reg_e82x() 2424 msg->msg_addr_low = P_Q0_L(P_0_BASE + offset, phy_port); in ice_is_64b_phy_reg_e82x() 2425 msg->msg_addr_high = P_Q0_H(P_0_BASE + offset, phy_port); in ice_is_64b_phy_reg_e82x() 2427 msg->msg_addr_low = P_Q1_L(P_4_BASE + offset, phy_port); in ice_is_64b_phy_reg_e82x() 2428 msg->msg_addr_high = P_Q1_H(P_4_BASE + offset, phy_port); in ice_is_64b_phy_reg_e82x() 2380 int phy_port, quadtype; ice_fill_phy_msg_e82x() local
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | niu.c | 8596 int dev_id_1, int dev_id_2, u8 phy_port, int type) in phy_record() argument 8619 phy_port); in phy_record() 8627 p->phy_port[type][idx] = phy_port; in phy_record() 8637 if (p->phy_port[PHY_TYPE_PMA_PMD][i] == port) in port_has_10g() 8641 if (p->phy_port[PHY_TYPE_PCS][i] == port) in port_has_10g() 8669 *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/infiniband/hw/hns/ |
| H A D | hns_roce_hw_v2.c | 3514 static int hns_roce_v2_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v2_set_mac() 3528 hr_reg_write(smac_tb, CFG_SMAC_TB_IDX, phy_port); in hns_roce_v2_set_mac() 5563 hr_qp->phy_port = hr_dev->iboe.phy_port[hr_qp->port]; in hns_roce_v2_record_opt_fields() 7354 hr_dev->iboe.phy_port[0] = 0; in __hns_roce_hw_v2_uninit_instance() 3513 hns_roce_v2_set_mac(struct hns_roce_dev * hr_dev,u8 phy_port,const u8 * addr) hns_roce_v2_set_mac() argument
|
| /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()
|
| /linux/ |
| H A D | MAINTAINERS | 18794 F: drivers/net/phy/phy_port.c 18795 F: include/linux/phy_port.h 18796 K: struct\s+phy_port|phy_port_
|