Lines Matching refs:REM
160 REM=$2
162 echo "Running port tests on: $(basename $LOC) / $(basename $REM)"
165 REMOTE_PORT=$(read_file "$REM/port")
168 REMOTE_PIDX=$(find_pidx ${LOCAL_PORT} "$REM")
179 REM=$2
182 echo "Running link tests on: $(subdirname $LOC) / $(subdirname $REM)"
191 if [[ $(read_file "$REM/link") != "N" ]]; then
192 echo "Expected link to be down in $REM/link" >&2
204 REM=$2
207 echo "Running db tests on: $(basename $LOC) / $(basename $REM)"
211 write_file "c $DB_VALID_MASK" "$REM/db"
214 DB=$(read_file "$REM/db")
217 "in $REM/db" >&2
227 write_file "c $DB_VALID_MASK" "$REM/db_mask"
228 write_file $DB_VALID_MASK "$REM/db_event"
229 write_file "s $DB_VALID_MASK" "$REM/db_mask"
231 write_file "c $DB_VALID_MASK" "$REM/db"
254 REM=$2
256 echo "Running spad tests on: $(subdirname $LOC) / $(subdirname $REM)"
268 RVAL=$(read_file "$REM/../spad$i")
282 REM=$2
284 echo "Running msg tests on: $(subdirname $LOC) / $(subdirname $REM)"
294 MSG_INBITS_MASK=$(read_file "$REM/../msg_inbits")
297 write_file "c $MSG_INBITS_MASK" "$REM/../msg_sts"
302 RVAL=$(read_file "$REM/../msg$i")
324 REM=$3
332 write_file "$MW_DMA_ADDR:$(($MW_ALIGNED_SIZE))" "$REM/peer_mw_trans$IDX"
355 REM=$3
367 split_remote "$REM/peer_mw$IDX"
393 REM=$3
395 write_file "$MW_DMA_ADDR:0" "$REM/peer_mw_trans$IDX"
403 REM=$2
409 "$(subdirname $REM)"
411 mw_alloc $i $LOC $REM
413 mw_check $i $LOC $REM
415 mw_free $i $LOC $REM
425 REM=$2
427 echo "Running ping pong tests on: $(basename $LOC) / $(basename $REM)"
430 REM_START=$(read_file "$REM/count")
435 REM_END=$(read_file "$REM/count")
448 REM=$2
452 echo "Running MSI interrupt tests on: $(subdirname $LOC) / $(subdirname $REM)"
456 START=$(read_file $REM/../irq${i}_occurrences)
458 END=$(read_file $REM/../irq${i}_occurrences)