/linux/arch/powerpc/platforms/powernv/ |
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 …]
|
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 …]
|
/linux/drivers/mtd/maps/ |
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 …]
|
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 …]
|
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 …]
|
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 …]
|
/linux/lib/zstd/compress/ |
A D | zstd_compress_internal.h | 787 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict() 862 if (window->lowLimit <= correction) window->lowLimit = 1; in ZSTD_window_correctOverflow() 864 if (window->dictLimit <= correction) window->dictLimit = 1; in ZSTD_window_correctOverflow() 930 if (window->dictLimit < window->lowLimit) { in ZSTD_window_enforceMaxDist() 933 window->dictLimit = window->lowLimit; in ZSTD_window_enforceMaxDist() 977 ZSTD_memset(window, 0, sizeof(*window)); in ZSTD_window_init() 1007 window->lowLimit = window->dictLimit; in ZSTD_window_update() 1010 window->dictBase = window->base; in ZSTD_window_update() 1013 …if (window->dictLimit - window->lowLimit < HASH_READ_SIZE) window->lowLimit = window->dictLimit; … in ZSTD_window_update() 1018 if ( (ip+srcSize > window->dictBase + window->lowLimit) in ZSTD_window_update() [all …]
|
/linux/arch/sparc/kernel/ |
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()
|
/linux/drivers/video/fbdev/ |
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 …]
|
/linux/arch/powerpc/platforms/cell/ |
A D | iommu.c | 434 if (window->offset == offset && window->size == size) 435 return window; 472 window = kzalloc_node(sizeof(*window), GFP_KERNEL, iommu->nid); in cell_iommu_setup_window() 476 window->size = size; in cell_iommu_setup_window() 477 window->ioid = ioid; in cell_iommu_setup_window() 478 window->iommu = iommu; in cell_iommu_setup_window() 486 window->table.it_size = size >> window->table.it_page_shift; in cell_iommu_setup_window() 501 return window; in cell_iommu_setup_window() 516 tce_build_cell(&window->table, window->table.it_offset, 1, in cell_iommu_setup_window() 519 return window; in cell_iommu_setup_window() [all …]
|
/linux/drivers/pci/ |
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()
|
/linux/drivers/edac/ |
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 …]
|
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 …]
|
A D | ie31200_edac.c | 177 void __iomem *window; member 349 void __iomem *window; in ie31200_map_mchbar() local 362 if (!window) in ie31200_map_mchbar() 366 return window; in ie31200_map_mchbar() 402 void __iomem *window; in ie31200_probe1() local 431 window = ie31200_map_mchbar(pdev); in ie31200_probe1() 432 if (!window) { in ie31200_probe1() 451 priv->window = window; in ie31200_probe1() 464 addr_decode = readl(window + mad_offset + in ie31200_probe1() 531 iounmap(window); in ie31200_probe1() [all …]
|
/linux/tools/perf/ui/gtk/ |
A D | annotate.c | 154 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__annotate_symbol() 168 GtkWidget *window; in symbol__gtk_annotate() local 189 window = pgctx->main_window; in symbol__gtk_annotate() 202 window = gtk_window_new(GTK_WINDOW_TOPLEVEL); in symbol__gtk_annotate() 203 gtk_window_set_title(GTK_WINDOW(window), "perf annotate"); in symbol__gtk_annotate() 207 pgctx = perf_gtk__activate_context(window); in symbol__gtk_annotate() 226 gtk_container_add(GTK_CONTAINER(window), vbox); in symbol__gtk_annotate() 252 GtkWidget *window; in perf_gtk__show_annotations() local 257 window = pgctx->main_window; in perf_gtk__show_annotations() 258 gtk_widget_show_all(window); in perf_gtk__show_annotations() [all …]
|
A D | browser.c | 16 void perf_gtk__resize_window(GtkWidget *window) in perf_gtk__resize_window() argument 24 screen = gtk_widget_get_screen(window); in perf_gtk__resize_window() 26 monitor = gdk_screen_get_monitor_at_window(screen, window->window); in perf_gtk__resize_window() 33 gtk_window_resize(GTK_WINDOW(window), width, height); in perf_gtk__resize_window()
|
/linux/drivers/pci/endpoint/ |
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() 182 align_size = ALIGN(size, mem->window.page_size); in pci_epc_mem_alloc_addr() 188 page_shift = ilog2(mem->window.page_size); in pci_epc_mem_alloc_addr() 189 *phys_addr = mem->window.phys_base + in pci_epc_mem_alloc_addr() 217 if (phys_addr >= mem->window.phys_base && in pci_epc_get_matching_window() 218 phys_addr < (mem->window.phys_base + mem->window.size)) in pci_epc_get_matching_window() 249 page_size = mem->window.page_size; in pci_epc_mem_free_addr() [all …]
|
/linux/Documentation/driver-api/media/drivers/ |
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 …]
|
/linux/Documentation/devicetree/bindings/bus/ |
A D | mvebu-mbus.txt | 20 the second cell for the address offset within the window. 30 within the internal register window (see below). 52 the first one controls the devices decoding window, 53 the second one controls the SDRAM decoding window and 80 ** MBus address decoding window specification 83 the window ID and the second one for the offset within the window. 84 In order to allow to describe valid and non-valid window entries, the 91 S = 0x0 for a MBus valid window 92 S = 0xf for a non-valid window (see below) 96 I = 4-bit window target ID [all …]
|
/linux/drivers/gpu/drm/tegra/ |
A D | dc.c | 313 if (window->src.w == window->dst.w) in tegra_plane_use_horizontal_filtering() 328 if (window->src.h == window->dst.h) in tegra_plane_use_vertical_filtering() 361 value = V_POSITION(window->dst.y) | H_POSITION(window->dst.x); in tegra_dc_setup_window() 364 value = V_SIZE(window->dst.h) | H_SIZE(window->dst.w); in tegra_dc_setup_window() 372 if (window->reflect_x) in tegra_dc_setup_window() 375 if (window->reflect_y) in tegra_dc_setup_window() 388 h_dda = compute_dda_inc(window->src.w, window->dst.w, false, bpp); in tegra_dc_setup_window() 389 v_dda = compute_dda_inc(window->src.h, window->dst.h, true, bpp); in tegra_dc_setup_window() 408 value = window->stride[1] << 16 | window->stride[0]; in tegra_dc_setup_window() 477 if (window->reflect_x) in tegra_dc_setup_window() [all …]
|
/linux/lib/zlib_deflate/ |
A D | deflate.c | 261 s->window = (Byte *) mem->window_memory; in zlib_deflateInit2() 608 match = s->window + cur_match; in longest_match() 709 if (memcmp((char *)s->window + match, in check_match() 714 fprintf(stderr, "%c%c", s->window[match++], s->window[start++]); in check_match() 764 memcpy((char *)s->window, (char *)s->window+wsize, in fill_window() 814 s->ins_h = s->window[s->strstart]; in fill_window() 983 s->ins_h = s->window[s->strstart]; in deflate_fast() 994 Tracevv((stderr,"%c", s->window[s->strstart])); in deflate_fast() 1101 Tracevv((stderr,"%c", s->window[s->strstart-1])); in deflate_slow() 1119 Tracevv((stderr,"%c", s->window[s->strstart-1])); in deflate_slow() [all …]
|
/linux/Documentation/powerpc/ |
A D | pci_iov_resource_on_powernv.rst | 81 - The M32 window: 119 specify the PE# for the entire window. When segmented, a window 124 there's a defined ordering for which window applies. 188 - M32 window: There's one M32 window, and it is split into 256 198 - Non-segmented M64 window: A non-segmented M64 window is mapped entirely 212 another M64 window to assign 32MB segments. 218 segments/PEs inside that M64 window. 231 to one M64 window, some part of the M64 window will map to another 251 M64 window 270 M64 window [all …]
|
/linux/net/ipv4/ |
A D | tcp_cdg.c | 38 static int window __read_mostly = 8; 46 module_param(window, int, 0444); 201 ca->tail = (ca->tail + 1) & (window - 1); in tcp_cdg_grad() 216 if (!ca->gradients && window > 1) in tcp_cdg_grad() 217 grad *= window; /* Memory allocation failed. */ in tcp_cdg_grad() 221 grad = (grad * window) / (int)ca->tail; in tcp_cdg_grad() 355 memset(gradients, 0, window * sizeof(gradients[0])); in tcp_cdg_cwnd_event() 379 if (window > 1) in tcp_cdg_init() 380 ca->gradients = kcalloc(window, sizeof(ca->gradients[0]), in tcp_cdg_init() 407 if (backoff_beta > 1024 || window < 1 || window > 256) in tcp_cdg_register() [all …]
|
/linux/arch/alpha/kernel/ |
A D | core_t2.c | 90 } window[2]; member 391 t2_saved_config.window[0].wbase = *(vulp)T2_WBASE1; in t2_save_configuration() 392 t2_saved_config.window[0].wmask = *(vulp)T2_WMASK1; in t2_save_configuration() 393 t2_saved_config.window[0].tbase = *(vulp)T2_TBASE1; in t2_save_configuration() 394 t2_saved_config.window[1].wbase = *(vulp)T2_WBASE2; in t2_save_configuration() 395 t2_saved_config.window[1].wmask = *(vulp)T2_WMASK2; in t2_save_configuration() 396 t2_saved_config.window[1].tbase = *(vulp)T2_TBASE2; in t2_save_configuration() 488 *(vulp)T2_WBASE1 = t2_saved_config.window[0].wbase; in t2_kill_arch() 489 *(vulp)T2_WMASK1 = t2_saved_config.window[0].wmask; in t2_kill_arch() 490 *(vulp)T2_TBASE1 = t2_saved_config.window[0].tbase; in t2_kill_arch() [all …]
|
/linux/drivers/sh/intc/ |
A D | access.c | 16 struct intc_window *window; in intc_phys_to_virt() local 21 window = d->window + k; in intc_phys_to_virt() 23 if (address < window->phys) in intc_phys_to_virt() 26 if (address >= (window->phys + window->size)) in intc_phys_to_virt() 29 address -= window->phys; in intc_phys_to_virt() 30 address += (unsigned long)window->virt; in intc_phys_to_virt()
|