Home
last modified time | relevance | path

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

1234

/drivers/video/fbdev/
A Ds3c-fb.c61 #define VIDOSD_A(win, variant) (OSD_BASE(win, variant) + 0x00) argument
1206 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
[all …]
A Dau1200fb.c716 xsz = win->w[plane].xres; in au1200_setlocation()
717 ysz = win->w[plane].yres; in au1200_setlocation()
747 win->w[plane].xpos = xpos; in au1200_setlocation()
748 win->w[plane].ypos = ypos; in au1200_setlocation()
852 au1200_setlocation(fbdev, 0, win->w[0].xpos, win->w[0].ypos); in au1200_setpanel()
853 au1200_setlocation(fbdev, 1, win->w[1].xpos, win->w[1].ypos); in au1200_setpanel()
854 au1200_setlocation(fbdev, 2, win->w[2].xpos, win->w[2].ypos); in au1200_setpanel()
855 au1200_setlocation(fbdev, 3, win->w[3].xpos, win->w[3].ypos); in au1200_setpanel()
946 au1200_setlocation(fbdev, plane, win->w[plane].xpos, win->w[plane].ypos); in au1200_setmode()
1667 win = &windows[window_index]; in au1200fb_drv_probe()
[all …]
/drivers/bus/
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 …]
/drivers/media/platform/ti/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 …]
A Domap_vout.c364 win = &vout->win; in omapvid_init()
384 posy = (timing->y_res - win->w.width) - win->w.left; in omapvid_init()
389 posx = (timing->x_res - win->w.width) - win->w.left; in omapvid_init()
706 struct v4l2_window *win = &f->fmt.win; in vidioc_try_fmt_vid_overlay() local
726 struct v4l2_window *win = &f->fmt.win; in vidioc_s_fmt_vid_overlay() local
739 vout->win.global_alpha = win->global_alpha; in vidioc_s_fmt_vid_overlay()
772 struct v4l2_window *win = &f->fmt.win; in vidioc_g_fmt_vid_overlay() local
777 win->w = vout->win.w; in vidioc_g_fmt_vid_overlay()
778 win->field = vout->win.field; in vidioc_g_fmt_vid_overlay()
779 win->chromakey = vout->win.chromakey; in vidioc_g_fmt_vid_overlay()
[all …]
/drivers/hwtracing/intel_th/
A Dmsu.c315 return win->entry.next == &win->msc->win_list; in msc_is_last_win()
339 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_win_total_sz()
408 if (win) in msc_oldest_window()
434 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_win_oldest_sg()
527 iter->win = msc_next_window(iter->win); in msc_iter_win_advance()
671 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_buffer_clear_hw_header()
1108 win = kzalloc(sizeof(*win), GFP_KERNEL); in msc_buffer_win_alloc()
1109 if (!win) in msc_buffer_win_alloc()
1113 win->sgt = &win->_sgt; in msc_buffer_win_alloc()
1159 for_each_sg(win->sgt->sgl, sg, win->nr_segs, i) { in __msc_buffer_win_free()
[all …]
/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 …]
/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()
277 win->counter++; in il3945_collect_tx_data()
282 win->data <<= 1; in il3945_collect_tx_data()
285 win->data |= 0x1; in il3945_collect_tx_data()
295 128 * (100 * win->success_counter) / win->counter; in il3945_collect_tx_data()
299 fail_count = win->counter - win->success_counter; in il3945_collect_tx_data()
304 win->average_tpt = in il3945_collect_tx_data()
667 win = &(rs_sta->win[idx]); in il3945_rs_get_rate()
[all …]
A D4965-rs.c409 win = &(tbl->win[scale_idx]); in il4965_rs_collect_tx_data()
457 fail_count = win->counter - win->success_counter; in il4965_rs_collect_tx_data()
1260 struct il_rate_scale_data *win = &(tbl->win[idx]); in il4965_rs_move_legacy_other() local
1380 struct il_rate_scale_data *win = &(tbl->win[idx]); in il4965_rs_move_siso_to_other() local
1503 struct il_rate_scale_data *win = &(tbl->win[idx]); in il4965_rs_move_mimo2_to_other() local
1838 win = &(tbl->win[idx]); in il4965_rs_rate_scale_perform()
1842 win = &(tbl->win[idx]); in il4965_rs_rate_scale_perform()
1851 fail_count = win->counter - win->success_counter; in il4965_rs_rate_scale_perform()
1855 win->success_counter, win->counter, idx); in il4965_rs_rate_scale_perform()
1884 win->success_ratio, win->average_tpt, in il4965_rs_rate_scale_perform()
[all …]
/drivers/gpu/drm/rockchip/
A Drockchip_drm_vop2.c1078 vop2_win_disable(win); in vop2_plane_atomic_disable()
1264 vop2_win_write(win, VOP2_WIN_AXI_BUS_ID, win->data->axi_bus_id); in vop2_plane_atomic_update()
1265 vop2_win_write(win, VOP2_WIN_AXI_YRGB_R_ID, win->data->axi_yrgb_r_id); in vop2_plane_atomic_update()
1266 vop2_win_write(win, VOP2_WIN_AXI_UV_R_ID, win->data->axi_uv_r_id); in vop2_plane_atomic_update()
2301 drm_plane_create_zpos_property(&win->base, win->win_id, 0, in vop2_plane_init()
2340 struct vop2_win *win; in vop2_create_crtcs() local
2386 win = &vop2->win[j]; in vop2_create_crtcs()
2419 win = &vop2->win[i]; in vop2_create_crtcs()
2560 win = &vop2->win[i]; in vop2_win_init()
2564 win->win_id = i; in vop2_win_init()
[all …]
A Drockchip_drm_vop.c45 vop_reg_set(vop, &win->phy->name, win->base, ~0, v, #name)
47 vop_reg_set(vop, &win->phy->scl->name, win->base, ~0, v, #name)
50 win->base, ~0, v, #name)
88 vop_read_reg(vop, win->base, &win->phy->name)
91 (!!(win->phy->name.mask))
94 vop_readl(vop, win->base + win->phy->yrgb_mst.offset)
97 ((vop_win) - (vop_win)->vop->win)
187 struct vop_win win[]; member
404 if (!win->phy->scl->ext) { in scl_vop_cal_scl_fac()
608 if (win->phy->scl && win->phy->scl->ext) { in vop_win_disable()
[all …]
/drivers/gpu/drm/exynos/
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
381 for (win = 0; win < WINDOWS_NR; win++) { in fimd_clear_channels()
[all …]
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 …]
A Dexynos7_drm_decon.c118 unsigned int win, bool protect) in decon_shadow_protect_win() argument
152 unsigned int win, ch_enabled = 0; in decon_clear_channels() local
156 for (win = 0; win < WINDOWS_NR; win++) { in decon_clear_channels()
157 val = readl(ctx->regs + WINCON(win)); in decon_clear_channels()
323 val = readl(ctx->regs + WINCON(win)); in decon_win_set_pixfmt()
386 writel(val, ctx->regs + WINCON(win)); in decon_win_set_pixfmt()
425 unsigned int win = plane->index; in decon_update_plane() local
493 decon_win_set_pixfmt(ctx, win, fb); in decon_update_plane()
496 if (win != 0) in decon_update_plane()
497 decon_win_set_colkey(ctx, win); in decon_update_plane()
[all …]
/drivers/usb/host/
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()
/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()
885 *rentry->res = win->res; in acpi_dev_new_resource_entry()
886 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
896 struct resource_win win; in acpi_dev_process_resource() local
912 memset(&win, 0, sizeof(win)); in acpi_dev_process_resource()
995 struct resource_win win; in is_memory() local
[all …]
/drivers/media/i2c/
A Dov772x.c657 fsize = win->sizeimage; in ov772x_set_frame_rate()
662 fsize = win->sizeimage * 2; in ov772x_set_frame_rate()
952 priv->win); in ov772x_s_power()
981 win = &ov772x_win_sizes[i]; in ov772x_select_win()
985 return win; in ov772x_select_win()
1205 mf->width = priv->win->rect.width; in ov772x_get_fmt()
1221 const struct ov772x_win_size *win; in ov772x_set_fmt() local
1230 mf->width = win->rect.width; in ov772x_set_fmt()
1231 mf->height = win->rect.height; in ov772x_set_fmt()
1260 priv->win = win; in ov772x_set_fmt()
[all …]
/drivers/spi/
A Dspi-aspeed-smc.c415 win->offset = 0; in aspeed_spi_chip_set_default_window()
426 aspi->ahb_base_phy + win->offset + win->size - 1, in aspeed_spi_chip_set_default_window()
427 win->size >> 20); in aspeed_spi_chip_set_default_window()
452 win->cs, start, end - 1, win->size >> 20); in aspeed_spi_set_window()
457 if (win->size) in aspeed_spi_set_window()
459 win->cs, start, end - 1, win->size >> 20); in aspeed_spi_set_window()
513 win->size = size; in aspeed_spi_chip_adjust_window()
515 if (win->offset + win->size > aspi->ahb_window_size) { in aspeed_spi_chip_adjust_window()
516 win->size = aspi->ahb_window_size - win->offset; in aspeed_spi_chip_adjust_window()
536 if ((next->offset + next->size) > (win->offset + win->size)) in aspeed_spi_chip_adjust_window()
[all …]
/drivers/pcmcia/
A Dpcmcia_resource.c428 pccard_mem_map *win; in pcmcia_release_window() local
438 win = &s->win[w]; in pcmcia_release_window()
452 if (win->res) { in pcmcia_release_window()
455 kfree(win->res); in pcmcia_release_window()
456 win->res = NULL; in pcmcia_release_window()
837 pccard_mem_map *win; in pcmcia_request_window() local
875 win = &s->win[w]; in pcmcia_request_window()
880 if (!win->res) { in pcmcia_request_window()
889 win->map = w+1; in pcmcia_request_window()
891 win->speed = speed; in pcmcia_request_window()
[all …]
A Dpcmcia_cis.c213 i = (io->win[1].len > io->win[0].len); in pcmcia_do_loop_config()
215 p_dev->resource[1]->start = io->win[1-i].base; in pcmcia_do_loop_config()
216 p_dev->resource[1]->end = io->win[1-i].len; in pcmcia_do_loop_config()
218 p_dev->resource[0]->start = io->win[i].base; in pcmcia_do_loop_config()
219 p_dev->resource[0]->end = io->win[i].len; in pcmcia_do_loop_config()
232 p_dev->resource[2]->start = mem->win[0].host_addr; in pcmcia_do_loop_config()
233 p_dev->resource[2]->end = mem->win[0].len; in pcmcia_do_loop_config()
236 p_dev->card_addr = mem->win[0].card_addr; in pcmcia_do_loop_config()
/drivers/video/fbdev/mmp/hw/
A Dmmp_ctrl.c125 tmp |= fmt_to_reg(overlay, overlay->win.pix_fmt); in dmafetch_set_fmt()
134 memcpy(&overlay->win, win, sizeof(struct mmp_win)); in overlay_set_win()
139 writel_relaxed(win->pitch[0], in overlay_set_win()
141 writel_relaxed(win->pitch[2] << 16 | win->pitch[1], in overlay_set_win()
144 writel_relaxed((win->ysrc << 16) | win->xsrc, in overlay_set_win()
146 writel_relaxed((win->ydst << 16) | win->xdst, in overlay_set_win()
148 writel_relaxed(win->ypos << 16 | win->xpos, in overlay_set_win()
151 writel_relaxed(win->pitch[0], (void __iomem *)&regs->g_pitch); in overlay_set_win()
153 writel_relaxed((win->ysrc << 16) | win->xsrc, in overlay_set_win()
155 writel_relaxed((win->ydst << 16) | win->xdst, in overlay_set_win()
[all …]
/drivers/video/fbdev/omap/
A Domapfb_main.c704 if (win->x >= xres || win->y >= yres || in omapfb_update_window_async()
712 if (win->x + win->width > xres) in omapfb_update_window_async()
713 win->width = xres - win->x; in omapfb_update_window_async()
714 if (win->y + win->height > yres) in omapfb_update_window_async()
715 win->height = yres - win->y; in omapfb_update_window_async()
716 if (win->out_x + win->out_width > xres) in omapfb_update_window_async()
717 win->out_width = xres - win->out_x; in omapfb_update_window_async()
718 if (win->out_y + win->out_height > yres) in omapfb_update_window_async()
719 win->out_height = yres - win->out_y; in omapfb_update_window_async()
720 if (!win->width || !win->height || !win->out_width || !win->out_height) in omapfb_update_window_async()
[all …]
/drivers/pci/controller/
A Dpcie-rcar.c63 void rcar_pcie_set_outbound(struct rcar_pcie *pcie, int win, in rcar_pcie_set_outbound() argument
72 rcar_pci_write_reg(pcie, 0x00000000, PCIEPTCTLR(win)); in rcar_pcie_set_outbound()
83 rcar_pci_write_reg(pcie, mask << 7, PCIEPAMR(win)); in rcar_pcie_set_outbound()
90 rcar_pci_write_reg(pcie, upper_32_bits(res_start), PCIEPAUR(win)); in rcar_pcie_set_outbound()
92 PCIEPALR(win)); in rcar_pcie_set_outbound()
99 rcar_pci_write_reg(pcie, mask, PCIEPTCTLR(win)); in rcar_pcie_set_outbound()
A Dpci-ixp4xx.c385 struct resource_entry *win; in ixp4xx_pci_parse_map_ranges() local
390 if (win) { in ixp4xx_pci_parse_map_ranges()
393 res = win->res; in ixp4xx_pci_parse_map_ranges()
394 addr = res->start - win->offset; in ixp4xx_pci_parse_map_ranges()
415 win = resource_list_first_type(&bridge->windows, IORESOURCE_IO); in ixp4xx_pci_parse_map_ranges()
416 if (win) { in ixp4xx_pci_parse_map_ranges()
417 res = win->res; in ixp4xx_pci_parse_map_ranges()
443 struct resource_entry *win; in ixp4xx_pci_parse_map_dma_ranges() local
449 if (win) { in ixp4xx_pci_parse_map_dma_ranges()
450 res = win->res; in ixp4xx_pci_parse_map_dma_ranges()
[all …]
/drivers/ata/
A Dahci_mvebu.c27 #define AHCI_WINDOW_CTRL(win) (0x60 + ((win) << 4)) argument
28 #define AHCI_WINDOW_BASE(win) (0x64 + ((win) << 4)) argument
29 #define AHCI_WINDOW_SIZE(win) (0x68 + ((win) << 4)) argument

Completed in 108 milliseconds

1234