/linux-6.3-rc2/drivers/media/platform/ti/omap/ |
A D | omap_voutlib.c | 126 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-6.3-rc2/drivers/video/fbdev/ |
A D | s3c-fb.c | 1208 win->palette_buffer = (u32 *)(win + 1); in s3c_fb_probe_win() 1363 int win; in s3c_fb_probe() local 1453 for (win = 0; win < fbdrv->variant.nr_windows; win++) in s3c_fb_probe() 1457 for (win = 0; win < (fbdrv->variant.nr_windows - 1); win++) { in s3c_fb_probe() 1469 for (win = 0; win < fbdrv->variant.nr_windows; win++) { in s3c_fb_probe() 1470 if (!pd->win[win]) in s3c_fb_probe() 1473 ret = s3c_fb_probe_win(sfb, win, fbdrv->win[win], in s3c_fb_probe() 1477 for (; win >= 0; win--) in s3c_fb_probe() 1513 int win; in s3c_fb_remove() local 1517 for (win = 0; win < S3C_FB_MAX_WIN; win++) in s3c_fb_remove() [all …]
|
/linux-6.3-rc2/drivers/bus/ |
A D | mvebu-mbus.c | 273 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 …]
|
/linux-6.3-rc2/scripts/kconfig/lxdialog/ |
A D | menubox.c | 70 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 D | checklist.c | 28 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 D | util.c | 235 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 D | textbox.c | 16 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-6.3-rc2/drivers/pci/controller/mobiveil/ |
A D | pcie-mobiveil.h | 69 #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-6.3-rc2/drivers/hwtracing/intel_th/ |
A D | msu.c | 306 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 …]
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | vas.c | 71 win->vas_win.winid = retbuf[0]; in h_allocate_vas_window() 72 win->win_addr = retbuf[1]; in h_allocate_vas_window() 73 win->complete_irq = retbuf[2]; in h_allocate_vas_window() 74 win->fault_irq = retbuf[3]; in h_allocate_vas_window() 120 win->vas_win.winid, win->pid, 0, in h_modify_vas_window() 130 rc, win->vas_win.winid, win->pid); in h_modify_vas_window() 446 return win->win_addr; in vas_paste_address() 464 free_irq_setup(win); in deallocate_free_window() 505 list_del(&win->win_list); in vas_deallocate_window() 513 kfree(win); in vas_deallocate_window() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlegacy/ |
A D | 3945-rs.c | 119 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-6.3-rc2/drivers/media/pci/bt8xx/ |
A D | btcx-risc.c | 86 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-6.3-rc2/drivers/usb/host/ |
A D | xhci-mvebu.c | 25 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()
|
/linux-6.3-rc2/scripts/kconfig/ |
A D | nconf.gui.c | 201 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-6.3-rc2/drivers/gpu/drm/rockchip/ |
A D | rockchip_drm_vop2.c | 215 struct vop2_win win[]; member 1806 plane = &win->base; in vop2_setup_alpha() 1978 struct vop2_win *win; in vop2_setup_dly_for_windows() local 1985 win = &vop2->win[i]; in vop2_setup_dly_for_windows() 1986 dly = win->delay; in vop2_setup_dly_for_windows() 2028 win->delay = win->data->dly[VOP2_DLY_MODE_DEFAULT]; in vop2_crtc_atomic_begin() 2222 drm_plane_create_zpos_property(&win->base, win->win_id, 0, in vop2_plane_init() 2297 struct vop2_win *win = &vop2->win[i]; in vop2_create_crtc() local 2565 win = &vop2->win[i]; in vop2_win_init() 2569 win->win_id = i; in vop2_win_init() [all …]
|
A D | rockchip_drm_vop.c | 46 vop_reg_set(vop, &win->phy->name, win->base, ~0, v, #name) 48 vop_reg_set(vop, &win->phy->scl->name, win->base, ~0, v, #name) 51 win->base, ~0, v, #name) 89 vop_read_reg(vop, win->base, &win->phy->name) 92 (!!(win->phy->name.mask)) 95 vop_readl(vop, win->base + win->phy->yrgb_mst.offset) 98 ((vop_win) - (vop_win)->vop->win) 188 struct vop_win win[]; member 385 if (!win->phy->scl->ext) { in scl_vop_cal_scl_fac() 589 if (win->phy->scl && win->phy->scl->ext) { in vop_win_disable() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/exynos/ |
A D | exynos_drm_fimd.c | 45 #define VIDOSD_A(win) (VIDOSD_BASE + 0x00 + (win) * 16) argument 46 #define VIDOSD_B(win) (VIDOSD_BASE + 0x04 + (win) * 16) argument 51 #define VIDOSD_C(win) (VIDOSD_BASE + 0x08 + (win) * 16) argument 53 #define VIDOSD_D(win) (VIDOSD_BASE + 0x0C + (win) * 16) argument 55 #define VIDWnALPHA0(win) (VIDW_ALPHA + 0x00 + (win) * 8) argument 56 #define VIDWnALPHA1(win) (VIDW_ALPHA + 0x04 + (win) * 8) argument 60 #define VIDWx_BUF_END(win, buf) (VIDW_BUF_END(buf) + (win) * 8) argument 61 #define VIDWx_BUF_SIZE(win, buf) (VIDW_BUF_SIZE(buf) + (win) * 4) argument 381 for (win = 0; win < WINDOWS_NR; win++) { in fimd_clear_channels() 899 if (win != 3 && win != 4) { in fimd_update_plane() [all …]
|
A D | exynos5433_drm_decon.c | 377 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 …]
|
A D | exynos7_drm_decon.c | 107 unsigned int win, ch_enabled = 0; in decon_clear_channels() local 110 for (win = 0; win < WINDOWS_NR; win++) { in decon_clear_channels() 115 writel(val, ctx->regs + WINCON(win)); in decon_clear_channels() 268 val = readl(ctx->regs + WINCON(win)); in decon_win_set_pixfmt() 331 writel(val, ctx->regs + WINCON(win)); in decon_win_set_pixfmt() 359 bits = SHADOWCON_WINx_PROTECT(win); in decon_shadow_protect_win() 392 unsigned int win = plane->index; in decon_update_plane() local 459 decon_win_set_pixfmt(ctx, win, fb); in decon_update_plane() 462 if (win != 0) in decon_update_plane() 463 decon_win_set_colkey(ctx, win); in decon_update_plane() [all …]
|
/linux-6.3-rc2/lib/ |
A D | win_minmax.c | 29 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-6.3-rc2/arch/sparc/kernel/ |
A D | kgdb_32.c | 21 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 D | kgdb_64.c | 21 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 …]
|
A D | unaligned_32.c | 96 struct reg_window32 *win; in fetch_reg() local 102 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in fetch_reg() 103 return win->locals[reg - 16]; /* yes, I know what this does... */ in fetch_reg() 108 struct reg_window32 __user *win; in safe_fetch_reg() local 115 win = (struct reg_window32 __user *) regs->u_regs[UREG_FP]; in safe_fetch_reg() 117 if ((unsigned long)win & 3) in safe_fetch_reg() 120 if (get_user(ret, &win->locals[reg - 16])) in safe_fetch_reg() 128 struct reg_window32 *win; in fetch_reg_addr() local 132 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in fetch_reg_addr() 133 return &win->locals[reg - 16]; in fetch_reg_addr()
|
/linux-6.3-rc2/drivers/acpi/ |
A D | resource.c | 214 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() 692 *rentry->res = win->res; in acpi_dev_new_resource_entry() 693 rentry->offset = win->offset; in acpi_dev_new_resource_entry() 703 struct resource_win win; in acpi_dev_process_resource() local 719 memset(&win, 0, sizeof(win)); in acpi_dev_process_resource() 802 struct resource_win win; in is_memory() local [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
A D | vas.h | 425 extern void vas_window_init_dbgdir(struct pnv_vas_window *win); 426 extern void vas_window_free_dbgdir(struct pnv_vas_window *win); 441 static inline void vas_log_write(struct pnv_vas_window *win, char *name, in vas_log_write() argument 446 win->tx_win ? "Tx" : "Rx", win->vas_win.winid, in vas_log_write() 450 static inline void write_uwc_reg(struct pnv_vas_window *win, char *name, in write_uwc_reg() argument 455 regptr = win->uwc_map + reg; in write_uwc_reg() 456 vas_log_write(win, name, regptr, val); in write_uwc_reg() 466 regptr = win->hvwc_map + reg; in write_hvwc_reg() 467 vas_log_write(win, name, regptr, val); in write_hvwc_reg() 472 static inline u64 read_hvwc_reg(struct pnv_vas_window *win, in read_hvwc_reg() argument [all …]
|