Home
last modified time | relevance | path

Searched refs:x2 (Results 1 – 9 of 9) sorted by relevance

/lk-master/arch/arm64/
A Dspinlock.S13 mov x2, x0
15 ldaxr x0, [x2]
17 stxr w0, x1, [x2]
26 ldaxr x2, [x0]
27 cbnz x2, 1b
A Dexceptions.S33 push x2, x3
37 mrs x2, spsr_el1
39 stp x1, x2, [sp, #regsave_long_offset + 16]
51 push x2, x3
55 mrs x2, spsr_el1
57 stp x1, x2, [sp, #regsave_short_offset + 16]
62 ldp x1, x2, [sp, #regsave_long_offset + 16]
65 msr spsr_el1, x2
67 pop x2, x3
89 msr spsr_el1, x2
[all …]
A Dcache-ops.S18 add x2, x0, x1 // calculate the end address
23 cmp x3, x2
/lk-master/platform/pc/
A Dconsole.c47 int x1, y1, x2, y2; member
129 void window(int x1, int y1, int x2, int y2) { in window() argument
132 view_window.x2 = x2; in window()
138 void _clear(char c,char attr,int x1,int y1,int x2,int y2) { in _clear() argument
144 for (i = x1; i <= x2; i++) { in _clear()
160 void _scroll(char attr, int x1, int y1, int x2, int y2) { in _scroll() argument
166 for (x = x1; x <= x2; x++) { in _scroll()
172 for (x = x1; x <= x2; x++) { in _scroll()
178 _scroll(curr_attr, view_window.x1, view_window.y1, view_window.x2, in scroll()
191 if (x >= view_window.x2+1) { in cputc()
[all …]
/lk-master/platform/pc/include/platform/
A Dconsole.h25 void _clear(char c, char attr, int x1, int y1, int x2, int y2);
28 void _scroll(char attr, int x1, int y1, int x2, int y2);
37 void window(int x1, int y1, int x2, int y2);
/lk-master/lib/gfx/include/lib/
A Dgfx.h56 … void (*copyrect)(struct gfx_surface *, uint x, uint y, uint width, uint height, uint x2, uint y2);
63 void gfx_copyrect(gfx_surface *surface, uint x, uint y, uint width, uint height, uint x2, uint y2);
72 void gfx_line(gfx_surface *surface, uint x1, uint y1, uint x2, uint y2, uint color);
/lk-master/lib/gfx/
A Dgfx.c81 void gfx_copyrect(gfx_surface *surface, uint x, uint y, uint width, uint height, uint x2, uint y2) { in gfx_copyrect() argument
85 if (x2 >= surface->width) in gfx_copyrect()
97 if (x2 + width > surface->width) in gfx_copyrect()
98 width = surface->width - x2; in gfx_copyrect()
106 surface->copyrect(surface, x, y, width, height, x2, y2); in gfx_copyrect()
168 uint8_t *dest = &((uint8_t *)surface->ptr)[x2 + y2 * surface->stride]; in copyrect8()
219 uint16_t *dest = &((uint16_t *)surface->ptr)[x2 + y2 * surface->stride]; in copyrect16()
270 uint32_t *dest = &((uint32_t *)surface->ptr)[x2 + y2 * surface->stride]; in copyrect32()
316 void gfx_line(gfx_surface *surface, uint x1, uint y1, uint x2, uint y2, uint color) { in gfx_line() argument
319 if (unlikely(x2 >= surface->width)) in gfx_line()
[all …]
/lk-master/target/sifive-unleashed/dt/
A Dhifive-unleashed-a00-microsemi.dts10 #size-cells = <0x2>;
A Dhifive-unleashed-a00.dts24 reg = <0x0 0x80000000 0x2 0x00000000>;

Completed in 8 milliseconds