Home
last modified time | relevance | path

Searched refs:gs (Results 1 – 11 of 11) sorted by relevance

/rk3399_rockchip-uboot/scripts/kconfig/
H A Dutil.c83 struct gstr gs; in str_new() local
84 gs.s = xmalloc(sizeof(char) * 64); in str_new()
85 gs.len = 64; in str_new()
86 gs.max_width = 0; in str_new()
87 strcpy(gs.s, "\0"); in str_new()
88 return gs; in str_new()
92 void str_free(struct gstr *gs) in str_free() argument
94 if (gs->s) in str_free()
95 free(gs->s); in str_free()
96 gs->s = NULL; in str_free()
[all …]
H A Dlkc.h129 void str_free(struct gstr *gs);
130 void str_append(struct gstr *gs, const char *s);
131 void str_printf(struct gstr *gs, const char *fmt, ...);
132 const char *str_get(struct gstr *gs);
H A Dexpr.c1175 struct gstr *gs = (struct gstr*)data; in expr_print_gstr_helper() local
1181 if (gs->max_width) { in expr_print_gstr_helper()
1183 const char *last_cr = strrchr(gs->s, '\n'); in expr_print_gstr_helper()
1190 last_cr = gs->s; in expr_print_gstr_helper()
1192 last_line_length = strlen(gs->s) - (last_cr - gs->s); in expr_print_gstr_helper()
1194 if ((last_line_length + extra_length) > gs->max_width) in expr_print_gstr_helper()
1195 str_append(gs, "\\\n"); in expr_print_gstr_helper()
1198 str_append(gs, str); in expr_print_gstr_helper()
1200 str_printf(gs, " [=%s]", sym_str); in expr_print_gstr_helper()
1203 void expr_gstr_print(struct expr *e, struct gstr *gs) in expr_gstr_print() argument
[all …]
H A Dexpr.h224 void expr_gstr_print(struct expr *e, struct gstr *gs);
/rk3399_rockchip-uboot/lib/bzip2/
H A Dbzlib_compress.c281 Int32 v, t, i, j, gs, ge, totc, bt, bc, iter; in sendMTFValues() local
326 gs = 0; in sendMTFValues()
329 ge = gs-1; in sendMTFValues()
336 if (ge > gs in sendMTFValues()
346 nPart, gs, ge, aFreq, in sendMTFValues()
350 if (v >= gs && v <= ge) in sendMTFValues()
355 gs = ge+1; in sendMTFValues()
385 gs = 0; in sendMTFValues()
389 if (gs >= s->nMTF) break; in sendMTFValues()
390 ge = gs + BZ_G_SIZE - 1; in sendMTFValues()
[all …]
/rk3399_rockchip-uboot/arch/x86/lib/
H A Dbios_asm.S62 mov %ax, %gs
105 mov %ax, %gs
125 mov %ax, %gs
247 push %gs
292 pop %gs
/rk3399_rockchip-uboot/arch/x86/cpu/
H A Dwakeup.S46 mov %ax, %gs
62 movw %ax, %gs
H A Dstart.S79 movw %ax, %gs
H A Dsipi_vector.S94 movw %ax, %gs
/rk3399_rockchip-uboot/drivers/bios_emulator/
H A Dbiosemu.c258 M.x86.R_GS = sregs->gs; in BE_callRealMode()
284 sregs->gs = M.x86.R_GS; in BE_callRealMode()
349 M.x86.R_GS = sregs->gs; in BE_int86x()
370 sregs->gs = M.x86.R_GS; in BE_int86x()
/rk3399_rockchip-uboot/drivers/bios_emulator/include/
H A Dbiosemu.h275 u16 gs; member