Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 30) sorted by relevance

12

/lk-master/lib/gfx/
A Dgfx.c83 if (x >= surface->width) in gfx_copyrect()
95 if (x + width > surface->width) in gfx_copyrect()
96 width = surface->width - x; in gfx_copyrect()
97 if (x2 + width > surface->width) in gfx_copyrect()
98 width = surface->width - x2; in gfx_copyrect()
123 if (x + width > surface->width) in gfx_fillrect()
124 width = surface->width - x; in gfx_fillrect()
418 uint width = source->width; in gfx_surface_blend() local
419 if (destx + width > target->width) in gfx_surface_blend()
420 width = target->width - destx; in gfx_surface_blend()
[all …]
/lk-master/external/platform/pico/rp2_common/pico_printf/
A Dprintf.c218 while (idx - start_idx < width) { in _out_rev()
234 width--; in _ntoa_format()
358 width, flags); in _ftoa()
443 width--; in _ftoa()
535 unsigned int fwidth = width; in _etoa()
536 if (width > minwidth) { in _etoa()
636 width = 0U; in _vsnprintf()
638 width = _atoi(&format); in _vsnprintf()
645 width = (unsigned int) w; in _vsnprintf()
808 while (l++ < width) { in _vsnprintf()
[all …]
/lk-master/top/include/lk/
A Dreg.h18 #define RMWREG64(addr, startbit, width, val) *REG64(addr) = (*REG64(addr) & ~(((1<<(width)) - 1) <<… argument
19 #define RMWREG32(addr, startbit, width, val) *REG32(addr) = (*REG32(addr) & ~(((1<<(width)) - 1) <<… argument
20 #define RMWREG16(addr, startbit, width, val) *REG16(addr) = (*REG16(addr) & ~(((1<<(width)) - 1) <<… argument
21 #define RMWREG8(addr, startbit, width, val) *REG8(addr) = (*REG8(addr) & ~(((1<<(width)) - 1) << (s… argument
/lk-master/dev/virtio/gpu/
A Dvirtio-gpu.c174 req.width = width; in allocate_2d_resource()
252 req.r.width = width; in set_scanout()
275 LTRACEF("gdev %p, resource_id %u, width %u, height %u\n", gdev, resource_id, width, height); in flush_resource()
286 req.r.width = width; in flush_resource()
308 LTRACEF("gdev %p, resource_id %u, width %u, height %u\n", gdev, resource_id, width, height); in transfer_to_host_2d()
319 req.r.width = width; in transfer_to_host_2d()
366 size_t len = gdev->pmode.r.width * gdev->pmode.r.height * 4; in virtio_gpu_start()
551 fb->image.width = the_gdev->pmode.r.width; in display_get_framebuffer()
553 fb->image.stride = fb->image.width; in display_get_framebuffer()
554 fb->image.rowbytes = fb->image.width * 4; in display_get_framebuffer()
[all …]
A Dvirtio_gpu.h109 uint32_t width; member
125 uint32_t width; member
/lk-master/lib/gfx/include/lib/
A Dgfx.h47 uint width; member
56 … void (*copyrect)(struct gfx_surface *, uint x, uint y, uint width, uint height, uint x2, uint y2);
57 void (*fillrect)(struct gfx_surface *, uint x, uint y, uint width, uint height, uint color);
63 void gfx_copyrect(gfx_surface *surface, uint x, uint y, uint width, uint height, uint x2, uint y2);
66 void gfx_fillrect(gfx_surface *surface, uint x, uint y, uint width, uint height, uint color);
76 surface->fillrect(surface, 0, 0, surface->width, surface->height, color); in gfx_clear()
90 gfx_surface *gfx_create_surface(void *ptr, uint width, uint height, uint stride, gfx_format format);
/lk-master/dev/include/dev/class/
A Dfb.h16 size_t width; member
25 status_t (*set_mode)(struct device *dev, size_t width, size_t height, size_t bpp);
28 status_t (*update_region)(struct device *dev, size_t x, size_t y, size_t width, size_t height);
33 status_t class_fb_set_mode(struct device *dev, size_t width, size_t height, size_t bpp);
36 status_t class_fb_update_region(struct device *dev, size_t x, size_t y, size_t width, size_t height…
/lk-master/dev/fbcon/
A Dfbcon.c94 unsigned short *src = dst + (config->width * FONT_HEIGHT); in fbcon_scroll_up()
95 unsigned count = config->width * (config->height - FONT_HEIGHT); in fbcon_scroll_up()
101 count = config->width * FONT_HEIGHT; in fbcon_scroll_up()
112 unsigned count = config->width * config->height; in fbcon_clear()
145 pixels += cur_pos.y * FONT_HEIGHT * config->width; in fbcon_putc()
191 max_pos.x = config->width / (FONT_WIDTH+1); in fbcon_setup()
/lk-master/dev/class/
A Dfb_api.c12 status_t class_fb_set_mode(struct device *dev, size_t width, size_t height, size_t bpp) { in class_fb_set_mode() argument
18 return ops->set_mode(dev, width, height, bpp); in class_fb_set_mode()
45 status_t class_fb_update_region(struct device *dev, size_t x, size_t y, size_t width, size_t height… in class_fb_update_region() argument
51 return ops->update_region(dev, x, y, width, height); in class_fb_update_region()
/lk-master/lib/tga/
A Dtga.c33 uint16_t width; member
48 LTRACEF("width %hd\n", header->width); in print_tga_info()
124 …gfx_surface *surface = gfx_create_surface(NULL, header->width, header->height, header->width, form… in tga_decode()
155 for (x = 0; x < header->width; x++) { in tga_decode()
172 while (count < (uint)header->height * (uint)header->width) { in tga_decode()
190 if (x == surface->width) { in tga_decode()
/lk-master/dev/include/dev/
A Ddisplay.h45 uint width; member
54 uint width; member
A Dfbcon.h34 unsigned width; member
A Dusbc.h54 status_t usbc_setup_endpoint(ep_t ep, ep_dir_t dir, uint width, ep_type_t type);
/lk-master/lib/gfxconsole/
A Dgfxconsole.c88 …gfx_copyrect(gfxconsole.surface, 0, FONT_Y, gfxconsole.surface->width, gfxconsole.surface->height … in gfxconsole_putc()
90 …console.surface->height - FONT_Y - gfxconsole.extray, gfxconsole.surface->width, FONT_Y, gfxconsol… in gfxconsole_putc()
121 gfxconsole.columns = surface->width / FONT_X; in gfxconsole_start()
/lk-master/platform/armemu/
A Ddisplay.c48 fb->image.width = display_w; in display_get_framebuffer()
64 info->width = display_w; in display_get_info()
/lk-master/target/dartuinoP0/display/
A DLS013B7DH06.c39 for (uint i = 0; i < image->width; i += 2) { in lcd_get_line()
65 if (image->width & 1) { in lcd_get_line()
/lk-master/external/platform/pico/rp2_common/boot_stage2/
A Dpad_checksum16 def bitrev(x, width): argument
17 return int("{:0{w}b}".format(x, w=width)[::-1], 2)
/lk-master/platform/stm32f7xx/
A Dusbc.c226 status_t usbc_setup_endpoint(ep_t ep, ep_dir_t dir, uint width, ep_type_t type) { in usbc_setup_endpoint() argument
227 LTRACEF("ep %u dir %u width %u\n", ep, dir, width); in usbc_setup_endpoint()
231 …HAL_StatusTypeDef ret = HAL_PCD_EP_Open(&usbc.handle, ep | ((dir == USB_IN) ? 0x80 : 0), width, ty… in usbc_setup_endpoint()
235 HAL_PCDEx_SetTxFiFo(&usbc.handle, ep, width); in usbc_setup_endpoint()
/lk-master/target/sifive-unleashed/dt/
A Dhifive-unleashed-a00.dts98 spi-tx-bus-width = <4>;
99 spi-rx-bus-width = <4>;
/lk-master/platform/stm32f0xx/
A Dusbc.c262 status_t usbc_setup_endpoint(ep_t ep, ep_dir_t dir, uint width, ep_type_t type) { in usbc_setup_endpoint() argument
263 LTRACEF("ep %u dir %u width %u\n", ep, dir, width); in usbc_setup_endpoint()
276 stm32_usbc_pma_alloc(width)); in usbc_setup_endpoint()
278 HAL_StatusTypeDef ret = HAL_PCD_EP_Open(&usbc.handle, ep_addr, width, type); in usbc_setup_endpoint()
/lk-master/platform/bcm28xx/
A Dmailbox.c132 fb->image.width = fb_desc.phys_width; in display_get_framebuffer()
142 info->width = fb_desc.phys_width; in display_get_info()
/lk-master/target/armemu/
A Darmemu.conf21 width = 800
/lk-master/target/dartuinoP0/
A Dmemory_lcd.c125 default_fb.image.width = MLCD_WIDTH; in display_get_framebuffer()
181 info->width = MLCD_WIDTH; in display_get_info()
/lk-master/external/platform/nrfx/doc/buildfiles/
A Dextra_stylesheet.css339 max-width:100%;
345 width: 100%;
354 width: 100%;
391 width: 100%;
495 width:50%;
/lk-master/target/qemu-m4/
A Dm4display.c191 fb->image.width = M4DISPLAY_WIDTH; in display_get_framebuffer()
206 info->width = M4DISPLAY_WIDTH; in display_get_info()

Completed in 30 milliseconds

12