Lines Matching refs:bsnk
51 int bsrc, bsnk, size, i, ret, n;
77 for(bsnk = 0; bsnk < 128; bsnk++) { /* Step the sink 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);
98 for(bsnk = 0; bsnk < 128; bsnk++) { /* Step the sink 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);
130 for(bsnk = 0; bsnk < 128; bsnk++) { /* Step sink by 1 */
133 asnk = (void *)((unsigned int)srcptr + bsnk + 2048); /* End byte address */
136 db_printf("\nTest failed - source = %3d, sink = %3d size = %d\n", bsrc, bsnk, size);
150 for(bsnk = 0; bsnk < 128; bsnk++) { /* Step sink by 1 */
153 asnk = (void *)((unsigned int)srcptr + bsnk); /* End byte address */
156 db_printf("\nTest failed - source = %3d, sink = %3d size = %d\n", bsrc, bsnk, size);
170 for(bsnk = 0; bsnk < 128; bsnk++) { /* Step sink by 1 */
172 asrc = (void *)((unsigned int)srcptr + bsnk + n); /* Start byte address */
173 asnk = (void *)((unsigned int)srcptr + bsnk); /* End byte address */
176 db_printf("\nTest failed - source = %3d, sink = %3d size = %d\n", bsrc, bsnk, size);
192 asrc = (void *)((unsigned int)srcptr + bsnk); /* Start byte address */
193 asnk = (void *)((unsigned int)srcptr + bsnk + n); /* End byte address */
211 for(bsnk = 0; bsnk < 128; bsnk++) { /* Step sink by 1 */
213 asrc = (void *)((unsigned int)srcptr + bsnk + n + 128); /* Start byte address */
214 asnk = (void *)((unsigned int)srcptr + bsnk); /* End byte address */
217 db_printf("\nTest failed - source = %3d, sink = %3d size = %d\n", bsrc, bsnk, size);
233 asrc = (void *)((unsigned int)srcptr + bsnk); /* Start byte address */
234 asnk = (void *)((unsigned int)srcptr + bsnk + n + 128); /* End byte address */
251 for(bsnk = 0; bsnk < 128; bsnk++) { /* Step sink by 1 */
253 asrc = (void *)((unsigned int)srcptr + bsnk + n + 256); /* Start byte address */
254 asnk = (void *)((unsigned int)srcptr + bsnk); /* End byte address */
257 db_printf("\nTest failed - source = %3d, sink = %3d size = %d\n", bsrc, bsnk, size);
272 asrc = (void *)((unsigned int)srcptr + bsnk); /* Start byte address */
273 asnk = (void *)((unsigned int)srcptr + bsnk + n + 256); /* End byte address */
305 bsnk = makerand & 0x0007FFFF; /* Generate sink */
310 ((unsigned int)srcptr + bsnk), size);
314 asnk = (void *)((unsigned int)srcptr + bsnk);
319 db_printf("Test failed; source = %02X; sink = %02X; length = %d\n", bsrc, bsnk, size);
354 bsnk = makerand & 0x0007FFFF; /* Generate sink */
359 ((unsigned int)srcptr + bsnk), size);
363 asnk = (void *)((unsigned int)srcptr + bsnk);
368 db_printf("Test failed; source = %02X; sink = %02X; length = %d\n", bsrc, bsnk, size);
401 bsnk = makerand & 0x0007FFFF; /* Generate sink */
406 ((unsigned int)srcptr + bsnk), size);
410 asnk = (void *)((unsigned int)srcptr + bsnk);
415 db_printf("Test failed; source = %02X; sink = %02X; length = %d\n", bsrc, bsnk, size);