Home
last modified time | relevance | path

Searched refs:phy_handle (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/dev/neta/
H A Dif_mvneta_fdt.c149 phandle_t node, child, phy_handle; in mvneta_fdt_phy_acquire() local
183 if (OF_getencprop(node, "phy", (void *)&phy_handle, in mvneta_fdt_phy_acquire()
184 sizeof(phy_handle)) <= 0) { in mvneta_fdt_phy_acquire()
219 phy_handle = OF_instance_to_package(phy_handle); in mvneta_fdt_phy_acquire()
220 if (OF_getencprop(phy_handle, "reg", &sc->phy_addr, in mvneta_fdt_phy_acquire()
/freebsd/sys/dev/isci/
H A Disci_sysctl.c136 SCI_PHY_HANDLE_T phy_handle = NULL; in isci_sysctl_stop() local
140 phy_to_be_stopped, &phy_handle); in isci_sysctl_stop()
142 scic_phy_stop(phy_handle); in isci_sysctl_stop()
168 SCI_PHY_HANDLE_T phy_handle = NULL; in isci_sysctl_start() local
172 phy_to_be_started, &phy_handle); in isci_sysctl_start()
174 scic_phy_start(phy_handle); in isci_sysctl_start()
H A Disci_remote_device.c222 SCI_PHY_HANDLE_T phy_handle; in isci_remote_device_get_bitrate() local
243 phy_index, &phy_handle); in isci_remote_device_get_bitrate()
244 scic_phy_get_properties(phy_handle, &phy_properties); in isci_remote_device_get_bitrate()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mc_fdt.c65 phandle_t phy_handle; member
144 s = device_get_property(dev, "phy-handle", &sc->phy_handle, in dpaa2_mac_fdt_attach()
145 sizeof(sc->phy_handle), DEVICE_PROP_HANDLE); in dpaa2_mac_fdt_attach()
151 sc->reg, sc->sfp, sc->pcs_handle, sc->phy_handle, in dpaa2_mac_fdt_attach()
181 if (sc->phy_handle == 0 && sc->sfp == 0) in dpaa2_mac_fdt_get_phy_dev()
193 return (OF_device_from_xref(OF_xref_from_node(sc->phy_handle))); in dpaa2_mac_fdt_get_phy_dev()
/freebsd/sys/dev/fdt/
H A Dfdt_common.c383 pcell_t phy_handle, phy_reg; in fdt_get_phyaddr() local
387 if (OF_getencprop(node, "phy-handle", (void *)&phy_handle, in fdt_get_phyaddr()
388 sizeof(phy_handle)) <= 0) in fdt_get_phyaddr()
391 phy_node = OF_node_from_xref(phy_handle); in fdt_get_phyaddr()
412 if (OF_getprop(phy_node, "phy-handle", (void *)&phy_handle, in fdt_get_phyaddr()
413 sizeof(phy_handle)) > 0) in fdt_get_phyaddr()
/freebsd/sys/dev/dwc/
H A Dif_dwc_rk.c489 pcell_t phy_handle; in if_dwc_rk_init() local
520 if (OF_getencprop(node, "phy-handle", (void *)&phy_handle, in if_dwc_rk_init()
521 sizeof(phy_handle)) > 0) in if_dwc_rk_init()
522 sc->phy_node = OF_node_from_xref(phy_handle); in if_dwc_rk_init()
/freebsd/sys/dev/axgbe/
H A Dif_axgbe.c306 pcell_t phy_handle; in axgbe_attach() local
318 if (OF_getencprop(node, "phy-handle", &phy_handle, in axgbe_attach()
319 sizeof(phy_handle)) <= 0) { in axgbe_attach()
347 phydev = OF_device_from_xref(phy_handle); in axgbe_attach()
/freebsd/sys/dev/xilinx/
H A Dif_xae.c155 pcell_t phy_handle, phy_reg; in xae_get_phyaddr() local
157 if (OF_getencprop(node, "phy-handle", (void *)&phy_handle, in xae_get_phyaddr()
158 sizeof(phy_handle)) <= 0) in xae_get_phyaddr()
161 phy_node = OF_node_from_xref(phy_handle); in xae_get_phyaddr()
/freebsd/sys/dev/isci/scil/
H A Dscic_controller.h608 SCI_PHY_HANDLE_T * phy_handle
H A Dscic_sds_controller.c4362 SCI_PHY_HANDLE_T * phy_handle in scic_controller_get_phy_handle() argument
4372 controller, phy_index, phy_handle in scic_controller_get_phy_handle()
4377 *phy_handle = &this_controller->phy_table[phy_index]; in scic_controller_get_phy_handle()
/freebsd/sys/dev/enetc/
H A Dif_enetc.c327 phandle_t node, fixed_link, phy_handle; in enetc_setup_phy() local
337 size = OF_getencprop(node, "phy-handle", &phy_handle, sizeof(phy_handle)); in enetc_setup_phy()
343 phy_handle = OF_node_from_xref(phy_handle); in enetc_setup_phy()
344 size = OF_getencprop(phy_handle, "reg", &phy_addr, sizeof(phy_addr)); in enetc_setup_phy()
/freebsd/sys/arm/allwinner/
H A Dif_awg.c1412 pcell_t phy_handle; in awg_get_phy_node() local
1415 if (OF_getencprop(node, "phy-handle", (void *)&phy_handle, in awg_get_phy_node()
1416 sizeof(phy_handle)) <= 0) in awg_get_phy_node()
1419 return (OF_node_from_xref(phy_handle)); in awg_get_phy_node()