| /rk3399_rockchip-uboot/tools/omap/ |
| H A D | clocks_get_m_n.c | 2 * Program for finding M & N values for DPLLs 18 * get_m_n_optimized() - Finds optimal DPLL multiplier(M) and divider(N) 25 * n - pointer to computed N value 27 * succeeds in finding vialble M and N values the corresponding output 32 * Fdpll = (2 * M * Fref) / (N + 1) 35 * - Smaller the N, better lock-time, especially lock-time will be 40 * - The difference in power for different N values giving the same 44 * - N can not be greater than 127(7 bit field for representing N) 50 int get_m_n_optimized(u32 target_freq_khz, u32 ref_freq_khz, u32 *M, u32 *N) in get_m_n_optimized() argument 54 u32 m, n; in get_m_n_optimized() local [all …]
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | string.c | 46 "rep\n" in memset() 54 "rep\n" in memset() 64 "rep\n" in memset() 81 "cld\n" \ 83 "rep\n" \ 95 "cld\n" \ 97 "rep\n" \ 134 void *memmove(void *dest, const void *src, size_t n) in memmove() argument 141 "cmp $0x10, %0\n\t" in memmove() 142 "jb 1f\n\t" in memmove() [all …]
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | log2.h | 23 * - the arch is not required to handle n==0 if implementing the fallback 27 int __ilog2_u32(u32 n) in __ilog2_u32() argument 29 return fls(n) - 1; in __ilog2_u32() 35 int __ilog2_u64(u64 n) in __ilog2_u64() argument 37 return fls64(n) - 1; in __ilog2_u64() 43 * @n: the value to check 47 * Return: true if @n is a power of 2, otherwise false. 50 bool is_power_of_2(unsigned long n) in is_power_of_2() argument 52 return (n != 0 && ((n & (n - 1)) == 0)); in is_power_of_2() 57 * @n: value to round up [all …]
|
| /rk3399_rockchip-uboot/examples/standalone/ |
| H A D | stubs.c | 20 " .globl " #x "\n" \ 21 #x ":\n" \ 22 " movl %0, %%eax\n" \ 23 " movl jt, %%ecx\n" \ 24 " jmp *(%%ecx, %%eax)\n" \ 33 " .globl " #x "\n" \ 34 #x ":\n" \ 35 " lwz %%r11, %0(%%r2)\n" \ 36 " lwz %%r11, %1(%%r11)\n" \ 37 " mtctr %%r11\n" \ [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | atags.c | 34 printf("ATAGS state:\n"); in atags_stat() 35 printf(" addr = 0x%08x ~ 0x%08x\n", start, end); in atags_stat() 36 printf(" Total size = 0x%08x\n", ATAGS_SIZE); in atags_stat() 37 printf(" in use size = 0x%08x\n", in_use); in atags_stat() 38 printf(" available size = 0x%08x\n", in_available); in atags_stat() 50 printf("[serial]:\n"); in atags_print_tag() 51 printf(" magic = 0x%x\n", t->hdr.magic); in atags_print_tag() 52 printf(" size = 0x%x\n\n", t->hdr.size << 2); in atags_print_tag() 53 printf(" version = 0x%x\n", t->u.serial.version); in atags_print_tag() 54 printf(" enable = 0x%x\n", t->u.serial.enable); in atags_print_tag() [all …]
|
| H A D | blk_common.c | 31 printf("\nno %s devices available\n", if_name); in blk_common_cmd() 37 printf("\nno %s devices available\n", if_name); in blk_common_cmd() 47 printf("... is now current device\n"); in blk_common_cmd() 56 printf("\n%s device %d not available\n", in blk_common_cmd() 69 ulong n; in blk_common_cmd() local 71 printf("\n%s read: device %d block # "LBAFU", count %lu ... ", in blk_common_cmd() 74 n = blk_read_devnum(if_type, *cur_devnump, blk, cnt, in blk_common_cmd() 77 printf("%ld blocks read: %s\n", n, in blk_common_cmd() 78 n == cnt ? "OK" : "ERROR"); in blk_common_cmd() 79 return n == cnt ? 0 : 1; in blk_common_cmd() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-rockchip/ |
| H A D | sdram_common.h | 30 #define UART_INFO_ID(n) (((n) >> 28) & 0xf) argument 31 #define UART_INFO_IOMUX(n) (((n) >> 24) & 0xf) argument 32 #define UART_INFO_BAUD(n) ((n) & 0xffffff) argument 35 #define STANDBY_IDLE(n) ((n) & 0xffff) argument 37 #define SR_INFO(n) (((n) >> 16) & 0xffff) argument 38 #define PD_INFO(n) ((n) & 0xffff) argument 40 #define FIRST_SCAN_CH(n) (((n) >> 28) & 0xf) argument 41 #define CHANNEL_MASK(n) (((n) >> 24) & 0xf) argument 42 #define STRIDE_TYPE(n) (((n) >> 16) & 0xff) argument 44 #define DDR_2T_INFO(n) ((n) & 1) argument [all …]
|
| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A D | mconf.c | 26 "Overview\n" 27 "--------\n" 28 "This interface lets you select features and parameters for the build.\n" 29 "Features can either be built-in, modularized, or ignored. Parameters\n" 30 "must be entered in as decimal or hexadecimal numbers or text.\n" 31 "\n" 32 "Menu items beginning with following braces represent features that\n" 33 " [ ] can be built in or removed\n" 34 " < > can be built in, modularized or removed\n" 35 " { } can be built in or modularized (selected by other feature)\n" [all …]
|
| H A D | nconf.c | 19 "Help windows\n" 20 "------------\n" 21 "o Global help: Unless in a data entry window, pressing <F1> will give \n" 22 " you the global help window, which you are just reading.\n" 23 "\n" 24 "o A short version of the global help is available by pressing <F3>.\n" 25 "\n" 26 "o Local help: To get help related to the current menu entry, use any\n" 27 " of <?> <h>, or if in a data entry window then press <F1>.\n" 28 "\n" [all …]
|
| /rk3399_rockchip-uboot/arch/mips/include/asm/ |
| H A D | system.h | 27 ".set\tpush\n\t" in __sti() 28 ".set\treorder\n\t" in __sti() 29 ".set\tnoat\n\t" in __sti() 30 "mfc0\t$1,$12\n\t" in __sti() 31 "ori\t$1,0x1f\n\t" in __sti() 32 "xori\t$1,0x1e\n\t" in __sti() 33 "mtc0\t$1,$12\n\t" in __sti() 34 ".set\tpop\n\t" in __sti() 51 ".set\tpush\n\t" in __cli() 52 ".set\treorder\n\t" in __cli() [all …]
|
| /rk3399_rockchip-uboot/examples/api/ |
| H A D | demo.c | 46 printf("API signature found @%x\n", (unsigned int)sig); in main() 49 printf("\n*** Consumer API test ***\n"); in main() 50 printf("syscall ptr 0x%08x@%08x\n", (unsigned int)syscall_ptr, in main() 56 printf("*** Press any key to continue ***\n"); in main() 57 printf("got char 0x%x\n", ub_getc()); in main() 63 printf("\n*** Timing - wait a couple of secs ***\n"); in main() 65 printf("\ntime: start %lu\n\n", start); in main() 72 printf("\ntime: now %lu\n\n", now); in main() 75 printf("\n*** Enumerate devices ***\n"); in main() 78 printf("Number of devices found: %d\n", devs_no); in main() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/ |
| H A D | p2wi.h | 25 #define __P2WI_CC_CLK(n) (((n) & 0xff) << 0) argument 27 #define __P2WI_CC_CLK_DIV(n) (((n) >> 1) - 1) argument 28 #define P2WI_CC_CLK_DIV(n) \ argument 29 __P2WI_CC_CLK(__P2WI_CC_CLK_DIV(n)) 30 #define P2WI_CC_SDA_OUT_DELAY(n) (((n) & 0x7) << 8) argument 40 #define __P2WI_STAT_TRANS_ERR(n) (((n) & 0xff) << 8) argument 67 #define P2WI_DATADDR_BYTE_1(n) (((n) & 0xff) << 0) argument 69 #define P2WI_DATADDR_BYTE_2(n) (((n) & 0xff) << 8) argument 71 #define P2WI_DATADDR_BYTE_3(n) (((n) & 0xff) << 16) argument 73 #define P2WI_DATADDR_BYTE_4(n) (((n) & 0xff) << 24) argument [all …]
|
| H A D | prcm.h | 16 #define __PRCM_CPUS_CFG_PRE(n) (((n) & 0x3) << 4) argument 18 #define __PRCM_CPUS_CFG_PRE_DIV(n) (((n) >> 1) - 1) argument 19 #define PRCM_CPUS_CFG_PRE_DIV(n) \ argument 20 __PRCM_CPUS_CFG_PRE(__PRCM_CPUS_CFG_CLK_PRE(n)) 21 #define __PRCM_CPUS_CFG_POST(n) (((n) & 0x1f) << 8) argument 23 #define __PRCM_CPUS_CFG_POST_DIV(n) ((n) - 1) argument 24 #define PRCM_CPUS_CFG_POST_DIV(n) \ argument 25 __PRCM_CPUS_CFG_POST_DIV(__PRCM_CPUS_CFG_POST_DIV(n)) 26 #define __PRCM_CPUS_CFG_CLK_SRC(n) (((n) & 0x3) << 16) argument 41 #define __PRCM_APB0_RATIO(n) (((n) & 0x3) << 0) argument [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/ |
| H A D | unified.h | 95 " .macro it, cond\n" 96 " .endm\n" 97 " .macro itt, cond\n" 98 " .endm\n" 99 " .macro ite, cond\n" 100 " .endm\n" 101 " .macro ittt, cond\n" 102 " .endm\n" 103 " .macro itte, cond\n" 104 " .endm\n" [all …]
|
| /rk3399_rockchip-uboot/arch/sh/include/asm/ |
| H A D | string.h | 19 __asm__ __volatile__("1:\n\t" in strcpy() 20 "mov.b @%1+, %2\n\t" in strcpy() 21 "mov.b %2, @%0\n\t" in strcpy() 22 "cmp/eq #0, %2\n\t" in strcpy() 23 "bf/s 1b\n\t" in strcpy() 24 " add #1, %0\n\t" in strcpy() 42 "1:\n" in strncpy() 43 "mov.b @%1+, %2\n\t" in strncpy() 44 "mov.b %2, @%0\n\t" in strncpy() 45 "cmp/eq #0, %2\n\t" in strncpy() [all …]
|
| /rk3399_rockchip-uboot/include/ |
| H A D | fm_eth.h | 67 #define FM_DTSEC_INFO_INITIALIZER(idx, n) \ argument 71 .num = n - 1, \ 73 .port = FM##idx##_DTSEC##n, \ 74 .rx_port_id = RX_PORT_1G_BASE + n - 1, \ 75 .tx_port_id = TX_PORT_1G_BASE + n - 1, \ 77 offsetof(struct ccsr_fman, memac[n-1]),\ 81 #define FM_TGEC_INFO_INITIALIZER(idx, n) \ argument 85 .num = n - 1, \ 87 .port = FM##idx##_10GEC##n, \ 88 .rx_port_id = RX_PORT_10G_BASE2 + n - 1, \ [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-lpc32xx/ |
| H A D | timer.h | 29 #define TIMER_IR_CR(n) (1 << ((n) + 4)) argument 30 #define TIMER_IR_MR(n) (1 << (n)) argument 38 #define TIMER_MCR_STOP(n) (1 << (3 * (n) + 2)) argument 39 #define TIMER_MCR_RESET(n) (1 << (3 * (n) + 1)) argument 40 #define TIMER_MCR_INTERRUPT(n) (1 << (3 * (n))) argument 43 #define TIMER_CCR_INTERRUPT(n) (1 << (3 * (n) + 2)) argument 44 #define TIMER_CCR_FALLING_EDGE(n) (1 << (3 * (n) + 1)) argument 45 #define TIMER_CCR_RISING_EDGE(n) (1 << (3 * (n))) argument 48 #define TIMER_EMR_EMC_TOGGLE(n) (0x3 << (2 * (n) + 4)) argument 49 #define TIMER_EMR_EMC_SET(n) (0x2 << (2 * (n) + 4)) argument [all …]
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | bmp_logo.c | 19 fprintf(stderr, "Usage: %s [--gen-info|--gen-data] file\n", prog); in usage() 36 void skip_bytes (FILE *fp, int n) in skip_bytes() argument 38 while (n-- > 0) in skip_bytes() 45 fprintf (stderr, "ERROR: %s\n", msg); in error() 54 printf("/*\n" in gen_info() 55 " * Automatically generated by \"tools/bmp_logo\"\n" in gen_info() 56 " *\n" in gen_info() 57 " * DO NOT EDIT\n" in gen_info() 58 " *\n" in gen_info() 59 " */\n\n\n" in gen_info() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-keystone/ |
| H A D | mon.c | 14 asm(".arch_extension sec\n\t"); 21 "stmfd r13!, {lr}\n" in mon_install() 22 "mov r0, %1\n" in mon_install() 23 "mov r1, %2\n" in mon_install() 24 "mov r2, %3\n" in mon_install() 25 "mov r3, %4\n" in mon_install() 26 "blx r0\n" in mon_install() 27 "mov %0, r0\n" in mon_install() 28 "ldmfd r13!, {lr}\n" in mon_install() 40 "stmfd r13!, {lr}\n" in mon_power_on() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-imx/ |
| H A D | hab.c | 128 char *rsn_str[] = {"RSN = HAB_RSN_ANY (0x00)\n", 129 "RSN = HAB_ENG_FAIL (0x30)\n", 130 "RSN = HAB_INV_ADDRESS (0x22)\n", 131 "RSN = HAB_INV_ASSERTION (0x0C)\n", 132 "RSN = HAB_INV_CALL (0x28)\n", 133 "RSN = HAB_INV_CERTIFICATE (0x21)\n", 134 "RSN = HAB_INV_COMMAND (0x06)\n", 135 "RSN = HAB_INV_CSF (0x11)\n", 136 "RSN = HAB_INV_DCD (0x27)\n", 137 "RSN = HAB_INV_INDEX (0x0F)\n", [all …]
|
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc83xx/ |
| H A D | ecc.c | 24 printf("\nECC mode: %s\n\n", in ecc_print_status() 28 printf("Memory Error Interrupt Enable:\n"); in ecc_print_status() 29 printf(" Multiple-Bit Error Interrupt Enable: %d\n", in ecc_print_status() 31 printf(" Single-Bit Error Interrupt Enable: %d\n", in ecc_print_status() 33 printf(" Memory Select Error Interrupt Enable: %d\n\n", in ecc_print_status() 37 printf("Memory Error Disable:\n"); in ecc_print_status() 38 printf(" Multiple-Bit Error Disable: %d\n", in ecc_print_status() 40 printf(" Single-Bit Error Disable: %d\n", in ecc_print_status() 42 printf(" Memory Select Error Disable: %d\n\n", in ecc_print_status() 46 printf("Memory Data Path Error Injection Mask High/Low: %08x %08x\n", in ecc_print_status() [all …]
|
| /rk3399_rockchip-uboot/tools/env/ |
| H A D | fw_env_main.c | 12 * fw_printenv [ -a key ] [[ -n name ] | [ name ... ]] 50 {"noheader", required_argument, NULL, 'n'}, 68 "Usage: fw_printenv [OPTIONS]... [VARIABLE]...\n" in usage_printenv() 69 "Print variables from U-Boot environment\n" in usage_printenv() 70 "\n" in usage_printenv() 71 " -h, --help print this help.\n" in usage_printenv() 72 " -v, --version display version\n" in usage_printenv() 74 " -a, --aes aes key to access environment\n" in usage_printenv() 77 " -c, --config configuration file, default:" CONFIG_FILE "\n" in usage_printenv() 79 " -n, --noheader do not repeat variable name in output\n" in usage_printenv() [all …]
|
| /rk3399_rockchip-uboot/drivers/usb/musb/ |
| H A D | musb_debug.h | 13 serial_printf("\t\t"#y"\n") 17 serial_printf("\tpower 0x%2.2x\n", b); in musb_print_pwr() 30 serial_printf("\tcsr0 0x%4.4x\n", w); in musb_print_csr0() 44 serial_printf("\tintrusb 0x%2.2x\n", b); in musb_print_intrusb() 54 serial_printf("\t\tMUSB_INTR_RESET or MUSB_INTR_BABBLE\n"); in musb_print_intrusb() 60 serial_printf("\tintrtx 0x%4.4x\n", w); in musb_print_intrtx() 65 serial_printf("\tintrx 0x%4.4x\n", w); in musb_print_intrrx() 70 serial_printf("\tdevctl 0x%2.2x\n", b); in musb_print_devctl() 72 serial_printf("\t\tB device\n"); in musb_print_devctl() 74 serial_printf("\t\tA device\n"); in musb_print_devctl() [all …]
|
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/ |
| H A D | cmd_errata.c | 43 printf("Work-around for Erratum A004849 is not enabled\n"); in check_erratum_a4849() 64 printf("Work-around for Erratum A004849 is not enabled\n"); in check_erratum_a4849() 70 printf("Work-around for Erratum A004849 enabled\n"); in check_erratum_a4849() 105 "not enabled\n"); in check_erratum_a4580() 113 printf("Work-around for Erratum A004580 enabled\n"); in check_erratum_a4580() 127 puts("Work-around for Erratum A007212 enabled\n"); in check_erratum_a007212() 144 puts("Work-around for Erratum SATA A001 enabled\n"); in do_errata() 150 puts("Work-around for Erratum SERDES8 enabled\n"); in do_errata() 153 puts("Work-around for Erratum SERDES9 enabled\n"); in do_errata() 156 puts("Work-around for Erratum SERDES-A005 enabled\n"); in do_errata() [all …]
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | kernel-doc | 209 my $blankline_xml = $local_lt . "/para" . $local_gt . $local_lt . "para" . $local_gt . "\n"; 217 my $blankline_gnome = "</para><para>\n"; 381 print "Usage: $0 [ -docbook | -html | -html5 | -text | -man | -list ]\n"; 382 print " [ -no-doc-sections ]\n"; 383 print " [ -function funcname [ -function funcname ...] ]\n"; 384 print " [ -nofunction funcname [ -nofunction funcname ...] ]\n"; 385 print " [ -v ]\n"; 386 print " c source file(s) > outputfile\n"; 387 print " -v : verbose output, more warnings & other info listed\n"; 407 my $contents = join "\n", @_; [all …]
|