Lines Matching defs:unit
162 #define VALID_UNIT(sc, unit) (0 <= (unit) && (unit) < (sc)->sc_nunits)
402 /* USB unit */
408 /* PC card unit 1 */
414 /* PC card unit 2 */
536 __vrc4173bcu_power(vrip_chipset_tag_t vc, int unit, int onoff)
542 return (0); /* You have no clock mask unit yet. */
543 if (!VALID_UNIT(sc, unit))
545 vu = &sc->sc_units[unit];
552 __vrc4173bcu_intr_establish(vrip_chipset_tag_t vc, int unit, int line,
559 if (!VALID_UNIT(sc, unit))
561 vu = &sc->sc_units[unit];