Lines Matching full:straps
90 u32 straps = tegra_read_straps(); in tegra_read_ram_code() local
93 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_LONG; in tegra_read_ram_code()
95 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_SHORT; in tegra_read_ram_code()
97 return straps >> PMC_STRAPPING_OPT_A_RAM_CODE_SHIFT; in tegra_read_ram_code()
166 struct resource apbmisc, straps; in tegra_init_apbmisc() local
187 straps.start = 0x7000e864; in tegra_init_apbmisc()
188 straps.end = 0x7000e867; in tegra_init_apbmisc()
190 straps.start = 0x70000008; in tegra_init_apbmisc()
191 straps.end = 0x7000000b; in tegra_init_apbmisc()
194 straps.flags = IORESOURCE_MEM; in tegra_init_apbmisc()
198 &straps); in tegra_init_apbmisc()
216 if (of_address_to_resource(np, 1, &straps) < 0) { in tegra_init_apbmisc()
229 strapping_base = ioremap(straps.start, resource_size(&straps)); in tegra_init_apbmisc()