Searched refs:macnode (Results 1 – 2 of 2) sorted by relevance
87 mii_fdt_get_phynode(phandle_t macnode) in mii_fdt_get_phynode() argument96 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() argument131 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()
40 phandle_t macnode; /* Node (not xref) of parent MAC */ member67 mii_contype_t mii_fdt_get_contype(phandle_t macnode);