Lines Matching full:pa
100 smc->y[PA].scrub = 0 ; in cfm_init()
102 smc->y[PA].cem_pst = CEM_PST_DOWN ; in cfm_init()
107 #define THRU_ENABLED(smc) (smc->y[PA].pc_mode != PM_TREE && \
123 /* take precedence over PA */ in selection_criteria()
159 if (np != PA && np != PB) { in cem_priv_state()
236 smc->y[PA].pc_mode == PM_PEER) || in cfm()
270 smc->mib.p[PA].fddiPORTCurrentPath = MIB_PATH_ISOLATED ; in cfm_fsm()
272 smc->mib.p[PA].fddiPORTMACPlacement = 0 ; in cfm_fsm()
285 /*SAS port can be PA or PB ! */ in cfm_fsm()
286 if (smc->s.sas && (smc->y[PA].cf_join || smc->y[PA].cf_loop || in cfm_fsm()
292 if ((smc->y[PA].cem_pst == CEM_PST_UP && smc->y[PA].cf_join && in cfm_fsm()
293 !smc->y[PA].wc_flag) || smc->y[PA].cf_loop) { in cfm_fsm()
305 smc->mib.p[PA].fddiPORTCurrentPath = MIB_PATH_CONCATENATED ; in cfm_fsm()
307 smc->mib.p[PA].fddiPORTMACPlacement = INDEX_MAC ; in cfm_fsm()
311 if (smc->y[PA].cf_loop) { in cfm_fsm()
316 if (smc->y[PA].cf_join) { in cfm_fsm()
326 if ( (smc->y[PA].wc_flag || !smc->y[PA].cf_join) && in cfm_fsm()
327 !smc->y[PA].cf_loop ) { in cfm_fsm()
332 else if ( (smc->y[PB].cf_loop && smc->y[PA].cf_join && in cfm_fsm()
333 smc->y[PA].cem_pst == CEM_PST_UP) || in cfm_fsm()
337 (smc->y[PA].pc_mode == PM_TREE || in cfm_fsm()
339 smc->y[PA].scrub = TRUE ; in cfm_fsm()
345 smc->y[PA].cf_join && in cfm_fsm()
346 smc->y[PA].cem_pst == CEM_PST_UP && in cfm_fsm()
347 smc->y[PA].pc_mode == PM_PEER && smc->y[PB].cf_join && in cfm_fsm()
350 smc->y[PA].scrub = TRUE ; in cfm_fsm()
357 smc->y[PA].cf_join && in cfm_fsm()
358 smc->y[PA].cem_pst == CEM_PST_UP && in cfm_fsm()
359 smc->y[PA].pc_mode == PM_PEER && in cfm_fsm()
363 smc->y[PA].scrub = TRUE ; in cfm_fsm()
370 smc->mib.p[PA].fddiPORTCurrentPath = MIB_PATH_ISOLATED ; in cfm_fsm()
372 smc->mib.p[PA].fddiPORTMACPlacement = 0 ; in cfm_fsm()
396 else if ( smc->y[PA].cf_loop && smc->y[PA].pc_mode == PM_PEER && in cfm_fsm()
404 smc->y[PA].cf_join && smc->y[PA].pc_mode == PM_PEER && in cfm_fsm()
406 smc->y[PA].scrub = TRUE ; in cfm_fsm()
413 smc->y[PA].cf_join && smc->y[PA].pc_mode == PM_PEER && in cfm_fsm()
415 smc->y[PA].scrub = TRUE ; in cfm_fsm()
422 smc->mib.p[PA].fddiPORTCurrentPath = MIB_PATH_THRU ; in cfm_fsm()
424 smc->mib.p[PA].fddiPORTMACPlacement = 0 ; in cfm_fsm()
437 smc->y[PA].scrub = TRUE ; in cfm_fsm()
442 else if (!smc->y[PA].cf_join || smc->y[PA].wc_flag) { in cfm_fsm()
455 smc->mib.p[PA].fddiPORTCurrentPath = MIB_PATH_THRU ; in cfm_fsm()
457 smc->mib.p[PA].fddiPORTMACPlacement = INDEX_MAC ; in cfm_fsm()
470 smc->y[PA].scrub = TRUE ; in cfm_fsm()
475 else if (!smc->y[PA].cf_join || smc->y[PA].wc_flag) { in cfm_fsm()
482 smc->y[PA].scrub = TRUE ; in cfm_fsm()
492 if (smc->y[PA].cf_loop || smc->y[PB].cf_loop) { in cfm_fsm()
497 if (smc->y[PA].cf_join || smc->y[PB].cf_join) { in cfm_fsm()
507 if ( !smc->y[PA].cf_join && !smc->y[PA].cf_loop && in cfm_fsm()
522 * PA or PB
527 smc->mib.fddiSMTCF_State == SC5_THRU_B) ? PB : PA; in cfm_get_mac_input()
533 * PA or PB
538 smc->mib.fddiSMTCF_State == SC4_THRU_A) ? PB : PA; in cfm_get_mac_output()
542 0,0, 0,RES_PORT, 0,PA + INDEX_PORT, 0,PATH_ISO,
548 0,0, 0,RES_PORT, 0,PA + INDEX_PORT, 0,PATH_PRIM,
556 0,0, 0,RES_PORT, 0,PA + INDEX_PORT, 0,PATH_ISO
560 0,0, 0,RES_PORT, 0,PA + INDEX_PORT, 0,PATH_PRIM,