Home
last modified time | relevance | path

Searched refs:phy_id (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/sys/dev/ieee1394/
H A Dfirewire.h306 phy_id:6, member
323 phy_id:6, member
341 phy_id:6, member
368 phy_id:6, member
385 phy_id:6, member
399 phy_id:6, member
H A Dfwphyreg.h47 uint8_t phy_id:6, member
80 phy_id:6;
H A Dfirewire.c988 node = self_id->p0.phy_id; in fw_sidrcv()
990 fc->max_node = self_id->p0.phy_id; in fw_sidrcv()
999 if ((fc->irm == -1 || self_id->p0.phy_id > fc->irm) && in fw_sidrcv()
1001 fc->irm = self_id->p0.phy_id; in fw_sidrcv()
1586 s->p1.phy_id, s->p1.port3, s->p1.port4, in fw_print_sid()
1591 s->p2.phy_id, s->p2.port11, s->p2.port12, in fw_print_sid()
1595 s->p1.phy_id, s->p1.sequence_num); in fw_print_sid()
1599 s->p0.phy_id, s->p0.link_active, s->p0.gap_count, in fw_print_sid()
1875 if (s->p0.phy_id == node) in fw_find_self_id()
/netbsd-src/sys/arch/arm/rockchip/
H A Drk3399_pcie_phy.c103 const int phy_id = be32dec(data); in rkpciephy_phy_acquire() local
104 if (phy_id >= RKPCIEPHY_MAXPHY) in rkpciephy_phy_acquire()
106 // device_printf(dev, "%s phy_id %d %d\n", __func__, phy_id, sc->sc_phys[phy_id]); in rkpciephy_phy_acquire()
113 return &sc->sc_phys[phy_id]; in rkpciephy_phy_acquire()
/netbsd-src/sys/dev/pci/igc/
H A Digc_phy.c143 uint16_t phy_id; in igc_get_phy_id() local
151 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igc_get_phy_id()
155 phy->id = (uint32_t)(phy_id << 16); in igc_get_phy_id()
157 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igc_get_phy_id()
161 phy->id |= (uint32_t)(phy_id & PHY_REVISION_MASK); in igc_get_phy_id()
162 phy->revision = (uint32_t)(phy_id & ~PHY_REVISION_MASK); in igc_get_phy_id()
/netbsd-src/sys/arch/arm/sunxi/
H A Dsunxi_usbphy.c206 const int phy_id = be32dec(data); in sunxi_usbphy_acquire()
207 if (phy_id >= sc->sc_nphys || !sc->sc_phys[phy_id].phy_bsh) in sunxi_usbphy_acquire()
210 return &sc->sc_phys[phy_id];
203 const int phy_id = be32dec(data); sunxi_usbphy_acquire() local
H A Dsunxi_emac.c187 int phy_id; member
1383 sc->phy_id = sunxi_emac_get_phyid(sc); in sunxi_emac_attach()
1463 mii_attach(self, mii, 0xffffffff, sc->phy_id, MII_OFFSET_ANY, in sunxi_emac_attach()
/netbsd-src/sys/arch/arm/sociox/
H A Dif_scx.c699 bus_addr_t phy_id; in scx_fdt_attach() local
722 || fdtbus_get_reg(phy_phandle, 0, &phy_id, NULL) != 0) in scx_fdt_attach()
723 phy_id = MII_PHY_ANY; in scx_fdt_attach()
732 phy_mode, (int)phy_id, ref_clk); in scx_fdt_attach()
753 sc->sc_phy_id = phy_id; in scx_fdt_attach()
787 ACPI_INTEGER max_spd, max_frame, phy_id, phy_freq; in scx_acpi_attach() local
822 rv = acpi_dsd_integer(handle, "phy-channel", &phy_id); in scx_acpi_attach()
824 phy_id = MII_PHY_ANY; in scx_acpi_attach()
833 (int)max_spd, (int)phy_id, phy_freq); in scx_acpi_attach()
853 sc->sc_phy_id = (int)phy_id; in scx_acpi_attach()
/netbsd-src/sys/dev/pci/ixgbe/
H A Dixgbe_phy.c410 u16 phy_id = 0; in ixgbe_validate_phy_addr() local
417 IXGBE_MDIO_PMA_PMD_DEV_TYPE, &phy_id); in ixgbe_validate_phy_addr()
419 if (phy_id != 0xFFFF && phy_id != 0x0) in ixgbe_validate_phy_addr()
422 DEBUGOUT1("PHY ID HIGH is 0x%04X\n", phy_id); in ixgbe_validate_phy_addr()
463 enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id) in ixgbe_get_phy_type_from_id() argument
469 switch (phy_id) { in ixgbe_get_phy_type_from_id()
H A Dixgbe_phy.h164 enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id);
/netbsd-src/usr.sbin/fwctl/
H A Dfwcontrol.c527 printf("%02d sequel packet\n", sid.p0.phy_id); in show_topology_map()
532 sid.p0.phy_id, in show_topology_map()
595 b.phy_id, b.r, b.cps, in dump_phy_registers()
/netbsd-src/sys/dev/pci/cxgb/
H A Dcxgb_ioctl.h235 uint32_t phy_id; member
/netbsd-src/sys/dev/pci/
H A Dif_ixlvar.h388 uint8_t phy_id[4]; member
/netbsd-src/sys/dev/ic/
H A Ddwc_gmac.c187 dwc_gmac_attach(struct dwc_gmac_softc *sc, int phy_id, uint32_t mii_clk) in dwc_gmac_attach()
333 mii_attach(sc->sc_dev, mii, 0xffffffff, phy_id, MII_OFFSET_ANY, in dwc_gmac_attach()
182 dwc_gmac_attach(struct dwc_gmac_softc * sc,int phy_id,uint32_t mii_clk) dwc_gmac_attach() argument