| /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 …]
|
| H A D | vas-fault.c | 71 struct pnv_vas_window *window; in vas_fault_thread_fn() local 132 window = vas_pswid_to_window(vinst, in vas_fault_thread_fn() 135 if (IS_ERR(window)) { in vas_fault_thread_fn() 155 if (window->user_win) in vas_fault_thread_fn() 156 vas_update_csb(crb, &window->vas_win.task_ref); in vas_fault_thread_fn() 158 WARN_ON_ONCE(!window->user_win); in vas_fault_thread_fn() 164 vas_return_credit(window, true); in vas_fault_thread_fn()
|
| /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()
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_compress_internal.h | 271 ZSTD_window_t window; /* State for window round buffer management */ member 336 ZSTD_window_t window; /* State for the window round buffer management */ member 1033 MEM_STATIC void ZSTD_window_clear(ZSTD_window_t* window) in ZSTD_window_clear() argument 1035 size_t const endT = (size_t)(window->nextSrc - window->base); in ZSTD_window_clear() 1038 window->lowLimit = end; in ZSTD_window_clear() 1039 window->dictLimit = end; in ZSTD_window_clear() 1042 MEM_STATIC U32 ZSTD_window_isEmpty(ZSTD_window_t const window) in ZSTD_window_isEmpty() argument 1044 return window.dictLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty() 1045 window.lowLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty() 1046 (window.nextSrc - window.base) == ZSTD_WINDOW_START_INDEX; in ZSTD_window_isEmpty() [all …]
|
| H A D | zstd_lazy.c | 42 const BYTE* const base = ms->window.base; in ZSTD_updateDUBT() 48 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT() 52 assert(idx >= ms->window.dictLimit); /* condition for valid base+idx */ in ZSTD_updateDUBT() 85 const BYTE* const base = ms->window.base; in ZSTD_insertDUBT1() 86 const BYTE* const dictBase = ms->window.dictBase; in ZSTD_insertDUBT1() 87 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() 97 U32 const windowValid = ms->window.lowLimit; in ZSTD_insertDUBT1() 181 const BYTE* const base = ms->window.base; in ZSTD_DUBT_findBetterDictMatch() 182 const BYTE* const prefixStart = base + ms->window.dictLimit; in ZSTD_DUBT_findBetterDictMatch() 184 const BYTE* const dictBase = dms->window.base; in ZSTD_DUBT_findBetterDictMatch() [all …]
|
| /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() 191 if (size > mem->window.size) in pci_epc_mem_alloc_addr() 194 align_size = ALIGN(size, mem->window.page_size); in pci_epc_mem_alloc_addr() 201 page_shift = ilog2(mem->window.page_size); in pci_epc_mem_alloc_addr() 202 *phys_addr = mem->window.phys_base + in pci_epc_mem_alloc_addr() 230 if (phys_addr >= mem->window.phys_base && in pci_epc_get_matching_window() 231 phys_addr < (mem->window.phys_base + mem->window.size)) in pci_epc_get_matching_window() [all …]
|
| /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 …]
|
| /linux/Documentation/devicetree/bindings/bus/ |
| H 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/ |
| H A D | dc.c | 395 const struct tegra_dc_window *window) in tegra_plane_setup_blending() argument 409 value = K2(255) | K1(255) | WINDOW_LAYER_DEPTH(255 - window->zpos); in tegra_plane_setup_blending() 415 const struct tegra_dc_window *window) in tegra_plane_use_horizontal_filtering() argument 419 if (window->src.w == window->dst.w) in tegra_plane_use_horizontal_filtering() 430 const struct tegra_dc_window *window) in tegra_plane_use_vertical_filtering() argument 434 if (window->src.h == window->dst.h) in tegra_plane_use_vertical_filtering() 447 const struct tegra_dc_window *window) in tegra_dc_setup_window() argument 459 yuv = tegra_plane_format_is_yuv(window->format, &planes, NULL); in tegra_dc_setup_window() 461 bpp = window->bits_per_pixel / 8; in tegra_dc_setup_window() 465 tegra_plane_writel(plane, window->format, DC_WIN_COLOR_DEPTH); in tegra_dc_setup_window() [all …]
|
| /linux/drivers/sh/intc/ |
| H 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()
|
| H A D | core.c | 220 d->window = kzalloc_objs(*d->window, d->nr_windows, GFP_NOWAIT); in register_intc_controller() 221 if (!d->window) in register_intc_controller() 227 d->window[k].phys = res->start; in register_intc_controller() 228 d->window[k].size = resource_size(res); in register_intc_controller() 229 d->window[k].virt = ioremap(res->start, in register_intc_controller() 231 if (!d->window[k].virt) in register_intc_controller() 382 if (d->window[k].virt) in register_intc_controller() 383 iounmap(d->window[k].virt); in register_intc_controller() 385 kfree(d->window); in register_intc_controller()
|
| /linux/arch/alpha/kernel/ |
| H 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/tools/perf/ui/gtk/ |
| H 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()
|
| H A D | hists.c | 293 static void perf_gtk__show_hists(GtkWidget *window, struct hists *hists, in perf_gtk__show_hists() argument 402 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__show_hists() 497 static void perf_gtk__show_hierarchy(GtkWidget *window, struct hists *hists, in perf_gtk__show_hierarchy() argument 590 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__show_hierarchy() 601 GtkWidget *window; in evlist__gtk_browse_hists() local 609 window = gtk_window_new(GTK_WINDOW_TOPLEVEL); in evlist__gtk_browse_hists() 611 gtk_window_set_title(GTK_WINDOW(window), "perf report"); in evlist__gtk_browse_hists() 613 g_signal_connect(window, "delete_event", gtk_main_quit, NULL); in evlist__gtk_browse_hists() 615 pgctx = perf_gtk__activate_context(window); in evlist__gtk_browse_hists() 632 gtk_container_add(GTK_CONTAINER(window), vbox); in evlist__gtk_browse_hists() [all …]
|
| /linux/Documentation/arch/powerpc/ |
| H A D | pci_iov_resource_on_powernv.rst | 59 Each window can be configured to be remapped via a "TCE table" (IOMMU 76 window and sixteen M64 windows. They have different characteristics. 81 - The M32 window: 87 32-bit PCIe accesses. We configure that window at boot from FW and 97 to be assigned to PEs on a segment granularity. For a 2GB window, 100 Now, this is the "main" window we use in Linux today (excluding 119 specify the PE# for the entire window. When segmented, a window 124 there's a defined ordering for which window applies. 129 We configure an M64 window to cover the entire region of address space 188 - M32 window: There's one M32 window, and it is split into 256 [all …]
|
| /linux/drivers/edac/ |
| H A D | igen6_edac.c | 168 void __iomem *window; member 494 static bool imc_absent(void __iomem *window) in imc_absent() argument 496 return readl(window + MAD_INTER_CHANNEL_OFFSET) == ~0; in imc_absent() 502 void __iomem *window; in map_imc_window() local 504 window = ioremap(mchbar + pmc * MCHBAR_SIZE, MCHBAR_SIZE); in map_imc_window() 505 if (!window) in map_imc_window() 508 if (imc_absent(window)) { in map_imc_window() 509 iounmap(window); in map_imc_window() 513 return window; in map_imc_window() 519 void __iomem *window; in get_imc_num() local [all …]
|
| H A D | ie31200_edac.c | 173 void __iomem *window; member 393 void __iomem *window; in ie31200_map_mchbar() local 406 window = ioremap(u.mchbar, cfg->reg_mchbar_window_size); in ie31200_map_mchbar() 407 if (!window) in ie31200_map_mchbar() 411 return window; in ie31200_map_mchbar() 438 static void ie31200_get_dimm_config(struct mem_ctl_info *mci, void __iomem *window, in ie31200_get_dimm_config() argument 448 addr_decode = readl(window + cfg->reg_mad_dimm_offset[i]); in ie31200_get_dimm_config() 481 void __iomem *window; in ie31200_register_mci() local 496 window = ie31200_map_mchbar(pdev, cfg, mc); in ie31200_register_mci() 497 if (!window) { in ie31200_register_mci() [all …]
|
| /linux/include/trace/events/ |
| H A D | wbt.h | 92 int step, unsigned long window, unsigned int bg, 95 TP_ARGS(bdi, msg, step, window, bg, normal, max), 101 __field(unsigned long, window) 112 __entry->window = div_u64(window, 1000); 119 __entry->name, __entry->msg, __entry->step, __entry->window,
|
| /linux/Documentation/driver-api/ |
| H A D | ntb.rst | 40 mainly used to perform the proper memory window initialization. Typically 41 there are two types of memory window interfaces supported by the NTB API: 55 So typical scenario of the first type memory window initialization looks: 58 maps corresponding outbound memory window so to have access to the shared 76 outbound memory window so to have access to the shared memory region. 82 1) Allocate memory for a shared window 83 2) Initialize memory window by translated address of the allocated region 84 (it may fail if local memory window initialization is unsupported) 85 3) Send the translated address and memory window index to a peer device 88 1) Initialize memory window with retrieved address of the allocated [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | rs.c | 208 static void rs_rate_scale_clear_window(struct iwl_rate_scale_data *window) in rs_rate_scale_clear_window() argument 210 window->data = 0; in rs_rate_scale_clear_window() 211 window->success_counter = 0; in rs_rate_scale_clear_window() 212 window->success_ratio = IWL_INVALID_VALUE; in rs_rate_scale_clear_window() 213 window->counter = 0; in rs_rate_scale_clear_window() 214 window->average_tpt = IWL_INVALID_VALUE; in rs_rate_scale_clear_window() 215 window->stamp = 0; in rs_rate_scale_clear_window() 431 struct iwl_rate_scale_data *window = NULL; in rs_collect_tx_data() local 439 window = &(tbl->win[scale_index]); in rs_collect_tx_data() 453 if (window->counter >= IWL_RATE_MAX_WINDOW) { in rs_collect_tx_data() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-intel_th-devices-msc | 31 of numbers of pages for each window to be allocated. Number of 42 Description: (RW) Trigger window switch for the MSC's buffer, in 43 multi-window mode. In "multi" mode, accepts writes of "1", thereby 44 triggering a window switch for the buffer. Returns an error in any 51 Description: (RW) Configure whether trace stops when the last available window 53 window becomes available again (0/n/N).
|
| /linux/Documentation/accounting/ |
| H A D | psi.rst | 74 time window, e.g. 100ms of total stall time within any 500ms window to 79 desired threshold and time window. The open file descriptor should be 83 <some|full> <stall amount in us> <time window in us> 87 1sec time window. Writing "full 50000 1000000" into /proc/pressure/io 88 would add 50ms threshold for full io stall measured within 1sec time window. 100 tracking window. 102 The kernel accepts window sizes ranging from 500ms to 10s, therefore min 109 window size must be a multiple of 2s, in order to prevent excessive resource 113 tracking window to avoid repeated activations/deactivations when system is 116 Notifications to the userspace are rate-limited to one per tracking window. [all …]
|
| /linux/drivers/pci/controller/ |
| H A D | pcie-rcar.c | 64 struct resource_entry *window) in rcar_pcie_set_outbound() argument 67 struct resource *res = window->res; in rcar_pcie_set_outbound() 86 res_start = pci_pio_to_address(res->start) - window->offset; in rcar_pcie_set_outbound() 88 res_start = res->start - window->offset; in rcar_pcie_set_outbound()
|
| /linux/tools/testing/selftests/net/packetdrill/ |
| H A D | tcp_rfc5961_rst-syn-recv.pkt | 4 // the connection. A non-exact in-window RST elicits a challenge ACK, 5 // while an out-of-window RST is silently discarded. 21 // A non-exact in-window RST gets a challenge ACK and the request survives. 50 // An out-of-window RST is silent and does not remove the request.
|