Lines Matching defs:chg
475 struct smt_sba_chg *chg ;
493 chg = smtod(mb,struct smt_sba_chg *) ;
494 chg->smt.smt_tid = sm->smt_tid ;
495 chg->smt.smt_dest = sm->smt_source ;
498 chg->s_type.para.p_type = SMT_P0015 ;
499 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ;
500 chg->s_type.res_type = SYNC_BW ;
503 chg->cmd.para.p_type = SMT_P0016 ;
504 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ;
505 chg->cmd.sba_cmd = sba_cmd ;
508 chg->path.para.p_type = SMT_P320B ;
509 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ;
510 chg->path.mib_index = SBAPATHINDEX ;
511 chg->path.path_pad = 0;
512 chg->path.path_index = PRIMARY_RING ;
515 chg->payload.para.p_type = SMT_P320F ;
516 chg->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ;
517 chg->payload.mib_index = SBAPATHINDEX ;
518 chg->payload.mib_payload = smc->mib.a[PATH0].fddiPATHSbaPayload ;
521 chg->overhead.para.p_type = SMT_P3210 ;
522 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ;
523 chg->overhead.mib_index = SBAPATHINDEX ;
524 chg->overhead.mib_overhead = smc->mib.a[PATH0].fddiPATHSbaOverhead ;
528 chg->cat.para.p_type = SMT_P001A ;
529 chg->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ;
531 chg->cat.category = ((struct smt_p_001a *)p)->category ;
533 dump_smt(smc,(struct smt_header *)chg,"RAF") ;