/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | vas-debug.c | 32 struct pnv_vas_window *window = s->private; in info_show() local 37 if (!window->hvwc_map) in info_show() 40 seq_printf(s, "Type: %s, %s\n", cop_to_str(window->vas_win.cop), in info_show() 41 window->tx_win ? "Send" : "Receive"); in info_show() 42 seq_printf(s, "Pid : %d\n", vas_window_pid(&window->vas_win)); in info_show() 59 struct pnv_vas_window *window = s->private; in hvwc_show() local 64 if (!window->hvwc_map) in hvwc_show() 67 print_reg(s, window, VREG(LPID)); in hvwc_show() 68 print_reg(s, window, VREG(PID)); in hvwc_show() 69 print_reg(s, window, VREG(XLATE_MSR)); in hvwc_show() [all …]
|
H A D | vas-window.c | 30 void vas_win_paste_addr(struct pnv_vas_window *window, u64 *addr, int *len) in vas_win_paste_addr() argument 35 base = window->vinst->paste_base_addr; in vas_win_paste_addr() 36 shift = window->vinst->paste_win_id_shift; in vas_win_paste_addr() 37 winid = window->vas_win.winid; in vas_win_paste_addr() 46 static inline void get_hvwc_mmio_bar(struct pnv_vas_window *window, in get_hvwc_mmio_bar() argument 51 pbaddr = window->vinst->hvwc_bar_start; in get_hvwc_mmio_bar() 52 *start = pbaddr + window->vas_win.winid * VAS_HVWC_SIZE; in get_hvwc_mmio_bar() 56 static inline void get_uwc_mmio_bar(struct pnv_vas_window *window, in get_uwc_mmio_bar() argument 61 pbaddr = window->vinst->uwc_bar_start; in get_uwc_mmio_bar() 62 *start = pbaddr + window->vas_win.winid * VAS_UWC_SIZE; in get_uwc_mmio_bar() [all …]
|
/openbmc/linux/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 …]
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_compress_internal.h | 203 ZSTD_window_t window; /* State for window round buffer management */ member 254 ZSTD_window_t window; /* State for the window round buffer management */ member 898 MEM_STATIC void ZSTD_window_clear(ZSTD_window_t* window) in ZSTD_window_clear() argument 900 size_t const endT = (size_t)(window->nextSrc - window->base); in ZSTD_window_clear() 903 window->lowLimit = end; in ZSTD_window_clear() 904 window->dictLimit = end; in ZSTD_window_clear() 907 MEM_STATIC U32 ZSTD_window_isEmpty(ZSTD_window_t const window) in ZSTD_window_isEmpty() argument 909 return window.dictLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty() 910 window.lowLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty() 911 (window.nextSrc - window.base) == ZSTD_WINDOW_START_INDEX; in ZSTD_window_isEmpty() [all …]
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_windowed.S | 21 .macro overflow_test shift, window, probe_ok, probe_ex 26 movi a2, 1 | (((1 << ((\window) / 4)) | 1) << ((\shift) / 4)) 31 set_vector window_overflow_\window, 10f 54 movi a3, 1 | ((1 << ((\window) / 4)) << ((\shift) / 4)) 61 .macro overflow_tests shift, window, probe 63 overflow_test \shift, \window, %((\shift) - 1), \probe 64 overflow_tests \shift, \window, %((\probe) + 1) 70 .irp window, 4, 8, 12 71 overflow_tests \shift, \window, \shift 81 .macro underflow_test window argument [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/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/qemu/hw/vfio/ |
H A D | pci-quirks.c | 107 VFIOConfigWindowQuirk *window = opaque; in vfio_generic_window_quirk_address_read() local 108 VFIOPCIDevice *vdev = window->vdev; in vfio_generic_window_quirk_address_read() 110 return vfio_region_read(&vdev->bars[window->bar].region, in vfio_generic_window_quirk_address_read() 111 addr + window->address_offset, size); in vfio_generic_window_quirk_address_read() 118 VFIOConfigWindowQuirk *window = opaque; in vfio_generic_window_quirk_address_write() local 119 VFIOPCIDevice *vdev = window->vdev; in vfio_generic_window_quirk_address_write() 122 window->window_enabled = false; in vfio_generic_window_quirk_address_write() 124 vfio_region_write(&vdev->bars[window->bar].region, in vfio_generic_window_quirk_address_write() 125 addr + window->address_offset, data, size); in vfio_generic_window_quirk_address_write() 127 for (i = 0; i < window->nr_matches; i++) { in vfio_generic_window_quirk_address_write() [all …]
|
/openbmc/linux/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 …]
|
/openbmc/phosphor-mboxd/ |
H A D | mboxd_windows.c | 41 static void init_window_state(struct window_context *window, uint32_t size) in init_window_state() argument 43 window->mem = NULL; in init_window_state() 44 window->flash_offset = FLASH_OFFSET_UNINIT; 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() 69 uint32_t size = context->windows.window[i].size; in init_window_mem() 72 context->windows.window[i].mem = mem_location; in init_window_mem() 108 context->windows.window = calloc(context->windows.num, in init_windows() 109 sizeof(*context->windows.window)); in init_windows() [all …]
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 162 struct iommu_window *window = in tce_build_cell() local 180 (window->ioid & CBE_IOPTE_IOID_Mask); in tce_build_cell() 183 CBE_IOPTE_SO_RW | (window->ioid & CBE_IOPTE_IOID_Mask); in tce_build_cell() 195 invalidate_tce_cache(window->iommu, io_pte, npages); in tce_build_cell() 207 struct iommu_window *window = in tce_free_cell() local 218 __pa(window->iommu->pad_page) | in tce_free_cell() 219 (window->ioid & CBE_IOPTE_IOID_Mask); in tce_free_cell() 229 invalidate_tce_cache(window->iommu, io_pte, npages); in tce_free_cell() 431 struct iommu_window *window; 435 list_for_each_entry(window, &(iommu->windows), list) { [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 198 info->eccerrlog[0] = readq(window + I3200_C0ECCERRLOG); in i3200_get_and_clear_error_info() 200 info->eccerrlog[1] = readq(window + I3200_C1ECCERRLOG); in i3200_get_and_clear_error_info() 211 info->eccerrlog[0] = readq(window + I3200_C0ECCERRLOG); in i3200_get_and_clear_error_info() 213 info->eccerrlog[1] = readq(window + I3200_C1ECCERRLOG); in i3200_get_and_clear_error_info() 269 void __iomem *window; in i3200_map_mchbar() local 282 window = ioremap(u.mchbar, I3200_MMR_WINDOW_SIZE); in i3200_map_mchbar() 283 if (!window) in i3200_map_mchbar() 287 return window; in i3200_map_mchbar() [all …]
|
H A D | x38_edac.c | 168 void __iomem *window = mci->pvt_info; in x38_get_and_clear_error_info() local 181 info->eccerrlog[0] = lo_hi_readq(window + X38_C0ECCERRLOG); in x38_get_and_clear_error_info() 183 info->eccerrlog[1] = lo_hi_readq(window + X38_C1ECCERRLOG); in x38_get_and_clear_error_info() 194 info->eccerrlog[0] = lo_hi_readq(window + X38_C0ECCERRLOG); in x38_get_and_clear_error_info() 197 lo_hi_readq(window + X38_C1ECCERRLOG); in x38_get_and_clear_error_info() 254 void __iomem *window; in x38_map_mchbar() local 268 window = ioremap(u.mchbar, X38_MMR_WINDOW_SIZE); in x38_map_mchbar() 269 if (!window) in x38_map_mchbar() 273 return window; in x38_map_mchbar() 277 static void x38_get_drbs(void __iomem *window, in x38_get_drbs() argument [all …]
|
/openbmc/hiomapd/ |
H A D | windows.c | 44 static void init_window_state(struct window_context *window, uint32_t size) in init_window_state() argument 46 window->mem = NULL; in init_window_state() 47 window->flash_offset = FLASH_OFFSET_UNINIT; 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() 72 uint32_t size = context->windows.window[i].size; in init_window_mem() 75 context->windows.window[i].mem = mem_location; in init_window_mem() 111 context->windows.window = calloc(context->windows.num, in windows_init() 112 sizeof(*context->windows.window)); in windows_init() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | exynos4210_fimd.c | 327 Exynos4210fimdWindow window[5]; /* Window-specific registers */ member 506 exynos4210_fimd_palette_format(Exynos4210fimdState *s, int window) in exynos4210_fimd_palette_format() argument 510 switch (window) { in exynos4210_fimd_palette_format() 536 hw_error("exynos4210.fimd: incorrect window number %d\n", window); in exynos4210_fimd_palette_format() 639 Exynos4210fimdWindow *w = &s->window[win]; in fimd_update_get_alpha() 945 Exynos4210fimdWindow *w = &s->window[win]; in exynos4210_fimd_update_win_bppmode() 1078 Exynos4210fimdWindow *w = &s->window[win_num]; in exynos4210_fimd_trace_bppmode() 1125 Exynos4210fimdWindow *w = &s->window[win]; in fimd_update_memory_section() 1291 w = &s->window[i]; in exynos4210_fimd_update() 1353 memset(&s->vidcon, 0, (uint8_t *)&s->window - (uint8_t *)&s->vidcon); in exynos4210_fimd_reset() [all …]
|
/openbmc/linux/tools/perf/ui/gtk/ |
H A D | annotate.c | 94 static int perf_gtk__annotate_symbol(GtkWidget *window, struct map_symbol *ms, in perf_gtk__annotate_symbol() argument 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() 206 g_signal_connect(window, "delete_event", gtk_main_quit, NULL); 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 [all …]
|
/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/phosphor-mboxd/Documentation/ |
H A D | mbox_protocol.md | 71 "window" (which is the LPC -> AHB FW space mapping) that is either a read 72 window or a write window onto the flash. 74 When set for writing, the BMC makes the window point to a chunk of RAM instead. 76 actual flashing from the data in the RAM window. 78 The idea is to have the LPC FW space be routed to an active "window". That 79 window can be a read or a write window. The commands allow to control which 80 window and which offset into the flash it maps. 82 * A read window can be a direct window to the flash controller space (ie. 83 0x3000\_0000) or it can be a window to a RAM image of a flash. It doesn't have 90 * A write window has to be a chunk of BMC memory. The minimum size is not [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/webui-vue/src/views/Operations/Kvm/ |
H A D | KvmConsole.vue | 70 terminalClass: this.isFullWindow ? 'full-window' : '', 71 marginClass: this.isFullWindow ? 'margin-left-full-window' : '', 102 window.removeEventListener('resize', this.resizeKvmWindow); 117 `wss://${window.location.host}/kvm/0`, 128 window.addEventListener('resize', this.resizeKvmWindow); 153 // Check the newly opened window is closed or not 155 // If window is not closed set focus to new window 156 // If window is closed, do open new window 164 // If consoleWindow is null, open new window 169 this.$eventBus.$consoleWindow = window.open( [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.8.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 \
|