Searched refs:avg_unit (Results 1 – 4 of 4) sorted by relevance
487 devunit = sc->avg_unit; in altera_avgen_attach()514 devunit = sc->avg_unit; in altera_avgen_attach()517 sc->avg_cdev = make_dev(&avg_cdevsw, sc->avg_unit, in altera_avgen_attach()521 sc->avg_cdev = make_dev(&avg_cdevsw, sc->avg_unit, in altera_avgen_attach()
41 int avg_unit; member
85 sc->avg_unit = device_get_unit(dev); in altera_avgen_fdt_attach()
72 sc->avg_unit = device_get_unit(dev); in altera_avgen_nexus_attach()