Lines Matching defs:btl
504 * Clear any previous BTL information. For each bus that scsipi
506 * all BTL info at that point.
710 struct mly_btl btl, *btlp;
736 memset(&btl, 0, sizeof(btl));
737 btl.mb_flags = MLY_BTL_PROTECTED;
739 /* If the rescan completed OK, we have possibly-new BTL data. */
750 printf("%s: WARNING: BTL rescan (logical) for %d:%d "
759 btl.mb_flags = MLY_BTL_LOGICAL | MLY_BTL_TQING;
760 btl.mb_type = ldi->raid_level;
761 btl.mb_state = ldi->state;
767 printf("%s: WARNING: BTL rescan (physical) for %d:%d "
775 btl.mb_flags = MLY_BTL_PHYSICAL;
776 btl.mb_type = MLY_DEVICE_TYPE_PHYSICAL;
777 btl.mb_state = pdi->state;
778 btl.mb_speed = pdi->speed;
779 btl.mb_width = pdi->width;
782 btl.mb_flags |= MLY_BTL_PROTECTED;
784 btl.mb_flags |= MLY_BTL_TQING;
786 printf("%s: BTL rescan result invalid\n", device_xname(mly->mly_dv));
791 if (btl.mb_flags != btlp->mb_flags ||
792 btl.mb_speed != btlp->mb_speed ||
793 btl.mb_width != btlp->mb_width)
797 *btlp = btl;
799 if (rescan && (btl.mb_flags & MLY_BTL_PROTECTED) == 0) {
1256 struct mly_btl *btl;
1271 btl = &mly->mly_btl[bus][target];
1272 if ((btl->mb_flags & MLY_BTL_RESCAN) != 0) {
1273 btl->mb_flags ^= MLY_BTL_RESCAN;
1814 struct mly_btl *btl;
1823 btl = &mly->mly_btl[chan->chan_channel][periph->periph_target];
1825 tmp = btl->mb_flags;
1944 struct mly_btl *btl;
1971 btl = &mly->mly_btl[chan->chan_channel][target];
1974 if ((btl->mb_flags & MLY_BTL_LOGICAL) != 0) {
1978 btl->mb_type);
1981 btl->mb_state);
2020 struct mly_btl *btl;
2023 btl = &mly->mly_btl[bus][xm->xm_target];
2028 if ((btl->mb_flags & MLY_BTL_PHYSICAL) != 0) {
2029 if (btl->mb_speed == 0) {
2038 switch (btl->mb_width) {
2049 } else /* ((btl->mb_flags & MLY_BTL_LOGICAL) != 0) */ {
2055 if ((btl->mb_flags & MLY_BTL_TQING) != 0)