Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/neta/
H A Dif_mvneta_fdt.c144 phandle_t node, child, phy_handle; in mvneta_fdt_phy_acquire() local
178 if (OF_getencprop(node, "phy", (void *)&phy_handle, in mvneta_fdt_phy_acquire()
179 sizeof(phy_handle)) <= 0) { in mvneta_fdt_phy_acquire()
214 phy_handle = OF_instance_to_package(phy_handle); in mvneta_fdt_phy_acquire()
215 if (OF_getencprop(phy_handle, "reg", &sc->phy_addr, in mvneta_fdt_phy_acquire()
/freebsd-13.1/sys/dev/isci/
H A Disci_sysctl.c138 SCI_PHY_HANDLE_T phy_handle = NULL; in isci_sysctl_stop() local
142 phy_to_be_stopped, &phy_handle); in isci_sysctl_stop()
144 scic_phy_stop(phy_handle); in isci_sysctl_stop()
170 SCI_PHY_HANDLE_T phy_handle = NULL; in isci_sysctl_start() local
174 phy_to_be_started, &phy_handle); in isci_sysctl_start()
176 scic_phy_start(phy_handle); in isci_sysctl_start()
H A Disci_remote_device.c224 SCI_PHY_HANDLE_T phy_handle; in isci_remote_device_get_bitrate() local
245 phy_index, &phy_handle); in isci_remote_device_get_bitrate()
246 scic_phy_get_properties(phy_handle, &phy_properties); in isci_remote_device_get_bitrate()
/freebsd-13.1/sys/dev/fdt/
H A Dfdt_common.c386 pcell_t phy_handle, phy_reg; in fdt_get_phyaddr() local
390 if (OF_getencprop(node, "phy-handle", (void *)&phy_handle, in fdt_get_phyaddr()
391 sizeof(phy_handle)) <= 0) in fdt_get_phyaddr()
394 phy_node = OF_node_from_xref(phy_handle); in fdt_get_phyaddr()
415 if (OF_getprop(phy_node, "phy-handle", (void *)&phy_handle, in fdt_get_phyaddr()
416 sizeof(phy_handle)) > 0) in fdt_get_phyaddr()
/freebsd-13.1/sys/arm64/rockchip/
H A Dif_dwc_rk.c488 pcell_t phy_handle; in if_dwc_rk_init() local
519 if (OF_getencprop(node, "phy-handle", (void *)&phy_handle, in if_dwc_rk_init()
520 sizeof(phy_handle)) > 0) in if_dwc_rk_init()
521 sc->phy_node = OF_node_from_xref(phy_handle); in if_dwc_rk_init()
/freebsd-13.1/sys/dev/axgbe/
H A Dif_axgbe.c309 pcell_t phy_handle; in axgbe_attach() local
321 if (OF_getencprop(node, "phy-handle", &phy_handle, in axgbe_attach()
322 sizeof(phy_handle)) <= 0) { in axgbe_attach()
350 phydev = OF_device_from_xref(phy_handle); in axgbe_attach()
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-helper-board.c206 uint32_t *phy_handle; in __get_phy_info_from_dt() local
242 phy_handle = (uint32_t *) fdt_getprop(fdt_addr, eth, "phy-handle", NULL); in __get_phy_info_from_dt()
243 if (!phy_handle) in __get_phy_info_from_dt()
249 phandle = cvmx_be32_to_cpu(*phy_handle); in __get_phy_info_from_dt()
/freebsd-13.1/sys/dev/xilinx/
H A Dif_xae.c158 pcell_t phy_handle, phy_reg; in xae_get_phyaddr() local
160 if (OF_getencprop(node, "phy-handle", (void *)&phy_handle, in xae_get_phyaddr()
161 sizeof(phy_handle)) <= 0) in xae_get_phyaddr()
164 phy_node = OF_node_from_xref(phy_handle); in xae_get_phyaddr()
/freebsd-13.1/sys/dev/isci/scil/
H A Dscic_controller.h610 SCI_PHY_HANDLE_T * phy_handle
H A Dscic_sds_controller.c4364 SCI_PHY_HANDLE_T * phy_handle in scic_controller_get_phy_handle() argument
4374 controller, phy_index, phy_handle in scic_controller_get_phy_handle()
4379 *phy_handle = &this_controller->phy_table[phy_index]; in scic_controller_get_phy_handle()
/freebsd-13.1/sys/arm/allwinner/
H A Dif_awg.c1417 pcell_t phy_handle; in awg_get_phy_node() local
1420 if (OF_getencprop(node, "phy-handle", (void *)&phy_handle, in awg_get_phy_node()
1421 sizeof(phy_handle)) <= 0) in awg_get_phy_node()
1424 return (OF_node_from_xref(phy_handle)); in awg_get_phy_node()