| /rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-layerscape/ |
| H A D | mp.c | 29 u64 *table = get_spin_tbl_addr(); in update_os_arch_secondary_cores() local 34 table[i * WORDS_PER_SPIN_TABLE_ENTRY + in update_os_arch_secondary_cores() 37 table[i * WORDS_PER_SPIN_TABLE_ENTRY + in update_os_arch_secondary_cores() 80 u64 *table = get_spin_tbl_addr(); in fsl_layerscape_wake_seconday_cores() local 93 memset(table, 0, CONFIG_MAX_CPUS*SPIN_TABLE_ELEM_SIZE); in fsl_layerscape_wake_seconday_cores() 94 flush_dcache_range((unsigned long)table, in fsl_layerscape_wake_seconday_cores() 95 (unsigned long)table + in fsl_layerscape_wake_seconday_cores() 156 flush_dcache_range((unsigned long)table, (unsigned long)table + in fsl_layerscape_wake_seconday_cores() 159 if (table[i * WORDS_PER_SPIN_TABLE_ENTRY + in fsl_layerscape_wake_seconday_cores() 189 u64 *table; in is_core_online() local [all …]
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | hashtable.c | 109 if (htab->table != NULL) in hcreate_r() 121 htab->table = (_ENTRY *) calloc(htab->size + 1, sizeof(_ENTRY)); in hcreate_r() 122 if (htab->table == NULL) in hcreate_r() 151 if (htab->table[i].used > 0) { in hdestroy_r() 152 ENTRY *ep = &htab->table[i].entry; in hdestroy_r() 158 free(htab->table); in hdestroy_r() 161 htab->table = NULL; in hdestroy_r() 208 if (htab->table[idx].used <= 0) in hmatch_r() 210 if (!strncmp(match, htab->table[idx].entry.key, key_len)) { in hmatch_r() 211 *retval = &htab->table[idx].entry; in hmatch_r() [all …]
|
| /rk3399_rockchip-uboot/drivers/thermal/ |
| H A D | rockchip_thermal.c | 214 struct chip_tsadc_table table; member 616 static int tsadc_code_to_temp(struct chip_tsadc_table *table, u32 code, in tsadc_code_to_temp() argument 620 unsigned int high = table->length - 1; in tsadc_code_to_temp() 625 if (table->knum) { in tsadc_code_to_temp() 626 *temp = (((int)code - table->bnum) * 10000 / table->knum) * 100; in tsadc_code_to_temp() 632 switch (table->mode) { in tsadc_code_to_temp() 634 code &= table->data_mask; in tsadc_code_to_temp() 635 if (code < table->id[high].code) in tsadc_code_to_temp() 639 if (code >= table->id[mid].code && in tsadc_code_to_temp() 640 code < table->id[mid - 1].code) in tsadc_code_to_temp() [all …]
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | sfi.c | 29 u64 table[SFI_TABLE_MAX_ENTRIES]; member 38 tab->table[tab->count] = tab->entry_start; in get_entry_start() 70 *entry++ = tab->table[i]; in sfi_write_system_header() 136 struct table_info table; in write_sfi_table() local 138 table.base = base; in write_sfi_table() 139 table.ptr = 0; in write_sfi_table() 140 table.count = 0; in write_sfi_table() 141 sfi_write_cpus(&table); in write_sfi_table() 142 sfi_write_apic(&table); in write_sfi_table() 148 sfi_write_xsdt(&table); in write_sfi_table() [all …]
|
| H A D | asm-offsets.c | 24 DEFINE(GD_TABLE, offsetof(gd_t, arch.table)); in main()
|
| /rk3399_rockchip-uboot/arch/arm/mach-socfpga/ |
| H A D | wrap_iocsr_config.c | 15 const unsigned long **table, in iocsr_get_config_table() argument 20 *table = iocsr_scan_chain0_table; in iocsr_get_config_table() 24 *table = iocsr_scan_chain1_table; in iocsr_get_config_table() 28 *table = iocsr_scan_chain2_table; in iocsr_get_config_table() 32 *table = iocsr_scan_chain3_table; in iocsr_get_config_table()
|
| H A D | wrap_pinmux_config.c | 13 void sysmgr_get_pinmux_table(const u8 **table, unsigned int *table_len) in sysmgr_get_pinmux_table() argument 15 *table = sys_mgr_init_table; in sysmgr_get_pinmux_table()
|
| /rk3399_rockchip-uboot/disk/ |
| H A D | Kconfig | 14 - CONFIG_MAC_PARTITION Apple's MacOS partition table. 15 - CONFIG_DOS_PARTITION MS Dos partition table, traditional on the 17 - CONFIG_ISO_PARTITION ISO partition table, used on CDROM etc. 18 - CONFIG_EFI_PARTITION GPT partition table, common when EFI is the 21 - CONFIG_MTD_PARTITIONS Memory Technology Device partition table. 27 bool "Enable Apple's MacOS partition table" 34 bool "Enable Apple's MacOS partition table for SPL" 39 bool "Enable MS Dos partition table" 47 bool "Enable MS Dos partition table for SPL" 52 bool "Enable ISO partition table" [all …]
|
| /rk3399_rockchip-uboot/drivers/input/ |
| H A D | input.c | 247 struct input_key_xlate *table; in process_modifier() local 252 table = &config->table[0]; in process_modifier() 254 struct input_key_xlate *tab = &config->table[i]; in process_modifier() 257 table = tab; in process_modifier() 298 return table; in process_modifier() 453 struct input_key_xlate *table; in input_keycodes_to_ascii() local 457 table = &config->table[0]; in input_keycodes_to_ascii() 463 if (key >= table->num_entries || table->xlate[key] == 0xff) { in input_keycodes_to_ascii() 464 table = process_modifier(config, key, in input_keycodes_to_ascii() 478 if (key < table->num_entries) { in input_keycodes_to_ascii() [all …]
|
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/ |
| H A D | mp.c | 59 u32 *table, id = get_my_id(); in cpu_status() local 65 table = (u32 *)&__spin_table; in cpu_status() 66 printf("table base @ 0x%p\n", table); in cpu_status() 70 table = (u32 *)&__spin_table + nr * NUM_BOOT_ENTRY; in cpu_status() 73 printf("table @ 0x%p\n", table); in cpu_status() 74 printf(" addr - 0x%08x\n", table[BOOT_ENTRY_ADDR_LOWER]); in cpu_status() 75 printf(" r3 - 0x%08x\n", table[BOOT_ENTRY_R3_LOWER]); in cpu_status() 76 printf(" pir - 0x%08x\n", table[BOOT_ENTRY_PIR]); in cpu_status() 143 u32 i, val, *table = (u32 *)&__spin_table + nr * NUM_BOOT_ENTRY; in cpu_release() local 166 table[entry] = val; in cpu_release() [all …]
|
| /rk3399_rockchip-uboot/lib/zlib/ |
| H A D | inftrees.c | 33 code FAR * FAR *table, unsigned FAR *bits, in inflate_table() argument 117 *(*table)++ = this; /* make a table to force an error */ in inflate_table() 118 *(*table)++ = this; in inflate_table() 200 next = *table; /* current table to fill in */ in inflate_table() 281 (*table)[low].op = (unsigned char)curr; in inflate_table() 282 (*table)[low].bits = (unsigned char)root; in inflate_table() 283 (*table)[low].val = (unsigned short)(next - *table); in inflate_table() 302 next = *table; in inflate_table() 322 *table += used; in inflate_table()
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | usbstring.c | 106 usb_gadget_get_string(struct usb_gadget_strings *table, int id, u8 *buf) in usb_gadget_get_string() argument 111 if (!table) in usb_gadget_get_string() 118 buf[2] = (u8) table->language; in usb_gadget_get_string() 119 buf[3] = (u8) (table->language >> 8); in usb_gadget_get_string() 122 for (s = table->strings; s && s->s; s++) in usb_gadget_get_string()
|
| /rk3399_rockchip-uboot/doc/ |
| H A D | README.mpc85xx-spin-table | 1 Spin table in cache 3 As specified by ePAPR v1.1, the spin table needs to be in cached memory. After 4 DDR is initialized and U-Boot relocates itself into DDR, the spin table is 6 __secondary_start_page. For other cores to use the spin table, the booting 15 core 0 puts the physical address of the spin table (which is in release.S and 21 the new space. The new TLB covers the physical address of the spin table page, 22 with WIMGE =0b00100. Now secondary cores can keep polling the spin table 23 without stress DDR bus because both the code and the spin table is in cache.
|
| H A D | README.esbc_validate | 31 QorIQ platforms like B4/T4 have support of srk key table and key 33 The srk key table allows the user to have a key table with multiple 35 In case the ISBC code uses the key revocation and srk key table to
|
| H A D | README.standalone | 4 1. The functions are exported by U-Boot via a jump table. The jump 5 table is allocated and initialized in the jumptable_init() routine 6 (common/exports.c). Other routines may also modify the jump table, 7 however. The jump table can be accessed as the 'jt' field of the 8 'global_data' structure. The struct members for the jump table are 21 2. The pointer to the jump table is passed to the application in a 111 table. That said, to port this code to a new architecture, the
|
| /rk3399_rockchip-uboot/drivers/pci/ |
| H A D | pci.c | 294 struct pci_config_table *table; in pci_find_config() local 296 for (table = hose->config_table; table && table->vendor; table++) { in pci_find_config() 297 if ((table->vendor == PCI_ANY_ID || table->vendor == vendor) && in pci_find_config() 298 (table->device == PCI_ANY_ID || table->device == device) && in pci_find_config() 299 (table->class == PCI_ANY_ID || table->class == class) && in pci_find_config() 300 (table->bus == PCI_ANY_ID || table->bus == bus) && in pci_find_config() 301 (table->dev == PCI_ANY_ID || table->dev == dev) && in pci_find_config() 302 (table->func == PCI_ANY_ID || table->func == func)) { in pci_find_config() 303 return table; in pci_find_config()
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/armv8/ |
| H A D | mmu.h | 105 static inline void set_ttbr_tcr_mair(int el, u64 table, u64 tcr, u64 attr) in set_ttbr_tcr_mair() argument 109 asm volatile("msr ttbr0_el1, %0" : : "r" (table) : "memory"); in set_ttbr_tcr_mair() 113 asm volatile("msr ttbr0_el2, %0" : : "r" (table) : "memory"); in set_ttbr_tcr_mair() 117 asm volatile("msr ttbr0_el3, %0" : : "r" (table) : "memory"); in set_ttbr_tcr_mair()
|
| /rk3399_rockchip-uboot/arch/x86/lib/efi/ |
| H A D | efi.c | 145 debug("table=%lx\n", gd->arch.table); in reserve_arch() 146 if (!gd->arch.table) in reserve_arch() 149 hdr = (struct efi_info_hdr *)gd->arch.table; in reserve_arch() 154 gd->arch.table, gd->start_addr_sp, hdr->total_size); in reserve_arch() 155 gd->arch.table = gd->start_addr_sp; in reserve_arch()
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | bcm2837.dtsi | 38 enable-method = "spin-table"; 46 enable-method = "spin-table"; 54 enable-method = "spin-table"; 62 enable-method = "spin-table";
|
| /rk3399_rockchip-uboot/common/ |
| H A D | image.c | 183 const table_entry_t *table; member 600 const table_entry_t *get_table_entry(const table_entry_t *table, int id) in get_table_entry() argument 602 for (; table->id >= 0; ++table) { in get_table_entry() 603 if (table->id == id) in get_table_entry() 604 return table; in get_table_entry() 635 entry = get_table_entry(table_info[category].table, id); in genimg_get_cat_name() 659 entry = get_table_entry(table_info[category].table, id); in genimg_get_cat_short_name() 693 char *get_table_entry_name(const table_entry_t *table, char *msg, int id) in get_table_entry_name() argument 695 table = get_table_entry(table, id); in get_table_entry_name() 696 if (!table) in get_table_entry_name() [all …]
|
| /rk3399_rockchip-uboot/lib/efi/ |
| H A D | efi_info.c | 20 if (!gd->arch.table) in efi_info_get() 23 info = map_sysmem(gd->arch.table, 0); in efi_info_get()
|
| /rk3399_rockchip-uboot/drivers/serial/ |
| H A D | serial_efi.c | 128 struct efi_system_table *table = efi_get_sys_table(); in serial_efi_probe() local 131 priv->con_in = table->con_in; in serial_efi_probe() 132 priv->con_out = table->con_out; in serial_efi_probe()
|
| /rk3399_rockchip-uboot/arch/arm/mach-tegra/tegra20/ |
| H A D | emc.c | 244 const u32 *table = NULL; in tegra_set_emc() local 247 err = decode_emc(blob, rate, &emc, &table); in tegra_set_emc() 256 u32 value = fdt32_to_cpu(table[i]); in tegra_set_emc()
|
| /rk3399_rockchip-uboot/arch/nios2/cpu/ |
| H A D | u-boot.lds | 31 * the initialization code relocates the command table as 101 /* DEBUG -- symbol table, string table, etc. etc.
|
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc8xxx/ |
| H A D | fsl_lbc.c | 107 void upmconfig(uint upm, uint *table, uint size) in upmconfig() argument 140 out_be32(&lbc->mdr, table[i]); in upmconfig()
|