Home
last modified time | relevance | path

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

12345678910>>...47

/openbmc/u-boot/arch/arm/mach-uniphier/
H A Dboards.c20 .width = 16,
24 .width = 16,
36 .width = 32,
40 .width = 32,
49 .width = 32,
53 .width = 32,
63 .width = 16,
67 .width = 16,
78 .width = 32,
82 .width = 32,
[all …]
/openbmc/u-boot/drivers/clk/
H A Dclk_meson.h29 u8 width; member
32 #define PMASK(width) GENMASK(width - 1, 0) argument
33 #define SETPMASK(width, shift) GENMASK(shift + width - 1, shift) argument
34 #define CLRPMASK(width, shift) (~SETPMASK(width, shift)) argument
36 #define PARM_GET(width, shift, reg) \ argument
37 (((reg) & SETPMASK(width, shift)) >> (shift))
38 #define PARM_SET(width, shift, reg, val) \ argument
39 (((reg) & CLRPMASK(width, shift)) | ((val) << (shift)))
/openbmc/openbmc/poky/meta/recipes-kernel/systemtap/systemtap/
H A D0001-staprun-address-ncurses-6.3-failures.patch20 - width[p_index], HIGHLIGHT("index", p_index, comp_fn_index),
21 - width[p_state], HIGHLIGHT("state", p_state, comp_fn_index),
22 - width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index),
23 - width[p_min], HIGHLIGHT("min", p_min, comp_fn_index),
24 - width[p_avg], HIGHLIGHT("avg", p_avg, comp_fn_index),
25 - width[p_max], HIGHLIGHT("max", p_max, comp_fn_index),
26 + (int)width[p_index], HIGHLIGHT("index", p_index, comp_fn_index),
27 + (int)width[p_state], HIGHLIGHT("state", p_state, comp_fn_index),
28 + (int)width[p_hits], HIGHLIGHT("hits", p_hits, comp_fn_index),
29 + (int)width[p_min], HIGHLIGHT("min", p_min, comp_fn_index),
[all …]
/openbmc/u-boot/drivers/video/
H A Dvideo_bmp.c47 ulong width, height; in video_display_rle8_bitmap() local
53 width = get_unaligned_le32(&bmp->header.width); in video_display_rle8_bitmap()
69 fb -= (width * 2 + priv->line_length); in video_display_rle8_bitmap()
89 if (x < width) { in video_display_rle8_bitmap()
90 if (x + runlen > width) in video_display_rle8_bitmap()
91 cnt = width - x; in video_display_rle8_bitmap()
108 if (x < width) { in video_display_rle8_bitmap()
116 if (x + runlen > width) in video_display_rle8_bitmap()
117 cnt = width - x; in video_display_rle8_bitmap()
200 unsigned long width, height, byte_width; in video_bmp_display() local
[all …]
/openbmc/u-boot/drivers/net/fsl-mc/dpio/
H A Dqbman_private.h56 #define MAKE_MASK32(width) (width == 32 ? 0xffffffff : \ argument
57 (uint32_t)((1 << width) - 1))
59 static inline uint32_t e32_##t(uint32_t lsoffset, uint32_t width, t val) \
61 BUG_ON(width > (sizeof(t) * 8)); \
62 return ((uint32_t)val & MAKE_MASK32(width)) << lsoffset; \
64 static inline t d32_##t(uint32_t lsoffset, uint32_t width, uint32_t val) \
66 BUG_ON(width > (sizeof(t) * 8)); \
67 return (t)((val >> lsoffset) & MAKE_MASK32(width)); \
69 static inline uint32_t i32_##t(uint32_t lsoffset, uint32_t width, \
72 BUG_ON(width > (sizeof(t) * 8)); \
[all …]
/openbmc/phosphor-webui/app/access-control/styles/
H A Dcertificate.scss6 width: 100%;
13 width: 100%;
18 width: 18%;
21 width: 100%;
29 width: 18%;
36 width: 11%;
44 width: 5%;
52 width: auto;
59 width: 100%;
64 width: 18%;
[all …]
/openbmc/qemu/hw/intc/
H A Dxics_pnv.c34 static uint64_t pnv_icp_read(void *opaque, hwaddr addr, unsigned width) in pnv_icp_read() argument
38 bool byte0 = (width == 1 && (addr & 0x3) == 0); in pnv_icp_read()
46 } else if (width != 4) { in pnv_icp_read()
53 } else if (width == 4) { in pnv_icp_read()
67 if (width == 4) { in pnv_icp_read()
74 if (width == 4) { in pnv_icp_read()
81 if (width == 4) { in pnv_icp_read()
90 HWADDR_PRIx"/%d\n", addr, width); in pnv_icp_read()
97 unsigned width) in pnv_icp_write() argument
101 bool byte0 = (width == 1 && (addr & 0x3) == 0); in pnv_icp_write()
[all …]
/openbmc/u-boot/scripts/kconfig/lxdialog/
H A Dyesno.c14 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
16 int x = width / 2 - 10; in print_buttons()
29 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument
37 if (getmaxx(stdscr) < (width + YESNO_WIDTH_MIN)) in dialog_yesno()
41 x = (getmaxx(stdscr) - width) / 2; in dialog_yesno()
44 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
46 dialog = newwin(height, width, y, x); in dialog_yesno()
49 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
53 for (i = 0; i < width - 2; i++) in dialog_yesno()
58 print_title(dialog, title, width); in dialog_yesno()
[all …]
H A Dinputbox.c16 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
18 int x = width / 2 - 11; in print_buttons()
31 int dialog_inputbox(const char *title, const char *prompt, int height, int width, in dialog_inputbox() argument
48 if (getmaxx(stdscr) <= (width - INPUTBOX_WIDTH_MIN)) in dialog_inputbox()
52 x = (getmaxx(stdscr) - width) / 2; in dialog_inputbox()
55 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
57 dialog = newwin(height, width, y, x); in dialog_inputbox()
60 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
64 for (i = 0; i < width - 2; i++) in dialog_inputbox()
69 print_title(dialog, title, width); in dialog_inputbox()
[all …]
H A Dtextbox.c12 static void print_page(WINDOW *win, int height, int width, update_text_fn
14 static void print_line(WINDOW *win, int row, int width);
48 int height, width, boxh, boxw; in dialog_textbox() local
69 getmaxyx(stdscr, height, width); in dialog_textbox()
70 if (height < TEXTBOX_HEIGTH_MIN || width < TEXTBOX_WIDTH_MIN) in dialog_textbox()
80 width = initial_width; in dialog_textbox()
82 if (width > 5) in dialog_textbox()
83 width -= 5; in dialog_textbox()
85 width = 0; in dialog_textbox()
88 x = (getmaxx(stdscr) - width) / 2; in dialog_textbox()
[all …]
/openbmc/u-boot/lib/
H A Dqsort.c24 size_t width, in qsort() argument
30 if ((nel > 1) && (width > 0)) { in qsort()
31 assert(nel <= ((size_t)(-1)) / width); /* check for overflow */ in qsort()
38 wgap *= width; /* So this can not overflow if wnel doesn't. */ in qsort()
39 nel *= width; /* Convert nel to 'wnel' */ in qsort()
54 k = width; in qsort()
61 i += width; in qsort()
63 wgap = (wgap - width)/3; in qsort()
H A Ddisplay_options.c133 int print_buffer(ulong addr, const void *data, uint width, uint count, in print_buffer() argument
152 if (linelen*width > MAX_LINE_LENGTH_BYTES) in print_buffer()
153 linelen = MAX_LINE_LENGTH_BYTES / width; in print_buffer()
155 linelen = DEFAULT_LINE_LENGTH_BYTES / width; in print_buffer()
167 if (width == 4) in print_buffer()
170 else if (width == 8) in print_buffer()
173 else if (width == 2) in print_buffer()
180 printf(" %0*llx", width * 2, (long long)x); in print_buffer()
182 printf(" %0*x", width * 2, x); in print_buffer()
184 data += width; in print_buffer()
[all …]
/openbmc/qemu/hw/display/
H A Dramfb.c26 uint32_t width; member
35 uint32_t width, height; member
47 static DisplaySurface *ramfb_create_display_surface(int width, int height, in ramfb_create_display_surface() argument
55 if (width < 16 || width > VBE_DISPI_MAX_XRES || in ramfb_create_display_surface()
60 linesize = width * PIXMAN_FORMAT_BPP(format) / 8; in ramfb_create_display_surface()
72 surface = qemu_create_displaysurface_from(width, height, in ramfb_create_display_surface()
84 uint32_t fourcc, format, width, height; in ramfb_fw_cfg_write() local
87 width = be32_to_cpu(s->cfg.width); in ramfb_fw_cfg_write()
94 surface = ramfb_create_display_surface(width, height, in ramfb_fw_cfg_write()
100 s->width = width; in ramfb_fw_cfg_write()
[all …]
H A Dpl110_template.h38 static void glue(pl110_draw_line1_,NAME)(void *opaque, uint8_t *d, const uint8_t *src, int width, i… in glue()
42 while (width > 0) { in glue()
61 width -= 32; in glue()
66 static void glue(pl110_draw_line2_,NAME)(void *opaque, uint8_t *d, const uint8_t *src, int width, i… in glue()
70 while (width > 0) { in glue()
89 width -= 16; in glue()
94 static void glue(pl110_draw_line4_,NAME)(void *opaque, uint8_t *d, const uint8_t *src, int width, i… in glue()
98 while (width > 0) { in glue()
117 width -= 8; in glue()
122 static void glue(pl110_draw_line8_,NAME)(void *opaque, uint8_t *d, const uint8_t *src, int width, i… in glue()
[all …]
H A Dvga-helpers.h102 uint32_t addr, int width, int hpel) in vga_draw_line2() argument
111 width += 8; in vga_draw_line2()
114 width >>= 3; in vga_draw_line2()
115 for(x = 0; x < width; x++) { in vga_draw_line2()
144 uint32_t addr, int width, int hpel) in vga_draw_line2d2() argument
153 width += 8; in vga_draw_line2d2()
156 width >>= 3; in vga_draw_line2d2()
157 for(x = 0; x < width; x++) { in vga_draw_line2d2()
183 uint32_t addr, int width, int hpel) in vga_draw_line4() argument
192 width += 8; in vga_draw_line4()
[all …]
/openbmc/qemu/tests/tcg/hexagon/
H A Dhvx_histogram.c24 const int width = 275; variable
26 const int stride = (width + vector_len - 1) & -vector_len;
50 static void ref_histogram(uint8_t *src, int stride, int width, int height, in ref_histogram() argument
58 for (int j = 0; j < width; j++) { in ref_histogram()
64 static void hvx_histogram(uint8_t *src, int stride, int width, int height, in hvx_histogram() argument
67 int n = 8192 / width; in hvx_histogram()
75 hvx_histogram_row(src, stride, width, k, hist); in hvx_histogram()
82 ref_histogram(&input[0][0], stride, width, height, expect); in main()
83 hvx_histogram(&input[0][0], stride, width, height, result); in main()
/openbmc/u-boot/arch/arm/dts/
H A Dast2600-bletchley.dts92 spi-tx-bus-width = <2>;
93 spi-rx-bus-width = <2>;
99 spi-tx-bus-width = <2>;
100 spi-rx-bus-width = <2>;
106 spi-tx-bus-width = <2>;
107 spi-rx-bus-width = <2>;
122 spi-tx-bus-width = <4>;
123 spi-rx-bus-width = <4>;
129 spi-tx-bus-width = <4>;
130 spi-rx-bus-width = <4>;
[all …]
H A Dast2600-slt.dts127 spi-tx-bus-width = <4>;
128 spi-rx-bus-width = <4>;
134 spi-tx-bus-width = <4>;
135 spi-rx-bus-width = <4>;
141 spi-tx-bus-width = <4>;
142 spi-rx-bus-width = <4>;
157 spi-tx-bus-width = <4>;
158 spi-rx-bus-width = <4>;
164 spi-tx-bus-width = <4>;
165 spi-rx-bus-width = <4>;
[all …]
H A Dast2600-intel.dts128 spi-tx-bus-width = <4>;
129 spi-rx-bus-width = <4>;
135 spi-tx-bus-width = <4>;
136 spi-rx-bus-width = <4>;
142 spi-tx-bus-width = <4>;
143 spi-rx-bus-width = <4>;
158 spi-tx-bus-width = <4>;
159 spi-rx-bus-width = <4>;
165 spi-tx-bus-width = <4>;
166 spi-rx-bus-width = <4>;
[all …]
H A Dast2500-evb.dts70 spi-tx-bus-width = <2>;
71 spi-rx-bus-width = <2>;
77 spi-tx-bus-width = <2>;
78 spi-rx-bus-width = <2>;
89 spi-tx-bus-width = <2>;
90 spi-rx-bus-width = <2>;
97 spi-tx-bus-width = <2>;
98 spi-rx-bus-width = <2>;
104 bus-width = <4>;
111 bus-width = <4>;
/openbmc/qemu/ui/
H A Dcursor.c12 unsigned int width, height, colors, chars; in cursor_parse_xpm() local
19 &width, &height, &colors, &chars) != 4) { in cursor_parse_xpm()
48 c = cursor_alloc(width, height); in cursor_parse_xpm()
68 for (x = 0; x < c->width; x++, data++) { in cursor_print_ascii_art()
93 QEMUCursor *cursor_alloc(uint16_t width, uint16_t height) in cursor_alloc() argument
96 size_t datasize = width * height * sizeof(uint32_t); in cursor_alloc()
99 if (width > 512 || height > 512) { in cursor_alloc()
104 c->width = width; in cursor_alloc()
128 return DIV_ROUND_UP(c->width, 8); in cursor_get_mono_bpl()
149 for (x = 0; x < c->width; x++, data++) { in cursor_set_mono()
[all …]
H A Dconsole-vc.c52 int width; member
131 int width, int height, pixman_color_t color) in qemu_console_fill_rect() argument
135 .x = posx, .y = posy, .width = width, .height = height in qemu_console_fill_rect()
201 if (x >= s->width) { in console_show_cursor()
202 x = s->width - 1; in console_show_cursor()
210 c = &s->cells[y1 * s->width + x]; in console_show_cursor()
231 s->text_x[1] = s->width - 1; in console_refresh()
239 c = s->cells + y1 * s->width; in console_refresh()
240 for (x = 0; x < s->width; x++) { in console_refresh()
357 src = (s->y_base + s->text_y[0]) * s->width; in text_console_update()
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_gop.c90 efi_uintn_t width, in gop_blt_int() argument
107 linelen = width; in gop_blt_int()
115 if (sx + width > linelen) in gop_blt_int()
120 if (sx + width > gopobj->info.width || in gop_blt_int()
133 if (dx + width > gopobj->info.width || in gop_blt_int()
138 if (dx + width > linelen) in gop_blt_int()
150 swidth = gopobj->info.width; in gop_blt_int()
163 dwidth = gopobj->info.width; in gop_blt_int()
175 for (j = 0; j < width; j++) { in gop_blt_int()
258 efi_uintn_t dy, efi_uintn_t width, in gop_blt_video_fill() argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dncurses.py68 def __init__( self, x, y, width, height, fg=curses.COLOR_BLACK, bg=curses.COLOR_WHITE ): argument
69 self.win = curses.newwin( height, width, y, x )
70 self.dimensions = ( x, y, width, height )
109 … def __init__( self, title, x, y, width, height, fg=curses.COLOR_BLACK, bg=curses.COLOR_WHITE ): argument
110 NCursesUI.Window.__init__( self, x+1, y+3, width-2, height-4, fg, bg )
111 self.decoration = NCursesUI.Window( x, y, width, height, fg, bg )
113 self.decoration.win.hline( 2, 1, curses.ACS_HLINE, width-2 )
137 def __init__( self, x, y, width, height ): argument
138 NCursesUI.DecoratedWindow.__init__( self, "Thread Activity", x, y, width, height )
142 width = self.dimensions[WIDTH]
[all …]
/openbmc/qemu/python/qemu/utils/
H A D__init__.py63 width: Optional[int] = None,
99 if width is None or width < 0:
101 if width is None:
104 _width = avail + width
106 _width = width
122 line, width=_width - padding, initial_indent=prefix,
148 width = -len(lmargin)
156 sections.append(add_visual_margin(self.stdout, width, name))
161 sections.append(add_visual_margin(self.stderr, width, 'stderr'))

12345678910>>...47