/openbmc/qemu/hw/display/ |
H A D | pl110_template.h | 38 static void glue(pl110_draw_line1_,NAME)(void *opaque, uint8_t *d, const uint8_t *src, int width, i… in glue() 41 uint32_t data; in glue() local 42 while (width > 0) { in glue() 43 data = *(uint32_t *)src; in glue() 45 #define FN(x, y) COPY_PIXEL(d, palette[(data >> (y + 7 - (x))) & 1]); in glue() 47 #define FN(x, y) COPY_PIXEL(d, palette[(data >> ((x) + y)) & 1]); 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() 69 uint32_t data; in glue() local 70 while (width > 0) { in glue() [all …]
|
H A D | vga-helpers.h | 28 ((uint32_t *)d)[0] = (-((font_data >> 7)) & xorcol) ^ bgcol; in vga_draw_glyph_line() 29 ((uint32_t *)d)[1] = (-((font_data >> 6) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 30 ((uint32_t *)d)[2] = (-((font_data >> 5) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 31 ((uint32_t *)d)[3] = (-((font_data >> 4) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 32 ((uint32_t *)d)[4] = (-((font_data >> 3) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 33 ((uint32_t *)d)[5] = (-((font_data >> 2) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 34 ((uint32_t *)d)[6] = (-((font_data >> 1) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 35 ((uint32_t *)d)[7] = (-((font_data >> 0) & 1) & xorcol) ^ bgcol; in vga_draw_glyph_line() 50 } while (--h); in vga_draw_glyph8() 68 } while (--h); in vga_draw_glyph16() [all …]
|
H A D | ramfb.c | 11 * See the COPYING file in the top-level directory. 18 #include "hw/display/bochs-vbe.h" /* for limits */ 26 uint32_t width; member 35 uint32_t width, height; member 41 void *data = pixman_image_get_data(image); in ramfb_unmap_display_surface() local 44 cpu_physical_memory_unmap(data, size, 0, 0); in ramfb_unmap_display_surface() 47 static DisplaySurface *ramfb_create_display_surface(int width, int height, in ramfb_create_display_surface() argument 53 void *data; in ramfb_create_display_surface() local 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() [all …]
|
H A D | artist.c | 4 * Copyright (c) 2019-2022 Sven Schnelle <svens@stackframe.org> 11 #include "qemu/error-report.h" 18 #include "hw/qdev-core.h" 19 #include "hw/qdev-properties.h" 31 uint8_t *data; member 33 unsigned int width; member 51 uint16_t width; member 224 int start = starty * buf->width; in artist_invalidate_lines() 227 if (starty + height > buf->height) { in artist_invalidate_lines() 228 height = buf->height - starty; in artist_invalidate_lines() [all …]
|
/openbmc/qemu/ui/ |
H A D | cursor.c | 7 /* for creating built-in cursors */ 12 unsigned int width, height, colors, chars; in cursor_parse_xpm() local 17 /* parse header line: width, height, #colors, #chars */ in cursor_parse_xpm() 19 &width, &height, &colors, &chars) != 4) { in cursor_parse_xpm() 47 /* parse pixel data */ in cursor_parse_xpm() 48 c = cursor_alloc(width, height); in cursor_parse_xpm() 54 c->data[pixel] = ctab[idx]; in cursor_parse_xpm() 63 uint32_t *data = c->data; in cursor_print_ascii_art() local 66 for (y = 0; y < c->height; y++) { in cursor_print_ascii_art() 68 for (x = 0; x < c->width; x++, data++) { in cursor_print_ascii_art() [all …]
|
/openbmc/openbmc/poky/documentation/overview-manual/svg/ |
H A D | bitbake_tasks_map.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Do not edit this file with editors other than draw.io --> 3 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 4 …width="12270px" height="3804px" viewBox="-0.5 -0.5 12270 3804" content="<mxfile host="app.…
|
/openbmc/linux/drivers/staging/axis-fifo/ |
H A D | axis-fifo.txt | 1 Xilinx AXI-Stream FIFO v4.1 IP core 3 This IP core has read and write AXI-Stream FIFOs, the contents of which can 4 be accessed from the AXI4 memory-mapped interface. This is useful for 5 transferring data from a processor into the FPGA fabric. The driver creates 11 Currently supports only store-forward mode with a 32-bit 12 AXI4-Lite interface. DOES NOT support: 13 - cut-through mode 14 - AXI4 (non-lite) 17 - compatible: Should be "xlnx,axi-fifo-mm-s-4.1" 18 - interrupt-names: Should be "interrupt" [all …]
|
/openbmc/u-boot/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * textbox.c -- implements the text box 12 static void print_page(WINDOW *win, int height, int width, update_text_fn 13 update_text, void *data); 14 static void print_line(WINDOW *win, int row, int width); 28 void *data) in refresh_text_box() argument 30 print_page(box, boxh, boxw, update_text, data); in refresh_text_box() 40 * keys is a null-terminated array 45 update_text_fn update_text, void *data) in dialog_textbox() argument 48 int height, width, boxh, boxw; in dialog_textbox() local [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/ |
H A D | inputfifo.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2010 - 2015, Intel Corporation. 48 /* The data type is used to send special cases: 55 * regular: used for all other data types (RAW, YUV422, etc) 105 unsigned int data) in inputfifo_send_data_a() argument 108 (data << HIVE_STR_TO_MIPI_DATA_A_LSB); in inputfifo_send_data_a() 115 unsigned int data) in inputfifo_send_data_b() argument 118 (data << _HIVE_STR_TO_MIPI_DATA_B_LSB); in inputfifo_send_data_b() 223 const unsigned short *data, in inputfifo_send_line2() argument 224 unsigned int width, in inputfifo_send_line2() argument [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | atafb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 int dx, int height, int width); 8 int sy, int sx, int height, int width); 10 int dy, int dx, u32 width, 11 const u8 *data, u32 bgcolor, u32 fgcolor); 14 int dx, int height, int width); 16 int sy, int sx, int height, int width); 18 int dy, int dx, u32 width, 19 const u8 *data, u32 bgcolor, u32 fgcolor); 22 int dx, int height, int width); [all …]
|
H A D | tgafb.c | 2 * linux/drivers/video/tgafb.c -- DEC 21030 TGA frame buffer device 37 #define TGA_BUS_TC(dev) (dev->bus == &tc_bus_type) 116 return tgafb_register(&pdev->dev); in tgafb_pci_register() 121 tgafb_unregister(&pdev->dev); in tgafb_pci_unregister() 133 { "DEC ", "PMAGD-AA" }, 167 * tgafb_check_var - Optional function. Validates a var passed in. 174 struct tga_par *par = (struct tga_par *)info->par; in tgafb_check_var() 176 if (!var->pixclock) in tgafb_check_var() 177 return -EINVAL; in tgafb_check_var() 179 if (par->tga_type == TGA_TYPE_8PLANE) { in tgafb_check_var() [all …]
|
/openbmc/linux/drivers/clk/hisilicon/ |
H A D | clkdivider-hi6220.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/clk-provider.h> 19 #define div_mask(width) ((1 << (width)) - 1) argument 22 * struct hi6220_clk_divider - divider clock for hi6220 24 * @hw: handle between common and hardware-specific interfaces 27 * @width: width of the divider bit field 36 u8 width; member 51 val = readl_relaxed(dclk->reg) >> dclk->shift; in hi6220_clkdiv_recalc_rate() 52 val &= div_mask(dclk->width); in hi6220_clkdiv_recalc_rate() 54 return divider_recalc_rate(hw, parent_rate, val, dclk->table, in hi6220_clkdiv_recalc_rate() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
H A D | frame.c | 1 // SPDX-License-Identifier: GPL-2.0 33 unsigned int width, 70 unsigned int width, 76 static struct ia_css_frame *frame_create(unsigned int width, 97 return -EINVAL; in ia_css_frame_allocate_from_info() 101 ia_css_frame_allocate(frame, info->res.width, info->res.height, in ia_css_frame_allocate_from_info() 102 info->format, info->padded_width, in ia_css_frame_allocate_from_info() 103 info->raw_bit_depth); in ia_css_frame_allocate_from_info() 110 unsigned int width, in ia_css_frame_allocate() argument 118 if (!frame || width == 0 || height == 0) in ia_css_frame_allocate() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | msm_media_info.h | 5 #define MSM_MEDIA_ALIGN(__sz, __align) (((__align) & ((__align) - 1)) ?\ 6 ((((__sz) + (__align) - 1) / (__align)) * (__align)) :\ 7 (((__sz) + (__align) - 1) & (~((__align) - 1)))) 11 #define MSM_MEDIA_ROUNDUP(__sz, __r) (((__sz) + ((__r) - 1)) / (__r)) 24 * <-------- Y/UV_Stride --------> 25 * <------- Width -------> 44 * . . . . . . . . . . . . . . . . --> Buffer size alignment 46 * Y_Stride : Width aligned to 128 47 * UV_Stride : Width aligned to 128 50 * Extradata: Arbitrary (software-imposed) padding [all …]
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | bitblit.c | 2 * linux/drivers/video/console/bitblit.c -- BitBlitting Operation 28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in update_attr() 29 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr() local 30 unsigned int cellsize = vc->vc_font.height * width; in update_attr() 33 offset = cellsize - (offset * width); in update_attr() 47 int sx, int dy, int dx, int height, int width) in bit_bmove() argument 51 area.sx = sx * vc->vc_font.width; in bit_bmove() 52 area.sy = sy * vc->vc_font.height; in bit_bmove() 53 area.dx = dx * vc->vc_font.width; in bit_bmove() 54 area.dy = dy * vc->vc_font.height; in bit_bmove() [all …]
|
/openbmc/linux/drivers/clk/meson/ |
H A D | axg.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * AmLogic Meson-AXG Clock Controller Driver 12 #include <linux/clk-provider.h> 18 #include "clk-regmap.h" 19 #include "clk-pll.h" 20 #include "clk-mpll.h" 22 #include "meson-eeclk.h" 24 #include <dt-bindings/clock/axg-clkc.h> 29 .data = &(struct meson_clk_pll_data){ 33 .width = 1, [all …]
|
H A D | clk-cpu-dyndiv.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <linux/clk-provider.h> 10 #include "clk-regmap.h" 11 #include "clk-cpu-dyndiv.h" 16 return (struct meson_clk_cpu_dyndiv_data *)clk->data; in meson_clk_cpu_dyndiv_data() 23 struct meson_clk_cpu_dyndiv_data *data = meson_clk_cpu_dyndiv_data(clk); in meson_clk_cpu_dyndiv_recalc_rate() local 26 meson_parm_read(clk->map, &data->div), in meson_clk_cpu_dyndiv_recalc_rate() 27 NULL, 0, data->div.width); in meson_clk_cpu_dyndiv_recalc_rate() 34 struct meson_clk_cpu_dyndiv_data *data = meson_clk_cpu_dyndiv_data(clk); in meson_clk_cpu_dyndiv_determine_rate() local 36 return divider_determine_rate(hw, req, NULL, data->div.width, 0); in meson_clk_cpu_dyndiv_determine_rate() [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-simple.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 27 #include <linux/media-bus-format.h> 45 * struct panel_desc - Describes a simple panel. 77 * @size.width: Width (in mm) of the active display area. 79 unsigned int width; member 93 * become ready and start receiving video data 102 * video data. 171 for (i = 0; i < panel->desc->num_timings; i++) { in panel_simple_get_timings_modes() 172 const struct display_timing *dt = &panel->desc->timings[i]; in panel_simple_get_timings_modes() 176 mode = drm_mode_create(connector->dev); in panel_simple_get_timings_modes() [all …]
|
/openbmc/u-boot/lib/ |
H A D | display_options.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2000-2002 22 len += snprintf(buf + len, size - len, ", Build: %s", in display_options_get_banner_priv() 24 if (len > size - 3) in display_options_get_banner_priv() 25 len = size - 3; in display_options_get_banner_priv() 99 for (i = 0; i < ARRAY_SIZE(names); i++, d -= 10) { in print_size() 112 f = size & ((1ULL << d) - 1); in print_size() 116 m = (10ULL * f + (1ULL << (d - 1))) >> d; in print_size() 119 m -= 10; in print_size() 133 int print_buffer(ulong addr, const void *data, uint width, uint count, in print_buffer() argument [all …]
|
/openbmc/linux/drivers/clk/nuvoton/ |
H A D | clk-ma35d1-divider.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Chi-Fang Li <cfli0@nuvoton.com> 7 #include <linux/clk-provider.h> 12 #include "clk-ma35d1.h" 18 u8 width; member 35 val = readl_relaxed(dclk->reg) >> dclk->shift; in ma35d1_clkdiv_recalc_rate() 36 val &= clk_div_mask(dclk->width); in ma35d1_clkdiv_recalc_rate() 38 return divider_recalc_rate(hw, parent_rate, val, dclk->table, in ma35d1_clkdiv_recalc_rate() 39 CLK_DIVIDER_ROUND_CLOSEST, dclk->width); in ma35d1_clkdiv_recalc_rate() 46 return divider_round_rate(hw, rate, prate, dclk->table, in ma35d1_clkdiv_round_rate() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 1 // SPDX-License-Identifier: GPL-2.0+ 53 itr->offset = offset; in vcap_iter_set() 54 itr->sw_width = sw_width; in vcap_iter_set() 55 itr->regs_per_sw = DIV_ROUND_UP(sw_width, 32); in vcap_iter_set() 56 itr->tg = tg; in vcap_iter_set() 62 * A typegroup table ends with an all-zero terminator. in vcap_iter_skip_tg() 64 while (itr->tg->width && itr->offset >= itr->tg->offset) { in vcap_iter_skip_tg() 65 itr->offset += itr->tg->width; in vcap_iter_skip_tg() 66 itr->tg++; /* next typegroup */ in vcap_iter_skip_tg() 75 sw_idx = itr->offset / itr->sw_width; in vcap_iter_update() [all …]
|
/openbmc/linux/sound/core/ |
H A D | pcm_misc.c | 2 * PCM Interface - misc routines 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29 #define SND_PCM_FORMAT_UNKNOWN (-1) 35 unsigned char width; /* bit width */ member 36 unsigned char phys; /* physical bit width */ 37 signed char le; /* 0 = big-endian, 1 = little-endian, -1 = others */ 38 signed char signd; /* 0 = unsigned, 1 = signed, -1 = others */ 39 unsigned char silence[8]; /* silence data to fill */ 52 .width = 8, .phys = 8, .le = -1, .signd = 1, 56 .width = 8, .phys = 8, .le = -1, .signd = 0, [all …]
|
/openbmc/u-boot/drivers/i2c/muxes/ |
H A D | pca954x.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2015 - 2016 Xilinx, Inc. 13 #include <asm-generic/gpio.h> 30 u32 width; member 35 u32 width; /* I2C mux width - number of busses */ member 43 .width = 4, 48 .width = 8, 53 .width = 8, 58 .width = 4, 68 return dm_i2c_write(mux, priv->addr, &byte, 1); in pca954x_deselect() [all …]
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | pismo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PISMO memory driver - http://www.pismoworld.org/ 15 #include <linux/mtd/plat-ram.h> 22 u8 width; member 39 u8 width; member 52 struct i2c_client *client = to_i2c_client(pdev->dev.parent); in pismo_set_vpp() 55 pismo->vpp(pismo->vpp_data, on); in pismo_set_vpp() 58 static unsigned int pismo_width_to_bytes(unsigned int width) in pismo_width_to_bytes() argument 60 width &= 15; in pismo_width_to_bytes() 61 if (width > 2) in pismo_width_to_bytes() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/fetch-testdata/apple/cups/ |
H A D | releases | 10 <meta charset="utf-8"> 11 <link rel="dns-prefetch" href="https://github.githubassets.com"> 12 <link rel="dns-prefetch" href="https://avatars0.githubusercontent.com"> 13 <link rel="dns-prefetch" href="https://avatars1.githubusercontent.com"> 14 <link rel="dns-prefetch" href="https://avatars2.githubusercontent.com"> 15 <link rel="dns-prefetch" href="https://avatars3.githubusercontent.com"> 16 <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com"> 17 <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/"> 21 …-7mtunHqp/Bw0ND9akjJME8XCh0WPm3HAXOSeX7skL0qGAhpdfzkQvYcujYcwNPTpWKeKMFUGZGtvnEkcczFgwQ==" rel="st… 22 …-CmoegizWCUR1jC94Y2eukVQIFxJ9GxYerz9q7dBwImLlx8ODwYkXAMIhCfTnA45Ep6++rcO/ZtKVLvFBM8dapA==" rel="st… [all …]
|