1 /* SPDX-License-Identifier: GPL-2.0 */
6 .irp b, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
18 .macro wldrd, reg:req, base:req, offset:req
19 .inst 0xedd00100 | (.L\reg << 12) | (.L\base << 16) | (\offset >> 2)
22 .macro wldrw, reg:req, base:req, offset:req
23 .inst 0xfd900100 | (.L\reg << 12) | (.L\base << 16) | (\offset >> 2)
26 .macro wstrd, reg:req, base:req, offset:req
27 .inst 0xedc00100 | (.L\reg << 12) | (.L\base << 16) | (\offset >> 2)
30 .macro wstrw, reg:req, base:req, offset:req
31 .inst 0xfd800100 | (.L\reg << 12) | (.L\base << 16) | (\offset >> 2)
38 .macro tmrc, dest:req, control:req
39 mrc p1, 0, \dest, \control, c0, 0
42 .macro tmcr, control:req, src:req
43 mcr p1, 0, \src, \control, c0, 0