/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | vas-debug.c | 37 if (!window->hvwc_map) in info_show() 64 if (!window->hvwc_map) in hvwc_show() 111 if (window->dbgdir) { in vas_window_free_dbgdir() 113 kfree(window->dbgname); in vas_window_free_dbgdir() 114 window->dbgdir = NULL; in vas_window_free_dbgdir() 115 window->dbgname = NULL; in vas_window_free_dbgdir() 123 if (!window->vinst->dbgdir) in vas_window_init_dbgdir() 127 if (!window->vas_win.dbgname) in vas_window_init_dbgdir() 130 snprintf(window->vas_win.dbgname, 16, "w%d", window->vas_win.winid); in vas_window_init_dbgdir() 132 d = debugfs_create_dir(window->vas_win.dbgname, window->vinst->dbgdir); in vas_window_init_dbgdir() [all …]
|
H A D | vas-window.c | 201 if (!window->hvwc_map || !window->uwc_map) { in map_winctx_mmio_bars() 532 kfree(window); in vas_window_free() 546 window = kzalloc(sizeof(*window), GFP_KERNEL); in vas_window_alloc() 547 if (!window) in vas_window_alloc() 558 return window; in vas_window_alloc() 653 if (!window->user_win && !window->tx_win) { in set_vinst_win() 655 vinst->rxwin[window->vas_win.cop] = window; in set_vinst_win() 675 if (!window->user_win && !window->tx_win) { in clear_vinst_win() 1400 if (!window->tx_win || !window->user_win || !window->nx_win || in vas_pswid_to_window() 1404 winid, window->tx_win, window->user_win, in vas_pswid_to_window() [all …]
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | ichxrom.c | 80 if (window->virt) { in ichxrom_cleanup() 82 window->virt = NULL; in ichxrom_cleanup() 83 window->phys = 0; in ichxrom_cleanup() 84 window->size = 0; in ichxrom_cleanup() 110 window->pdev = pdev; in ichxrom_init_one() 113 window->phys = 0; in ichxrom_init_one() 158 window->size = (0xffffffffUL - window->phys) + 1UL; in ichxrom_init_one() 176 window->rsrc.start = window->phys; in ichxrom_init_one() 177 window->rsrc.end = window->phys + window->size - 1; in ichxrom_init_one() 187 window->virt = ioremap(window->phys, window->size); in ichxrom_init_one() [all …]
|
H A D | amd76xrom.c | 74 if (window->pdev) { in amd76xrom_cleanup() 94 if (window->virt) { in amd76xrom_cleanup() 96 window->virt = NULL; in amd76xrom_cleanup() 97 window->phys = 0; in amd76xrom_cleanup() 98 window->size = 0; in amd76xrom_cleanup() 114 window->pdev = pdev; in amd76xrom_init_one() 137 window->size = 0xffffffffUL - window->phys + 1UL; in amd76xrom_init_one() 147 window->rsrc.start = window->phys; in amd76xrom_init_one() 148 window->rsrc.end = window->phys + window->size - 1; in amd76xrom_init_one() 166 window->virt = ioremap(window->phys, window->size); in amd76xrom_init_one() [all …]
|
H A D | esb2rom.c | 139 if (window->virt) { in esb2rom_cleanup() 141 window->virt = NULL; in esb2rom_cleanup() 142 window->phys = 0; in esb2rom_cleanup() 143 window->size = 0; in esb2rom_cleanup() 187 window->phys = 0; in esb2rom_init_one() 223 window->size = (0xffffffffUL - window->phys) + 1UL; in esb2rom_init_one() 241 window->rsrc.start = window->phys; in esb2rom_init_one() 242 window->rsrc.end = window->phys + window->size - 1; in esb2rom_init_one() 252 window->virt = ioremap(window->phys, window->size); in esb2rom_init_one() 253 if (!window->virt) { in esb2rom_init_one() [all …]
|
H A D | ck804xrom.c | 87 if (window->pdev) { in ck804xrom_cleanup() 106 if (window->virt) { in ck804xrom_cleanup() 108 window->virt = NULL; in ck804xrom_cleanup() 109 window->phys = 0; in ck804xrom_cleanup() 110 window->size = 0; in ck804xrom_cleanup() 166 window->size = 0xffffffffUL - window->phys + 1UL; in ck804xrom_init_one() 176 window->rsrc.start = window->phys; in ck804xrom_init_one() 177 window->rsrc.end = window->phys + window->size - 1; in ck804xrom_init_one() 194 window->virt = ioremap(window->phys, window->size); in ck804xrom_init_one() 195 if (!window->virt) { in ck804xrom_init_one() [all …]
|
/openbmc/linux/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()
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_windowed.S | 70 .irp window, 4, 8, 12 81 .macro underflow_test window 94 movi a3, (\window) / 4 137 .macro retw_test window 258 .macro callw_test window 259 call\window 2f 287 .macro entry_test window 305 rotw -(\window) / 4 320 movi a2, \window 350 .irp window, 4, 8, 12 [all …]
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_compress_internal.h | 900 size_t const endT = (size_t)(window->nextSrc - window->base); in ZSTD_window_clear() 911 (window.nextSrc - window.base) == ZSTD_WINDOW_START_INDEX; in ZSTD_window_isEmpty() 920 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict() 1138 if (window->dictLimit < window->lowLimit) { in ZSTD_window_enforceMaxDist() 1141 window->dictLimit = window->lowLimit; in ZSTD_window_enforceMaxDist() 1185 ZSTD_memset(window, 0, sizeof(*window)); in ZSTD_window_init() 1218 window->lowLimit = window->dictLimit; in ZSTD_window_update() 1221 window->dictBase = window->base; in ZSTD_window_update() 1224 …if (window->dictLimit - window->lowLimit < HASH_READ_SIZE) window->lowLimit = window->dictLimit; … in ZSTD_window_update() 1229 if ( (ip+srcSize > window->dictBase + window->lowLimit) in ZSTD_window_update() [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | host-bridge.c | 55 struct resource_entry *window; in pcibios_resource_to_bus() local 58 resource_list_for_each_entry(window, &bridge->windows) { in pcibios_resource_to_bus() 59 if (resource_contains(window->res, res)) { in pcibios_resource_to_bus() 60 offset = window->offset; in pcibios_resource_to_bus() 80 struct resource_entry *window; in pcibios_bus_to_resource() local 83 resource_list_for_each_entry(window, &bridge->windows) { in pcibios_bus_to_resource() 86 if (resource_type(res) != resource_type(window->res)) in pcibios_bus_to_resource() 89 bus_region.start = window->res->start - window->offset; in pcibios_bus_to_resource() 90 bus_region.end = window->res->end - window->offset; in pcibios_bus_to_resource() 93 offset = window->offset; in pcibios_bus_to_resource()
|
/openbmc/phosphor-mboxd/ |
H A D | mboxd_windows.c | 43 window->mem = NULL; in init_window_state() 45 window->size = size; in init_window_state() 46 window->dirty_bmap = NULL; in init_window_state() 47 window->age = 0; in init_window_state() 110 if (!context->windows.window) { in init_windows() 132 if (context->windows.window) { in free_windows() 136 free(context->windows.window); in free_windows() 343 cur = &context->windows.window[i]; in alloc_window_dirty_bytemap() 422 window->age = 0; in reset_window() 459 cur = &context->windows.window[i]; in find_oldest_window() [all …]
|
/openbmc/qemu/hw/vfio/ |
H A D | pci-quirks.c | 128 if ((data & ~window->matches[i].mask) == window->matches[i].match) { in vfio_generic_window_quirk_address_write() 130 window->address_val = data & window->matches[i].mask; in vfio_generic_window_quirk_address_write() 456 window = quirk->data = g_malloc0(sizeof(*window) + in vfio_probe_ati_bar4_quirk() 458 window->vdev = vdev; in vfio_probe_ati_bar4_quirk() 460 window->data_offset = 4; in vfio_probe_ati_bar4_quirk() 461 window->nr_matches = 1; in vfio_probe_ati_bar4_quirk() 464 window->bar = nr; in vfio_probe_ati_bar4_quirk() 795 window = &bar5->window; in vfio_probe_nvidia_bar5_quirk() 797 window->vdev = vdev; in vfio_probe_nvidia_bar5_quirk() 800 window->nr_matches = 2; in vfio_probe_nvidia_bar5_quirk() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | au1200fb.c | 897 D(lcd->window[0].winctrl0); in au1200_setpanel() 898 D(lcd->window[0].winctrl1); in au1200_setpanel() 899 D(lcd->window[0].winctrl2); in au1200_setpanel() 900 D(lcd->window[0].winbuf0); in au1200_setpanel() 901 D(lcd->window[0].winbuf1); in au1200_setpanel() 906 D(lcd->window[1].winbuf0); in au1200_setpanel() 907 D(lcd->window[1].winbuf1); in au1200_setpanel() 912 D(lcd->window[2].winbuf0); in au1200_setpanel() 913 D(lcd->window[2].winbuf1); in au1200_setpanel() 918 D(lcd->window[3].winbuf0); in au1200_setpanel() [all …]
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 436 if (window->offset == offset && window->size == size) 437 return window; 474 window = kzalloc_node(sizeof(*window), GFP_KERNEL, iommu->nid); in cell_iommu_setup_window() 478 window->size = size; in cell_iommu_setup_window() 479 window->ioid = ioid; in cell_iommu_setup_window() 480 window->iommu = iommu; in cell_iommu_setup_window() 488 window->table.it_size = size >> window->table.it_page_shift; in cell_iommu_setup_window() 503 return window; in cell_iommu_setup_window() 518 tce_build_cell(&window->table, window->table.it_offset, 1, in cell_iommu_setup_window() 521 return window; in cell_iommu_setup_window() [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | i3200_edac.c | 100 void __iomem *window; member 185 void __iomem *window = priv->window; in i3200_get_and_clear_error_info() local 269 void __iomem *window; in i3200_map_mchbar() local 283 if (!window) in i3200_map_mchbar() 287 return window; in i3200_map_mchbar() 343 void __iomem *window; in i3200_probe1() local 349 if (!window) in i3200_probe1() 352 i3200_get_drbs(window, drbs); in i3200_probe1() 380 priv->window = window; in i3200_probe1() 424 iounmap(window); in i3200_probe1() [all …]
|
H A D | x38_edac.c | 168 void __iomem *window = mci->pvt_info; in x38_get_and_clear_error_info() local 197 lo_hi_readq(window + X38_C1ECCERRLOG); in x38_get_and_clear_error_info() 254 void __iomem *window; in x38_map_mchbar() local 269 if (!window) in x38_map_mchbar() 273 return window; in x38_map_mchbar() 325 void __iomem *window; in x38_probe1() local 329 window = x38_map_mchbar(pdev); in x38_probe1() 330 if (!window) in x38_probe1() 333 x38_get_drbs(window, drbs); in x38_probe1() 361 mci->pvt_info = window; in x38_probe1() [all …]
|
/openbmc/hiomapd/ |
H A D | windows.c | 46 window->mem = NULL; in init_window_state() 48 window->size = size; in init_window_state() 49 window->dirty_bmap = NULL; in init_window_state() 50 window->age = 0; in init_window_state() 113 if (!context->windows.window) { in windows_init() 135 if (context->windows.window) { in windows_free() 139 free(context->windows.window); in windows_free() 348 cur = &context->windows.window[i]; in windows_alloc_dirty_bytemap() 421 window->age = 0; in window_reset() 465 cur = &context->windows.window[i]; in windows_find_oldest() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | exynos4210_fimd.c | 507 switch (window) { in exynos4210_fimd_palette_format() 1290 w = &s->window[i]; in exynos4210_fimd_update() 1355 s->window[w].blendeq = 0xC2; in exynos4210_fimd_reset() 1434 s->window[w].wincon = val; in exynos4210_fimd_write() 1518 s->window[w].buf_end[i] = val; in exynos4210_fimd_write() 1541 s->window[w].keycon[i] = val; in exynos4210_fimd_write() 1545 s->window[w].keyalpha = val; in exynos4210_fimd_write() 1553 s->window[w].winmap = val; in exynos4210_fimd_write() 1669 s->window[w].palette[i] = val; in exynos4210_fimd_write() 1748 return s->window[w].virtpage_width | (s->window[w].virtpage_offsize << in exynos4210_fimd_read() [all …]
|
/openbmc/openbmc-tools/dbus-vis/ |
H A D | renderer.js | 35 window.addEventListener('resize', this.update); 39 console.log('update, ' + window.innerWidth + ' x ' + window.innerHeight); 41 this.width1 = window.innerWidth; 42 this.height1 = window.innerHeight; 52 window.requestAnimationFrame(this.run);
|
/openbmc/linux/drivers/pci/endpoint/ |
H A D | pci-epc-mem.c | 26 unsigned int page_shift = ilog2(mem->window.page_size); in pci_epc_mem_get_order() 92 mem->window.phys_base = windows[i].phys_base; in pci_epc_multi_mem_init() 93 mem->window.size = windows[i].size; in pci_epc_multi_mem_init() 94 mem->window.page_size = page_size; in pci_epc_multi_mem_init() 192 align_size = ALIGN(size, mem->window.page_size); in pci_epc_mem_alloc_addr() 198 page_shift = ilog2(mem->window.page_size); in pci_epc_mem_alloc_addr() 199 *phys_addr = mem->window.phys_base + in pci_epc_mem_alloc_addr() 227 if (phys_addr >= mem->window.phys_base && in pci_epc_get_matching_window() 228 phys_addr < (mem->window.phys_base + mem->window.size)) in pci_epc_get_matching_window() 259 page_size = mem->window.page_size; in pci_epc_mem_free_addr() [all …]
|
/openbmc/linux/tools/perf/ui/gtk/ |
H A D | annotate.c | 154 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__annotate_symbol() 169 GtkWidget *window; in symbol__gtk_annotate() local 190 window = pgctx->main_window; in symbol__gtk_annotate() 203 window = gtk_window_new(GTK_WINDOW_TOPLEVEL); in symbol__gtk_annotate() 204 gtk_window_set_title(GTK_WINDOW(window), "perf annotate"); in symbol__gtk_annotate() 208 pgctx = perf_gtk__activate_context(window); in symbol__gtk_annotate() 227 gtk_container_add(GTK_CONTAINER(window), vbox); in symbol__gtk_annotate() 253 GtkWidget *window; in perf_gtk__show_annotations() local 258 window = pgctx->main_window; in perf_gtk__show_annotations() 259 gtk_widget_show_all(window); in perf_gtk__show_annotations() [all …]
|
/openbmc/webui-vue/src/views/Operations/Kvm/ |
H A D | KvmConsole.vue | 67 terminalClass: this.isFullWindow ? 'full-window' : '', 68 marginClass: this.isFullWindow ? 'margin-left-full-window' : '', 99 window.removeEventListener('resize', this.resizeKvmWindow); 114 `wss://${window.location.host}/kvm/0`, 125 window.addEventListener('resize', this.resizeKvmWindow); 150 // Check the newly opened window is closed or not 152 // If window is not closed set focus to new window 153 // If window is closed, do open new window 161 // If consoleWindow is null, open new window 166 this.$eventBus.$consoleWindow = window.open( [all …]
|
/openbmc/phosphor-mboxd/Documentation/ |
H A D | mbox_protocol.md | 72 window or a write window onto the flash. 79 window can be a read or a write window. The commands allow to control which 82 * A read window can be a direct window to the flash controller space (ie. 242 address to access this window and the window size. The host must not access 259 write window). If the new window is successfully opened then it is the new 260 active window, if the command fails then there is no active window and the 265 if the active window is a read window or if there is no active window. 315 active window it has been closed by the BMC and if it was a write window 391 WINDOW_ERROR - Command not valid for active window or no active window 545 active window. [all …]
|
/openbmc/linux/Documentation/driver-api/media/drivers/ |
H A D | sh_mobile_ceu_camera.rst | 64 (6) to (6') - CEU scale - user window 77 current sensor scales onto input window - this is user S_CROP: 81 3. Calculate new combined scales from "effective" input window to requested user 82 window: 86 4. Calculate sensor output window by applying combined scales to real input 87 window: 91 5. Apply iterative sensor S_FMT for sensor output window. 95 6. Retrieve sensor output window (g_fmt) 107 9. Use CEU cropping to crop to the new window: 111 10. Use CEU scaling to scale to the requested user window: [all …]
|
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-app/ |
H A D | xprop_1.2.7.bb | 3 SUMMARY = "Utility to display window and font properties of an X server" 5 DESCRIPTION = "The xprop utility is for displaying window and font \ 6 properties in an X server. One window or font is selected using the \ 7 command line arguments or possibly in the case of a window, by clicking \ 8 on the desired window. A list of properties is then given, possibly with \
|