Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/mii/
H A Dmii_fdt.c87 mii_fdt_get_phynode(phandle_t macnode) in mii_fdt_get_phynode() argument
96 if (OF_getencprop(macnode, props[i], &xref, sizeof(xref)) > 0) in mii_fdt_get_phynode()
127 mii_fdt_get_contype(phandle_t macnode) in mii_fdt_get_contype() argument
131 if (OF_getprop(macnode, "phy-mode", val, sizeof(val)) <= 0 && in mii_fdt_get_contype()
132 OF_getprop(macnode, "phy-connection-type", val, sizeof(val)) <= 0) { in mii_fdt_get_contype()
161 if ((cfg->macnode = ofw_bus_get_node(macdev)) == -1) in mii_fdt_get_config()
164 cfg->con_type = mii_fdt_get_contype(cfg->macnode); in mii_fdt_get_config()
170 if ((cfg->phynode = mii_fdt_get_phynode(cfg->macnode)) == -1) in mii_fdt_get_config()
H A Dmii_fdt.h40 phandle_t macnode; /* Node (not xref) of parent MAC */ member
67 mii_contype_t mii_fdt_get_contype(phandle_t macnode);