Lines Matching refs:symbol
425 #define script_patch_32(h, script, symbol, value) \ argument
429 for(i=0; i< (sizeof(A_##symbol##_used) / sizeof(__u32)); i++) { \
430 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]) + da; \
431 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
432 dma_sync_to_dev((h), &(script)[A_##symbol##_used[i]], 4); \
434 #symbol, A_##symbol##_used[i], &da)); \
438 #define script_patch_32_abs(h, script, symbol, value) \ argument
442 for(i=0; i< (sizeof(A_##symbol##_used) / sizeof(__u32)); i++) { \
443 (script)[A_##symbol##_used[i]] = bS_to_host(da); \
444 dma_sync_to_dev((h), &(script)[A_##symbol##_used[i]], 4); \
446 #symbol, A_##symbol##_used[i], &da)); \
451 #define script_patch_ID(h, script, symbol, value) \ argument
454 for(i=0; i< (sizeof(A_##symbol##_used) / sizeof(__u32)); i++) { \
455 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]); \
458 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
459 dma_sync_to_dev((h), &(script)[A_##symbol##_used[i]], 4); \
461 #symbol, A_##symbol##_used[i], val)); \
465 #define script_patch_16(h, script, symbol, value) \ argument
468 for(i=0; i< (sizeof(A_##symbol##_used) / sizeof(__u32)); i++) { \
469 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]); \
472 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
473 dma_sync_to_dev((h), &(script)[A_##symbol##_used[i]], 4); \
475 #symbol, A_##symbol##_used[i], val)); \