Lines Matching refs:sc_dev
176 device_get_nameunit(_sc->sc_dev), "am335x_lcd", MTX_DEF)
198 device_t sc_dev;
590 device_printf(sc->sc_dev, "can't set source frequency\n");
595 device_printf(sc->sc_dev, "can't get reference frequency\n");
606 bus_get_dma_tag(sc->sc_dev),
622 device_printf(sc->sc_dev, "cannot allocate framebuffer\n");
630 device_printf(sc->sc_dev, "cannot load DMA map\n");
769 sc->sc_fb_info.fb_name = device_get_nameunit(sc->sc_dev);
779 err = (sc_attach_unit(device_get_unit(sc->sc_dev),
780 device_get_flags(sc->sc_dev) | SC_AUTODETECT_KBD));
783 device_printf(sc->sc_dev, "failed to attach syscons\n");
789 device_t fbd = device_add_child(sc->sc_dev, "fbd",
790 device_get_unit(sc->sc_dev));
793 device_printf(sc->sc_dev, "failed to attach fbd device\n");
795 device_printf(sc->sc_dev, "failed to add fbd child\n");
817 device_printf(sc->sc_dev, "HDMI event without HDMI framer set\n");
823 device_printf(sc->sc_dev, "no actual device for \"hdmi\" property\n");
830 device_printf(sc->sc_dev, "failed to get EDID info from HDMI framer\n");
840 device_printf(sc->sc_dev, "failed to parse EDID\n");
847 device_printf(sc->sc_dev, "failed to find usable videomode");
851 device_printf(sc->sc_dev, "detected videomode: %dx%d @ %dKHz\n", videomode->hdisplay,
924 sc->sc_dev = dev;
989 ctx = device_get_sysctl_ctx(sc->sc_dev);
990 tree = device_get_sysctl_tree(sc->sc_dev);