Lines Matching refs:bsrc
51 int bsrc, bsnk, size, i, ret, n;
76 for(bsrc = 0; bsrc < 128; bsrc++) { /* Step the source by 1 */
84 if(tstcopy((void *)((unsigned int)srcptr + bsrc), (void *)((unsigned int)snkptr + bsnk), size)) {
85 db_printf("Test failed; source = %02X; sink = %02X; length = %d\n", bsrc, bsnk, size);
97 for(bsrc = 1; bsrc < 128; bsrc++) { /* Step the source by 1 */
102 if(bsrc < bsnk) {
108 if(tstcopy2((void *)((unsigned int)srcptr + bsrc), (void *)((unsigned int)srcptr + bsnk), size)) {
109 db_printf("Test failed; source = %02X; sink = %02X; length = %d\n", bsrc, bsnk, size);
128 for(bsrc = 0; bsrc < 128; bsrc++) { /* Step source by 1 */
129 db_printf(" %3d", bsrc); /* Show where we're at */
132 asrc = (void *)((unsigned int)srcptr + bsrc); /* Start byte address */
136 db_printf("\nTest failed - source = %3d, sink = %3d size = %d\n", bsrc, bsnk, size);
148 for(bsrc = 0; bsrc < 128; bsrc++) { /* Step source by 1 */
149 db_printf(" %3d", bsrc); /* Show where we're at */
152 asrc = (void *)((unsigned int)srcptr + bsrc + 2048); /* Start byte address */
156 db_printf("\nTest failed - source = %3d, sink = %3d size = %d\n", bsrc, bsnk, size);
176 db_printf("\nTest failed - source = %3d, sink = %3d size = %d\n", bsrc, bsnk, size);
188 for(bsrc = 0; bsrc < 128; bsrc++) { /* Step source by 1 */
189 db_printf(" %3d", bsrc); /* Show where we're at */
196 db_printf("\nTest failed - source = %3d, n = %3d size = %d\n", bsrc, n, size);
217 db_printf("\nTest failed - source = %3d, sink = %3d size = %d\n", bsrc, bsnk, size);
229 for(bsrc = 0; bsrc < 128; bsrc++) { /* Step source by 1 */
230 db_printf(" %3d", bsrc); /* Show where we're at */
237 db_printf("\nTest failed - source = %3d, n = %3d size = %d\n", bsrc, n, size);
257 db_printf("\nTest failed - source = %3d, sink = %3d size = %d\n", bsrc, bsnk, size);
268 for(bsrc = 0; bsrc < 128; bsrc++) { /* Step source by 1 */
269 db_printf(" %3d", bsrc); /* Show where we're at */
276 db_printf("\nTest failed - source = %3d, n = %3d size = %d\n", bsrc, n, size);
303 bsrc = makerand & 0x0007FFFF; /* Generate source */
309 db_printf("rt %7d: src = %08X; sink = %08X; length = %7d\n", i, ((unsigned int)srcptr + bsrc),
313 asrc = (void *)((unsigned int)srcptr + bsrc);
319 db_printf("Test failed; source = %02X; sink = %02X; length = %d\n", bsrc, bsnk, size);
352 bsrc = makerand & 0x0007FFFF; /* Generate source */
358 db_printf("rt %7d: src = %08X; sink = %08X; length = %7d\n", i, ((unsigned int)srcptr + bsrc),
362 asrc = (void *)((unsigned int)srcptr + bsrc);
368 db_printf("Test failed; source = %02X; sink = %02X; length = %d\n", bsrc, bsnk, size);
399 bsrc = makerand & 0x0007FFFF; /* Generate source */
405 db_printf("rt %7d: src = %08X; sink = %08X; length = %7d\n", i, ((unsigned int)srcptr + bsrc),
409 asrc = (void *)((unsigned int)srcptr + bsrc);
415 db_printf("Test failed; source = %02X; sink = %02X; length = %d\n", bsrc, bsnk, size);