Lines Matching refs:TO_REG
17 #define TO_REG(x) ((x) >> 2) macro
19 #define FSI_MENP0 TO_REG(0x010)
20 #define FSI_MENP32 TO_REG(0x014)
21 #define FSI_MSENP0 TO_REG(0x018)
22 #define FSI_MLEVP0 TO_REG(0x018)
23 #define FSI_MSENP32 TO_REG(0x01c)
24 #define FSI_MLEVP32 TO_REG(0x01c)
25 #define FSI_MCENP0 TO_REG(0x020)
26 #define FSI_MREFP0 TO_REG(0x020)
27 #define FSI_MCENP32 TO_REG(0x024)
28 #define FSI_MREFP32 TO_REG(0x024)
30 #define FSI_MVER TO_REG(0x074)
31 #define FSI_MRESP0 TO_REG(0x0d0)
33 #define FSI_MRESB0 TO_REG(0x1d0)
50 return s->regs[TO_REG(addr)]; in fsi_master_read()
67 switch (TO_REG(addr)) { in fsi_master_write()
99 s->regs[TO_REG(addr)] = data; in fsi_master_write()