Lines Matching full:straps
93 u32 straps = tegra_read_straps(); in tegra_read_ram_code() local
96 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_LONG; in tegra_read_ram_code()
98 straps &= PMC_STRAPPING_OPT_A_RAM_CODE_MASK_SHORT; in tegra_read_ram_code()
100 return straps >> PMC_STRAPPING_OPT_A_RAM_CODE_SHIFT; in tegra_read_ram_code()
168 struct resource *straps) in tegra_init_apbmisc_resources() argument
178 strapping_base = ioremap(straps->start, resource_size(straps)); in tegra_init_apbmisc_resources()
195 struct resource apbmisc, straps; in tegra_init_apbmisc() local
216 straps.start = 0x7000e864; in tegra_init_apbmisc()
217 straps.end = 0x7000e867; in tegra_init_apbmisc()
219 straps.start = 0x70000008; in tegra_init_apbmisc()
220 straps.end = 0x7000000b; in tegra_init_apbmisc()
223 straps.flags = IORESOURCE_MEM; in tegra_init_apbmisc()
227 &straps); in tegra_init_apbmisc()
245 if (of_address_to_resource(np, 1, &straps) < 0) { in tegra_init_apbmisc()
251 tegra_init_apbmisc_resources(&apbmisc, &straps); in tegra_init_apbmisc()
289 * resources[1]: straps. in tegra_acpi_init_apbmisc()