Lines Matching refs:scratch
890 union bhnd_nvram_sprom_storage scratch; in bhnd_nvram_sprom_write_offset() local
895 scratch._repr[1] = (_widen)value; \ in bhnd_nvram_sprom_write_offset()
899 scratch._repr[1] <<= shift; \ in bhnd_nvram_sprom_write_offset()
901 scratch._repr[1] >>= -shift; \ in bhnd_nvram_sprom_write_offset()
902 scratch._repr[1] &= mask; \ in bhnd_nvram_sprom_write_offset()
905 scratch._repr[1] = _swap(scratch._repr[1]); \ in bhnd_nvram_sprom_write_offset()
909 &scratch._repr[0], sizeof(scratch._repr[0])); \ in bhnd_nvram_sprom_write_offset()
919 scratch._repr[0] &= ~_swap(mask << shift); \ in bhnd_nvram_sprom_write_offset()
921 scratch._repr[0] &= ~_swap(mask >> (-shift)); \ in bhnd_nvram_sprom_write_offset()
922 scratch._repr[0] |= scratch._repr[1]; \ in bhnd_nvram_sprom_write_offset()
926 &scratch._repr[0], sizeof(scratch._repr[0])); \ in bhnd_nvram_sprom_write_offset()
985 union bhnd_nvram_sprom_storage scratch; in bhnd_nvram_sprom_read_offset() local
991 &scratch._repr[0], sizeof(scratch._repr[0])); \ in bhnd_nvram_sprom_read_offset()
999 scratch._repr[0] = _swap(scratch._repr[0]); \ in bhnd_nvram_sprom_read_offset()
1002 scratch._repr[0] &= mask; \ in bhnd_nvram_sprom_read_offset()
1004 scratch. _repr[0] >>= shift; \ in bhnd_nvram_sprom_read_offset()
1006 scratch. _repr[0] <<= -shift; \ in bhnd_nvram_sprom_read_offset()
1011 (*value) |= (_widen)scratch._repr[0]; \ in bhnd_nvram_sprom_read_offset()