Home
last modified time | relevance | path

Searched refs:switch_eth_handle (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/sys/dev/neta/
H A Dif_mvneta_fdt.c263 phandle_t child, switch_eth_handle, switch_eth; in mvneta_find_ethernet_prop_switch() local
266 if (OF_getencprop(child, "ethernet", (void*)&switch_eth_handle, in mvneta_find_ethernet_prop_switch()
267 sizeof(switch_eth_handle)) > 0) { in mvneta_find_ethernet_prop_switch()
268 if (switch_eth_handle > 0) { in mvneta_find_ethernet_prop_switch()
270 switch_eth_handle); in mvneta_find_ethernet_prop_switch()
/freebsd-14.2/sys/dev/etherswitch/e6000sw/
H A De6000sw.c344 phandle_t switch_eth, switch_eth_handle; in e6000sw_parse_ethernet() local
346 if (OF_getencprop(port_handle, "ethernet", (void*)&switch_eth_handle, in e6000sw_parse_ethernet()
347 sizeof(switch_eth_handle)) > 0) { in e6000sw_parse_ethernet()
348 if (switch_eth_handle > 0) { in e6000sw_parse_ethernet()
349 switch_eth = OF_node_from_xref(switch_eth_handle); in e6000sw_parse_ethernet()