Lines Matching defs:ce
198 struct changer_exchange *ce);
922 chexchange(struct cam_periph *periph, struct changer_exchange *ce)
934 if ((ce->ce_srctype > CHET_DT) || (ce->ce_fdsttype > CHET_DT) ||
935 (ce->ce_sdsttype > CHET_DT))
937 if ((ce->ce_srcunit > (softc->sc_counts[ce->ce_srctype] - 1)) ||
938 (ce->ce_fdstunit > (softc->sc_counts[ce->ce_fdsttype] - 1)) ||
939 (ce->ce_sdstunit > (softc->sc_counts[ce->ce_sdsttype] - 1)))
945 if (((softc->sc_exchangemask[ce->ce_srctype] &
946 (1 << ce->ce_fdsttype)) == 0) ||
947 ((softc->sc_exchangemask[ce->ce_fdsttype] &
948 (1 << ce->ce_sdsttype)) == 0))
954 src = softc->sc_firsts[ce->ce_srctype] + ce->ce_srcunit;
955 dst1 = softc->sc_firsts[ce->ce_fdsttype] + ce->ce_fdstunit;
956 dst2 = softc->sc_firsts[ce->ce_sdsttype] + ce->ce_sdstunit;
968 /* invert1 */ (ce->ce_flags & CE_INVERT1) ?
970 /* invert2 */ (ce->ce_flags & CE_INVERT2) ?