Lines Matching +full:iproc +full:- +full:mdio
1 /*-
44 MALLOC_DEFINE(M_BRCM_IPROC_NEXUS, "Broadcom IPROC MDIO NEXUS",
45 "Broadcom IPROC MDIO NEXUS dynamic memory");
84 /* MDIO interface */
85 /* MDIO interface */
114 sc->mux_id, phy, reg)); in brcm_mdionexus_mdio_readreg()
125 sc->mux_id, phy, reg, val)); in brcm_mdionexus_mdio_writereg()
134 OF_getencprop(node, "#address-cells", addr_cells, sizeof(*addr_cells)); in get_addr_size_cells()
138 OF_getencprop(node, "#size-cells", size_cells, sizeof(*size_cells)); in get_addr_size_cells()
147 device_set_desc(dev, "Broadcom MDIO nexus"); in brcm_mdionexus_fdt_probe()
171 sc->mux_id = buf[0]; in brcm_mdionexus_fdt_attach()
187 return (&di->di_dinfo); in brcm_mdionexus_ofw_get_devinfo()
207 if (ofw_bus_gen_setup_devinfo(&di->di_dinfo, node) != 0) { in brcm_mdionexus_ofw_bus_attach()
213 resource_list_init(&di->di_rl); in brcm_mdionexus_ofw_bus_attach()
214 ofw_bus_reg_to_rl(dev, node, sc->acells, sc->scells, in brcm_mdionexus_ofw_bus_attach()
215 &di->di_rl); in brcm_mdionexus_ofw_bus_attach()
216 ofw_bus_intr_to_rl(dev, node, &di->di_rl, NULL); in brcm_mdionexus_ofw_bus_attach()
221 resource_list_free(&di->di_rl); in brcm_mdionexus_ofw_bus_attach()
222 ofw_bus_gen_destroy_devinfo(&di->di_dinfo); in brcm_mdionexus_ofw_bus_attach()