Lines Matching refs:chg
474 struct smt_sba_chg *chg ;
492 chg = smtod(mb,struct smt_sba_chg *) ;
493 chg->smt.smt_tid = sm->smt_tid ;
494 chg->smt.smt_dest = sm->smt_source ;
497 chg->s_type.para.p_type = SMT_P0015 ;
498 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ;
499 chg->s_type.res_type = SYNC_BW ;
502 chg->cmd.para.p_type = SMT_P0016 ;
503 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ;
504 chg->cmd.sba_cmd = sba_cmd ;
507 chg->path.para.p_type = SMT_P320B ;
508 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ;
509 chg->path.mib_index = SBAPATHINDEX ;
510 chg->path.path_pad = 0;
511 chg->path.path_index = PRIMARY_RING ;
514 chg->payload.para.p_type = SMT_P320F ;
515 chg->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ;
516 chg->payload.mib_index = SBAPATHINDEX ;
517 chg->payload.mib_payload = smc->mib.a[PATH0].fddiPATHSbaPayload ;
520 chg->overhead.para.p_type = SMT_P3210 ;
521 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ;
522 chg->overhead.mib_index = SBAPATHINDEX ;
523 chg->overhead.mib_overhead = smc->mib.a[PATH0].fddiPATHSbaOverhead ;
527 chg->cat.para.p_type = SMT_P001A ;
528 chg->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ;
530 chg->cat.category = ((struct smt_p_001a *)p)->category ;
532 dump_smt(smc,(struct smt_header *)chg,"RAF") ;