Home
last modified time | relevance | path

Searched refs:width (Results 51 – 75 of 3973) sorted by relevance

12345678910>>...159

/openbmc/linux/drivers/video/fbdev/sis/
H A Dsis_accel.c122 src_x += width-1; in SiS300SubsequentScreenToScreenCopy()
123 dst_x += width-1; in SiS300SubsequentScreenToScreenCopy()
129 SiS300SetupRect(width, height) in SiS300SubsequentScreenToScreenCopy()
231 SiS310SetupRect(width, height) in SiS310SubsequentScreenToScreenCopy()
311 int width, height; in fbcon_sis_fillrect() local
326 width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width; in fbcon_sis_fillrect()
361 int width = area->width; in fbcon_sis_copyarea() local
373 if(!width || !height || in fbcon_sis_copyarea()
379 if((area->sx + width) > vxres) width = vxres - area->sx; in fbcon_sis_copyarea()
380 if((area->dx + width) > vxres) width = vxres - area->dx; in fbcon_sis_copyarea()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_panel_orientation_quirks.c27 int width; member
34 .width = 720,
42 .width = 1200,
50 .width = 1200,
58 .width = 1200,
66 .width = 720,
75 .width = 720,
83 .width = 800,
97 .width = 720,
103 .width = 800,
[all …]
/openbmc/linux/lib/
H A Dtrace_readwrite.c16 void log_write_mmio(u64 val, u8 width, volatile void __iomem *addr, in log_write_mmio() argument
19 trace_rwmmio_write(caller_addr, caller_addr0, val, width, addr); in log_write_mmio()
24 void log_post_write_mmio(u64 val, u8 width, volatile void __iomem *addr, in log_post_write_mmio() argument
27 trace_rwmmio_post_write(caller_addr, caller_addr0, val, width, addr); in log_post_write_mmio()
32 void log_read_mmio(u8 width, const volatile void __iomem *addr, in log_read_mmio() argument
35 trace_rwmmio_read(caller_addr, caller_addr0, width, addr); in log_read_mmio()
40 void log_post_read_mmio(u64 val, u8 width, const volatile void __iomem *addr, in log_post_read_mmio() argument
43 trace_rwmmio_post_read(caller_addr, caller_addr0, val, width, addr); in log_post_read_mmio()
/openbmc/u-boot/scripts/kconfig/lxdialog/
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/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()
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()
181 for (x = 0; x < c->width; x++, data++) { in cursor_set_mono()
210 for (x = 0; x < c->width; x++, data++) { in cursor_get_mono_image()
[all …]
H A Dconsole-vc.c50 int width; member
132 .x = posx, .y = posy, .width = width, .height = height in qemu_console_fill_rect()
198 if (x >= s->width) { in console_show_cursor()
199 x = s->width - 1; in console_show_cursor()
392 t->width = w; in text_console_resize()
589 if (x >= s->width) { in vc_clear_xy()
590 x = s->width - 1; in vc_clear_xy()
638 if (x >= s->width) { in vc_set_cursor()
974 unsigned width = 0; in vc_chr_open() local
978 width = vc->width; in vc_chr_open()
[all …]
/openbmc/linux/drivers/video/fbdev/savage/
H A Dsavagefb_accel.c38 if (!region->width || !region->height) in savagefb_copyarea()
47 sx += region->width - 1; in savagefb_copyarea()
48 dx += region->width - 1; in savagefb_copyarea()
62 BCI_SEND(BCI_W_H(region->width, region->height)); in savagefb_copyarea()
70 if (!rect->width || !rect->height) in savagefb_fillrect()
89 BCI_SEND( BCI_W_H(rect->width, rect->height) ); in savagefb_fillrect()
95 int fg, bg, size, i, width; in savagefb_imageblit() local
99 if (!image->width || !image->height) in savagefb_imageblit()
122 width = (image->width + 31) & ~31; in savagefb_imageblit()
123 size = (width * image->height)/8; in savagefb_imageblit()
[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/openbmc/poky/bitbake/lib/bb/ui/
H A Dncurses.py137 def __init__( self, x, y, width, height ): argument
142 width = self.dimensions[WIDTH]
143 if ( len(line) > width ):
144 line = line[:width-3] + "..."
146 line = line.ljust( width )
153 def __init__( self, x, y, width, height ): argument
192 height, width = stdscr.getmaxyx()
203 main_width = ( width // 3 ) * 2
207 clo_width = width
211 cli_width = width
[all …]
/openbmc/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c91 bytes = (image->width + 7) >> 3; in mb86290fb_imageblit1()
134 bytes = image->width; in mb86290fb_imageblit8()
168 bytes = image->width << 1; in mb86290fb_imageblit16()
192 u16 width = image->width, height = image->height; in mb86290fb_imageblit() local
196 x2 = image->dx + image->width; in mb86290fb_imageblit()
202 width = x2 - dx; in mb86290fb_imageblit()
207 step = (width + 31) >> 5; in mb86290fb_imageblit()
224 step = (width + 1) >> 1; in mb86290fb_imageblit()
230 step = (width + 1) >> 1; in mb86290fb_imageblit()
264 x2 = rect->dx + rect->width; in mb86290fb_fillrect()
[all …]
/openbmc/u-boot/arch/arm/dts/
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>;
207 bus-width = <4>;
219 bus-width = <4>;
[all …]
H A Dast2600-evb.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>;
206 bus-width = <4>;
218 bus-width = <4>;
[all …]
H A Dast2600-pfr.dts129 spi-tx-bus-width = <1>;
130 spi-rx-bus-width = <1>;
136 spi-tx-bus-width = <1>;
137 spi-rx-bus-width = <1>;
143 spi-tx-bus-width = <1>;
144 spi-rx-bus-width = <1>;
160 spi-tx-bus-width = <1>;
161 spi-rx-bus-width = <1>;
210 bus-width = <4>;
222 bus-width = <4>;
[all …]
/openbmc/linux/scripts/kconfig/lxdialog/
H A Dtextbox.c107 print_line(win, i, width); in print_page()
156 int height, width, boxh, boxw; in dialog_textbox() local
177 getmaxyx(stdscr, height, width); in dialog_textbox()
188 width = initial_width; in dialog_textbox()
190 if (width > 5) in dialog_textbox()
191 width -= 5; in dialog_textbox()
193 width = 0; in dialog_textbox()
196 x = (getmaxx(stdscr) - width) / 2; in dialog_textbox()
206 boxw = width - 2; in dialog_textbox()
219 for (i = 0; i < width - 2; i++) in dialog_textbox()
[all …]
/openbmc/linux/drivers/dma/
H A Dfsldma.h247 #define FSL_DMA_IN(fsl_dma, addr, width) \ argument
249 fsl_ioread##width##be(addr) : fsl_ioread##width(addr))
251 #define FSL_DMA_OUT(fsl_dma, addr, val, width) \ argument
253 fsl_iowrite##width##be(val, addr) : fsl_iowrite \
254 ##width(val, addr))
256 #define DMA_TO_CPU(fsl_chan, d, width) \ argument
258 be##width##_to_cpu((__force __be##width)(v##width)d) : \
259 le##width##_to_cpu((__force __le##width)(v##width)d))
260 #define CPU_TO_DMA(fsl_chan, c, width) \ argument
262 (__force v##width)cpu_to_be##width(c) : \
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.c163 area->p0.x = pos % tcm->width; in sita_reserve_1d()
164 area->p0.y = pos / tcm->width; in sita_reserve_1d()
182 tcm->map_size, tcm->width); in sita_reserve_2d()
185 area->p0.x = pos % tcm->width; in sita_reserve_2d()
186 area->p0.y = pos / tcm->width; in sita_reserve_2d()
205 pos = area->p0.x + area->p0.y * tcm->width; in sita_free()
220 struct tcm *sita_init(u16 width, u16 height) in sita_init() argument
225 if (width == 0 || height == 0) in sita_init()
234 tcm->width = width; in sita_init()
242 bitmap_clear(tcm->bitmap, 0, width*height); in sita_init()
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-axm5516.c79 u32 width; member
114 u32 width; member
217 .width = 4,
231 .width = 4,
245 .width = 4,
259 .width = 4,
273 .width = 4,
287 .width = 4,
301 .width = 4,
315 .width = 4,
[all …]
/openbmc/u-boot/lib/
H A Ddisplay_options.c152 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()
182 printf(" %0*x", width * 2, x); in print_buffer()
184 data += width; in print_buffer()
189 for (i=0; i<width*2+1; i++) in print_buffer()
195 for (i = 0; i < thislinelen * width; i++) { in print_buffer()
[all …]
/openbmc/openbmc/poky/bitbake/lib/progressbar/
H A Dwidgets.py74 def update(self, pbar, width): argument
299 def update(self, pbar, width): argument
305 width -= len(left) + len(right)
339 def update(self, pbar, width): argument
345 width -= len(left) + len(right)
349 position = int(pbar.currval % (width * 2 - 1))
350 if position > width: position = width * 2 - position
370 def update(self, pbar, width): argument
374 width -= len(left) + len(right)
375 if width < 0:
[all …]
/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_nkmp.c103 n &= (1 << nkmp->n.width) - 1; in ccu_nkmp_recalc_rate()
109 k &= (1 << nkmp->k.width) - 1; in ccu_nkmp_recalc_rate()
115 m &= (1 << nkmp->m.width) - 1; in ccu_nkmp_recalc_rate()
121 p &= (1 << nkmp->p.width) - 1; in ccu_nkmp_recalc_rate()
147 _nkmp.max_n = nkmp->n.max ?: 1 << nkmp->n.width; in ccu_nkmp_round_rate()
149 _nkmp.max_k = nkmp->k.max ?: 1 << nkmp->k.width; in ccu_nkmp_round_rate()
151 _nkmp.max_m = nkmp->m.max ?: 1 << nkmp->m.width; in ccu_nkmp_round_rate()
192 if (nkmp->n.width) in ccu_nkmp_set_rate()
195 if (nkmp->k.width) in ccu_nkmp_set_rate()
198 if (nkmp->m.width) in ccu_nkmp_set_rate()
[all …]
/openbmc/linux/drivers/clk/hisilicon/
H A Dclkdivider-hi6220.c19 #define div_mask(width) ((1 << (width)) - 1) argument
36 u8 width; member
52 val &= div_mask(dclk->width); in hi6220_clkdiv_recalc_rate()
55 CLK_DIVIDER_ROUND_CLOSEST, dclk->width); in hi6220_clkdiv_recalc_rate()
64 dclk->width, CLK_DIVIDER_ROUND_CLOSEST); in hi6220_clkdiv_round_rate()
76 dclk->width, CLK_DIVIDER_ROUND_CLOSEST); in hi6220_clkdiv_set_rate()
82 data &= ~(div_mask(dclk->width) << dclk->shift); in hi6220_clkdiv_set_rate()
102 u8 shift, u8 width, u32 mask_bit, spinlock_t *lock) in hi6220_register_clkdiv() argument
117 max_div = div_mask(width) + 1; in hi6220_register_clkdiv()
140 div->width = width; in hi6220_register_clkdiv()
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-resizer.c180 if (sink_crop->width == sink_fmt->width && in rkisp1_dcrop_config()
260 if (sink_y->width != src_y->width) { in rkisp1_rsz_config_regs()
262 if (sink_y->width < src_y->width) in rkisp1_rsz_config_regs()
268 if (sink_c->width != src_c->width) { in rkisp1_rsz_config_regs()
270 if (sink_c->width < src_c->width) in rkisp1_rsz_config_regs()
324 sink_y.width = sink_crop->width; in rkisp1_rsz_config()
326 src_y.width = src_fmt->width; in rkisp1_rsz_config()
464 src_fmt->width = clamp_t(u32, format->width, in rkisp1_rsz_set_src_fmt()
496 sink_crop->width = sink_fmt->width; in rkisp1_rsz_set_sink_crop()
504 sink_crop->width = ALIGN(r->width, 2); in rkisp1_rsz_set_sink_crop()
[all …]
/openbmc/linux/drivers/clk/imx/
H A Dclk.h127 #define imx_clk_divider(name, parent, reg, shift, width) \ argument
218 __imx_clk_hw_divider(name, parent, reg, shift, width, \
310 void __iomem *reg, u8 shift, u8 width,
314 u8 width, void __iomem *busy_reg, u8 busy_shift,
330 void __iomem *reg, u8 shift, u8 width,
334 u8 shift, u8 width, const char * const *parents,
359 u8 width) in imx_clk_hw_divider_closest() argument
368 u8 width, unsigned long flags) in __imx_clk_hw_divider() argument
371 reg, shift, width, 0, &imx_ccm_lock); in __imx_clk_hw_divider()
393 u8 shift, u8 width, const char * const *parents, in __imx_clk_hw_mux() argument
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A Dbinary.c59 binary_dvs_env->width = max(dvs_env->width, SH_CSS_MIN_DVS_ENVELOPE); in ia_css_binary_dvs_env()
77 binary_dvs_env.width = 0; in ia_css_binary_internal_res()
91 (bds_out_info->res.width >= out_info->res.width)) { in ia_css_binary_internal_res()
338 dvs_info->width = binary->dis.grid.dim.width; in ia_css_binary_dvs_grid_info()
695 need_scaling = (in_info->res.width != bin_out_info->res.width) || in ia_css_binary_fill_info()
709 internal_res.width = 0; in ia_css_binary_fill_info()
727 binary->effective_in_frame_res.width = in_info->res.width; in ia_css_binary_fill_info()
733 binary->in_frame_info.res.width = in_info->res.width + in ia_css_binary_fill_info()
764 binary->out_frame_info[i].res.width = out_info[i]->res.width; in ia_css_binary_fill_info()
859 bds_out_info->res.width != in_info->res.width) in ia_css_binary_fill_info()
[all …]
/openbmc/linux/drivers/clk/mxs/
H A Dclk-frac.c27 u8 width; member
41 div &= (1 << frac->width) - 1; in clk_frac_recalc_rate()
44 return tmp_rate >> frac->width; in clk_frac_recalc_rate()
59 tmp <<= frac->width; in clk_frac_round_rate()
67 result = tmp_rate >> frac->width; in clk_frac_round_rate()
68 if ((result << frac->width) < tmp_rate) in clk_frac_round_rate()
85 tmp <<= frac->width; in clk_frac_set_rate()
95 val &= ~(((1 << frac->width) - 1) << frac->shift); in clk_frac_set_rate()
111 void __iomem *reg, u8 shift, u8 width, u8 busy) in mxs_clk_frac() argument
129 frac->width = width; in mxs_clk_frac()

12345678910>>...159