Home
last modified time | relevance | path

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

12345678

/linux/drivers/video/fbdev/
A Ds3c-fb.c1208 win->palette_buffer = (u32 *)(win + 1); in s3c_fb_probe_win()
1364 int win; in s3c_fb_probe() local
1456 for (win = 0; win < fbdrv->variant.nr_windows; win++) in s3c_fb_probe()
1460 for (win = 0; win < (fbdrv->variant.nr_windows - 1); win++) { in s3c_fb_probe()
1472 for (win = 0; win < fbdrv->variant.nr_windows; win++) { in s3c_fb_probe()
1473 if (!pd->win[win]) in s3c_fb_probe()
1476 ret = s3c_fb_probe_win(sfb, win, fbdrv->win[win], in s3c_fb_probe()
1480 for (; win >= 0; win--) in s3c_fb_probe()
1516 int win; in s3c_fb_remove() local
1520 for (win = 0; win < S3C_FB_MAX_WIN; win++) in s3c_fb_remove()
[all …]
/linux/drivers/media/platform/omap/
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 …]
/linux/drivers/bus/
A Dmvebu-mbus.c276 int win; in mvebu_mbus_window_conflicts() local
278 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_mbus_window_conflicts()
307 int win; in mvebu_mbus_find_window() local
309 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_mbus_find_window()
381 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_mbus_alloc_window()
392 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_mbus_alloc_window()
490 for (win = 0; win < mbus->soc->num_wins; win++) { in mvebu_devs_debug_show()
985 for (win = 0; win < mbus_state.soc->num_wins; win++) { in mvebu_mbus_get_io_win_info()
1037 for (win = 0; win < s->soc->num_wins; win++) { in mvebu_mbus_suspend()
1073 for (win = 0; win < s->soc->num_wins; win++) { in mvebu_mbus_resume()
[all …]
/linux/scripts/kconfig/lxdialog/
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 …]
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 …]
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 …]
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 …]
/linux/drivers/hwtracing/intel_th/
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()
1090 win = kzalloc(sizeof(*win), GFP_KERNEL); in msc_buffer_win_alloc()
1091 if (!win) in msc_buffer_win_alloc()
1095 win->sgt = &win->_sgt; in msc_buffer_win_alloc()
1141 for_each_sg(win->sgt->sgl, sg, win->nr_segs, i) { in __msc_buffer_win_free()
1397 if (pgoff >= win->pgoff && pgoff < win->pgoff + win->nr_blocks) in msc_buffer_get_page()
[all …]
/linux/drivers/pci/controller/mobiveil/
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 …]
/linux/drivers/net/wireless/intel/iwlegacy/
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 …]
/linux/drivers/media/pci/bt8xx/
A Dbtcx-risc.c86 if (win->left < 0) { in btcx_screen_clips()
94 if (win->left + win->width > swidth) { in btcx_screen_clips()
102 if (win->top < 0) { in btcx_screen_clips()
107 clips[n].c.height = -win->top; in btcx_screen_clips()
110 if (win->top + win->height > sheight) { in btcx_screen_clips()
129 nw = (win->width) & ~mask; in btcx_align()
130 if (nx + nw > win->left + win->width) in btcx_align()
132 dx = nx - win->left; in btcx_align()
133 win->left = nx; in btcx_align()
134 win->width = nw; in btcx_align()
[all …]
/linux/scripts/kconfig/
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()
514 WINDOW *win; in show_scroll_win() local
[all …]
/linux/drivers/gpu/drm/exynos/
A Dexynos_drm_fimd.c43 #define VIDOSD_A(win) (VIDOSD_BASE + 0x00 + (win) * 16) argument
44 #define VIDOSD_B(win) (VIDOSD_BASE + 0x04 + (win) * 16) argument
49 #define VIDOSD_C(win) (VIDOSD_BASE + 0x08 + (win) * 16) argument
51 #define VIDOSD_D(win) (VIDOSD_BASE + 0x0C + (win) * 16) argument
53 #define VIDWnALPHA0(win) (VIDW_ALPHA + 0x00 + (win) * 8) argument
54 #define VIDWnALPHA1(win) (VIDW_ALPHA + 0x04 + (win) * 8) argument
56 #define VIDWx_BUF_START(win, buf) (VIDW_BUF_START(buf) + (win) * 8) argument
58 #define VIDWx_BUF_END(win, buf) (VIDW_BUF_END(buf) + (win) * 8) argument
59 #define VIDWx_BUF_SIZE(win, buf) (VIDW_BUF_SIZE(buf) + (win) * 4) argument
363 for (win = 0; win < WINDOWS_NR; win++) { in fimd_clear_channels()
[all …]
A Dexynos5433_drm_decon.c375 if (win > 0) { in decon_win_set_pixfmt()
405 unsigned int win = plane->index; in decon_update_plane() local
567 int win, i, ret; in decon_clear_channels() local
576 for (win = 0; win < WINDOWS_NR; win++) in decon_clear_channels()
624 unsigned int win; in decon_bind() local
629 for (win = ctx->first_win; win < WINDOWS_NR; win++) { in decon_bind()
632 ctx->configs[win].zpos = win - ctx->first_win; in decon_bind()
633 ctx->configs[win].type = decon_win_types[win]; in decon_bind()
634 ctx->configs[win].capabilities = capabilities[win]; in decon_bind()
636 ret = exynos_plane_init(drm_dev, &ctx->planes[win], win, in decon_bind()
[all …]
A Dexynos7_drm_decon.c106 unsigned int win, ch_enabled = 0; in decon_clear_channels() local
109 for (win = 0; win < WINDOWS_NR; win++) { in decon_clear_channels()
114 writel(val, ctx->regs + WINCON(win)); in decon_clear_channels()
267 val = readl(ctx->regs + WINCON(win)); in decon_win_set_pixfmt()
330 writel(val, ctx->regs + WINCON(win)); in decon_win_set_pixfmt()
358 bits = SHADOWCON_WINx_PROTECT(win); in decon_shadow_protect_win()
391 unsigned int win = plane->index; in decon_update_plane() local
458 decon_win_set_pixfmt(ctx, win, fb); in decon_update_plane()
461 if (win != 0) in decon_update_plane()
462 decon_win_set_colkey(ctx, win); in decon_update_plane()
[all …]
/linux/drivers/usb/host/
A Dxhci-mvebu.c26 int win; in xhci_mvebu_mbus_config() local
29 for (win = 0; win < USB3_MAX_WINDOWS; win++) { in xhci_mvebu_mbus_config()
30 writel(0, base + USB3_WIN_CTRL(win)); in xhci_mvebu_mbus_config()
31 writel(0, base + USB3_WIN_BASE(win)); in xhci_mvebu_mbus_config()
35 for (win = 0; win < dram->num_cs; win++) { in xhci_mvebu_mbus_config()
36 const struct mbus_dram_window *cs = dram->cs + win; in xhci_mvebu_mbus_config()
40 base + USB3_WIN_CTRL(win)); in xhci_mvebu_mbus_config()
42 writel((cs->base & 0xffff0000), base + USB3_WIN_BASE(win)); in xhci_mvebu_mbus_config()
/linux/arch/powerpc/platforms/pseries/
A Dvas.c68 win->vas_win.winid = retbuf[0]; in h_allocate_vas_window()
69 win->win_addr = retbuf[1]; in h_allocate_vas_window()
70 win->complete_irq = retbuf[2]; in h_allocate_vas_window()
71 win->fault_irq = retbuf[3]; in h_allocate_vas_window()
118 win->vas_win.winid, lpid, 0, in h_modify_vas_window()
128 rc, win->vas_win.winid, lpid); in h_modify_vas_window()
388 struct pseries_vas_window *win; in vas_paste_address() local
391 return win->win_addr; in vas_paste_address()
409 free_irq_setup(win); in deallocate_free_window()
440 list_del(&win->win_list); in vas_deallocate_window()
[all …]
/linux/drivers/gpu/drm/rockchip/
A Drockchip_drm_vop.c44 vop_reg_set(vop, &win->phy->name, win->base, ~0, v, #name)
46 vop_reg_set(vop, &win->phy->scl->name, win->base, ~0, v, #name)
49 win->base, ~0, v, #name)
84 vop_read_reg(vop, win->base, &win->phy->name)
87 (!!(win->phy->name.mask))
90 vop_readl(vop, win->base + win->phy->yrgb_mst.offset)
93 ((vop_win) - (vop_win)->vop->win)
183 struct vop_win win[]; member
371 if (!win->phy->scl->ext) { in scl_vop_cal_scl_fac()
575 if (win->phy->scl && win->phy->scl->ext) { in vop_win_disable()
[all …]
/linux/drivers/media/platform/davinci/
A Dvpbe_osd.c466 struct osd_window_state *win = &osd->win[layer]; in osd_disable_layer() local
512 struct osd_window_state *win = &osd->win[layer]; in osd_enable_layer() local
616 struct osd_window_state *win = &sd->win[layer]; in _osd_start_layer() local
739 struct osd_window_state *win = &osd->win[layer]; in osd_start_layer() local
762 struct osd_window_state *win = &osd->win[layer]; in osd_get_layer_config() local
788 struct osd_window_state *win = &osd->win[layer]; in try_layer_config() local
1224 struct osd_window_state *win = &osd->win[layer]; in osd_set_layer_config() local
1363 struct osd_window_state *win = &osd->win[layer]; in osd_init_layer() local
1376 _osd_set_zoom(sd, layer, win->h_zoom, win->v_zoom); in osd_init_layer()
1427 struct osd_window_state *win = &osd->win[layer]; in osd_release_layer() local
[all …]
A Disif.c95 .win = ISIF_WIN_VGA,
782 isif_cfg.bayer.win.top = win->top; in isif_set_image_window()
783 isif_cfg.bayer.win.left = win->left; in isif_set_image_window()
784 isif_cfg.bayer.win.width = win->width; in isif_set_image_window()
785 isif_cfg.bayer.win.height = win->height; in isif_set_image_window()
787 isif_cfg.ycbcr.win.top = win->top; in isif_set_image_window()
788 isif_cfg.ycbcr.win.left = win->left; in isif_set_image_window()
789 isif_cfg.ycbcr.win.width = win->width; in isif_set_image_window()
790 isif_cfg.ycbcr.win.height = win->height; in isif_set_image_window()
798 *win = isif_cfg.bayer.win; in isif_get_image_window()
[all …]
A Ddm644x_ccdc.c52 .win = CCDC_WIN_VGA,
63 .win = CCDC_WIN_PAL,
294 ccdc_setwin(&params->win, params->frm_fmt, 2); in ccdc_config_ycbcr()
462 params->win.height); in ccdc_config_raw()
611 ccdc_cfg.bayer.win = *win; in ccdc_set_image_window()
613 ccdc_cfg.ycbcr.win = *win; in ccdc_set_image_window()
620 *win = ccdc_cfg.bayer.win; in ccdc_get_image_window()
622 *win = ccdc_cfg.ycbcr.win; in ccdc_get_image_window()
634 len = ccdc_cfg.bayer.win.width; in ccdc_get_line_length()
636 len = ccdc_cfg.bayer.win.width * 2; in ccdc_get_line_length()
[all …]
/linux/lib/
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 …]
/linux/drivers/acpi/
A Dresource.c214 struct resource *res = &win->res; in acpi_decode_space()
240 win->offset = offset; in acpi_decode_space()
294 win->res.flags = 0; in acpi_dev_resource_address_space()
319 struct resource_win *win) in acpi_dev_resource_ext_address_space() argument
323 win->res.flags = 0; in acpi_dev_resource_ext_address_space()
568 *rentry->res = win->res; in acpi_dev_new_resource_entry()
569 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
579 struct resource_win win; in acpi_dev_process_resource() local
595 memset(&win, 0, sizeof(win)); in acpi_dev_process_resource()
678 struct resource_win win; in is_memory() local
[all …]
/linux/arch/sparc/kernel/
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 …]
A Dkgdb_64.c21 struct reg_window *win; in pt_regs_to_gdb_regs() local
28 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); 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_window *win; in sleeping_thread_to_gdb_regs() local
63 win = (struct reg_window *) (t->ksp + STACK_BIAS); in sleeping_thread_to_gdb_regs()
65 gdb_regs[GDB_L0 + i] = win->locals[i]; in sleeping_thread_to_gdb_regs()
67 gdb_regs[GDB_I0 + i] = win->ins[i]; in sleeping_thread_to_gdb_regs()
90 struct reg_window *win; in gdb_regs_to_pt_regs() local
111 win->locals[i] = gdb_regs[GDB_L0 + i]; in gdb_regs_to_pt_regs()
[all …]

Completed in 52 milliseconds

12345678