Home
last modified time | relevance | path

Searched refs:width (Results 151 – 175 of 4997) sorted by relevance

12345678910>>...200

/openbmc/linux/drivers/clk/qcom/
H A Dclk-regmap-divider.c27 val &= BIT(divider->width) - 1; in div_round_ro_rate()
29 return divider_ro_round_rate(hw, rate, prate, NULL, divider->width, in div_round_ro_rate()
38 return divider_round_rate(hw, rate, prate, NULL, divider->width, in div_round_rate()
49 div = divider_get_val(rate, parent_rate, NULL, divider->width, in div_set_rate()
53 (BIT(divider->width) - 1) << divider->shift, in div_set_rate()
66 div &= BIT(divider->width) - 1; in div_recalc_rate()
69 CLK_DIVIDER_ROUND_CLOSEST, divider->width); in div_recalc_rate()
/openbmc/qemu/scripts/
H A Ddecodetree.py674 width = None
678 width = p.width
679 elif width != p.width:
682 self.width = width
870 width = 0
915 width += le
1025 if width != fmt.width:
1061 width = 0
1144 if variablewidth and width < insnwidth and width % 8 == 0:
1152 elif not (is_format and width == 0) and width != insnwidth:
[all …]
/openbmc/qemu/include/ui/
H A Drect.h11 uint16_t width; member
17 uint16_t width, uint16_t height) in qemu_rect_init() argument
21 rect->width = width; in qemu_rect_init()
39 x2 = MIN(a->x + a->width, b->x + b->width); in qemu_rect_intersect()
/openbmc/qemu/hw/display/
H A Dmacfb.c130 int width) in macfb_draw_line1() argument
135 for (x = 0; x < width; x++) { in macfb_draw_line1()
150 int width) in macfb_draw_line2() argument
155 for (x = 0; x < width; x++) { in macfb_draw_line2()
170 int width) in macfb_draw_line4() argument
175 for (x = 0; x < width; x++) { in macfb_draw_line4()
195 for (x = 0; x < width; x++) { in macfb_draw_line8()
213 for (x = 0; x < width; x++) { in macfb_draw_line16()
233 for (x = 0; x < width; x++) { in macfb_draw_line24()
391 s->width = s->mode->width; in macfb_update_mode()
[all …]
H A Dcg3.c84 uint16_t width, height, depth; member
96 unsigned int width, height; in cg3_update_display() local
103 width = s->width; in cg3_update_display()
119 page = (ram_addr_t)y * width; in cg3_update_display()
125 width); in cg3_update_display()
133 for (x = 0; x < width; x++) { in cg3_update_display()
143 pix += width; in cg3_update_display()
144 data += width; in cg3_update_display()
149 dpy_gfx_update(s->con, 0, y_start, width, y - y_start); in cg3_update_display()
320 qemu_console_resize(s->con, s->width, s->height); in cg3_realizefn()
[all …]
/openbmc/u-boot/scripts/kconfig/lxdialog/
H A Dmenubox.c144 int x = width / 2 - 28; in print_buttons()
175 int height, width, menu_height; in dialog_menu() local
182 width = getmaxx(stdscr); in dialog_menu()
187 width -= 5; in dialog_menu()
193 x = (getmaxx(stdscr) - width) / 2; in dialog_menu()
198 dialog = newwin(height, width, y, x); in dialog_menu()
201 draw_box(dialog, 0, 0, height, width, in dialog_menu()
205 for (i = 0; i < width - 2; i++) in dialog_menu()
211 print_title(dialog, title, width); in dialog_menu()
216 menu_width = width - 6; in dialog_menu()
[all …]
H A Ddialog.h208 void attr_clear(WINDOW * win, int height, int width, chtype attr);
210 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);
212 void print_title(WINDOW *dialog, const char *title, int width);
213 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
215 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
218 int dialog_yesno(const char *title, const char *prompt, int height, int width);
220 int width, int pause);
231 int width, int list_height);
233 int width, const char *init);
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h61 .width = max_t(u32, base_level.width >> mip_level, 1), in vmw_surface_get_mip_size()
74 block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, in vmw_surface_get_size_in_blocks()
75 desc->blockSize.width); in vmw_surface_get_size_in_blocks()
193 u32 width, u32 height, in vmw_surface_get_pixel_offset() argument
399 __KERNEL_DIV_ROUND_UP(mip->size.width, in vmw_surface_setup_cache()
400 desc->blockSize.width) * in vmw_surface_setup_cache()
461 loc->x *= desc->blockSize.width; in vmw_surface_get_loc()
485 loc->x += desc->blockSize.width; in vmw_surface_inc_loc()
486 if (loc->x > size->width) in vmw_surface_inc_loc()
487 loc->x = size->width; in vmw_surface_inc_loc()
[all …]
/openbmc/linux/scripts/kconfig/lxdialog/
H A Dmenubox.c136 int x = width / 2 - 28; in print_buttons()
167 int height, width, menu_height; in dialog_menu() local
174 width = getmaxx(stdscr); in dialog_menu()
179 width -= 5; in dialog_menu()
185 x = (getmaxx(stdscr) - width) / 2; in dialog_menu()
190 dialog = newwin(height, width, y, x); in dialog_menu()
193 draw_box(dialog, 0, 0, height, width, in dialog_menu()
197 for (i = 0; i < width - 2; i++) in dialog_menu()
203 print_title(dialog, title, width); in dialog_menu()
208 menu_width = width - 6; in dialog_menu()
[all …]
H A Ddialog.h186 void attr_clear(WINDOW * win, int height, int width, chtype attr);
188 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);
190 void print_title(WINDOW *dialog, const char *title, int width);
191 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
193 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
196 int dialog_yesno(const char *title, const char *prompt, int height, int width);
198 int width, int pause);
205 int width, int list_height);
207 int width, const char *init);
/openbmc/linux/drivers/pinctrl/actions/
H A Dpinctrl-owl.h18 #define MUX_PG(group_name, reg, shift, width) \ argument
27 .mfpctl_width = width, \
36 #define DRV_PG(group_name, reg, shift, width) \ argument
46 .drv_width = width, \
52 #define SR_PG(group_name, reg, shift, width) \ argument
65 .sr_width = width, \
80 .width = pull_wdt, \
91 .width = st_wdt, \
176 unsigned int width; member
188 unsigned int width; member
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Domap-zoom-common.dtsi20 bank-width = <2>;
22 reg-io-width = <1>;
28 gpmc,device-width = <1>;
56 bank-width = <2>;
58 reg-io-width = <1>;
67 bank-width = <2>;
69 reg-io-width = <1>;
78 bank-width = <2>;
80 reg-io-width = <1>;
/openbmc/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-enc.c27 unsigned long width; in solo_capture_config() local
50 width = solo_dev->video_hsize; in solo_capture_config()
53 SOLO_DIM_H_MB_NUM(width / 16) | in solo_capture_config()
58 width = solo_dev->video_hsize / 2; in solo_capture_config()
61 SOLO_DIM_H_MB_NUM(width / 16) | in solo_capture_config()
66 width = solo_dev->video_hsize / 2; in solo_capture_config()
69 SOLO_DIM_H_MB_NUM(width / 16) | in solo_capture_config()
74 width = solo_dev->video_hsize / 3; in solo_capture_config()
77 SOLO_DIM_H_MB_NUM(width / 16) | in solo_capture_config()
82 width = solo_dev->video_hsize / 4; in solo_capture_config()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp6000_pcie.c204 switch (width) { in compute_bar()
741 } width; member
766 priv->width.read != priv->width.write) { in nfp6000_area_init()
771 priv->width.bar = priv->width.read; in nfp6000_area_init()
773 priv->width.bar = priv->width.write; in nfp6000_area_init()
929 int n, width; in nfp6000_area_read() local
938 width = priv->width.read; in nfp6000_area_read()
939 if (width <= 0) in nfp6000_area_read()
992 int n, width; in nfp6000_area_write() local
1001 width = priv->width.write; in nfp6000_area_write()
[all …]
/openbmc/linux/drivers/clk/rockchip/
H A Dclk-half-divider.c11 #define div_mask(width) ((1 << (width)) - 1) argument
29 val &= div_mask(divider->width); in clk_half_divider_recalc_rate()
36 unsigned long *best_parent_rate, u8 width, in clk_half_divider_bestdiv() argument
46 maxdiv = div_mask(width); in clk_half_divider_bestdiv()
88 bestdiv = div_mask(width); in clk_half_divider_bestdiv()
102 divider->width, in clk_half_divider_round_rate()
118 value = min_t(unsigned int, value, div_mask(divider->width)); in clk_half_divider_set_rate()
126 val = div_mask(divider->width) << (divider->shift + 16); in clk_half_divider_set_rate()
129 val &= ~(div_mask(divider->width) << divider->shift); in clk_half_divider_set_rate()
210 div->width = div_width; in rockchip_clk_register_halfdiv()
/openbmc/linux/drivers/media/usb/go7007/
H A Dgo7007-v4l2.c84 *width = 720; in get_resolution()
88 *width = 720; in get_resolution()
193 width = 144; in set_capture_size()
195 width = fmt->fmt.pix.width & ~0x0f; in set_capture_size()
204 width = fmt->fmt.pix.width; in set_capture_size()
225 fmt->fmt.pix.width = width; in set_capture_size()
239 go->width = width; in set_capture_size()
250 format.format.width = fmt ? fmt->fmt.pix.width : width; in set_capture_size()
313 fmt->fmt.pix.width = go->width; in vidioc_g_fmt_vid_cap()
522 fsize->discrete.width = (width >> fsize->index) & ~0xf; in vidioc_enum_framesizes()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_compat.h156 unsigned int width, unsigned int height);
162 unsigned int width, unsigned int height);
183 unsigned int width,
232 unsigned int width, unsigned int height,
237 unsigned int width, unsigned int height,
250 unsigned int width, unsigned int height,
256 unsigned int width, unsigned int height,
287 unsigned int width, unsigned int height);
291 unsigned int width, unsigned int height);
295 unsigned int width, unsigned int height);
[all …]
H A Datomisp_compat_css20.c1470 s_config->isys_config[isys_stream].input_res.width = ffmt->width; in atomisp_css_isys_set_resolution()
1482 s_config->input_config.input_res.width = ffmt->width; in atomisp_css_input_set_resolution()
1585 width; in atomisp_css_isys_two_stream_cfg_update_stream1()
1603 width; in atomisp_css_isys_two_stream_cfg_update_stream2()
1620 s_config->input_config.effective_res.width = width; in atomisp_css_input_set_effective_resolution()
1939 if (width > s_config->input_config.effective_res.width || in __configure_output()
1941 s_config->input_config.effective_res.width = width; in __configure_output()
1970 if (width * 9 / 10 < pipe_configs->output_info[0].res.width || in __configure_capture_pp_input()
2069 bayer_ds_out_res->width = effective_res->width; in __configure_preview_pp_input()
2193 bayer_ds_out_res->width = effective_res->width; in __configure_video_pp_input()
[all …]
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvhost-user-gpu.c378 res->width = c2d.width; in vg_resource_create_2d()
617 t2d.r.width > res->width || in vg_transfer_to_host_2d()
687 ss.r.width > res->width || in vg_set_scanout()
689 ss.r.x + ss.r.width > res->width || in vg_set_scanout()
710 scanout->width = ss.r.width; in vg_set_scanout()
723 .width = ss.r.width, in vg_set_scanout()
742 .width = scanout->width, in vg_set_scanout()
772 rf.r.width > res->width || in vg_resource_flush()
774 rf.r.x + rf.r.width > res->width || in vg_resource_flush()
814 .width = width, in vg_resource_flush()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Dmt9m111.c424 width, height, ret); in mt9m111_setup_geometry()
457 int width, height; in mt9m111_set_selection() local
481 width = min(mt9m111->width, rect.width); in mt9m111_set_selection()
487 mt9m111->width = width; in mt9m111_set_selection()
539 mf->width = mt9m111->width; in mt9m111_get_fmt()
653 rect->width = ALIGN(rect->width, 2); in mt9m111_set_fmt()
659 mf->width = rect->width; in mt9m111_set_fmt()
663 if (mf->width > rect->width) in mt9m111_set_fmt()
664 mf->width = rect->width; in mt9m111_set_fmt()
688 mt9m111->width = mf->width; in mt9m111_set_fmt()
[all …]
/openbmc/linux/drivers/acpi/acpica/
H A Dhwvalid.c187 acpi_status acpi_hw_read_port(acpi_io_address address, u32 *value, u32 width) in acpi_hw_read_port() argument
201 status = acpi_hw_validate_io_request(address, width); in acpi_hw_read_port()
203 status = acpi_os_read_port(address, value, width); in acpi_hw_read_port()
216 for (i = 0, *value = 0; i < width; i += 8) { in acpi_hw_read_port()
251 acpi_status acpi_hw_write_port(acpi_io_address address, u32 value, u32 width) in acpi_hw_write_port() argument
264 status = acpi_hw_validate_io_request(address, width); in acpi_hw_write_port()
266 status = acpi_os_write_port(address, value, width); in acpi_hw_write_port()
279 for (i = 0; i < width; i += 8) { in acpi_hw_write_port()
/openbmc/linux/drivers/media/platform/chips-media/
H A Dimx-vdoa.c85 unsigned int width; member
172 writel(dst_q_data->height << 16 | dst_q_data->width, in vdoa_device_run()
236 unsigned int width, unsigned int height, in vdoa_context_configure() argument
242 if (width < 16 || width > 8192 || width % 16 != 0 || in vdoa_context_configure()
257 src_q_data->width = width; in vdoa_context_configure()
259 src_q_data->bytesperline = width; in vdoa_context_configure()
264 dst_q_data->width = width; in vdoa_context_configure()
269 dst_q_data->bytesperline = width * 2; in vdoa_context_configure()
274 dst_q_data->bytesperline = width; in vdoa_context_configure()
/openbmc/linux/samples/vfio-mdev/
H A Dmdpy-fb.c37 .width = -1,
101 u32 format, width, height; in mdpy_fb_probe() local
113 pci_read_config_dword(pdev, MDPY_WIDTH_OFFSET, &width); in mdpy_fb_probe()
121 if (width < 100 || width > 10000) { in mdpy_fb_probe()
122 pci_err(pdev, "width (%d) out of range\n", width); in mdpy_fb_probe()
132 width, height); in mdpy_fb_probe()
145 info->fix.line_length = width * 4; in mdpy_fb_probe()
148 info->var.xres = width; in mdpy_fb_probe()
150 info->var.xres_virtual = width; in mdpy_fb_probe()
/openbmc/u-boot/arch/arm/dts/
H A Dast2600-dcscm.dts21 spi-tx-bus-width = <4>;
22 spi-rx-bus-width = <4>;
46 spi-tx-bus-width = <4>;
47 spi-rx-bus-width = <4>;
53 spi-tx-bus-width = <4>;
54 spi-rx-bus-width = <4>;
70 bus-width = <4>;
/openbmc/linux/drivers/staging/media/atomisp/pci/camera/pipe/src/
H A Dpipe_binarydesc.c66 descr->dvs_env.width = 0; in pipe_binarydesc_get_offline()
162 unsigned int in_w = input_res.width, in binarydesc_calculate_bds_factor()
248 bds_out_info->res.width = in ia_css_pipe_get_preview_binarydesc()
249 pipe->config.bayer_ds_out_res.width; in ia_css_pipe_get_preview_binarydesc()
261 bds_out_info->res.width = in_info->res.width / 2; in ia_css_pipe_get_preview_binarydesc()
269 bds_out_info->res.width = in_info->res.width; in ia_css_pipe_get_preview_binarydesc()
302 out_info->res.width = bds_out_info->res.width; in ia_css_pipe_get_preview_binarydesc()
389 bds_out_info->res.width = in ia_css_pipe_get_video_binarydesc()
402 bds_out_info->res.width = in ia_css_pipe_get_video_binarydesc()
403 in_info->res.width / 2; in ia_css_pipe_get_video_binarydesc()
[all …]

12345678910>>...200