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()
167 struct resource *straps) in tegra_init_apbmisc_resources() argument
177 strapping_base = ioremap(straps->start, resource_size(straps)); in tegra_init_apbmisc_resources()
194 struct resource apbmisc, straps; in tegra_init_apbmisc() local
215 straps.start = 0x7000e864; in tegra_init_apbmisc()
216 straps.end = 0x7000e867; in tegra_init_apbmisc()
218 straps.start = 0x70000008; in tegra_init_apbmisc()
219 straps.end = 0x7000000b; in tegra_init_apbmisc()
222 straps.flags = IORESOURCE_MEM; in tegra_init_apbmisc()
226 &straps); in tegra_init_apbmisc()
244 if (of_address_to_resource(np, 1, &straps) < 0) { in tegra_init_apbmisc()
250 tegra_init_apbmisc_resources(&apbmisc, &straps); in tegra_init_apbmisc()
288 * resources[1]: straps. in tegra_acpi_init_apbmisc()