Home
last modified time | relevance | path

Searched refs:window (Results 1 – 25 of 430) sorted by relevance

12345678910>>...18

/linux/arch/powerpc/platforms/powernv/
A Dvas-debug.c37 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 Dvas-window.c201 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 Dichxrom.c80 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 Damd76xrom.c74 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 Desb2rom.c139 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 Dck804xrom.c87 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/arch/sparc/kernel/
A Dwindows.c64 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/lib/zstd/compress/
A Dzstd_compress_internal.h900 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 …]
/linux/drivers/video/fbdev/
A Dau1200fb.c897 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/drivers/pci/
A Dhost-bridge.c55 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 Di3200_edac.c100 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 Dx38_edac.c168 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 Die31200_edac.c185 void __iomem *window; member
357 void __iomem *window; in ie31200_map_mchbar() local
370 if (!window) in ie31200_map_mchbar()
374 return window; in ie31200_map_mchbar()
410 void __iomem *window; in ie31200_probe1() local
439 window = ie31200_map_mchbar(pdev); in ie31200_probe1()
440 if (!window) { in ie31200_probe1()
459 priv->window = window; in ie31200_probe1()
472 addr_decode = readl(window + mad_offset + in ie31200_probe1()
539 iounmap(window); in ie31200_probe1()
[all …]
/linux/arch/powerpc/platforms/cell/
A Diommu.c457 window = kzalloc_node(sizeof(*window), GFP_KERNEL, iommu->nid); in cell_iommu_setup_window()
458 BUG_ON(window == NULL); in cell_iommu_setup_window()
460 window->offset = offset; in cell_iommu_setup_window()
461 window->size = size; in cell_iommu_setup_window()
462 window->ioid = ioid; in cell_iommu_setup_window()
463 window->iommu = iommu; in cell_iommu_setup_window()
471 window->table.it_size = size >> window->table.it_page_shift; in cell_iommu_setup_window()
486 return window; in cell_iommu_setup_window()
501 tce_build_cell(&window->table, window->table.it_offset, 1, in cell_iommu_setup_window()
504 return window; in cell_iommu_setup_window()
[all …]
/linux/tools/perf/ui/gtk/
A Dannotate.c162 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__annotate_symbol()
177 GtkWidget *window; in symbol__gtk_annotate() local
199 window = pgctx->main_window; in symbol__gtk_annotate()
212 window = gtk_window_new(GTK_WINDOW_TOPLEVEL); in symbol__gtk_annotate()
213 gtk_window_set_title(GTK_WINDOW(window), "perf annotate"); in symbol__gtk_annotate()
217 pgctx = perf_gtk__activate_context(window); in symbol__gtk_annotate()
236 gtk_container_add(GTK_CONTAINER(window), vbox); in symbol__gtk_annotate()
262 GtkWidget *window; in perf_gtk__show_annotations() local
267 window = pgctx->main_window; in perf_gtk__show_annotations()
268 gtk_widget_show_all(window); in perf_gtk__show_annotations()
[all …]
A Dbrowser.c16 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 Dpci-epc-mem.c26 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 …]
/linux/Documentation/driver-api/media/drivers/
A Dsh_mobile_ceu_camera.rst64 (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/watchdog/
A Dxlnx,versal-wwdt.yaml7 title: Xilinx Versal window watchdog timer controller
13 Versal watchdog intellectual property uses window watchdog mode.
15 window with 32 bit width. Write to the watchdog timer within
16 predefined window periods of time. This means a period that is not
18 restarted within the open window time. If software tries to restart
19 WWDT outside of the open window time period, it generates a reset.
/linux/Documentation/devicetree/bindings/bus/
A Dmvebu-mbus.txt20 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/lib/zlib_deflate/
A Ddeflate.c261 s->window = (Byte *) mem->window_memory; in zlib_deflateInit2()
615 match = s->window + cur_match; in longest_match()
716 if (memcmp((char *)s->window + match, in check_match()
721 fprintf(stderr, "%c%c", s->window[match++], s->window[start++]); in check_match()
771 memcpy((char *)s->window, (char *)s->window+wsize, in fill_window()
821 s->ins_h = s->window[s->strstart]; in fill_window()
990 s->ins_h = s->window[s->strstart]; in deflate_fast()
1001 Tracevv((stderr,"%c", s->window[s->strstart])); in deflate_fast()
1108 Tracevv((stderr,"%c", s->window[s->strstart-1])); in deflate_slow()
1126 Tracevv((stderr,"%c", s->window[s->strstart-1])); in deflate_slow()
[all …]
/linux/drivers/sh/intc/
A Daccess.c16 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()
/linux/drivers/gpu/drm/tegra/
A Ddc.c319 if (window->src.w == window->dst.w) in tegra_plane_use_horizontal_filtering()
334 if (window->src.h == window->dst.h) in tegra_plane_use_vertical_filtering()
368 value = V_POSITION(window->dst.y) | H_POSITION(window->dst.x); in tegra_dc_setup_window()
371 value = V_SIZE(window->dst.h) | H_SIZE(window->dst.w); in tegra_dc_setup_window()
379 if (window->reflect_x) in tegra_dc_setup_window()
382 if (window->reflect_y) in tegra_dc_setup_window()
395 h_dda = compute_dda_inc(window->src.w, window->dst.w, false, bpp); in tegra_dc_setup_window()
396 v_dda = compute_dda_inc(window->src.h, window->dst.h, true, bpp); in tegra_dc_setup_window()
418 value = window->stride[1] << 16 | window->stride[0]; in tegra_dc_setup_window()
487 if (window->reflect_x) in tegra_dc_setup_window()
[all …]
/linux/net/ipv4/
A Dtcp_cdg.c38 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()
380 if (window > 1) in tcp_cdg_init()
381 ca->gradients = kcalloc(window, sizeof(ca->gradients[0]), in tcp_cdg_init()
409 if (backoff_beta > 1024 || window < 1 || window > 256) in tcp_cdg_register()
[all …]
/linux/arch/alpha/kernel/
A Dcore_t2.c90 } 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 …]

Completed in 64 milliseconds

12345678910>>...18