Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/etherswitch/e6000sw/
H A De6000sw.c314 phandle_t switch_eth, switch_eth_handle; in e6000sw_parse_ethernet() local
316 if (OF_getencprop(port_handle, "ethernet", (void*)&switch_eth_handle, in e6000sw_parse_ethernet()
317 sizeof(switch_eth_handle)) > 0) { in e6000sw_parse_ethernet()
318 if (switch_eth_handle > 0) { in e6000sw_parse_ethernet()
319 switch_eth = OF_node_from_xref(switch_eth_handle); in e6000sw_parse_ethernet()
/freebsd-13.1/sys/dev/neta/
H A Dif_mvneta.c420 phandle_t child, switch_eth_handle, switch_eth; in mvneta_find_ethernet_prop_switch() local
423 if (OF_getencprop(child, "ethernet", (void*)&switch_eth_handle, in mvneta_find_ethernet_prop_switch()
424 sizeof(switch_eth_handle)) > 0) { in mvneta_find_ethernet_prop_switch()
425 if (switch_eth_handle > 0) { in mvneta_find_ethernet_prop_switch()
427 switch_eth_handle); in mvneta_find_ethernet_prop_switch()