Home
last modified time | relevance | path

Searched refs:win (Results 1 – 25 of 242) sorted by relevance

12345678910

/openbmc/linux/drivers/media/platform/ti/omap/
H A Domap_voutlib.c126 win->w = new_win->w; in omap_vout_new_window()
220 if (win->w.height == 0) in omap_vout_new_crop()
221 win->w.height = 2; in omap_vout_new_crop()
222 if (win->w.height + win->w.top > fbuf->fmt.height) { in omap_vout_new_crop()
227 win->w.height = (fbuf->fmt.height - win->w.top) & ~1; in omap_vout_new_crop()
239 if (win->w.width == 0) in omap_vout_new_crop()
240 win->w.width = 2; in omap_vout_new_crop()
241 if (win->w.width + win->w.left > fbuf->fmt.width) { in omap_vout_new_crop()
246 win->w.width = (fbuf->fmt.width - win->w.left) & ~1; in omap_vout_new_crop()
297 win->w.left = ((fbuf->fmt.width - win->w.width) >> 1) & ~1; in omap_vout_new_format()
[all …]
/openbmc/u-boot/arch/arm/mach-mvebu/
H A Dmbus.c178 int win; in mvebu_mbus_window_conflicts() local
180 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_mbus_window_conflicts()
215 int win; in mvebu_mbus_find_window() local
217 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_mbus_find_window()
269 int win; in mvebu_mbus_alloc_window() local
273 win < mbus->soc->num_wins; win++) in mvebu_mbus_alloc_window()
281 for (win = 0; win < mbus->soc->num_wins; win++) in mvebu_mbus_alloc_window()
398 int win; in mvebu_mbus_del_window() local
411 int win; in mvebu_mbus_get_lowest_base() local
414 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_mbus_get_lowest_base()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Ds3c-fb.c1206 win->palette_buffer = (u32 *)(win + 1); in s3c_fb_probe_win()
1360 int win; in s3c_fb_probe() local
1450 for (win = 0; win < fbdrv->variant.nr_windows; win++) in s3c_fb_probe()
1454 for (win = 0; win < (fbdrv->variant.nr_windows - 1); win++) { in s3c_fb_probe()
1466 for (win = 0; win < fbdrv->variant.nr_windows; win++) { in s3c_fb_probe()
1467 if (!pd->win[win]) in s3c_fb_probe()
1470 ret = s3c_fb_probe_win(sfb, win, fbdrv->win[win], in s3c_fb_probe()
1474 for (; win >= 0; win--) in s3c_fb_probe()
1510 int win; in s3c_fb_remove() local
1514 for (win = 0; win < S3C_FB_MAX_WIN; win++) in s3c_fb_remove()
[all …]
/openbmc/linux/drivers/bus/
H A Dmvebu-mbus.c273 int win; in mvebu_mbus_window_conflicts() local
275 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_mbus_window_conflicts()
304 int win; in mvebu_mbus_find_window() local
306 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_mbus_find_window()
378 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_mbus_alloc_window()
389 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_mbus_alloc_window()
476 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_devs_debug_show()
965 for (win = 0; win < mbus_state.soc->num_wins; win++) { in mvebu_mbus_get_io_win_info()
1017 for (win = 0; win < s->soc->num_wins; win++) { in mvebu_mbus_suspend()
1053 for (win = 0; win < s->soc->num_wins; win++) { in mvebu_mbus_resume()
[all …]
/openbmc/linux/drivers/pci/controller/mobiveil/
H A Dpcie-mobiveil.h69 #define PAB_AXI_AMAP_CTRL(win) PAB_REG_ADDR(0x0ba0, win) argument
75 #define PAB_EXT_AXI_AMAP_SIZE(win) PAB_EXT_REG_ADDR(0xbaf0, win) argument
77 #define PAB_EXT_AXI_AMAP_AXI_WIN(win) PAB_EXT_REG_ADDR(0x80a0, win) argument
78 #define PAB_AXI_AMAP_AXI_WIN(win) PAB_REG_ADDR(0x0ba4, win) argument
81 #define PAB_AXI_AMAP_PEX_WIN_L(win) PAB_REG_ADDR(0x0ba8, win) argument
86 #define PAB_AXI_AMAP_PEX_WIN_H(win) PAB_REG_ADDR(0x0bac, win) argument
89 #define PAB_PEX_AMAP_CTRL(win) PAB_REG_ADDR(0x4ba0, win) argument
94 #define PAB_EXT_PEX_AMAP_SIZEN(win) PAB_EXT_REG_ADDR(0xbef0, win) argument
96 #define PAB_PEX_AMAP_AXI_WIN(win) PAB_REG_ADDR(0x4ba4, win) argument
97 #define PAB_PEX_AMAP_PEX_WIN_L(win) PAB_REG_ADDR(0x4ba8, win) argument
[all …]
/openbmc/u-boot/scripts/kconfig/lxdialog/
H A Dmenubox.c70 waddch(win, ' '); in do_print_item()
73 wclrtoeol(win); in do_print_item()
86 wrefresh(win); in do_print_item()
105 wmove(win, y, x); in print_arrows()
120 wmove(win, y, x); in print_arrows()
121 wrefresh(win); in print_arrows()
136 wrefresh(win); in print_arrows()
154 wrefresh(win); in print_buttons()
161 scrollok(win, TRUE); in do_scroll()
162 wscrl(win, n); in do_scroll()
[all …]
H A Dchecklist.c28 wmove(win, choice, 0); in print_item()
30 waddch(win, ' '); in print_item()
44 wrefresh(win); in print_item()
55 wmove(win, y, x); in print_arrows()
60 waddstr(win, "(-)"); in print_arrows()
63 waddch(win, ACS_HLINE); in print_arrows()
64 waddch(win, ACS_HLINE); in print_arrows()
65 waddch(win, ACS_HLINE); in print_arrows()
66 waddch(win, ACS_HLINE); in print_arrows()
70 wmove(win, y, x); in print_arrows()
[all …]
H A Dutil.c235 wmove(win, i, 0); in attr_clear()
239 touchwin(win); in attr_clear()
438 wmove(win, y, x); in print_button()
441 waddstr(win, "<"); in print_button()
447 waddch(win, ' '); in print_button()
456 waddstr(win, ">"); in print_button()
469 wattrset(win, 0); in draw_box()
506 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
509 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
510 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
[all …]
H A Dtextbox.c16 static void print_position(WINDOW * win);
316 print_line(win, i, width); in print_page()
322 wnoutrefresh(win); in print_page()
335 waddch(win, ' '); in print_line()
341 int x = getcurx(win); in print_line()
344 waddch(win, ' '); in print_line()
347 wclrtoeol(win); in print_line()
386 static void print_position(WINDOW * win) in print_position() argument
390 wattrset(win, dlg.position_indicator.atr); in print_position()
393 wmove(win, getmaxy(win) - 3, getmaxx(win) - 9); in print_position()
[all …]
/openbmc/u-boot/drivers/video/
H A Dtegra.c53 writel(win->fmt, &dc->win.color_depth); in update_window()
66 val = (win->w * win->bpp / 8) << H_PRESCALED_SIZE_SHIFT; in update_window()
73 h_dda = (win->w * 0x1000) / max(win->out_w - 1, 1U); in update_window()
74 v_dda = (win->h * 0x1000) / max(win->out_h - 1, 1U); in update_window()
80 writel(win->stride, &dc->win.line_stride); in update_window()
222 win->x = 0; in setup_window()
223 win->y = 0; in setup_window()
226 win->out_x = 0; in setup_window()
227 win->out_y = 0; in setup_window()
236 win->bpp = 32; in setup_window()
[all …]
/openbmc/linux/scripts/kconfig/lxdialog/
H A Dmenubox.c66 wclrtoeol(win); in do_print_item()
78 wrefresh(win); in do_print_item()
97 wmove(win, y, x); in print_arrows()
102 waddstr(win, "(-)"); in print_arrows()
112 wmove(win, y, x); in print_arrows()
113 wrefresh(win); in print_arrows()
128 wrefresh(win); in print_arrows()
146 wrefresh(win); in print_buttons()
153 scrollok(win, TRUE); in do_scroll()
154 wscrl(win, n); in do_scroll()
[all …]
H A Dchecklist.c28 wmove(win, choice, 0); in print_item()
30 waddch(win, ' '); in print_item()
44 wrefresh(win); in print_item()
55 wmove(win, y, x); in print_arrows()
60 waddstr(win, "(-)"); in print_arrows()
63 waddch(win, ACS_HLINE); in print_arrows()
64 waddch(win, ACS_HLINE); in print_arrows()
65 waddch(win, ACS_HLINE); in print_arrows()
66 waddch(win, ACS_HLINE); in print_arrows()
70 wmove(win, y, x); in print_arrows()
[all …]
H A Dutil.c235 wmove(win, i, 0); in attr_clear()
239 touchwin(win); in attr_clear()
438 wmove(win, y, x); in print_button()
441 waddstr(win, "<"); in print_button()
447 waddch(win, ' '); in print_button()
456 waddstr(win, ">"); in print_button()
469 wattrset(win, 0); in draw_box()
506 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
509 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
510 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
[all …]
/openbmc/linux/drivers/hwtracing/intel_th/
H A Dmsu.c306 return win->entry.next == &win->msc->win_list; in msc_is_last_win()
330 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_win_total_sz()
399 if (win) in msc_oldest_window()
425 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_win_oldest_sg()
518 iter->win = msc_next_window(iter->win); in msc_iter_win_advance()
1098 win = kzalloc(sizeof(*win), GFP_KERNEL); in msc_buffer_win_alloc()
1099 if (!win) in msc_buffer_win_alloc()
1103 win->sgt = &win->_sgt; in msc_buffer_win_alloc()
1149 for_each_sg(win->sgt->sgl, sg, win->nr_segs, i) { in __msc_buffer_win_free()
1405 if (pgoff >= win->pgoff && pgoff < win->pgoff + win->nr_blocks) in msc_buffer_get_page()
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dvas.c72 win->vas_win.winid = retbuf[0]; in h_allocate_vas_window()
73 win->win_addr = retbuf[1]; in h_allocate_vas_window()
74 win->complete_irq = retbuf[2]; in h_allocate_vas_window()
75 win->fault_irq = retbuf[3]; in h_allocate_vas_window()
121 win->vas_win.winid, win->pid, 0, in h_modify_vas_window()
131 rc, win->vas_win.winid, win->pid); in h_modify_vas_window()
468 return win->win_addr; in vas_paste_address()
486 free_irq_setup(win); in deallocate_free_window()
527 list_del(&win->win_list); in vas_deallocate_window()
535 kfree(win); in vas_deallocate_window()
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxhci-mvebu.c25 int win; in xhci_mvebu_mbus_config() local
28 for (win = 0; win < USB3_MAX_WINDOWS; win++) { in xhci_mvebu_mbus_config()
29 writel(0, base + USB3_WIN_CTRL(win)); in xhci_mvebu_mbus_config()
30 writel(0, base + USB3_WIN_BASE(win)); in xhci_mvebu_mbus_config()
34 for (win = 0; win < dram->num_cs; win++) { in xhci_mvebu_mbus_config()
35 const struct mbus_dram_window *cs = &dram->cs[win]; in xhci_mvebu_mbus_config()
39 base + USB3_WIN_CTRL(win)); in xhci_mvebu_mbus_config()
41 writel((cs->base & 0xffff0000), base + USB3_WIN_BASE(win)); in xhci_mvebu_mbus_config()
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945-rs.c119 win->data = 0; in il3945_clear_win()
122 win->counter = 0; in il3945_clear_win()
124 win->stamp = 0; in il3945_clear_win()
276 win->counter++; in il3945_collect_tx_data()
281 win->data <<= 1; in il3945_collect_tx_data()
284 win->data |= 0x1; in il3945_collect_tx_data()
294 128 * (100 * win->success_counter) / win->counter; in il3945_collect_tx_data()
298 fail_count = win->counter - win->success_counter; in il3945_collect_tx_data()
303 win->average_tpt = in il3945_collect_tx_data()
666 win = &(rs_sta->win[idx]); in il3945_rs_get_rate()
[all …]
/openbmc/u-boot/scripts/kconfig/
H A Dnconf.gui.c158 if (win == NULL) in print_in_middle()
159 win = stdscr; in print_in_middle()
251 WINDOW *win; in btn_dialog() local
302 box(win, 0, 0); in btn_dialog()
319 touchwin(win); in btn_dialog()
354 delwin(win); in btn_dialog()
364 WINDOW *win; in dialog_inputbox() local
432 touchwin(win); in dialog_inputbox()
537 delwin(win); in dialog_inputbox()
563 WINDOW *win; in show_scroll_win() local
[all …]
/openbmc/linux/scripts/kconfig/
H A Dnconf.gui.c201 WINDOW *win; in btn_dialog() local
252 box(win, 0, 0); in btn_dialog()
269 touchwin(win); in btn_dialog()
286 touchwin(win); in btn_dialog()
304 delwin(win); in btn_dialog()
314 WINDOW *win; in dialog_inputbox() local
362 box(win, 0, 0); in dialog_inputbox()
382 touchwin(win); in dialog_inputbox()
488 delwin(win); in dialog_inputbox()
521 WINDOW *win; in show_scroll_win_ext() local
[all …]
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c218 struct vop2_win win[]; member
1822 plane = &win->base; in vop2_setup_alpha()
1994 struct vop2_win *win; in vop2_setup_dly_for_windows() local
2001 win = &vop2->win[i]; in vop2_setup_dly_for_windows()
2002 dly = win->delay; in vop2_setup_dly_for_windows()
2044 win->delay = win->data->dly[VOP2_DLY_MODE_DEFAULT]; in vop2_crtc_atomic_begin()
2237 drm_plane_create_zpos_property(&win->base, win->win_id, 0, in vop2_plane_init()
2312 struct vop2_win *win = &vop2->win[i]; in vop2_create_crtcs() local
2609 win = &vop2->win[i]; in vop2_win_init()
2613 win->win_id = i; in vop2_win_init()
[all …]
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_fimd.c44 #define VIDOSD_A(win) (VIDOSD_BASE + 0x00 + (win) * 16) argument
45 #define VIDOSD_B(win) (VIDOSD_BASE + 0x04 + (win) * 16) argument
50 #define VIDOSD_C(win) (VIDOSD_BASE + 0x08 + (win) * 16) argument
52 #define VIDOSD_D(win) (VIDOSD_BASE + 0x0C + (win) * 16) argument
54 #define VIDWnALPHA0(win) (VIDW_ALPHA + 0x00 + (win) * 8) argument
55 #define VIDWnALPHA1(win) (VIDW_ALPHA + 0x04 + (win) * 8) argument
57 #define VIDWx_BUF_START(win, buf) (VIDW_BUF_START(buf) + (win) * 8) argument
59 #define VIDWx_BUF_END(win, buf) (VIDW_BUF_END(buf) + (win) * 8) argument
60 #define VIDWx_BUF_SIZE(win, buf) (VIDW_BUF_SIZE(buf) + (win) * 4) argument
380 for (win = 0; win < WINDOWS_NR; win++) { in fimd_clear_channels()
[all …]
H A Dexynos5433_drm_decon.c377 if (win > 0) { in decon_win_set_pixfmt()
407 unsigned int win = plane->index; in decon_update_plane() local
569 int win, i, ret; in decon_clear_channels() local
578 for (win = 0; win < WINDOWS_NR; win++) in decon_clear_channels()
626 unsigned int win; in decon_bind() local
631 for (win = ctx->first_win; win < WINDOWS_NR; win++) { in decon_bind()
634 ctx->configs[win].zpos = win - ctx->first_win; in decon_bind()
635 ctx->configs[win].type = decon_win_types[win]; in decon_bind()
636 ctx->configs[win].capabilities = capabilities[win]; in decon_bind()
638 ret = exynos_plane_init(drm_dev, &ctx->planes[win], win, in decon_bind()
[all …]
/openbmc/linux/lib/
H A Dwin_minmax.c29 static u32 minmax_subwin_update(struct minmax *m, u32 win, in minmax_subwin_update() argument
34 if (unlikely(dt > win)) { in minmax_subwin_update()
45 if (unlikely(val->t - m->s[0].t > win)) { in minmax_subwin_update()
50 } else if (unlikely(m->s[1].t == m->s[0].t) && dt > win/4) { in minmax_subwin_update()
56 } else if (unlikely(m->s[2].t == m->s[1].t) && dt > win/2) { in minmax_subwin_update()
67 u32 minmax_running_max(struct minmax *m, u32 win, u32 t, u32 meas) in minmax_running_max() argument
72 unlikely(val.t - m->s[2].t > win)) /* nothing left in window? */ in minmax_running_max()
80 return minmax_subwin_update(m, win, &val); in minmax_running_max()
85 u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas) in minmax_running_min() argument
90 unlikely(val.t - m->s[2].t > win)) /* nothing left in window? */ in minmax_running_min()
[all …]
/openbmc/qemu/hw/alpha/
H A Dtyphoon.c48 TyphoonWindow win[4]; member
220 ret = s->pchip.win[0].wba; in pchip_read()
224 ret = s->pchip.win[1].wba; in pchip_read()
228 ret = s->pchip.win[2].wba; in pchip_read()
232 ret = s->pchip.win[3].wba; in pchip_read()
237 ret = s->pchip.win[0].wsm; in pchip_read()
241 ret = s->pchip.win[1].wsm; in pchip_read()
245 ret = s->pchip.win[2].wsm; in pchip_read()
640 uint32_t wba = win->wba; in window_translate()
641 uint64_t wsm = win->wsm; in window_translate()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dkgdb_32.c21 struct reg_window32 *win; in pt_regs_to_gdb_regs() local
28 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in pt_regs_to_gdb_regs()
30 gdb_regs[GDB_L0 + i] = win->locals[i]; in pt_regs_to_gdb_regs()
32 gdb_regs[GDB_I0 + i] = win->ins[i]; in pt_regs_to_gdb_regs()
50 struct reg_window32 *win; in sleeping_thread_to_gdb_regs() local
62 win = (struct reg_window32 *) t->ksp; in sleeping_thread_to_gdb_regs()
64 gdb_regs[GDB_L0 + i] = win->locals[i]; in sleeping_thread_to_gdb_regs()
66 gdb_regs[GDB_I0 + i] = win->ins[i]; in sleeping_thread_to_gdb_regs()
84 struct reg_window32 *win; in gdb_regs_to_pt_regs() local
105 win->locals[i] = gdb_regs[GDB_L0 + i]; in gdb_regs_to_pt_regs()
[all …]

12345678910