Lines Matching defs:ce
198 struct changer_exchange *ce);
931 chexchange(struct cam_periph *periph, struct changer_exchange *ce)
943 if ((ce->ce_srctype > CHET_DT) || (ce->ce_fdsttype > CHET_DT) ||
944 (ce->ce_sdsttype > CHET_DT))
946 if ((ce->ce_srcunit > (softc->sc_counts[ce->ce_srctype] - 1)) ||
947 (ce->ce_fdstunit > (softc->sc_counts[ce->ce_fdsttype] - 1)) ||
948 (ce->ce_sdstunit > (softc->sc_counts[ce->ce_sdsttype] - 1)))
954 if (((softc->sc_exchangemask[ce->ce_srctype] &
955 (1 << ce->ce_fdsttype)) == 0) ||
956 ((softc->sc_exchangemask[ce->ce_fdsttype] &
957 (1 << ce->ce_sdsttype)) == 0))
963 src = softc->sc_firsts[ce->ce_srctype] + ce->ce_srcunit;
964 dst1 = softc->sc_firsts[ce->ce_fdsttype] + ce->ce_fdstunit;
965 dst2 = softc->sc_firsts[ce->ce_sdsttype] + ce->ce_sdstunit;
977 /* invert1 */ (ce->ce_flags & CE_INVERT1) ?
979 /* invert2 */ (ce->ce_flags & CE_INVERT2) ?