Lines Matching refs:table
31 u64 *table = get_spin_tbl_addr(); in update_os_arch_secondary_cores() local
36 table[i * WORDS_PER_SPIN_TABLE_ENTRY + in update_os_arch_secondary_cores()
39 table[i * WORDS_PER_SPIN_TABLE_ENTRY + in update_os_arch_secondary_cores()
82 u64 *table; in fsl_layerscape_wake_seconday_cores() local
131 table = get_spin_tbl_addr(); in fsl_layerscape_wake_seconday_cores()
132 memset(table, 0, CONFIG_MAX_CPUS*SPIN_TABLE_ELEM_SIZE); in fsl_layerscape_wake_seconday_cores()
133 flush_dcache_range((unsigned long)table, in fsl_layerscape_wake_seconday_cores()
134 (unsigned long)table + in fsl_layerscape_wake_seconday_cores()
195 flush_dcache_range((unsigned long)table, (unsigned long)table + in fsl_layerscape_wake_seconday_cores()
198 if (table[i * WORDS_PER_SPIN_TABLE_ENTRY + in fsl_layerscape_wake_seconday_cores()
228 u64 *table = get_spin_tbl_addr(); in is_core_online() local
230 table += pos * WORDS_PER_SPIN_TABLE_ENTRY; in is_core_online()
231 return table[SPIN_TABLE_ELEM_STATUS_IDX] == 1; in is_core_online()
276 u64 *table = get_spin_tbl_addr(); in cpu_status() local
280 printf("table base @ 0x%p\n", table); in cpu_status()
285 table += pos * WORDS_PER_SPIN_TABLE_ENTRY; in cpu_status()
286 printf("table @ 0x%p\n", table); in cpu_status()
288 table[SPIN_TABLE_ELEM_ENTRY_ADDR_IDX]); in cpu_status()
290 table[SPIN_TABLE_ELEM_STATUS_IDX]); in cpu_status()
292 table[SPIN_TABLE_ELEM_LPID_IDX]); in cpu_status()
301 u64 *table = get_spin_tbl_addr(); in cpu_release() local
308 table += pos * WORDS_PER_SPIN_TABLE_ENTRY; in cpu_release()
310 table[SPIN_TABLE_ELEM_ENTRY_ADDR_IDX] = boot_addr; in cpu_release()
311 flush_dcache_range((unsigned long)table, in cpu_release()
312 (unsigned long)table + SPIN_TABLE_ELEM_SIZE); in cpu_release()