/freebsd/sys/dev/etherswitch/ar40xx/ |
H A D | ar40xx_hw_mdio.c | 91 ar40xx_hw_phy_mmd_write(struct ar40xx_softc *sc, uint32_t phy_id, in ar40xx_hw_phy_mmd_write() argument 97 MDIO_WRITEREG(sc->sc_mdio_dev, phy_id, AR40XX_MII_ATH_MMD_ADDR, in ar40xx_hw_phy_mmd_write() 99 MDIO_WRITEREG(sc->sc_mdio_dev, phy_id, AR40XX_MII_ATH_MMD_DATA, in ar40xx_hw_phy_mmd_write() 101 MDIO_WRITEREG(sc->sc_mdio_dev, phy_id, AR40XX_MII_ATH_MMD_ADDR, in ar40xx_hw_phy_mmd_write() 103 MDIO_WRITEREG(sc->sc_mdio_dev, phy_id, AR40XX_MII_ATH_MMD_DATA, in ar40xx_hw_phy_mmd_write() 110 ar40xx_hw_phy_mmd_read(struct ar40xx_softc *sc, uint32_t phy_id, in ar40xx_hw_phy_mmd_read() argument 117 MDIO_WRITEREG(sc->sc_mdio_dev, phy_id, AR40XX_MII_ATH_MMD_ADDR, in ar40xx_hw_phy_mmd_read() 119 MDIO_WRITEREG(sc->sc_mdio_dev, phy_id, AR40XX_MII_ATH_MMD_DATA, in ar40xx_hw_phy_mmd_read() 121 MDIO_WRITEREG(sc->sc_mdio_dev, phy_id, AR40XX_MII_ATH_MMD_ADDR, in ar40xx_hw_phy_mmd_read() 124 value = MDIO_READREG(sc->sc_mdio_dev, phy_id, in ar40xx_hw_phy_mmd_read()
|
H A D | ar40xx_hw_mdio.h | 34 extern int ar40xx_hw_phy_mmd_write(struct ar40xx_softc *sc, uint32_t phy_id, 36 extern int ar40xx_hw_phy_mmd_read(struct ar40xx_softc *sc, uint32_t phy_id,
|
/freebsd/sys/dev/isci/scil/ |
H A D | scic_sds_controller.c | 827 U32 phy_id; in scic_sds_controller_afe_initialization() local 849 for (phy_id = 0; phy_id < SCI_MAX_PHYS; phy_id++) in scic_sds_controller_afe_initialization() 853 this_controller, scu_afe_xcvr[phy_id].afe_channel_control, 0x00000157); in scic_sds_controller_afe_initialization() 856 this_controller, scu_afe_xcvr[phy_id].afe_xcvr_control0, 0x38016d1a); in scic_sds_controller_afe_initialization() 859 this_controller, scu_afe_xcvr[phy_id].afe_xcvr_control1, 0x01501014); in scic_sds_controller_afe_initialization() 862 this_controller, scu_afe_xcvr[phy_id].afe_tx_control, 0x00000000); in scic_sds_controller_afe_initialization() 865 this_controller, scu_afe_xcvr[phy_id].afe_tx_amp_control0, 0x000bdd08); in scic_sds_controller_afe_initialization() 867 this_controller, scu_afe_xcvr[phy_id].afe_tx_amp_control1, 0x000ffc00); in scic_sds_controller_afe_initialization() 869 this_controller, scu_afe_xcvr[phy_id].afe_tx_amp_control2, 0x000b7c09); in scic_sds_controller_afe_initialization() 871 this_controller, scu_afe_xcvr[phy_id].afe_tx_amp_control3, 0x000afc6e); in scic_sds_controller_afe_initialization() [all …]
|
H A D | scic_sds_port_registers.h | 119 #define SCU_PCSPExCR_WRITE(port, phy_id, value) \ argument 122 (port)->port_pe_configuration_register[phy_id], \ 129 #define SCU_PCSPExCR_READ(port, phy_id) \ argument 132 (port)->port_pe_configuration_register[phy_id] \
|
H A D | scif_sas_smp_io_request.h | 120 U8 phy_id,
|
H A D | scif_sas_smp_io_request.c | 409 U8 phy_id, in scif_sas_smp_request_construct_config_route_info() argument 424 config_route_info.request.configure_route_information.phy_identifier = phy_id; in scif_sas_smp_request_construct_config_route_info()
|
/freebsd/sys/arm64/broadcom/brcmmdio/ |
H A D | mdio_ns2_pcie_phy.c | 50 uint32_t phy_id; member 87 err = MDIO_WRITEREG(device_get_parent(dev), sc->phy_id, in ns2_pci_phy_init() 93 err = MDIO_WRITEREG(device_get_parent(dev), sc->phy_id, in ns2_pci_phy_init() 152 sc->phy_id = buf[0]; in ns2_pcie_phy_fdt_attach()
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | cpsw.txt | 52 - phy_id : Specifies slave phy id (deprecated, use phy-handle) 61 Note: Exactly one of phy_id, phy-handle, or fixed-link must be specified. 88 phy_id = <&davinci_mdio>, <0>; 95 phy_id = <&davinci_mdio>, <1>; 119 phy_id = <&davinci_mdio>, <0>; 126 phy_id = <&davinci_mdio>, <1>;
|
/freebsd/sys/dev/firewire/ |
H A D | firewire.h | 303 phy_id:6, member 320 phy_id:6, member 338 phy_id:6, member 365 phy_id:6, member 382 phy_id:6, member 396 phy_id:6, member
|
H A D | fwphyreg.h | 44 uint8_t phy_id:6, member 77 phy_id:6;
|
H A D | firewire.c | 1273 s->p1.phy_id, s->p1.port3, s->p1.port4, in fw_print_sid() 1278 s->p2.phy_id, s->p2.port11, s->p2.port12, in fw_print_sid() 1282 s->p1.phy_id, s->p1.sequence_num); in fw_print_sid() 1287 s->p0.phy_id, s->p0.link_active, s->p0.gap_count, in fw_print_sid() 1328 node = self_id->p0.phy_id; in fw_sidrcv() 1330 fc->max_node = self_id->p0.phy_id; in fw_sidrcv() 1340 if ((fc->irm == -1 || self_id->p0.phy_id > fc->irm) && in fw_sidrcv() 1342 fc->irm = self_id->p0.phy_id; in fw_sidrcv() 1672 if (s->p0.phy_id == node) in fw_find_self_id()
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | link.c | 130 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_link_changed() 244 /* The phy_id, link address and listen_lmac can be modified only until in iwl_mvm_remove_link() 249 cmd.phy_id = cpu_to_le32(phyctxt->id); in iwl_mvm_remove_link() 251 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_remove_link() 392 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID);
|
H A D | quota.c | 94 int i, phy_id = -1, beacon_int = 0; in iwl_mvm_adjust_quota_for_noa() local 103 phy_id = mvmvif->deflink.phy_ctxt->id; in iwl_mvm_adjust_quota_for_noa() 114 if (id != phy_id) in iwl_mvm_adjust_quota_for_noa()
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_roboswitch.c | 90 mii->phy_id = ROBO_PHY_ADDR; in wpa_driver_roboswitch_mdio_read() 107 mii->phy_id = ROBO_PHY_ADDR; in wpa_driver_roboswitch_mdio_write() 413 if (if_mii(&drv->ifr)->phy_id != ROBO_PHY_ADDR && in wpa_driver_roboswitch_init() 414 if_mii(&drv->ifr)->phy_id != 0) { in wpa_driver_roboswitch_init()
|
/freebsd/sys/dev/igc/ |
H A D | igc_phy.c | 135 u16 phy_id; in igc_get_phy_id() local 142 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igc_get_phy_id() 146 phy->id = (u32)(phy_id << 16); in igc_get_phy_id() 148 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igc_get_phy_id() 152 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in igc_get_phy_id() 153 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in igc_get_phy_id()
|
H A D | igc_phy.h | 26 enum igc_phy_type igc_get_phy_type_from_id(u32 phy_id);
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | reg.h | 51 u8 phy_id; member
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_82571.c | 464 u16 phy_id = 0; in e1000_get_phy_id_82571() local 483 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in e1000_get_phy_id_82571() 487 phy->id = (u32)(phy_id << 16); in e1000_get_phy_id_82571() 489 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in e1000_get_phy_id_82571() 493 phy->id |= (u32)(phy_id); in e1000_get_phy_id_82571() 494 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in e1000_get_phy_id_82571()
|
H A D | e1000_phy.c | 228 u16 phy_id; in e1000_get_phy_id() local 237 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in e1000_get_phy_id() 241 phy->id = (u32)(phy_id << 16); in e1000_get_phy_id() 243 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in e1000_get_phy_id() 247 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in e1000_get_phy_id() 248 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in e1000_get_phy_id() 3000 enum e1000_phy_type e1000_get_phy_type_from_id(u32 phy_id) in e1000_get_phy_type_from_id() argument 3004 switch (phy_id) { in e1000_get_phy_type_from_id()
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_phy.c | 402 u16 phy_id = 0; in ixgbe_validate_phy_addr() local 409 IXGBE_MDIO_PMA_PMD_DEV_TYPE, &phy_id); in ixgbe_validate_phy_addr() 411 if (phy_id != 0xFFFF && phy_id != 0x0) in ixgbe_validate_phy_addr() 414 DEBUGOUT1("PHY ID HIGH is 0x%04X\n", phy_id); in ixgbe_validate_phy_addr() 455 enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id) in ixgbe_get_phy_type_from_id() argument 461 switch (phy_id) { in ixgbe_get_phy_type_from_id()
|
H A D | ixgbe_phy.h | 159 enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id);
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-phy-v2.c | 400 uint32_t phy_id; member 944 unsigned int phy_id = phy_data->phy_id; in xgbe_phy_finisar_phy_quirks() local 949 if ((phy_id & 0xfffffff0) != 0x01ff0cc0) in xgbe_phy_finisar_phy_quirks() 974 unsigned int phy_id = phy_data->phy_id; in xgbe_phy_belfuse_phy_quirks() local 991 if ((phy_id & 0xfffffff0) != 0x03625d10) in xgbe_phy_belfuse_phy_quirks() 1062 phy_data->phy_id = (phy_reg & 0xffff) << 16; in xgbe_get_phy_id() 1069 phy_data->phy_id |= (phy_reg & 0xffff); in xgbe_get_phy_id() 1088 phy_data->sfp_phy_avail, phy_data->phy_id); in xgbe_phy_find_phy_device() 1126 axgbe_printf(2, "Get phy_id 0x%08x\n", phy_data->phy_id); in xgbe_phy_find_phy_device()
|
/freebsd/sys/dts/arm/ |
H A D | ufw.dts | 227 phy_id = <&davinci_mdio>, <1>; 233 phy_id = <&davinci_mdio>, <2>;
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | mac-cfg.h | 436 * @phy_id: PHY index. Can be changed only if the link was inactive 484 __le32 phy_id; 476 __le32 phy_id; global() member
|
/freebsd/usr.sbin/fwcontrol/ |
H A D | fwcontrol.c | 538 printf("%02d sequel packet\n", sid.p0.phy_id); in show_topology_map() 543 sid.p0.phy_id, in show_topology_map() 606 b.phy_id, b.r, b.cps, in dump_phy_registers()
|