Lines Matching refs:GRF_BASE
834 mmio_write_32(GRF_BASE + GRF_SOC_CON4, CCI_FORCE_WAKEUP);
907 iomux_status[i] = mmio_read_32(GRF_BASE +
909 pull_mode_status[i] = mmio_read_32(GRF_BASE +
930 mmio_write_32(GRF_BASE + GRF_GPIO3A_IOMUX,
932 mmio_write_32(GRF_BASE + GRF_GPIO3B_IOMUX,
934 mmio_write_32(GRF_BASE + GRF_GPIO3C_IOMUX,
938 mmio_write_32(GRF_BASE + GRF_GPIO3A_P, REG_SOC_WMSK | 0);
939 mmio_write_32(GRF_BASE + GRF_GPIO3B_P, REG_SOC_WMSK | 0);
940 mmio_write_32(GRF_BASE + GRF_GPIO3C_P, REG_SOC_WMSK | 0);
950 mmio_write_32(GRF_BASE + GRF_GPIO2A_IOMUX,
952 mmio_write_32(GRF_BASE + GRF_GPIO2B_IOMUX,
956 mmio_write_32(GRF_BASE + GRF_GPIO2A_P, REG_SOC_WMSK | 0);
957 mmio_write_32(GRF_BASE + GRF_GPIO2B_P, REG_SOC_WMSK | 0);
967 mmio_write_32(GRF_BASE + GRF_GPIO2C_IOMUX,
969 mmio_write_32(GRF_BASE + GRF_GPIO2D_IOMUX,
973 mmio_write_32(GRF_BASE + GRF_GPIO2C_P, REG_SOC_WMSK | 0);
974 mmio_write_32(GRF_BASE + GRF_GPIO2D_P, REG_SOC_WMSK | 0);
984 mmio_write_32(GRF_BASE + GRF_GPIO4C_IOMUX,
986 mmio_write_32(GRF_BASE + GRF_GPIO4D_IOMUX,
990 mmio_write_32(GRF_BASE + GRF_GPIO4C_P, REG_SOC_WMSK | 0);
991 mmio_write_32(GRF_BASE + GRF_GPIO4D_P, REG_SOC_WMSK | 0);
1000 mmio_write_32(GRF_BASE + GRF_GPIO3D_IOMUX,
1002 mmio_write_32(GRF_BASE + GRF_GPIO4A_IOMUX,
1006 mmio_write_32(GRF_BASE + GRF_GPIO3D_P, REG_SOC_WMSK | 0);
1007 mmio_write_32(GRF_BASE + GRF_GPIO4A_P, REG_SOC_WMSK | 0);
1026 mmio_write_32(GRF_BASE + GRF_GPIO2A_P + i * 4,
1028 mmio_write_32(GRF_BASE + GRF_GPIO2A_IOMUX + i * 4,
1168 store_usbphy0[0] = mmio_read_32(GRF_BASE + GRF_USBPHY0_CTRL0);
1169 store_usbphy0[1] = mmio_read_32(GRF_BASE + GRF_USBPHY0_CTRL2);
1170 store_usbphy0[2] = mmio_read_32(GRF_BASE + GRF_USBPHY0_CTRL3);
1171 store_usbphy0[3] = mmio_read_32(GRF_BASE + GRF_USBPHY0_CTRL12);
1172 store_usbphy0[4] = mmio_read_32(GRF_BASE + GRF_USBPHY0_CTRL13);
1173 store_usbphy0[5] = mmio_read_32(GRF_BASE + GRF_USBPHY0_CTRL15);
1174 store_usbphy0[6] = mmio_read_32(GRF_BASE + GRF_USBPHY0_CTRL16);
1176 store_usbphy1[0] = mmio_read_32(GRF_BASE + GRF_USBPHY1_CTRL0);
1177 store_usbphy1[1] = mmio_read_32(GRF_BASE + GRF_USBPHY1_CTRL2);
1178 store_usbphy1[2] = mmio_read_32(GRF_BASE + GRF_USBPHY1_CTRL3);
1179 store_usbphy1[3] = mmio_read_32(GRF_BASE + GRF_USBPHY1_CTRL12);
1180 store_usbphy1[4] = mmio_read_32(GRF_BASE + GRF_USBPHY1_CTRL13);
1181 store_usbphy1[5] = mmio_read_32(GRF_BASE + GRF_USBPHY1_CTRL15);
1182 store_usbphy1[6] = mmio_read_32(GRF_BASE + GRF_USBPHY1_CTRL16);
1187 mmio_write_32(GRF_BASE + GRF_USBPHY0_CTRL0,
1189 mmio_write_32(GRF_BASE + GRF_USBPHY0_CTRL2,
1191 mmio_write_32(GRF_BASE + GRF_USBPHY0_CTRL3,
1193 mmio_write_32(GRF_BASE + GRF_USBPHY0_CTRL12,
1195 mmio_write_32(GRF_BASE + GRF_USBPHY0_CTRL13,
1197 mmio_write_32(GRF_BASE + GRF_USBPHY0_CTRL15,
1199 mmio_write_32(GRF_BASE + GRF_USBPHY0_CTRL16,
1202 mmio_write_32(GRF_BASE + GRF_USBPHY1_CTRL0,
1204 mmio_write_32(GRF_BASE + GRF_USBPHY1_CTRL2,
1206 mmio_write_32(GRF_BASE + GRF_USBPHY1_CTRL3,
1208 mmio_write_32(GRF_BASE + GRF_USBPHY1_CTRL12,
1210 mmio_write_32(GRF_BASE + GRF_USBPHY1_CTRL13,
1212 mmio_write_32(GRF_BASE + GRF_USBPHY1_CTRL15,
1214 mmio_write_32(GRF_BASE + GRF_USBPHY1_CTRL16,
1222 store_grf_soc_con0 = mmio_read_32(GRF_BASE + GRF_SOC_CON(0));
1223 store_grf_soc_con1 = mmio_read_32(GRF_BASE + GRF_SOC_CON(1));
1224 store_grf_soc_con2 = mmio_read_32(GRF_BASE + GRF_SOC_CON(2));
1225 store_grf_soc_con3 = mmio_read_32(GRF_BASE + GRF_SOC_CON(3));
1226 store_grf_soc_con4 = mmio_read_32(GRF_BASE + GRF_SOC_CON(4));
1227 store_grf_soc_con7 = mmio_read_32(GRF_BASE + GRF_SOC_CON(7));
1231 mmio_read_32(GRF_BASE + GRF_DDRC0_CON0 + i * 4);
1233 store_grf_io_vsel = mmio_read_32(GRF_BASE + GRF_IO_VSEL);
1240 mmio_write_32(GRF_BASE + GRF_SOC_CON(0),
1242 mmio_write_32(GRF_BASE + GRF_SOC_CON(1),
1244 mmio_write_32(GRF_BASE + GRF_SOC_CON(2),
1246 mmio_write_32(GRF_BASE + GRF_SOC_CON(3),
1248 mmio_write_32(GRF_BASE + GRF_SOC_CON(4),
1250 mmio_write_32(GRF_BASE + GRF_SOC_CON(7),
1254 mmio_write_32(GRF_BASE + GRF_DDRC0_CON0 + i * 4,
1257 mmio_write_32(GRF_BASE + GRF_IO_VSEL, REG_SOC_WMSK | store_grf_io_vsel);