| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/ |
| H A D | vas-debug.c | 31 struct vas_window *window = s->private; in info_show() local 36 if (!window->hvwc_map) in info_show() 39 seq_printf(s, "Type: %s, %s\n", cop_to_str(window->cop), in info_show() 40 window->tx_win ? "Send" : "Receive"); in info_show() 41 seq_printf(s, "Pid : %d\n", vas_window_pid(window)); in info_show() 58 struct vas_window *window = s->private; in hvwc_show() local 63 if (!window->hvwc_map) in hvwc_show() 66 print_reg(s, window, VREG(LPID)); in hvwc_show() 67 print_reg(s, window, VREG(PID)); in hvwc_show() 68 print_reg(s, window, VREG(XLATE_MSR)); in hvwc_show() [all …]
|
| H A D | vas-window.c | 29 void vas_win_paste_addr(struct vas_window *window, u64 *addr, int *len) in vas_win_paste_addr() argument 34 base = window->vinst->paste_base_addr; in vas_win_paste_addr() 35 shift = window->vinst->paste_win_id_shift; in vas_win_paste_addr() 36 winid = window->winid; in vas_win_paste_addr() 45 static inline void get_hvwc_mmio_bar(struct vas_window *window, in get_hvwc_mmio_bar() argument 50 pbaddr = window->vinst->hvwc_bar_start; in get_hvwc_mmio_bar() 51 *start = pbaddr + window->winid * VAS_HVWC_SIZE; in get_hvwc_mmio_bar() 55 static inline void get_uwc_mmio_bar(struct vas_window *window, in get_uwc_mmio_bar() argument 60 pbaddr = window->vinst->uwc_bar_start; in get_uwc_mmio_bar() 61 *start = pbaddr + window->winid * VAS_UWC_SIZE; in get_uwc_mmio_bar() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/maps/ |
| H A D | ichxrom.c | 57 static void ichxrom_cleanup(struct ichxrom_window *window) in ichxrom_cleanup() argument 64 ret = pci_read_config_word(window->pdev, BIOS_CNTL, &word); in ichxrom_cleanup() 66 pci_write_config_word(window->pdev, BIOS_CNTL, word & ~1); in ichxrom_cleanup() 67 pci_dev_put(window->pdev); in ichxrom_cleanup() 70 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ichxrom_cleanup() 78 if (window->rsrc.parent) in ichxrom_cleanup() 79 release_resource(&window->rsrc); in ichxrom_cleanup() 80 if (window->virt) { in ichxrom_cleanup() 81 iounmap(window->virt); in ichxrom_cleanup() 82 window->virt = NULL; in ichxrom_cleanup() [all …]
|
| H A D | amd76xrom.c | 69 static void amd76xrom_cleanup(struct amd76xrom_window *window) in amd76xrom_cleanup() argument 74 if (window->pdev) { in amd76xrom_cleanup() 76 pci_read_config_byte(window->pdev, 0x40, &byte); in amd76xrom_cleanup() 77 pci_write_config_byte(window->pdev, 0x40, byte & ~1); in amd76xrom_cleanup() 78 pci_dev_put(window->pdev); in amd76xrom_cleanup() 82 list_for_each_entry_safe(map, scratch, &window->maps, list) { in amd76xrom_cleanup() 91 if (window->rsrc.parent) in amd76xrom_cleanup() 92 release_resource(&window->rsrc); in amd76xrom_cleanup() 94 if (window->virt) { in amd76xrom_cleanup() 95 iounmap(window->virt); in amd76xrom_cleanup() [all …]
|
| H A D | esb2rom.c | 118 static void esb2rom_cleanup(struct esb2rom_window *window) in esb2rom_cleanup() argument 124 pci_read_config_byte(window->pdev, BIOS_CNTL, &byte); in esb2rom_cleanup() 125 pci_write_config_byte(window->pdev, BIOS_CNTL, in esb2rom_cleanup() 129 list_for_each_entry_safe(map, scratch, &window->maps, list) { in esb2rom_cleanup() 137 if (window->rsrc.parent) in esb2rom_cleanup() 138 release_resource(&window->rsrc); in esb2rom_cleanup() 139 if (window->virt) { in esb2rom_cleanup() 140 iounmap(window->virt); in esb2rom_cleanup() 141 window->virt = NULL; in esb2rom_cleanup() 142 window->phys = 0; in esb2rom_cleanup() [all …]
|
| H A D | ck804xrom.c | 82 static void ck804xrom_cleanup(struct ck804xrom_window *window) in ck804xrom_cleanup() argument 87 if (window->pdev) { in ck804xrom_cleanup() 89 pci_read_config_byte(window->pdev, 0x6d, &byte); in ck804xrom_cleanup() 90 pci_write_config_byte(window->pdev, 0x6d, byte & ~1); in ck804xrom_cleanup() 94 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ck804xrom_cleanup() 103 if (window->rsrc.parent) in ck804xrom_cleanup() 104 release_resource(&window->rsrc); in ck804xrom_cleanup() 106 if (window->virt) { in ck804xrom_cleanup() 107 iounmap(window->virt); in ck804xrom_cleanup() 108 window->virt = NULL; in ck804xrom_cleanup() [all …]
|
| /OK3568_Linux_fs/external/xserver/present/ |
| H A D | present_wnmd.c | 47 WindowPtr window, in present_wnmd_queue_vblank() argument 53 return (*screen_priv->wnmd_info->queue_vblank) (window, crtc, event_id, msc); in present_wnmd_queue_vblank() 69 present_wnmd_get_crtc(present_screen_priv_ptr screen_priv, WindowPtr window) in present_wnmd_get_crtc() argument 71 return (*screen_priv->wnmd_info->get_crtc)(window); in present_wnmd_get_crtc() 75 present_wnmd_get_ust_msc(ScreenPtr screen, WindowPtr window, uint64_t *ust, uint64_t *msc) in present_wnmd_get_ust_msc() argument 78 return (*screen_priv->wnmd_info->get_ust_msc)(window, ust, msc); in present_wnmd_get_ust_msc() 90 (void) present_wnmd_get_ust_msc(vblank->screen, vblank->window, &ust, &crtc_msc); in present_wnmd_re_execute() 95 present_wnmd_flip_try_ready(WindowPtr window) in present_wnmd_flip_try_ready() argument 97 present_window_priv_ptr window_priv = present_window_priv(window); in present_wnmd_flip_try_ready() 111 present_pixmap_idle(vblank->pixmap, vblank->window, vblank->serial, vblank->idle_fence); in present_wnmd_free_idle_vblank() [all …]
|
| H A D | present_screen.c | 37 present_get_window_priv(WindowPtr window, Bool create) in present_get_window_priv() argument 39 present_window_priv_ptr window_priv = present_window_priv(window); in present_get_window_priv() 53 window_priv->window = window; in present_get_window_priv() 55 dixSetPrivate(&window->devPrivates, &present_window_private_key, window_priv); in present_get_window_priv() 79 present_free_window_vblank(WindowPtr window) in present_free_window_vblank() argument 81 ScreenPtr screen = window->drawable.pScreen; in present_free_window_vblank() 83 present_window_priv_ptr window_priv = present_window_priv(window); in present_free_window_vblank() 87 …screen_priv->abort_vblank(window->drawable.pScreen, window, vblank->crtc, vblank->event_id, vblank… in present_free_window_vblank() 96 present_clear_window_flip(WindowPtr window) in present_clear_window_flip() argument 98 ScreenPtr screen = window->drawable.pScreen; in present_clear_window_flip() [all …]
|
| H A D | present_scmd.c | 72 WindowPtr window, in present_check_flip() argument 80 ScreenPtr screen = window->drawable.pScreen; in present_check_flip() 102 window_pixmap = screen->GetWindowPixmap(window); in present_check_flip() 109 if (!RegionEqual(&window->clipList, &root->winSize)) { in present_check_flip() 124 if (window->drawable.x != 0 || window->drawable.y != 0 || in present_check_flip() 126 window->drawable.x != pixmap->screen_x || window->drawable.y != pixmap->screen_y || in present_check_flip() 128 window->drawable.width != pixmap->drawable.width || in present_check_flip() 129 window->drawable.height != pixmap->drawable.height) { in present_check_flip() 135 if (!(*screen_priv->info->check_flip2) (crtc, window, pixmap, sync_flip, reason)) { in present_check_flip() 136 …DebugPresent(("\td %08" PRIx32 " -> %08" PRIx32 "\n", window->drawable.id, pixmap ? pixmap->drawab… in present_check_flip() [all …]
|
| H A D | present.c | 58 present_get_crtc(WindowPtr window) in present_get_crtc() argument 60 ScreenPtr screen = window->drawable.pScreen; in present_get_crtc() 66 return screen_priv->get_crtc(screen_priv, window); in present_get_crtc() 106 present_pixmap_idle(PixmapPtr pixmap, WindowPtr window, CARD32 serial, struct present_fence *presen… in present_pixmap_idle() argument 110 if (window) { in present_pixmap_idle() 112 present_send_idle_notify(window, serial, pixmap, present_fence); in present_pixmap_idle() 122 present_set_tree_pixmap_visit(WindowPtr window, void *data) in present_set_tree_pixmap_visit() argument 125 ScreenPtr screen = window->drawable.pScreen; in present_set_tree_pixmap_visit() 127 if ((*screen->GetWindowPixmap)(window) != visit->old) in present_set_tree_pixmap_visit() 129 (*screen->SetWindowPixmap)(window, visit->new); in present_set_tree_pixmap_visit() [all …]
|
| H A D | present_event.c | 35 present_window_priv_ptr window_priv = present_window_priv(present_event->window); in present_free_event() 50 present_free_events(WindowPtr window) in present_free_events() argument 52 present_window_priv_ptr window_priv = present_window_priv(window); in present_free_events() 74 swapl(&c->window); in present_event_swap() 90 swapl(&c->window); in present_event_swap() 100 swapl(&c->window); in present_event_swap() 109 present_send_config_notify(WindowPtr window, int x, int y, int w, int h, int bw, WindowPtr sibling) in present_send_config_notify() argument 111 present_window_priv_ptr window_priv = present_window_priv(window); in present_send_config_notify() 120 .window = window->drawable.id, in present_send_config_notify() 151 present_send_complete_notify(WindowPtr window, CARD8 kind, CARD8 mode, CARD32 serial, uint64_t ust,… in present_send_complete_notify() argument [all …]
|
| H A D | present_priv.h | 55 WindowPtr window; member 63 WindowPtr window; member 98 WindowPtr window); 101 WindowPtr window, 108 typedef void (*present_priv_check_flip_window_ptr)(WindowPtr window); 109 typedef Bool (*present_priv_can_window_flip_ptr)(WindowPtr window); 111 typedef int (*present_priv_pixmap_ptr)(WindowPtr window, 132 WindowPtr window, 136 typedef void (*present_priv_flush_ptr)(WindowPtr window); 140 WindowPtr window, [all …]
|
| H A D | present_execute.c | 47 WindowPtr window = vblank->window; in present_execute_wait() local 48 ScreenPtr screen = window->drawable.pScreen; in present_execute_wait() 55 screen_priv->queue_vblank(screen, window, vblank->crtc, vblank->event_id, in present_execute_wait() 71 WindowPtr window = vblank->window; in present_execute_copy() local 72 ScreenPtr screen = window->drawable.pScreen; in present_execute_copy() 78 window, in present_execute_copy() 86 …present_copy_region(&window->drawable, vblank->pixmap, vblank->update, vblank->x_off, vblank->y_of… in present_execute_copy() 92 screen_priv->flush(window); in present_execute_copy() 94 present_pixmap_idle(vblank->pixmap, vblank->window, vblank->serial, vblank->idle_fence); in present_execute_copy() 105 if (vblank->pixmap && vblank->window) { in present_execute_post()
|
| H A D | present_vblank.c | 34 if (vblank->window) in present_vblank_notify() 35 …present_send_complete_notify(vblank->window, kind, mode, vblank->serial, ust, crtc_msc - vblank->m… in present_vblank_notify() 37 WindowPtr window = vblank->notifies[n].window; in present_vblank_notify() local 40 if (window) in present_vblank_notify() 41 … present_send_complete_notify(window, kind, mode, serial, ust, crtc_msc - vblank->msc_offset); in present_vblank_notify() 46 present_vblank_create(WindowPtr window, in present_vblank_create() argument 63 ScreenPtr screen = window->drawable.pScreen; in present_vblank_create() 64 present_window_priv_ptr window_priv = present_get_window_priv(window, TRUE); in present_vblank_create() 77 vblank->window = window; in present_vblank_create() 116 … screen_priv->check_flip (target_crtc, window, pixmap, TRUE, valid, x_off, y_off, &reason)) in present_vblank_create() [all …]
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-base/ |
| H A D | 0016-xvimagesink-Apply-toplevel-window-s-position.patch | 4 Subject: [PATCH 16/16] xvimagesink: Apply toplevel window's position 30 GstXWindow *window; 37 window = g_slice_new0 (GstXWindow); 39 window->context = gst_xvcontext_ref (context); 40 - window->render_rect.x = window->render_rect.y = 0; 41 + window->render_rect.x = x; 42 + window->render_rect.y = y; 43 window->render_rect.w = width; 44 window->render_rect.h = height; 45 window->have_render_rect = FALSE; [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/ |
| H A D | 0036-waylandsink-Support-transparent-video.patch | 18 @@ -528,17 +528,19 @@ gst_wl_window_resize_video_surface (GstWlWindow * window, gboolean commit) 22 -gst_wl_window_set_opaque (GstWlWindow * window, const GstVideoInfo * info) 23 +gst_wl_window_set_opaque (GstWlWindow * window) 28 - region = wl_compositor_create_region (window->display->compositor); 30 - wl_surface_set_opaque_region (window->area_surface, region); 32 + if (window->area_opaque) { 34 + region = wl_compositor_create_region (window->display->compositor); 36 + wl_surface_set_opaque_region (window->area_surface, region); 41 + if (window->video_opaque) { 43 region = wl_compositor_create_region (window->display->compositor); [all …]
|
| H A D | 0009-waylandsink-Support-setting-toplevel-window-position.patch | 4 Subject: [PATCH 09/33] waylandsink: Support setting toplevel window position 51 if (!sink->window) { 52 /* if we were not provided a window, create one ourselves */ 53 sink->window = gst_wl_window_new_toplevel (sink->display, 57 g_signal_connect_object (sink->window, "closed", 64 - if (!sink->window) { 67 - "set_render_rectangle called without window, ignoring"); 71 - GST_DEBUG_OBJECT (sink, "window geometry changed to (%d, %d) %d x %d", 73 - gst_wl_window_set_render_rectangle (sink->window, x, y, w, h); 74 + if (sink->window) { [all …]
|
| H A D | 0019-waylandsink-Support-window-alpha-property.patch | 4 Subject: [PATCH 19/33] waylandsink: Support window alpha property 35 + "Wayland window alpha", 0.0, 1.0, 1.0, 61 + gst_wl_window_ensure_alpha (sink->window, alpha); 93 sink->window = gst_wl_window_new_toplevel (sink->display, 96 + gst_wl_window_ensure_alpha (sink->window, sink->alpha); 98 g_signal_connect_object (sink->window, "closed", 103 sink->window = gst_wl_window_new_in_surface (sink->display, surface, 105 + gst_wl_window_ensure_alpha (sink->window, sink->alpha); 137 -gst_wl_window_set_flags (GstWlWindow * window, const char *flags) 138 +gst_wl_window_set_config (GstWlWindow * window, const char *config) [all …]
|
| H A D | 0018-waylandsink-Support-window-layer-property.patch | 4 Subject: [PATCH 18/33] waylandsink: Support window layer property 6 Support setting top|normal|bottom window layer. 62 + "Wayland window layer", 89 + gst_wl_window_ensure_layer (sink->window, layer); 121 if (!sink->window) { 122 /* if we were not provided a window, create one ourselves */ 123 sink->window = gst_wl_window_new_toplevel (sink->display, 128 g_signal_connect_object (sink->window, "closed", 148 return window; 152 +gst_wl_window_set_flags (GstWlWindow * window, const char *flags) [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xwayland/ |
| H A D | xwayland.c | 146 xwl_window_get(WindowPtr window) in xwl_window_get() argument 148 return dixLookupPrivate(&window->devPrivates, &xwl_window_private_key); in xwl_window_get() 163 xwl_window->window->drawable.id, allow, debug_msg); in xwl_window_set_allow_commits() 262 xwl_window_from_window(WindowPtr window) in xwl_window_from_window() argument 266 while (window) { in xwl_window_from_window() 267 xwl_window = xwl_window_get(window); in xwl_window_from_window() 271 window = window->parent; in xwl_window_from_window() 292 WindowPtr window, in xwl_cursor_warped_to() argument 304 if (!window) in xwl_cursor_warped_to() 305 window = XYToWindow(sprite, x, y); in xwl_cursor_warped_to() [all …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | windows.c | 64 int window; in synchronize_user_stack() local 71 for(window = tp->w_saved - 1; window >= 0; window--) { in synchronize_user_stack() 72 unsigned long sp = tp->rwbuf_stkptrs[window]; in synchronize_user_stack() 75 if (copy_to_user((char __user *) sp, &tp->reg_window[window], in synchronize_user_stack() 79 shift_window_buffer(window, tp->w_saved - 1, tp); in synchronize_user_stack() 116 int window; in try_to_clear_window_buffer() local 119 for(window = 0; window < tp->w_saved; window++) { in try_to_clear_window_buffer() 120 unsigned long sp = tp->rwbuf_stkptrs[window]; in try_to_clear_window_buffer() 123 copy_to_user((char __user *) sp, &tp->reg_window[window], in try_to_clear_window_buffer()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | au1200fb.c | 136 struct au1200_lcd_window_regs_t window; member 710 winctrl0 = lcd->window[plane].winctrl0; in au1200_setlocation() 711 winctrl1 = lcd->window[plane].winctrl1; in au1200_setlocation() 733 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8); in au1200_setlocation() 761 lcd->window[plane].winctrl0 = winctrl0; in au1200_setlocation() 762 lcd->window[plane].winctrl1 = winctrl1; in au1200_setlocation() 763 lcd->window[plane].winbuf0 = in au1200_setlocation() 764 lcd->window[plane].winbuf1 = fbdev->fb_phys; in au1200_setlocation() 765 lcd->window[plane].winbufctrl = 0; /* select winbuf0 */ in au1200_setlocation() 897 D(lcd->window[0].winctrl0); in au1200_setpanel() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pci/ |
| H A D | host-bridge.c | 54 struct resource_entry *window; in pcibios_resource_to_bus() local 57 resource_list_for_each_entry(window, &bridge->windows) { in pcibios_resource_to_bus() 58 if (resource_contains(window->res, res)) { in pcibios_resource_to_bus() 59 offset = window->offset; in pcibios_resource_to_bus() 79 struct resource_entry *window; in pcibios_bus_to_resource() local 82 resource_list_for_each_entry(window, &bridge->windows) { in pcibios_bus_to_resource() 85 if (resource_type(res) != resource_type(window->res)) in pcibios_bus_to_resource() 88 bus_region.start = window->res->start - window->offset; in pcibios_bus_to_resource() 89 bus_region.end = window->res->end - window->offset; in pcibios_bus_to_resource() 92 offset = window->offset; in pcibios_bus_to_resource()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/cell/ |
| H A D | iommu.c | 160 struct iommu_window *window = in tce_build_cell() local 178 (window->ioid & CBE_IOPTE_IOID_Mask); in tce_build_cell() 181 CBE_IOPTE_SO_RW | (window->ioid & CBE_IOPTE_IOID_Mask); in tce_build_cell() 193 invalidate_tce_cache(window->iommu, io_pte, npages); in tce_build_cell() 205 struct iommu_window *window = in tce_free_cell() local 216 __pa(window->iommu->pad_page) | in tce_free_cell() 217 (window->ioid & CBE_IOPTE_IOID_Mask); in tce_free_cell() 227 invalidate_tce_cache(window->iommu, io_pte, npages); in tce_free_cell() 429 struct iommu_window *window; 433 list_for_each_entry(window, &(iommu->windows), list) { [all …]
|
| /OK3568_Linux_fs/external/xserver/composite/ |
| H A D | compext.c | 148 VERIFY_WINDOW(pWin, stuff->window, client, in ProcCompositeRedirectWindow() 162 VERIFY_WINDOW(pWin, stuff->window, client, in ProcCompositeRedirectSubwindows() 176 VERIFY_WINDOW(pWin, stuff->window, client, in ProcCompositeUnredirectWindow() 190 VERIFY_WINDOW(pWin, stuff->window, client, in ProcCompositeUnredirectSubwindows() 206 VERIFY_WINDOW(pWin, stuff->window, client, DixGetAttrAccess); in ProcCompositeCreateRegionFromBorderClip() 237 VERIFY_WINDOW(pWin, stuff->window, client, DixGetAttrAccess); in ProcCompositeNameWindowPixmap() 288 VERIFY_WINDOW(pWin, stuff->window, client, DixGetAttrAccess); in ProcCompositeGetOverlayWindow() 341 VERIFY_WINDOW(pWin, stuff->window, client, DixGetAttrAccess); in ProcCompositeReleaseOverlayWindow() 397 swapl(&stuff->window); in SProcCompositeRedirectWindow() 408 swapl(&stuff->window); in SProcCompositeRedirectSubwindows() [all …]
|