| /rk3399_rockchip-uboot/tools/omap/ |
| H A D | clocks_get_m_n.c | 54 u32 m, n; in get_m_n_optimized() local 57 m = target_freq_khz / ref_freq_khz / 2 * n; in get_m_n_optimized() 60 freq = ref_freq_khz * 2 * m / n; in get_m_n_optimized() 63 m--; in get_m_n_optimized() 66 m++; in get_m_n_optimized() 71 m_optimal = m; in get_m_n_optimized() 90 u32 m, n; in main() local 92 get_m_n_optimized(2000000, 12000, &m, &n); in main() 93 get_m_n_optimized(2000000, 13000, &m, &n); in main() 94 get_m_n_optimized(2000000, 16800, &m, &n); in main() [all …]
|
| /rk3399_rockchip-uboot/common/ |
| H A D | menu.c | 53 static inline void *menu_items_iter(struct menu *m, in menu_items_iter() argument 61 list_for_each_safe(pos, n, &m->items) { in menu_items_iter() 64 ret = callback(m, item, extra); in menu_items_iter() 78 static inline void *menu_item_print(struct menu *m, in menu_item_print() argument 82 if (!m->item_data_print) { in menu_item_print() 86 m->item_data_print(item->data); in menu_item_print() 96 static inline void *menu_item_destroy(struct menu *m, in menu_item_destroy() argument 108 __weak void menu_display_statusline(struct menu *m) in menu_display_statusline() argument 116 static inline void menu_display(struct menu *m) in menu_display() argument 118 if (m->title) { in menu_display() [all …]
|
| /rk3399_rockchip-uboot/scripts/dtc/ |
| H A D | treesource.c | 68 struct marker *m = val.markers; in write_propval_string() local 72 while (m && (m->offset == 0)) { in write_propval_string() 73 if (m->type == LABEL) in write_propval_string() 74 fprintf(f, "%s: ", m->ref); in write_propval_string() 75 m = m->next; in write_propval_string() 112 while (m && (m->offset <= (i + 1))) { in write_propval_string() 113 if (m->type == LABEL) { in write_propval_string() 114 assert(m->offset == (i+1)); in write_propval_string() 115 fprintf(f, "%s: ", m->ref); in write_propval_string() 117 m = m->next; in write_propval_string() [all …]
|
| H A D | data.c | 25 struct marker *m, *nm; in data_free() local 27 m = d.markers; in data_free() 28 while (m) { in data_free() 29 nm = m->next; in data_free() 30 free(m->ref); in data_free() 31 free(m); in data_free() 32 m = nm; in data_free() 128 struct data data_insert_at_marker(struct data d, struct marker *m, in data_insert_at_marker() argument 132 memmove(d.val + m->offset + len, d.val + m->offset, d.len - m->offset); in data_insert_at_marker() 133 memcpy(d.val + m->offset, p, len); in data_insert_at_marker() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-tegra/ |
| H A D | cpu.c | 56 { .n = 1000, .m = 13, .p = 0, .cpcon = 12 }, /* OSC: 13.0 MHz */ 57 { .n = 625, .m = 12, .p = 0, .cpcon = 8 }, /* OSC: 19.2 MHz */ 58 { .n = 1000, .m = 12, .p = 0, .cpcon = 12 }, /* OSC: 12.0 MHz */ 59 { .n = 1000, .m = 26, .p = 0, .cpcon = 12 }, /* OSC: 26.0 MHz */ 60 { .n = 0, .m = 0, .p = 0, .cpcon = 0 }, /* OSC: 38.4 MHz (N/A) */ 61 { .n = 0, .m = 0, .p = 0, .cpcon = 0 }, /* OSC: 48.0 MHz (N/A) */ 74 { .n = 923, .m = 10, .p = 0, .cpcon = 12 }, /* OSC: 13.0 MHz */ 75 { .n = 750, .m = 12, .p = 0, .cpcon = 8 }, /* OSC: 19.2 MHz */ 76 { .n = 600, .m = 6, .p = 0, .cpcon = 12 }, /* OSC: 12.0 MHz */ 77 { .n = 600, .m = 13, .p = 0, .cpcon = 12 }, /* OSC: 26.0 MHz */ [all …]
|
| /rk3399_rockchip-uboot/scripts/basic/ |
| H A D | fixdep.c | 198 static void use_config(const char *m, int slen) in use_config() argument 200 unsigned int hash = strhash(m, slen); in use_config() 203 if (is_defined_config(m, slen, hash)) in use_config() 206 define_config(m, slen, hash); in use_config() 210 c = m[i]; in use_config() 224 const int *m = (const int *) map + 1; in parse_config_file() local 228 for (; m < end; m++) { in parse_config_file() 229 if (*m == INT_CONF) { p = (char *) m ; goto conf; } in parse_config_file() 230 if (*m == INT_ONFI) { p = (char *) m-1; goto conf; } in parse_config_file() 231 if (*m == INT_NFIG) { p = (char *) m-2; goto conf; } in parse_config_file() [all …]
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | Makefile.lib | 53 multi-used-y := $(sort $(foreach m,$(obj-y), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))), $(m)))) 54 multi-used-m := $(sort $(foreach m,$(obj-m), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))), $(m)))) 60 multi-objs-y := $(foreach m, $(multi-used-y), $($(m:.o=-objs)) $($(m:.o=-y))) 61 multi-objs-m := $(foreach m, $(multi-used-m), $($(m:.o=-objs)) $($(m:.o=-y))) 72 …y := $(foreach m, $(filter-out $(subdir-obj-y), $(obj-y)), $(if $(strip $($(m:.o=-objs)) $($(m:.o=… 73 real-objs-m := $(foreach m, $(obj-m), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))),$($(m:.o=-objs))… 200 $(eval $(obj)/$m: \
|
| H A D | Makefile.host | 30 host-csingle := $(foreach m,$(__hostprogs), \ 31 $(if $($(m)-objs)$($(m)-cxxobjs)$($(m)-sharedobjs),,$(m))) 34 host-cmulti := $(foreach m,$(__hostprogs),\ 35 $(if $($(m)-cxxobjs),,$(if $($(m)-objs),$(m)))) 38 host-shared := $(foreach m,$(__hostprogs),\ 39 $(if $($(m)-sharedobjs),$(m)))) 42 host-cobjs := $(sort $(foreach m,$(__hostprogs),$($(m)-objs))) 47 host-cxxmulti := $(foreach m,$(__hostprogs),$(if $($(m)-cxxobjs),$(m))) 50 host-cxxobjs := $(sort $(foreach m,$(host-cxxmulti),$($(m)-cxxobjs)))
|
| /rk3399_rockchip-uboot/arch/arm/mach-sunxi/ |
| H A D | clock_sun6i.c | 117 int m = 1; in clock_set_pll1() local 123 m = 2; in clock_set_pll1() 137 CCM_PLL1_CTRL_N(clk / (24000000 * k / m)) | in clock_set_pll1() 138 CCM_PLL1_CTRL_K(k) | CCM_PLL1_CTRL_M(m), &ccm->pll1_cfg); in clock_set_pll1() 153 const int m = 8; /* 3 MHz steps just like sun4i, sun5i and sun7i */ in clock_set_pll3() local 162 CCM_PLL3_CTRL_N(clk / (24000000 / m)) | CCM_PLL3_CTRL_M(m), in clock_set_pll3() 167 void clock_set_pll3_factors(int m, int n) in clock_set_pll3_factors() argument 174 CCM_PLL3_CTRL_N(n) | CCM_PLL3_CTRL_M(m), in clock_set_pll3_factors() 187 int k = 1, m = 2; in clock_set_pll5() local 199 if (clk > 24000000 * k * max_n / m) { in clock_set_pll5() [all …]
|
| /rk3399_rockchip-uboot/configs/ |
| H A D | ls1043ardb_SECURE_BOOT_defconfig | 11 …m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m@0x4100000(nor_bank4…
|
| H A D | ls1043ardb_defconfig | 10 …m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m@0x4100000(nor_bank4…
|
| H A D | ls1043aqds_nor_ddr3_defconfig | 9 …m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m@0x4100000(nor_bank4…
|
| H A D | ls1043aqds_defconfig | 9 …m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m@0x4100000(nor_bank4…
|
| H A D | ls1043aqds_lpuart_defconfig | 10 …m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m@0x4100000(nor_bank4…
|
| H A D | ls1043ardb_sdcard_defconfig | 19 …m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m@0x4100000(nor_bank4…
|
| H A D | ls1043ardb_sdcard_SECURE_BOOT_defconfig | 19 …m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m@0x4100000(nor_bank4…
|
| H A D | ls1043ardb_nand_defconfig | 17 …m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m@0x4100000(nor_bank4…
|
| H A D | ls1043aqds_sdcard_ifc_defconfig | 17 …m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m@0x4100000(nor_bank4…
|
| H A D | ls1043aqds_nand_defconfig | 17 …m@0x100000(nor_bank0_uboot),40m@0x1100000(nor_bank0_fit),7m(nor_bank0_user),2m@0x4100000(nor_bank4…
|
| /rk3399_rockchip-uboot/fs/yaffs2/ |
| H A D | yportenv.h | 252 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) argument 253 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) argument 254 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument 255 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) argument 256 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument 257 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument 258 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | stat.h | 22 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) argument 23 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) argument 24 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument 25 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument 26 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument 27 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument 28 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) argument
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | display_options.c | 54 unsigned long m = 0; in print_freq() local 77 m = f; in print_freq() 78 while (m > 1000) in print_freq() 79 m /= 10; in print_freq() 80 while (m && !(m % 10)) in print_freq() 81 m /= 10; in print_freq() 82 if (m >= 100) in print_freq() 83 m = (m / 10) + (m % 100 >= 50); in print_freq() 87 if (m) in print_freq() 88 printf(".%ld", m); in print_freq() [all …]
|
| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | rockchip_post_csc.c | 1207 static void csc_matrix_element_right_shift(struct rk_pq_csc_coef *m, int n) in csc_matrix_element_right_shift() argument 1209 m->csc_coef00 = m->csc_coef00 >> n; in csc_matrix_element_right_shift() 1210 m->csc_coef01 = m->csc_coef01 >> n; in csc_matrix_element_right_shift() 1211 m->csc_coef02 = m->csc_coef02 >> n; in csc_matrix_element_right_shift() 1212 m->csc_coef10 = m->csc_coef10 >> n; in csc_matrix_element_right_shift() 1213 m->csc_coef11 = m->csc_coef11 >> n; in csc_matrix_element_right_shift() 1214 m->csc_coef12 = m->csc_coef12 >> n; in csc_matrix_element_right_shift() 1215 m->csc_coef20 = m->csc_coef20 >> n; in csc_matrix_element_right_shift() 1216 m->csc_coef21 = m->csc_coef21 >> n; in csc_matrix_element_right_shift() 1217 m->csc_coef22 = m->csc_coef22 >> n; in csc_matrix_element_right_shift() [all …]
|
| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A D | kxgettext.c | 122 struct message *m = message__list; in mesage__find() local 124 while (m != NULL) { in mesage__find() 125 if (strcmp(m->msg, msg) == 0) in mesage__find() 127 m = m->next; in mesage__find() 130 return m; in mesage__find() 155 struct message *m = mesage__find(escaped); in message__add() local 157 if (m != NULL) in message__add() 158 rc = message__add_file_line(m, file, lineno); in message__add() 160 m = message__new(escaped, option, file, lineno); in message__add() 162 if (m != NULL) { in message__add() [all …]
|
| /rk3399_rockchip-uboot/include/pcmcia/ |
| H A D | yenta.h | 73 #define CB_MEM_BASE(m) (0x1c + 8*(m)) argument 74 #define CB_MEM_LIMIT(m) (0x20 + 8*(m)) argument 75 #define CB_IO_BASE(m) (0x2c + 8*(m)) argument 76 #define CB_IO_LIMIT(m) (0x30 + 8*(m)) argument 86 #define CB_BCR_PREFETCH(m) (0x0100 << (m)) argument
|