Lines Matching refs:sc_dev

104 	device_t	sc_dev;
201 sc->sc_dev = dev;
437 fsl_pcib_write_config(sc->sc_dev, bus, slot, fn, 0x52, 0x34, 1);
438 fsl_pcib_write_config(sc->sc_dev, bus, slot, fn, 0x77, 0x00, 1);
439 fsl_pcib_write_config(sc->sc_dev, bus, slot, fn, 0x83, 0x98, 1);
440 fsl_pcib_write_config(sc->sc_dev, bus, slot, fn, 0x85, 0x03, 1);
443 fsl_pcib_write_config(sc->sc_dev, bus, slot, fn, 0x40, 0x0b, 1);
466 fsl_pcib_write_config(sc->sc_dev, bus, slot, func, reg, addr, 4);
470 fsl_pcib_write_config(sc->sc_dev, bus, slot, func, reg, ~0, 4);
471 size = fsl_pcib_read_config(sc->sc_dev, bus, slot, func, reg, 4);
496 device_get_unit(sc->sc_dev), bus, slot, func, reg,
499 fsl_pcib_write_config(sc->sc_dev, bus, slot, func, reg, addr, 4);
501 fsl_pcib_write_config(sc->sc_dev, bus, slot, func, reg + 4,
521 hdrtype = fsl_pcib_read_config(sc->sc_dev, bus, slot,
530 vendor = fsl_pcib_read_config(sc->sc_dev, bus, slot,
532 device = fsl_pcib_read_config(sc->sc_dev, bus, slot,
540 command = fsl_pcib_read_config(sc->sc_dev, bus, slot,
543 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
557 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
561 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
567 class = fsl_pcib_read_config(sc->sc_dev, bus, slot,
569 subclass = fsl_pcib_read_config(sc->sc_dev, bus, slot,
581 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
583 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
585 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
587 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
591 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
593 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
597 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
599 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
601 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
603 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
607 old_pribus = fsl_pcib_read_config(sc->sc_dev, bus,
609 old_secbus = fsl_pcib_read_config(sc->sc_dev, bus,
611 old_subbus = fsl_pcib_read_config(sc->sc_dev, bus,
633 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
635 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
637 fsl_pcib_write_config(sc->sc_dev, bus, slot, func,
758 dev = sc->sc_dev;