Lines Matching refs:ST
428 #define getnn(ST, REG) ((be32toh(ST.REG) >> (31-REG##_offset)) \ argument
430 #define getpnn(ST, REG) ((be32toh((ST)->REG) >> (31-REG##_offset)) \ argument
432 #define get32(ST, REG) (be32toh(ST.REG)) argument
433 #define getp32(ST, REG) (be32toh((ST)->REG)) argument
434 #define get64(ST, REG) (be64toh(ST.REG)) argument
435 #define getp64(ST, REG) (be64toh((ST)->REG)) argument
437 #define unget32(ST, REG) (get32(ST, REG) & ~((REG##_mask) \ argument
441 #define ungetp32(ST, REG) (getp32(ST, REG) & ~((REG##_mask) \ argument
445 #define clear_regs(ST) memset((void *)(&(ST)), 0, sizeof(ST)) argument
446 #define clear_dde(ST) do { ST.dde_count = ST.ddebc = 0; ST.ddead = 0; \ argument
448 #define clearp_dde(ST) do { (ST)->dde_count = (ST)->ddebc = 0; \ argument
449 (ST)->ddead = 0; \
451 #define clear_struct(ST) memset((void *)(&(ST)), 0, sizeof(ST)) argument
452 #define putnn(ST, REG, X) (ST.REG = htobe32(unget32(ST, REG) | (((X) \ argument
454 #define putpnn(ST, REG, X) ((ST)->REG = htobe32(ungetp32(ST, REG) \ argument
457 #define put32(ST, REG, X) (ST.REG = htobe32(X)) argument
458 #define putp32(ST, REG, X) ((ST)->REG = htobe32(X)) argument
459 #define put64(ST, REG, X) (ST.REG = htobe64(X)) argument
460 #define putp64(ST, REG, X) ((ST)->REG = htobe64(X)) argument
467 #define get_csb_ce(ST) ((uint32_t)getnn(ST, csb_ce)) argument
468 #define get_csb_ce_ms3b(ST) (get_csb_ce(ST) >> 5) argument
469 #define put_csb_ce_ms3b(ST, X) putnn(ST, csb_ce, ((uint32_t)(X) << 5)) argument