Lines Matching refs:tmp
64 struct device *tmp; in gio_dev_get() local
68 tmp = get_device(&dev->dev); in gio_dev_get()
69 if (tmp) in gio_dev_get()
70 return to_gio_device(tmp); in gio_dev_get()
228 u32 tmp = sgimc->giopar; in gio_set_master() local
232 tmp |= SGIMC_GIOPAR_MASTERGFX; in gio_set_master()
235 tmp |= SGIMC_GIOPAR_MASTEREXP0; in gio_set_master()
238 tmp |= SGIMC_GIOPAR_MASTEREXP1; in gio_set_master()
241 sgimc->giopar = tmp; in gio_set_master()
247 u32 tmp = sgimc->giopar; in ip22_gio_set_64bit() local
251 tmp |= SGIMC_GIOPAR_GFX64; in ip22_gio_set_64bit()
254 tmp |= SGIMC_GIOPAR_EXP064; in ip22_gio_set_64bit()
257 tmp |= SGIMC_GIOPAR_EXP164; in ip22_gio_set_64bit()
260 sgimc->giopar = tmp; in ip22_gio_set_64bit()
310 u32 tmp; in ip22_is_gr2() local
315 if (!get_dbe(tmp, ptr)) { in ip22_is_gr2()
316 if (tmp == 0xdeadbeef) in ip22_is_gr2()
327 u32 tmp; in ip22_check_gio() local
333 tmp = 0x7f; in ip22_check_gio()
335 if (!ip22_gio_id(addr, &tmp)) { in ip22_check_gio()
341 if (ip22_gio_id(addr + NEWPORT_USTATUS_OFFS, &tmp)) in ip22_check_gio()
342 tmp = 0x7e; in ip22_check_gio()
344 tmp = 0; in ip22_check_gio()
347 if (tmp) { in ip22_check_gio()
348 id = GIO_ID(tmp); in ip22_check_gio()
349 if (tmp & GIO_32BIT_ID) { in ip22_check_gio()
350 if (tmp & GIO_64BIT_IFACE) in ip22_check_gio()