Home
last modified time | relevance | path

Searched refs:width (Results 26 – 50 of 3333) sorted by relevance

12345678910>>...134

/openbmc/linux/drivers/video/fbdev/core/
H A Dfbcon_cw.c33 for (j = 0; j < width; j++) { in cw_update_attr()
38 c |= *(src-width); in cw_update_attr()
56 area.sy = sx * vc->vc_font.width; in cw_bmove()
60 area.height = width * vc->vc_font.width; in cw_bmove()
76 region.height = width * vc->vc_font.width; in cw_clear()
103 vc->vc_font.width); in cw_putcs_aligned()
106 vc->vc_font.width); in cw_putcs_aligned()
121 u32 cellsize = width * vc->vc_font.width; in cw_putcs()
284 int width = (vc->vc_font.width + 7)/8; in cw_cursor() local
327 size = cur_height * width; in cw_cursor()
[all …]
H A Dfbcon_ud.c29 int width = (vc->vc_font.width + 7) >> 3; in ud_update_attr() local
57 area.sx = vxres - ((sx + width) * vc->vc_font.width); in ud_bmove()
59 area.dx = vxres - ((dx + width) * vc->vc_font.width); in ud_bmove()
61 area.width = width * vc->vc_font.width; in ud_bmove()
77 region.dx = vxres - ((sx + width) * vc->vc_font.width); in ud_clear()
78 region.width = width * vc->vc_font.width; in ud_clear()
157 u32 width = (vc->vc_font.width + 7)/8; in ud_putcs() local
192 image.width = vc->vc_font.width * cnt; in ud_putcs()
301 ops->cursor_state.image.width != vc->vc_font.width || in ud_cursor()
304 ops->cursor_state.image.width = vc->vc_font.width; in ud_cursor()
[all …]
H A Dbitblit.c29 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr() local
51 area.sx = sx * vc->vc_font.width; in bit_bmove()
56 area.width = width * vc->vc_font.width; in bit_bmove()
70 region.width = width * vc->vc_font.width; in bit_clear()
148 u32 width = DIV_ROUND_UP(vc->vc_font.width, 8); in bit_putcs() local
176 image.width = vc->vc_font.width * cnt; in bit_putcs()
222 region.width = rw; in bit_clear_margins()
230 region.width = rs; in bit_clear_margins()
292 ops->cursor_state.image.width != vc->vc_font.width || in bit_cursor()
295 ops->cursor_state.image.width = vc->vc_font.width; in bit_cursor()
[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%;
59 width: 100%;
74 width: 70%;
77 width: 70%;
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Datafb_iplan2p8.c63 width -= 8; in atafb_iplan2p8_copyarea()
65 w = width >> 4; in atafb_iplan2p8_copyarea()
89 width -= 8; in atafb_iplan2p8_copyarea()
121 w = width; in atafb_iplan2p8_copyarea()
184 w = width; in atafb_iplan2p8_copyarea()
259 width -= 8; in atafb_iplan2p8_fillrect()
272 width &= 15; in atafb_iplan2p8_fillrect()
275 if (width) { in atafb_iplan2p8_fillrect()
300 width -= 8; in atafb_iplan2p8_linefill()
317 width &= 15; in atafb_iplan2p8_linefill()
[all …]
H A Datafb.h6 int dx, int height, int width);
8 int sy, int sx, int height, int width);
10 int dy, int dx, u32 width,
14 int dx, int height, int width);
16 int sy, int sx, int height, int width);
18 int dy, int dx, u32 width,
22 int dx, int height, int width);
24 int sy, int sx, int height, int width);
26 int dy, int dx, u32 width,
30 int dx, int height, int width);
[all …]
/openbmc/linux/scripts/kconfig/lxdialog/
H A Dyesno.c16 int x = width / 2 - 10; in print_buttons()
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()
61 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_yesno()
63 print_buttons(dialog, height, width, 0); in dialog_yesno()
[all …]
H A Dinputbox.c18 int x = width / 2 - 11; in print_buttons()
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()
75 box_width = width - 6; in dialog_inputbox()
78 box_x = (width - box_width) / 2; in dialog_inputbox()
82 print_buttons(dialog, height, width, 0); in dialog_inputbox()
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-divider.c46 u8 width) in _get_table_maxdiv() argument
72 return clk_div_mask(width); in _get_maxdiv()
74 return 1 << clk_div_mask(width); in _get_maxdiv()
76 return _get_table_maxdiv(table, width); in _get_maxdiv()
77 return clk_div_mask(width) + 1; in _get_maxdiv()
156 val &= clk_div_mask(divider->width); in clk_divider_recalc_rate()
159 divider->flags, divider->width); in clk_divider_recalc_rate()
462 divider->width, in clk_divider_determine_rate()
496 divider->width, divider->flags); in clk_divider_set_rate()
550 if (width + shift > 16) { in __clk_hw_register_divider()
[all …]
/openbmc/qemu/hw/intc/
H A Dxics_pnv.c38 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()
97 unsigned width) in pnv_icp_write() argument
107 } else if (width == 4) { in pnv_icp_write()
121 if (width == 4) { in pnv_icp_write()
128 if (width == 4) { in pnv_icp_write()
[all …]
/openbmc/u-boot/scripts/kconfig/lxdialog/
H A Dyesno.c16 int x = width / 2 - 10; in print_buttons()
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()
61 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_yesno()
63 print_buttons(dialog, height, width, 0); in dialog_yesno()
[all …]
H A Dtextbox.c48 int height, width, boxh, boxw; in dialog_textbox() local
69 getmaxyx(stdscr, height, width); 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()
98 boxw = width - 2; in dialog_textbox()
111 for (i = 0; i < width - 2; i++) in dialog_textbox()
316 print_line(win, i, width); in print_page()
[all …]
/openbmc/qemu/hw/display/
H A Dvga-helpers.h114 width >>= 3; in vga_draw_line2()
156 width >>= 3; in vga_draw_line2d2()
195 width >>= 3; in vga_draw_line4()
339 w = width; in vga_draw_line15_le()
358 w = width; in vga_draw_line15_be()
380 w = width; in vga_draw_line16_le()
399 w = width; in vga_draw_line16_be()
421 w = width; in vga_draw_line24_le()
439 w = width; in vga_draw_line24_be()
460 w = width; in vga_draw_line32_le()
[all …]
H A Dpl110_template.h42 while (width > 0) { in glue()
61 width -= 32; in glue()
70 while (width > 0) { in glue()
89 width -= 16; in glue()
98 while (width > 0) { in glue()
117 width -= 8; in glue()
141 width -= 4; in glue()
187 width -= 2; in glue()
217 width--; in glue()
255 width -= 2; in glue()
[all …]
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 …]
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Dtcm.h57 u16 width, height; /* container dimensions */ member
91 struct tcm *sita_init(u16 width, u16 height);
137 (area == NULL || width == 0 || height == 0 || in tcm_reserve_2d()
140 (height > tcm->height || width > tcm->width) ? -ENOMEM : 0; in tcm_reserve_2d()
231 slice->p1.x = slice->tcm->width - 1; in tcm_slice()
247 area->p1.x < area->tcm->width && in tcm_area_is_valid()
252 area->p0.x < area->tcm->width && in tcm_area_is_valid()
253 area->p0.x + area->p0.y * area->tcm->width <= in tcm_area_is_valid()
269 i = p->x + p->y * a->tcm->width; in __tcm_is_in()
271 i <= a->p1.x + a->p1.y * a->tcm->width; in __tcm_is_in()
[all …]
/openbmc/linux/tools/perf/util/
H A Dvalues.c218 int width; in perf_read_values__display_pretty() local
221 if (width > pidwidth) in perf_read_values__display_pretty()
222 pidwidth = width; in perf_read_values__display_pretty()
224 if (width > tidwidth) in perf_read_values__display_pretty()
225 tidwidth = width; in perf_read_values__display_pretty()
263 if (width > pidwidth) in perf_read_values__display_raw()
264 pidwidth = width; in perf_read_values__display_raw()
266 if (width > tidwidth) in perf_read_values__display_raw()
267 tidwidth = width; in perf_read_values__display_raw()
272 namewidth = width; in perf_read_values__display_raw()
[all …]
/openbmc/linux/drivers/acpi/acpica/
H A Dutprint.c236 width--; in acpi_ut_format_number()
239 width--; in acpi_ut_format_number()
242 width--; in acpi_ut_format_number()
246 width--; in acpi_ut_format_number()
248 width--; in acpi_ut_format_number()
263 width -= precision; in acpi_ut_format_number()
322 s32 width; in vsnprintf() local
373 width = -1; in vsnprintf()
380 if (width < 0) { in vsnprintf()
381 width = -width; in vsnprintf()
[all …]
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-touch-cap.c193 f->width = VIVID_TCH_WIDTH; in vivid_set_touch()
231 unsigned int x = index % f->width; in vivid_tch_buf_set()
232 unsigned int y = index / f->width; in vivid_tch_buf_set()
239 if (x < f->width - 1) in vivid_tch_buf_set()
248 if (x < f->width - 1 && y) in vivid_tch_buf_set()
259 int size = f->width * f->height; in vivid_fillbuff_tch()
298 x = f->width / 2; in vivid_fillbuff_tch()
310 x = f->width / 2; in vivid_fillbuff_tch()
320 for (x = 0; x < f->width; x++) in vivid_fillbuff_tch()
330 xstart = (x * f->width) / 4 + f->width / 8; in vivid_fillbuff_tch()
[all …]
/openbmc/linux/drivers/video/fbdev/aty/
H A Dmach64_accel.c203 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local
219 width *= 3; in atyfb_copyarea()
229 dx += width - 1; in atyfb_copyarea()
230 sx += width - 1; in atyfb_copyarea()
250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local
271 width *= 3; in atyfb_fillrect()
290 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit() local
340 width *= 3; in atyfb_imageblit()
392 for (width = image->width, inbit = 7, mult24 = 0; src_bytes; ) { in atyfb_imageblit()
403 width--; in atyfb_imageblit()
[all …]
/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>;
204 bus-width = <4>;
216 bus-width = <4>;
[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()
354 sy, dx, dy, width, height, in gop_blt()
[all …]
/openbmc/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_accel.c224 width--; in matrox_accel_bmove()
226 end = start+width; in matrox_accel_bmove()
233 width--; in matrox_accel_bmove()
251 int width) in matrox_accel_bmove_lin() argument
266 width--; in matrox_accel_bmove_lin()
275 width--; in matrox_accel_bmove_lin()
351 width --; in matroxfb_cfb4_clear()
354 if (width & 1) { in matroxfb_cfb4_clear()
357 width >>= 1; in matroxfb_cfb4_clear()
359 if (width) { in matroxfb_cfb4_clear()
[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()

12345678910>>...134