/freebsd/sys/dev/neta/ |
H A D | if_mvneta_fdt.c | 149 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 D | isci_sysctl.c | 136 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 D | isci_remote_device.c | 222 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 D | dpaa2_mc_fdt.c | 65 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 D | fdt_common.c | 383 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 D | if_dwc_rk.c | 489 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 D | if_axgbe.c | 306 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 D | if_xae.c | 159 pcell_t phy_handle, phy_reg; in xae_get_phyaddr() local 161 if (OF_getencprop(node, "phy-handle", (void *)&phy_handle, in xae_get_phyaddr() 162 sizeof(phy_handle)) <= 0) in xae_get_phyaddr() 165 phy_node = OF_node_from_xref(phy_handle); in xae_get_phyaddr()
|
/freebsd/sys/dev/enetc/ |
H A D | if_enetc.c | 327 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/dev/isci/scil/ |
H A D | scic_controller.h | 608 SCI_PHY_HANDLE_T * phy_handle
|
H A D | scic_sds_controller.c | 4362 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/arm/allwinner/ |
H A D | if_awg.c | 1414 pcell_t phy_handle; in awg_get_phy_node() local 1417 if (OF_getencprop(node, "phy-handle", (void *)&phy_handle, in awg_get_phy_node() 1418 sizeof(phy_handle)) <= 0) in awg_get_phy_node() 1421 return (OF_node_from_xref(phy_handle)); in awg_get_phy_node()
|