Home
last modified time | relevance | path

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

/freebsd/sys/dev/mii/
H A Dmii_fdt.c85 mii_fdt_get_phynode(phandle_t macnode) in mii_fdt_get_phynode() argument
94 if (OF_getencprop(macnode, props[i], &xref, sizeof(xref)) > 0) in mii_fdt_get_phynode()
165 mii_fdt_get_contype(phandle_t macnode) in mii_fdt_get_contype() argument
169 if (OF_getprop(macnode, "phy-mode", val, sizeof(val)) <= 0 && in mii_fdt_get_contype()
170 OF_getprop(macnode, "phy-connection-type", val, sizeof(val)) <= 0) { in mii_fdt_get_contype()
201 if ((cfg->macnode = ofw_bus_get_node(macdev)) == -1) in mii_fdt_get_config()
204 cfg->con_type = mii_fdt_get_contype(cfg->macnode); in mii_fdt_get_config()
210 cfg->phynode = mii_fdt_lookup_phy(cfg->macnode, ma->mii_phyno); in mii_fdt_get_config()
H A Dmii_fdt.h38 phandle_t macnode; /* Node (not xref) of parent MAC */ member
65 mii_contype_t mii_fdt_get_contype(phandle_t macnode);