window             46 arch/alpha/boot/misc.c static uch *window;		/* Sliding window buffer */
window            129 arch/alpha/boot/misc.c 	in = window;
window            167 arch/alpha/boot/misc.c 	window = malloc(WSIZE);
window            328 arch/alpha/kernel/core_cia.c cia_prepare_tbia_workaround(int window)
window            343 arch/alpha/kernel/core_cia.c 	*(vip)CIA_IOC_PCI_Wn_BASE(window) = CIA_BROKEN_TBIA_BASE | 3;
window            344 arch/alpha/kernel/core_cia.c 	*(vip)CIA_IOC_PCI_Wn_MASK(window)
window            346 arch/alpha/kernel/core_cia.c 	*(vip)CIA_IOC_PCI_Tn_BASE(window) = virt_to_phys(ppte) >> 2;
window            576 arch/alpha/kernel/core_cia.c     } window[4];
window            598 arch/alpha/kernel/core_cia.c 	    saved_config.window[i].w_base = *(vip)CIA_IOC_PCI_Wn_BASE(i);
window            599 arch/alpha/kernel/core_cia.c 	    saved_config.window[i].w_mask = *(vip)CIA_IOC_PCI_Wn_MASK(i);
window            600 arch/alpha/kernel/core_cia.c 	    saved_config.window[i].t_base = *(vip)CIA_IOC_PCI_Tn_BASE(i);
window            611 arch/alpha/kernel/core_cia.c 	    *(vip)CIA_IOC_PCI_Wn_BASE(i) = saved_config.window[i].w_base;
window            612 arch/alpha/kernel/core_cia.c 	    *(vip)CIA_IOC_PCI_Wn_MASK(i) = saved_config.window[i].w_mask;
window            613 arch/alpha/kernel/core_cia.c 	    *(vip)CIA_IOC_PCI_Tn_BASE(i) = saved_config.window[i].t_base;
window            857 arch/alpha/kernel/core_cia.c 		const char *window;
window            868 arch/alpha/kernel/core_cia.c 		window = window_desc[tmp];
window            880 arch/alpha/kernel/core_cia.c 		       window, lock, dac);
window             90 arch/alpha/kernel/core_t2.c 	} window[2];
window            391 arch/alpha/kernel/core_t2.c 	t2_saved_config.window[0].wbase = *(vulp)T2_WBASE1;
window            392 arch/alpha/kernel/core_t2.c 	t2_saved_config.window[0].wmask = *(vulp)T2_WMASK1;
window            393 arch/alpha/kernel/core_t2.c 	t2_saved_config.window[0].tbase = *(vulp)T2_TBASE1;
window            394 arch/alpha/kernel/core_t2.c 	t2_saved_config.window[1].wbase = *(vulp)T2_WBASE2;
window            395 arch/alpha/kernel/core_t2.c 	t2_saved_config.window[1].wmask = *(vulp)T2_WMASK2;
window            396 arch/alpha/kernel/core_t2.c 	t2_saved_config.window[1].tbase = *(vulp)T2_TBASE2;
window            488 arch/alpha/kernel/core_t2.c 	*(vulp)T2_WBASE1 = t2_saved_config.window[0].wbase;
window            489 arch/alpha/kernel/core_t2.c 	*(vulp)T2_WMASK1 = t2_saved_config.window[0].wmask;
window            490 arch/alpha/kernel/core_t2.c 	*(vulp)T2_TBASE1 = t2_saved_config.window[0].tbase;
window            491 arch/alpha/kernel/core_t2.c 	*(vulp)T2_WBASE2 = t2_saved_config.window[1].wbase;
window            492 arch/alpha/kernel/core_t2.c 	*(vulp)T2_WMASK2 = t2_saved_config.window[1].wmask;
window            493 arch/alpha/kernel/core_t2.c 	*(vulp)T2_TBASE2 = t2_saved_config.window[1].tbase;
window            418 arch/arm/kernel/bios32.c 	struct resource_entry *window;
window            433 arch/arm/kernel/bios32.c 	resource_list_for_each_entry(window, &sys->resources)
window            434 arch/arm/kernel/bios32.c 		if (resource_type(window->res) == IORESOURCE_IO)
window             54 arch/arm/kernel/head-inflate-data.c 	WS(strm)->inflate_state.window = NULL;
window             29 arch/arm/mach-mv78xx0/common.h void mv78xx0_setup_pcie_io_win(int window, u32 base, u32 size,
window             31 arch/arm/mach-mv78xx0/common.h void mv78xx0_setup_pcie_mem_win(int window, u32 base, u32 size,
window            103 arch/mips/pci/pci-vr41xx.c 	struct pci_target_address_window *window;
window            232 arch/mips/pci/pci-vr41xx.c 		window = setup->target_window1;
window            233 arch/mips/pci/pci-vr41xx.c 		val = PMBA(window->base_address) | TYPE_32BITSPACE |
window            239 arch/mips/pci/pci-vr41xx.c 		window = setup->target_window2;
window            240 arch/mips/pci/pci-vr41xx.c 		val = PMBA(window->base_address) | TYPE_32BITSPACE |
window             36 arch/nios2/boot/compressed/misc.c static uch window[WSIZE];	/* Sliding window buffer */
window            139 arch/nios2/boot/compressed/misc.c 	in = window;
window            160 arch/powerpc/platforms/cell/iommu.c 	struct iommu_window *window =
window            178 arch/powerpc/platforms/cell/iommu.c 		(window->ioid & CBE_IOPTE_IOID_Mask);
window            181 arch/powerpc/platforms/cell/iommu.c 		CBE_IOPTE_SO_RW | (window->ioid & CBE_IOPTE_IOID_Mask);
window            193 arch/powerpc/platforms/cell/iommu.c 	invalidate_tce_cache(window->iommu, io_pte, npages);
window            205 arch/powerpc/platforms/cell/iommu.c 	struct iommu_window *window =
window            216 arch/powerpc/platforms/cell/iommu.c 		__pa(window->iommu->pad_page) |
window            217 arch/powerpc/platforms/cell/iommu.c 		(window->ioid & CBE_IOPTE_IOID_Mask);
window            227 arch/powerpc/platforms/cell/iommu.c 	invalidate_tce_cache(window->iommu, io_pte, npages);
window            429 arch/powerpc/platforms/cell/iommu.c 	struct iommu_window *window;
window            433 arch/powerpc/platforms/cell/iommu.c 	list_for_each_entry(window, &(iommu->windows), list) {
window            434 arch/powerpc/platforms/cell/iommu.c 		if (window->offset == offset && window->size == size)
window            435 arch/powerpc/platforms/cell/iommu.c 			return window;
window            466 arch/powerpc/platforms/cell/iommu.c 	struct iommu_window *window;
window            472 arch/powerpc/platforms/cell/iommu.c 	window = kzalloc_node(sizeof(*window), GFP_KERNEL, iommu->nid);
window            473 arch/powerpc/platforms/cell/iommu.c 	BUG_ON(window == NULL);
window            475 arch/powerpc/platforms/cell/iommu.c 	window->offset = offset;
window            476 arch/powerpc/platforms/cell/iommu.c 	window->size = size;
window            477 arch/powerpc/platforms/cell/iommu.c 	window->ioid = ioid;
window            478 arch/powerpc/platforms/cell/iommu.c 	window->iommu = iommu;
window            480 arch/powerpc/platforms/cell/iommu.c 	window->table.it_blocksize = 16;
window            481 arch/powerpc/platforms/cell/iommu.c 	window->table.it_base = (unsigned long)iommu->ptab;
window            482 arch/powerpc/platforms/cell/iommu.c 	window->table.it_index = iommu->nid;
window            483 arch/powerpc/platforms/cell/iommu.c 	window->table.it_page_shift = IOMMU_PAGE_SHIFT_4K;
window            484 arch/powerpc/platforms/cell/iommu.c 	window->table.it_offset =
window            485 arch/powerpc/platforms/cell/iommu.c 		(offset >> window->table.it_page_shift) + pte_offset;
window            486 arch/powerpc/platforms/cell/iommu.c 	window->table.it_size = size >> window->table.it_page_shift;
window            487 arch/powerpc/platforms/cell/iommu.c 	window->table.it_ops = &cell_iommu_ops;
window            489 arch/powerpc/platforms/cell/iommu.c 	iommu_init_table(&window->table, iommu->nid, 0, 0);
window            491 arch/powerpc/platforms/cell/iommu.c 	pr_debug("\tioid      %d\n", window->ioid);
window            492 arch/powerpc/platforms/cell/iommu.c 	pr_debug("\tblocksize %ld\n", window->table.it_blocksize);
window            493 arch/powerpc/platforms/cell/iommu.c 	pr_debug("\tbase      0x%016lx\n", window->table.it_base);
window            494 arch/powerpc/platforms/cell/iommu.c 	pr_debug("\toffset    0x%lx\n", window->table.it_offset);
window            495 arch/powerpc/platforms/cell/iommu.c 	pr_debug("\tsize      %ld\n", window->table.it_size);
window            497 arch/powerpc/platforms/cell/iommu.c 	list_add(&window->list, &iommu->windows);
window            500 arch/powerpc/platforms/cell/iommu.c 		return window;
window            514 arch/powerpc/platforms/cell/iommu.c 	__set_bit(0, window->table.it_map);
window            515 arch/powerpc/platforms/cell/iommu.c 	tce_build_cell(&window->table, window->table.it_offset, 1,
window            518 arch/powerpc/platforms/cell/iommu.c 	return window;
window            541 arch/powerpc/platforms/cell/iommu.c 	struct iommu_window *window;
window            554 arch/powerpc/platforms/cell/iommu.c 	window = list_entry(iommu->windows.next, struct iommu_window, list);
window            556 arch/powerpc/platforms/cell/iommu.c 	return &window->table;
window             31 arch/powerpc/platforms/powernv/vas-debug.c 	struct vas_window *window = s->private;
window             36 arch/powerpc/platforms/powernv/vas-debug.c 	if (!window->hvwc_map)
window             39 arch/powerpc/platforms/powernv/vas-debug.c 	seq_printf(s, "Type: %s, %s\n", cop_to_str(window->cop),
window             40 arch/powerpc/platforms/powernv/vas-debug.c 					window->tx_win ? "Send" : "Receive");
window             41 arch/powerpc/platforms/powernv/vas-debug.c 	seq_printf(s, "Pid : %d\n", window->pid);
window             58 arch/powerpc/platforms/powernv/vas-debug.c 	struct vas_window *window = s->private;
window             63 arch/powerpc/platforms/powernv/vas-debug.c 	if (!window->hvwc_map)
window             66 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LPID));
window             67 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(PID));
window             68 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(XLATE_MSR));
window             69 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(XLATE_LPCR));
window             70 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(XLATE_CTL));
window             71 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(AMR));
window             72 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(SEIDR));
window             73 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(FAULT_TX_WIN));
window             74 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(OSU_INTR_SRC_RA));
window             75 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(HV_INTR_SRC_RA));
window             76 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(PSWID));
window             77 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LFIFO_BAR));
window             78 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LDATA_STAMP_CTL));
window             79 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LDMA_CACHE_CTL));
window             80 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LRFIFO_PUSH));
window             81 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(CURR_MSG_COUNT));
window             82 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LNOTIFY_AFTER_COUNT));
window             83 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LRX_WCRED));
window             84 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LRX_WCRED_ADDER));
window             85 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(TX_WCRED));
window             86 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(TX_WCRED_ADDER));
window             87 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LFIFO_SIZE));
window             88 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(WINCTL));
window             89 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(WIN_STATUS));
window             90 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(WIN_CTX_CACHING_CTL));
window             91 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(TX_RSVD_BUF_COUNT));
window             92 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LRFIFO_WIN_PTR));
window             93 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LNOTIFY_CTL));
window             94 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LNOTIFY_PID));
window             95 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LNOTIFY_LPID));
window             96 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LNOTIFY_TID));
window             97 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(LNOTIFY_SCOPE));
window             98 arch/powerpc/platforms/powernv/vas-debug.c 	print_reg(s, window, VREG(NX_UTIL_ADDER));
window            106 arch/powerpc/platforms/powernv/vas-debug.c void vas_window_free_dbgdir(struct vas_window *window)
window            108 arch/powerpc/platforms/powernv/vas-debug.c 	if (window->dbgdir) {
window            109 arch/powerpc/platforms/powernv/vas-debug.c 		debugfs_remove_recursive(window->dbgdir);
window            110 arch/powerpc/platforms/powernv/vas-debug.c 		kfree(window->dbgname);
window            111 arch/powerpc/platforms/powernv/vas-debug.c 		window->dbgdir = NULL;
window            112 arch/powerpc/platforms/powernv/vas-debug.c 		window->dbgname = NULL;
window            116 arch/powerpc/platforms/powernv/vas-debug.c void vas_window_init_dbgdir(struct vas_window *window)
window            120 arch/powerpc/platforms/powernv/vas-debug.c 	if (!window->vinst->dbgdir)
window            123 arch/powerpc/platforms/powernv/vas-debug.c 	window->dbgname = kzalloc(16, GFP_KERNEL);
window            124 arch/powerpc/platforms/powernv/vas-debug.c 	if (!window->dbgname)
window            127 arch/powerpc/platforms/powernv/vas-debug.c 	snprintf(window->dbgname, 16, "w%d", window->winid);
window            129 arch/powerpc/platforms/powernv/vas-debug.c 	d = debugfs_create_dir(window->dbgname, window->vinst->dbgdir);
window            133 arch/powerpc/platforms/powernv/vas-debug.c 	window->dbgdir = d;
window            135 arch/powerpc/platforms/powernv/vas-debug.c 	f = debugfs_create_file("info", 0444, d, window, &info_fops);
window            139 arch/powerpc/platforms/powernv/vas-debug.c 	f = debugfs_create_file("hvwc", 0444, d, window, &hvwc_fops);
window            146 arch/powerpc/platforms/powernv/vas-debug.c 	debugfs_remove_recursive(window->dbgdir);
window            147 arch/powerpc/platforms/powernv/vas-debug.c 	window->dbgdir = NULL;
window            150 arch/powerpc/platforms/powernv/vas-debug.c 	kfree(window->dbgname);
window            151 arch/powerpc/platforms/powernv/vas-debug.c 	window->dbgname = NULL;
window             27 arch/powerpc/platforms/powernv/vas-window.c static void compute_paste_address(struct vas_window *window, u64 *addr, int *len)
window             32 arch/powerpc/platforms/powernv/vas-window.c 	base = window->vinst->paste_base_addr;
window             33 arch/powerpc/platforms/powernv/vas-window.c 	shift = window->vinst->paste_win_id_shift;
window             34 arch/powerpc/platforms/powernv/vas-window.c 	winid = window->winid;
window             43 arch/powerpc/platforms/powernv/vas-window.c static inline void get_hvwc_mmio_bar(struct vas_window *window,
window             48 arch/powerpc/platforms/powernv/vas-window.c 	pbaddr = window->vinst->hvwc_bar_start;
window             49 arch/powerpc/platforms/powernv/vas-window.c 	*start = pbaddr + window->winid * VAS_HVWC_SIZE;
window             53 arch/powerpc/platforms/powernv/vas-window.c static inline void get_uwc_mmio_bar(struct vas_window *window,
window             58 arch/powerpc/platforms/powernv/vas-window.c 	pbaddr = window->vinst->uwc_bar_start;
window             59 arch/powerpc/platforms/powernv/vas-window.c 	*start = pbaddr + window->winid * VAS_UWC_SIZE;
window            133 arch/powerpc/platforms/powernv/vas-window.c static void unmap_paste_region(struct vas_window *window)
window            138 arch/powerpc/platforms/powernv/vas-window.c 	if (window->paste_kaddr) {
window            139 arch/powerpc/platforms/powernv/vas-window.c 		compute_paste_address(window, &busaddr_start, &len);
window            140 arch/powerpc/platforms/powernv/vas-window.c 		unmap_region(window->paste_kaddr, busaddr_start, len);
window            141 arch/powerpc/platforms/powernv/vas-window.c 		window->paste_kaddr = NULL;
window            142 arch/powerpc/platforms/powernv/vas-window.c 		kfree(window->paste_addr_name);
window            143 arch/powerpc/platforms/powernv/vas-window.c 		window->paste_addr_name = NULL;
window            154 arch/powerpc/platforms/powernv/vas-window.c static void unmap_winctx_mmio_bars(struct vas_window *window)
window            163 arch/powerpc/platforms/powernv/vas-window.c 	hvwc_map = window->hvwc_map;
window            164 arch/powerpc/platforms/powernv/vas-window.c 	window->hvwc_map = NULL;
window            166 arch/powerpc/platforms/powernv/vas-window.c 	uwc_map = window->uwc_map;
window            167 arch/powerpc/platforms/powernv/vas-window.c 	window->uwc_map = NULL;
window            172 arch/powerpc/platforms/powernv/vas-window.c 		get_hvwc_mmio_bar(window, &busaddr_start, &len);
window            177 arch/powerpc/platforms/powernv/vas-window.c 		get_uwc_mmio_bar(window, &busaddr_start, &len);
window            187 arch/powerpc/platforms/powernv/vas-window.c int map_winctx_mmio_bars(struct vas_window *window)
window            192 arch/powerpc/platforms/powernv/vas-window.c 	get_hvwc_mmio_bar(window, &start, &len);
window            193 arch/powerpc/platforms/powernv/vas-window.c 	window->hvwc_map = map_mmio_region("HVWCM_Window", start, len);
window            195 arch/powerpc/platforms/powernv/vas-window.c 	get_uwc_mmio_bar(window, &start, &len);
window            196 arch/powerpc/platforms/powernv/vas-window.c 	window->uwc_map = map_mmio_region("UWCM_Window", start, len);
window            198 arch/powerpc/platforms/powernv/vas-window.c 	if (!window->hvwc_map || !window->uwc_map) {
window            199 arch/powerpc/platforms/powernv/vas-window.c 		unmap_winctx_mmio_bars(window);
window            215 arch/powerpc/platforms/powernv/vas-window.c void reset_window_regs(struct vas_window *window)
window            217 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LPID), 0ULL);
window            218 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(PID), 0ULL);
window            219 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(XLATE_MSR), 0ULL);
window            220 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(XLATE_LPCR), 0ULL);
window            221 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(XLATE_CTL), 0ULL);
window            222 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(AMR), 0ULL);
window            223 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(SEIDR), 0ULL);
window            224 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(FAULT_TX_WIN), 0ULL);
window            225 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(OSU_INTR_SRC_RA), 0ULL);
window            226 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(HV_INTR_SRC_RA), 0ULL);
window            227 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(PSWID), 0ULL);
window            228 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LFIFO_BAR), 0ULL);
window            229 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LDATA_STAMP_CTL), 0ULL);
window            230 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LDMA_CACHE_CTL), 0ULL);
window            231 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LRFIFO_PUSH), 0ULL);
window            232 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(CURR_MSG_COUNT), 0ULL);
window            233 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_AFTER_COUNT), 0ULL);
window            234 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LRX_WCRED), 0ULL);
window            235 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LRX_WCRED_ADDER), 0ULL);
window            236 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(TX_WCRED), 0ULL);
window            237 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(TX_WCRED_ADDER), 0ULL);
window            238 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LFIFO_SIZE), 0ULL);
window            239 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(WINCTL), 0ULL);
window            240 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(WIN_STATUS), 0ULL);
window            241 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(WIN_CTX_CACHING_CTL), 0ULL);
window            242 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(TX_RSVD_BUF_COUNT), 0ULL);
window            243 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LRFIFO_WIN_PTR), 0ULL);
window            244 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_CTL), 0ULL);
window            245 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_PID), 0ULL);
window            246 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_LPID), 0ULL);
window            247 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_TID), 0ULL);
window            248 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_SCOPE), 0ULL);
window            249 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(NX_UTIL_ADDER), 0ULL);
window            271 arch/powerpc/platforms/powernv/vas-window.c static void init_xlate_regs(struct vas_window *window, bool user_win)
window            286 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(XLATE_MSR), val);
window            301 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(XLATE_LPCR), val);
window            312 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(XLATE_CTL), val);
window            319 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(AMR), val);
window            323 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(SEIDR), val);
window            358 arch/powerpc/platforms/powernv/vas-window.c int init_winctx_regs(struct vas_window *window, struct vas_winctx *winctx)
window            363 arch/powerpc/platforms/powernv/vas-window.c 	reset_window_regs(window);
window            367 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LPID), val);
window            371 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(PID), val);
window            373 arch/powerpc/platforms/powernv/vas-window.c 	init_xlate_regs(window, winctx->user_win);
window            377 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(FAULT_TX_WIN), val);
window            380 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(OSU_INTR_SRC_RA), 0ULL);
window            384 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(HV_INTR_SRC_RA), val);
window            388 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(PSWID), val);
window            390 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(SPARE1), 0ULL);
window            391 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(SPARE2), 0ULL);
window            392 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(SPARE3), 0ULL);
window            405 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LFIFO_BAR), val);
window            409 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LDATA_STAMP_CTL), val);
window            414 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LDMA_CACHE_CTL), val);
window            416 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LRFIFO_PUSH), 0ULL);
window            417 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(CURR_MSG_COUNT), 0ULL);
window            418 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_AFTER_COUNT), 0ULL);
window            422 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LRX_WCRED), val);
window            426 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(TX_WCRED), val);
window            428 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LRX_WCRED_ADDER), 0ULL);
window            429 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(TX_WCRED_ADDER), 0ULL);
window            435 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LFIFO_SIZE), val);
window            442 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(WIN_STATUS), 0ULL);
window            444 arch/powerpc/platforms/powernv/vas-window.c 	init_rsvd_tx_buf_count(window, winctx);
window            449 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LRFIFO_WIN_PTR), val);
window            451 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(SPARE4), 0ULL);
window            458 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_CTL), val);
window            462 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_PID), val);
window            466 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_LPID), val);
window            470 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_TID), val);
window            475 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(LNOTIFY_SCOPE), val);
window            479 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(SPARE5), 0ULL);
window            480 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(NX_UTIL_ADDER), 0ULL);
window            481 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(SPARE6), 0ULL);
window            486 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(WIN_CTX_CACHING_CTL), val);
window            499 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(WINCTL), val);
window            521 arch/powerpc/platforms/powernv/vas-window.c static void vas_window_free(struct vas_window *window)
window            523 arch/powerpc/platforms/powernv/vas-window.c 	int winid = window->winid;
window            524 arch/powerpc/platforms/powernv/vas-window.c 	struct vas_instance *vinst = window->vinst;
window            526 arch/powerpc/platforms/powernv/vas-window.c 	unmap_winctx_mmio_bars(window);
window            528 arch/powerpc/platforms/powernv/vas-window.c 	vas_window_free_dbgdir(window);
window            530 arch/powerpc/platforms/powernv/vas-window.c 	kfree(window);
window            538 arch/powerpc/platforms/powernv/vas-window.c 	struct vas_window *window;
window            544 arch/powerpc/platforms/powernv/vas-window.c 	window = kzalloc(sizeof(*window), GFP_KERNEL);
window            545 arch/powerpc/platforms/powernv/vas-window.c 	if (!window)
window            548 arch/powerpc/platforms/powernv/vas-window.c 	window->vinst = vinst;
window            549 arch/powerpc/platforms/powernv/vas-window.c 	window->winid = winid;
window            551 arch/powerpc/platforms/powernv/vas-window.c 	if (map_winctx_mmio_bars(window))
window            554 arch/powerpc/platforms/powernv/vas-window.c 	vas_window_init_dbgdir(window);
window            556 arch/powerpc/platforms/powernv/vas-window.c 	return window;
window            559 arch/powerpc/platforms/powernv/vas-window.c 	kfree(window);
window            640 arch/powerpc/platforms/powernv/vas-window.c 			struct vas_window *window)
window            642 arch/powerpc/platforms/powernv/vas-window.c 	int id = window->winid;
window            650 arch/powerpc/platforms/powernv/vas-window.c 	if (!window->user_win && !window->tx_win) {
window            651 arch/powerpc/platforms/powernv/vas-window.c 		WARN_ON_ONCE(vinst->rxwin[window->cop]);
window            652 arch/powerpc/platforms/powernv/vas-window.c 		vinst->rxwin[window->cop] = window;
window            656 arch/powerpc/platforms/powernv/vas-window.c 	vinst->windows[id] = window;
window            665 arch/powerpc/platforms/powernv/vas-window.c static void clear_vinst_win(struct vas_window *window)
window            667 arch/powerpc/platforms/powernv/vas-window.c 	int id = window->winid;
window            668 arch/powerpc/platforms/powernv/vas-window.c 	struct vas_instance *vinst = window->vinst;
window            672 arch/powerpc/platforms/powernv/vas-window.c 	if (!window->user_win && !window->tx_win) {
window            673 arch/powerpc/platforms/powernv/vas-window.c 		WARN_ON_ONCE(!vinst->rxwin[window->cop]);
window            674 arch/powerpc/platforms/powernv/vas-window.c 		vinst->rxwin[window->cop] = NULL;
window            677 arch/powerpc/platforms/powernv/vas-window.c 	WARN_ON_ONCE(vinst->windows[id] != window);
window           1127 arch/powerpc/platforms/powernv/vas-window.c static void poll_window_credits(struct vas_window *window)
window           1132 arch/powerpc/platforms/powernv/vas-window.c 	val = read_hvwc_reg(window, VREG(WINCTL));
window           1133 arch/powerpc/platforms/powernv/vas-window.c 	if (window->tx_win)
window           1141 arch/powerpc/platforms/powernv/vas-window.c 	if (window->tx_win) {
window           1142 arch/powerpc/platforms/powernv/vas-window.c 		val = read_hvwc_reg(window, VREG(TX_WCRED));
window           1145 arch/powerpc/platforms/powernv/vas-window.c 		val = read_hvwc_reg(window, VREG(LRX_WCRED));
window           1149 arch/powerpc/platforms/powernv/vas-window.c 	if (creds < window->wcreds_max) {
window           1162 arch/powerpc/platforms/powernv/vas-window.c static void poll_window_busy_state(struct vas_window *window)
window           1168 arch/powerpc/platforms/powernv/vas-window.c 	val = read_hvwc_reg(window, VREG(WIN_STATUS));
window           1194 arch/powerpc/platforms/powernv/vas-window.c static void poll_window_castout(struct vas_window *window)
window           1203 arch/powerpc/platforms/powernv/vas-window.c static void unpin_close_window(struct vas_window *window)
window           1207 arch/powerpc/platforms/powernv/vas-window.c 	val = read_hvwc_reg(window, VREG(WINCTL));
window           1210 arch/powerpc/platforms/powernv/vas-window.c 	write_hvwc_reg(window, VREG(WINCTL), val);
window           1225 arch/powerpc/platforms/powernv/vas-window.c int vas_win_close(struct vas_window *window)
window           1227 arch/powerpc/platforms/powernv/vas-window.c 	if (!window)
window           1230 arch/powerpc/platforms/powernv/vas-window.c 	if (!window->tx_win && atomic_read(&window->num_txwins) != 0) {
window           1236 arch/powerpc/platforms/powernv/vas-window.c 	unmap_paste_region(window);
window           1238 arch/powerpc/platforms/powernv/vas-window.c 	clear_vinst_win(window);
window           1240 arch/powerpc/platforms/powernv/vas-window.c 	poll_window_busy_state(window);
window           1242 arch/powerpc/platforms/powernv/vas-window.c 	unpin_close_window(window);
window           1244 arch/powerpc/platforms/powernv/vas-window.c 	poll_window_credits(window);
window           1246 arch/powerpc/platforms/powernv/vas-window.c 	poll_window_castout(window);
window           1249 arch/powerpc/platforms/powernv/vas-window.c 	if (window->tx_win)
window           1250 arch/powerpc/platforms/powernv/vas-window.c 		put_rx_win(window->rxwin);
window           1252 arch/powerpc/platforms/powernv/vas-window.c 	vas_window_free(window);
window            821 arch/powerpc/platforms/pseries/iommu.c 	struct direct_window *window;
window            827 arch/powerpc/platforms/pseries/iommu.c 	list_for_each_entry(window, &direct_window_list, list) {
window            828 arch/powerpc/platforms/pseries/iommu.c 		if (window->device == pdn) {
window            829 arch/powerpc/platforms/pseries/iommu.c 			direct64 = window->prop;
window            843 arch/powerpc/platforms/pseries/iommu.c 	struct direct_window *window;
window            854 arch/powerpc/platforms/pseries/iommu.c 		window = kzalloc(sizeof(*window), GFP_KERNEL);
window            855 arch/powerpc/platforms/pseries/iommu.c 		if (!window || len < sizeof(struct dynamic_dma_window_prop)) {
window            856 arch/powerpc/platforms/pseries/iommu.c 			kfree(window);
window            861 arch/powerpc/platforms/pseries/iommu.c 		window->device = pdn;
window            862 arch/powerpc/platforms/pseries/iommu.c 		window->prop = direct64;
window            864 arch/powerpc/platforms/pseries/iommu.c 		list_add(&window->list, &direct_window_list);
window            991 arch/powerpc/platforms/pseries/iommu.c 	struct direct_window *window;
window           1096 arch/powerpc/platforms/pseries/iommu.c 	window = kzalloc(sizeof(*window), GFP_KERNEL);
window           1097 arch/powerpc/platforms/pseries/iommu.c 	if (!window)
window           1115 arch/powerpc/platforms/pseries/iommu.c 	window->device = pdn;
window           1116 arch/powerpc/platforms/pseries/iommu.c 	window->prop = ddwprop;
window           1118 arch/powerpc/platforms/pseries/iommu.c 	list_add(&window->list, &direct_window_list);
window           1125 arch/powerpc/platforms/pseries/iommu.c 	kfree(window);
window           1236 arch/powerpc/platforms/pseries/iommu.c 	struct direct_window *window;
window           1243 arch/powerpc/platforms/pseries/iommu.c 		list_for_each_entry(window, &direct_window_list, list) {
window           1245 arch/powerpc/platforms/pseries/iommu.c 					arg->nr_pages, window->prop);
window           1253 arch/powerpc/platforms/pseries/iommu.c 		list_for_each_entry(window, &direct_window_list, list) {
window           1255 arch/powerpc/platforms/pseries/iommu.c 					arg->nr_pages, window->prop);
window           1279 arch/powerpc/platforms/pseries/iommu.c 	struct direct_window *window;
window           1296 arch/powerpc/platforms/pseries/iommu.c 		list_for_each_entry(window, &direct_window_list, list) {
window           1297 arch/powerpc/platforms/pseries/iommu.c 			if (window->device == np) {
window           1298 arch/powerpc/platforms/pseries/iommu.c 				list_del(&window->list);
window           1299 arch/powerpc/platforms/pseries/iommu.c 				kfree(window);
window            495 arch/sparc/kernel/process_64.c 	unsigned long window;
window            498 arch/sparc/kernel/process_64.c 	if ((window = get_thread_wsaved()) != 0) {
window            499 arch/sparc/kernel/process_64.c 		window -= 1;
window            501 arch/sparc/kernel/process_64.c 			struct reg_window *rwin = &t->reg_window[window];
window            505 arch/sparc/kernel/process_64.c 			sp = t->rwbuf_stkptrs[window];
window            513 arch/sparc/kernel/process_64.c 				shift_window_buffer(window, get_thread_wsaved() - 1, t);
window            516 arch/sparc/kernel/process_64.c 		} while (window--);
window            533 arch/sparc/kernel/process_64.c 	unsigned long window;
window            536 arch/sparc/kernel/process_64.c 	window = get_thread_wsaved();
window            538 arch/sparc/kernel/process_64.c 	if (likely(window != 0)) {
window            539 arch/sparc/kernel/process_64.c 		window -= 1;
window            541 arch/sparc/kernel/process_64.c 			struct reg_window *rwin = &t->reg_window[window];
window            545 arch/sparc/kernel/process_64.c 			orig_sp = sp = t->rwbuf_stkptrs[window];
window            566 arch/sparc/kernel/process_64.c 		} while (window--);
window            572 arch/sparc/kernel/process_64.c 	set_thread_wsaved(window + 1);
window            263 arch/sparc/kernel/ptrace_64.c 		struct reg_window window;
window            265 arch/sparc/kernel/ptrace_64.c 		if (regwindow64_get(target, regs, &window))
window            268 arch/sparc/kernel/ptrace_64.c 					  &window,
window            313 arch/sparc/kernel/ptrace_64.c 		struct reg_window window;
window            315 arch/sparc/kernel/ptrace_64.c 		if (regwindow64_get(target, regs, &window))
window            319 arch/sparc/kernel/ptrace_64.c 					 &window,
window            324 arch/sparc/kernel/ptrace_64.c 		    regwindow64_set(target, regs, &window))
window             64 arch/sparc/kernel/windows.c 	int window;
window             71 arch/sparc/kernel/windows.c 	for(window = tp->w_saved - 1; window >= 0; window--) {
window             72 arch/sparc/kernel/windows.c 		unsigned long sp = tp->rwbuf_stkptrs[window];
window             75 arch/sparc/kernel/windows.c 		if (copy_to_user((char __user *) sp, &tp->reg_window[window],
window             79 arch/sparc/kernel/windows.c 		shift_window_buffer(window, tp->w_saved - 1, tp);
window            116 arch/sparc/kernel/windows.c 	int window;
window            119 arch/sparc/kernel/windows.c 	for(window = 0; window < tp->w_saved; window++) {
window            120 arch/sparc/kernel/windows.c 		unsigned long sp = tp->rwbuf_stkptrs[window];
window            123 arch/sparc/kernel/windows.c 		    copy_to_user((char __user *) sp, &tp->reg_window[window],
window             35 arch/x86/pci/bus_numa.c 	struct resource_entry *window;
window             45 arch/x86/pci/bus_numa.c 	resource_list_for_each_entry(window, resources)
window             46 arch/x86/pci/bus_numa.c 		if (window->res->flags & IORESOURCE_BUS) {
window             45 arch/xtensa/kernel/signal.c 	unsigned int window[4];
window            321 drivers/edac/i3000_edac.c 	void __iomem *window;
window            327 drivers/edac/i3000_edac.c 	window = ioremap_nocache(mchbar, I3000_MMR_WINDOW_SIZE);
window            328 drivers/edac/i3000_edac.c 	if (!window) {
window            334 drivers/edac/i3000_edac.c 	c0dra[0] = readb(window + I3000_C0DRA + 0);	/* ranks 0,1 */
window            335 drivers/edac/i3000_edac.c 	c0dra[1] = readb(window + I3000_C0DRA + 1);	/* ranks 2,3 */
window            336 drivers/edac/i3000_edac.c 	c1dra[0] = readb(window + I3000_C1DRA + 0);	/* ranks 0,1 */
window            337 drivers/edac/i3000_edac.c 	c1dra[1] = readb(window + I3000_C1DRA + 1);	/* ranks 2,3 */
window            340 drivers/edac/i3000_edac.c 		c0drb[i] = readb(window + I3000_C0DRB + i);
window            341 drivers/edac/i3000_edac.c 		c1drb[i] = readb(window + I3000_C1DRB + i);
window            344 drivers/edac/i3000_edac.c 	iounmap(window);
window            100 drivers/edac/i3200_edac.c 	void __iomem *window;
window            185 drivers/edac/i3200_edac.c 	void __iomem *window = priv->window;
window            198 drivers/edac/i3200_edac.c 	info->eccerrlog[0] = readq(window + I3200_C0ECCERRLOG);
window            200 drivers/edac/i3200_edac.c 		info->eccerrlog[1] = readq(window + I3200_C1ECCERRLOG);
window            211 drivers/edac/i3200_edac.c 		info->eccerrlog[0] = readq(window + I3200_C0ECCERRLOG);
window            213 drivers/edac/i3200_edac.c 			info->eccerrlog[1] = readq(window + I3200_C1ECCERRLOG);
window            270 drivers/edac/i3200_edac.c 	void __iomem *window;
window            283 drivers/edac/i3200_edac.c 	window = ioremap_nocache(u.mchbar, I3200_MMR_WINDOW_SIZE);
window            284 drivers/edac/i3200_edac.c 	if (!window)
window            288 drivers/edac/i3200_edac.c 	return window;
window            292 drivers/edac/i3200_edac.c static void i3200_get_drbs(void __iomem *window,
window            298 drivers/edac/i3200_edac.c 		drbs[0][i] = readw(window + I3200_C0DRB + 2*i) & I3200_DRB_MASK;
window            299 drivers/edac/i3200_edac.c 		drbs[1][i] = readw(window + I3200_C1DRB + 2*i) & I3200_DRB_MASK;
window            344 drivers/edac/i3200_edac.c 	void __iomem *window;
window            349 drivers/edac/i3200_edac.c 	window = i3200_map_mchbar(pdev);
window            350 drivers/edac/i3200_edac.c 	if (!window)
window            353 drivers/edac/i3200_edac.c 	i3200_get_drbs(window, drbs);
window            381 drivers/edac/i3200_edac.c 	priv->window = window;
window            426 drivers/edac/i3200_edac.c 	iounmap(window);
window            461 drivers/edac/i3200_edac.c 	iounmap(priv->window);
window            276 drivers/edac/i82875p_edac.c 	void __iomem *window;
window            313 drivers/edac/i82875p_edac.c 	window = pci_ioremap_bar(dev, 0);
window            314 drivers/edac/i82875p_edac.c 	if (window == NULL) {
window            320 drivers/edac/i82875p_edac.c 	*ovrfl_window = window;
window            175 drivers/edac/ie31200_edac.c 	void __iomem *window;
window            348 drivers/edac/ie31200_edac.c 	void __iomem *window;
window            360 drivers/edac/ie31200_edac.c 	window = ioremap_nocache(u.mchbar, IE31200_MMR_WINDOW_SIZE);
window            361 drivers/edac/ie31200_edac.c 	if (!window)
window            365 drivers/edac/ie31200_edac.c 	return window;
window            401 drivers/edac/ie31200_edac.c 	void __iomem *window;
window            430 drivers/edac/ie31200_edac.c 	window = ie31200_map_mchbar(pdev);
window            431 drivers/edac/ie31200_edac.c 	if (!window) {
window            450 drivers/edac/ie31200_edac.c 	priv->window = window;
window            452 drivers/edac/ie31200_edac.c 		priv->c0errlog = window + IE31200_C0ECCERRLOG_SKL;
window            453 drivers/edac/ie31200_edac.c 		priv->c1errlog = window + IE31200_C1ECCERRLOG_SKL;
window            456 drivers/edac/ie31200_edac.c 		priv->c0errlog = window + IE31200_C0ECCERRLOG;
window            457 drivers/edac/ie31200_edac.c 		priv->c1errlog = window + IE31200_C1ECCERRLOG;
window            463 drivers/edac/ie31200_edac.c 		addr_decode = readl(window + mad_offset +
window            533 drivers/edac/ie31200_edac.c 	iounmap(window);
window            562 drivers/edac/ie31200_edac.c 	iounmap(priv->window);
window            168 drivers/edac/x38_edac.c 	void __iomem *window = mci->pvt_info;
window            181 drivers/edac/x38_edac.c 	info->eccerrlog[0] = lo_hi_readq(window + X38_C0ECCERRLOG);
window            183 drivers/edac/x38_edac.c 		info->eccerrlog[1] = lo_hi_readq(window + X38_C1ECCERRLOG);
window            194 drivers/edac/x38_edac.c 		info->eccerrlog[0] = lo_hi_readq(window + X38_C0ECCERRLOG);
window            197 drivers/edac/x38_edac.c 				lo_hi_readq(window + X38_C1ECCERRLOG);
window            255 drivers/edac/x38_edac.c 	void __iomem *window;
window            269 drivers/edac/x38_edac.c 	window = ioremap_nocache(u.mchbar, X38_MMR_WINDOW_SIZE);
window            270 drivers/edac/x38_edac.c 	if (!window)
window            274 drivers/edac/x38_edac.c 	return window;
window            278 drivers/edac/x38_edac.c static void x38_get_drbs(void __iomem *window,
window            284 drivers/edac/x38_edac.c 		drbs[0][i] = readw(window + X38_C0DRB + 2*i) & X38_DRB_MASK;
window            285 drivers/edac/x38_edac.c 		drbs[1][i] = readw(window + X38_C1DRB + 2*i) & X38_DRB_MASK;
window            326 drivers/edac/x38_edac.c 	void __iomem *window;
window            330 drivers/edac/x38_edac.c 	window = x38_map_mchbar(pdev);
window            331 drivers/edac/x38_edac.c 	if (!window)
window            334 drivers/edac/x38_edac.c 	x38_get_drbs(window, drbs);
window            362 drivers/edac/x38_edac.c 	mci->pvt_info = window;
window            407 drivers/edac/x38_edac.c 	iounmap(window);
window             62 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			     uint64_t offset, unsigned window,
window           1899 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			     uint64_t offset, unsigned window,
window           1918 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	*addr += (u64)window * AMDGPU_GTT_MAX_TRANSFER_SIZE *
window           1935 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	dst_addr += window * AMDGPU_GTT_MAX_TRANSFER_SIZE * 8;
window            288 drivers/gpu/drm/tegra/dc.c 				       const struct tegra_dc_window *window)
window            302 drivers/gpu/drm/tegra/dc.c 	value = K2(255) | K1(255) | WINDOW_LAYER_DEPTH(255 - window->zpos);
window            308 drivers/gpu/drm/tegra/dc.c 				     const struct tegra_dc_window *window)
window            312 drivers/gpu/drm/tegra/dc.c 	if (window->src.w == window->dst.w)
window            323 drivers/gpu/drm/tegra/dc.c 				   const struct tegra_dc_window *window)
window            327 drivers/gpu/drm/tegra/dc.c 	if (window->src.h == window->dst.h)
window            340 drivers/gpu/drm/tegra/dc.c 				  const struct tegra_dc_window *window)
window            351 drivers/gpu/drm/tegra/dc.c 	yuv = tegra_plane_format_is_yuv(window->format, &planar);
window            353 drivers/gpu/drm/tegra/dc.c 		bpp = window->bits_per_pixel / 8;
window            357 drivers/gpu/drm/tegra/dc.c 	tegra_plane_writel(plane, window->format, DC_WIN_COLOR_DEPTH);
window            358 drivers/gpu/drm/tegra/dc.c 	tegra_plane_writel(plane, window->swap, DC_WIN_BYTE_SWAP);
window            360 drivers/gpu/drm/tegra/dc.c 	value = V_POSITION(window->dst.y) | H_POSITION(window->dst.x);
window            363 drivers/gpu/drm/tegra/dc.c 	value = V_SIZE(window->dst.h) | H_SIZE(window->dst.w);
window            366 drivers/gpu/drm/tegra/dc.c 	h_offset = window->src.x * bpp;
window            367 drivers/gpu/drm/tegra/dc.c 	v_offset = window->src.y;
window            368 drivers/gpu/drm/tegra/dc.c 	h_size = window->src.w * bpp;
window            369 drivers/gpu/drm/tegra/dc.c 	v_size = window->src.h;
window            381 drivers/gpu/drm/tegra/dc.c 	h_dda = compute_dda_inc(window->src.w, window->dst.w, false, bpp);
window            382 drivers/gpu/drm/tegra/dc.c 	v_dda = compute_dda_inc(window->src.h, window->dst.h, true, bpp);
window            387 drivers/gpu/drm/tegra/dc.c 	h_dda = compute_initial_dda(window->src.x);
window            388 drivers/gpu/drm/tegra/dc.c 	v_dda = compute_initial_dda(window->src.y);
window            396 drivers/gpu/drm/tegra/dc.c 	tegra_plane_writel(plane, window->base[0], DC_WINBUF_START_ADDR);
window            399 drivers/gpu/drm/tegra/dc.c 		tegra_plane_writel(plane, window->base[1], DC_WINBUF_START_ADDR_U);
window            400 drivers/gpu/drm/tegra/dc.c 		tegra_plane_writel(plane, window->base[2], DC_WINBUF_START_ADDR_V);
window            401 drivers/gpu/drm/tegra/dc.c 		value = window->stride[1] << 16 | window->stride[0];
window            404 drivers/gpu/drm/tegra/dc.c 		tegra_plane_writel(plane, window->stride[0], DC_WIN_LINE_STRIDE);
window            407 drivers/gpu/drm/tegra/dc.c 	if (window->bottom_up)
window            408 drivers/gpu/drm/tegra/dc.c 		v_offset += window->src.h - 1;
window            414 drivers/gpu/drm/tegra/dc.c 		unsigned long height = window->tiling.value;
window            416 drivers/gpu/drm/tegra/dc.c 		switch (window->tiling.mode) {
window            433 drivers/gpu/drm/tegra/dc.c 		switch (window->tiling.mode) {
window            469 drivers/gpu/drm/tegra/dc.c 	} else if (window->bits_per_pixel < 24) {
window            473 drivers/gpu/drm/tegra/dc.c 	if (window->bottom_up)
window            476 drivers/gpu/drm/tegra/dc.c 	if (tegra_plane_use_horizontal_filtering(plane, window)) {
window            501 drivers/gpu/drm/tegra/dc.c 	if (tegra_plane_use_vertical_filtering(plane, window)) {
window            519 drivers/gpu/drm/tegra/dc.c 		tegra_plane_setup_blending(plane, window);
window            689 drivers/gpu/drm/tegra/dc.c 	struct tegra_dc_window window;
window            699 drivers/gpu/drm/tegra/dc.c 	memset(&window, 0, sizeof(window));
window            700 drivers/gpu/drm/tegra/dc.c 	window.src.x = plane->state->src.x1 >> 16;
window            701 drivers/gpu/drm/tegra/dc.c 	window.src.y = plane->state->src.y1 >> 16;
window            702 drivers/gpu/drm/tegra/dc.c 	window.src.w = drm_rect_width(&plane->state->src) >> 16;
window            703 drivers/gpu/drm/tegra/dc.c 	window.src.h = drm_rect_height(&plane->state->src) >> 16;
window            704 drivers/gpu/drm/tegra/dc.c 	window.dst.x = plane->state->dst.x1;
window            705 drivers/gpu/drm/tegra/dc.c 	window.dst.y = plane->state->dst.y1;
window            706 drivers/gpu/drm/tegra/dc.c 	window.dst.w = drm_rect_width(&plane->state->dst);
window            707 drivers/gpu/drm/tegra/dc.c 	window.dst.h = drm_rect_height(&plane->state->dst);
window            708 drivers/gpu/drm/tegra/dc.c 	window.bits_per_pixel = fb->format->cpp[0] * 8;
window            709 drivers/gpu/drm/tegra/dc.c 	window.bottom_up = tegra_fb_is_bottom_up(fb) || state->bottom_up;
window            712 drivers/gpu/drm/tegra/dc.c 	window.zpos = plane->state->normalized_zpos;
window            713 drivers/gpu/drm/tegra/dc.c 	window.tiling = state->tiling;
window            714 drivers/gpu/drm/tegra/dc.c 	window.format = state->format;
window            715 drivers/gpu/drm/tegra/dc.c 	window.swap = state->swap;
window            720 drivers/gpu/drm/tegra/dc.c 		window.base[i] = bo->paddr + fb->offsets[i];
window            728 drivers/gpu/drm/tegra/dc.c 			window.stride[i] = fb->pitches[i];
window            731 drivers/gpu/drm/tegra/dc.c 	tegra_dc_setup_window(p, &window);
window           3995 drivers/infiniband/hw/cxgb4/cm.c 				  u32 rcv_isn, u32 filter, u16 window,
window           4016 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.rcv_adv = htons(window);
window           4069 drivers/infiniband/hw/cxgb4/cm.c 	u16 window;
window           4171 drivers/infiniband/hw/cxgb4/cm.c 	window = (__force u16) htons((__force u16)tcph->window);
window           4185 drivers/infiniband/hw/cxgb4/cm.c 			      tcph->source, ntohl(tcph->seq), filter, window,
window            518 drivers/infiniband/hw/i40iw/i40iw_cm.c 	tcph->window = htons(cm_node->tcp_cntxt.rcv_wnd);
window            721 drivers/infiniband/hw/i40iw/i40iw_cm.c 	cm_node->tcp_cntxt.snd_wnd = ntohs(tcph->window) <<
window            198 drivers/iommu/dma-iommu.c 	struct resource_entry *window;
window            202 drivers/iommu/dma-iommu.c 	resource_list_for_each_entry(window, &bridge->windows) {
window            203 drivers/iommu/dma-iommu.c 		if (resource_type(window->res) != IORESOURCE_MEM)
window            206 drivers/iommu/dma-iommu.c 		lo = iova_pfn(iovad, window->res->start - window->offset);
window            207 drivers/iommu/dma-iommu.c 		hi = iova_pfn(iovad, window->res->end - window->offset);
window            212 drivers/iommu/dma-iommu.c 	resource_list_for_each_entry(window, &bridge->dma_ranges) {
window            213 drivers/iommu/dma-iommu.c 		end = window->res->start - window->offset;
window            225 drivers/iommu/dma-iommu.c 		start = window->res->end - window->offset + 1;
window            227 drivers/iommu/dma-iommu.c 		if (window->node.next == &bridge->dma_ranges &&
window            378 drivers/isdn/mISDN/layer2.c 	return (p1 < l2->window) && !test_bit(FLG_PEER_BUSY, &l2->flag);
window            607 drivers/isdn/mISDN/layer2.c 		l2->sow = (l2->sow + 1) % l2->window;
window           1169 drivers/isdn/mISDN/layer2.c 			p1 = (p1 + l2->sow) % l2->window;
window           1499 drivers/isdn/mISDN/layer2.c 	p1 = (p1 + l2->sow) % l2->window;
window           2133 drivers/isdn/mISDN/layer2.c 			l2->window = 7;
window           2135 drivers/isdn/mISDN/layer2.c 			l2->window = 1;
window           2158 drivers/isdn/mISDN/layer2.c 			l2->window = 7;
window           2160 drivers/isdn/mISDN/layer2.c 			l2->window = 1;
window           2178 drivers/isdn/mISDN/layer2.c 		l2->window = 7;
window             56 drivers/isdn/mISDN/layer2.h 	u_int			window;
window           8405 drivers/md/md.c 	unsigned int currspeed = 0, window;
window           8593 drivers/md/md.c 	window = 32 * (PAGE_SIZE / 512);
window           8595 drivers/md/md.c 		 window/2, (unsigned long long)max_sectors/2);
window           8681 drivers/md/md.c 		if (last_check + window > io_sectors || j == max_sectors)
window            440 drivers/media/platform/vsp1/vsp1_pipe.c 				       struct vsp1_partition_window *window)
window            447 drivers/media/platform/vsp1/vsp1_pipe.c 					       window);
window            170 drivers/media/platform/vsp1/vsp1_pipe.h 				       struct vsp1_partition_window *window);
window            328 drivers/media/platform/vsp1/vsp1_rpf.c 			  struct vsp1_partition_window *window)
window            330 drivers/media/platform/vsp1/vsp1_rpf.c 	partition->rpf = *window;
window            331 drivers/media/platform/vsp1/vsp1_sru.c 			  struct vsp1_partition_window *window)
window            344 drivers/media/platform/vsp1/vsp1_sru.c 		window->width /= 2;
window            345 drivers/media/platform/vsp1/vsp1_sru.c 		window->left /= 2;
window            348 drivers/media/platform/vsp1/vsp1_sru.c 	partition->sru = *window;
window            372 drivers/media/platform/vsp1/vsp1_uds.c 			  struct vsp1_partition_window *window)
window            379 drivers/media/platform/vsp1/vsp1_uds.c 	partition->uds_sink = *window;
window            380 drivers/media/platform/vsp1/vsp1_uds.c 	partition->uds_source = *window;
window            387 drivers/media/platform/vsp1/vsp1_uds.c 	partition->uds_sink.width = window->width * input->width
window            389 drivers/media/platform/vsp1/vsp1_uds.c 	partition->uds_sink.left = window->left * input->width
window            392 drivers/media/platform/vsp1/vsp1_uds.c 	*window = partition->uds_sink;
window            192 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_partition_window window;
window            205 drivers/media/platform/vsp1/vsp1_video.c 		window.left = 0;
window            206 drivers/media/platform/vsp1/vsp1_video.c 		window.width = format->width;
window            209 drivers/media/platform/vsp1/vsp1_video.c 						  &window);
window            214 drivers/media/platform/vsp1/vsp1_video.c 	window.left = index * div_size;
window            215 drivers/media/platform/vsp1/vsp1_video.c 	window.width = div_size;
window            238 drivers/media/platform/vsp1/vsp1_video.c 				window.width = div_size / 2;
window            241 drivers/media/platform/vsp1/vsp1_video.c 				window.width = (div_size / 2) + modulus;
window            242 drivers/media/platform/vsp1/vsp1_video.c 				window.left -= div_size / 2;
window            245 drivers/media/platform/vsp1/vsp1_video.c 			window.width = modulus;
window            249 drivers/media/platform/vsp1/vsp1_video.c 	vsp1_pipeline_propagate_partition(pipe, partition, index, &window);
window            545 drivers/media/platform/vsp1/vsp1_wpf.c 			  struct vsp1_partition_window *window)
window            547 drivers/media/platform/vsp1/vsp1_wpf.c 	partition->wpf = *window;
window             40 drivers/misc/mic/scif/scif_debugfs.c static void scif_display_window(struct scif_window *window, struct seq_file *s)
window             44 drivers/misc/mic/scif/scif_debugfs.c 	scif_pinned_pages_t pin = window->pinned_pages;
window             47 drivers/misc/mic/scif/scif_debugfs.c 		   window, window->type, window->temp, window->offset);
window             49 drivers/misc/mic/scif/scif_debugfs.c 		   window->nr_pages, window->nr_contig_chunks, window->prot);
window             51 drivers/misc/mic/scif/scif_debugfs.c 		   window->ref_count, window->magic, window->peer_window);
window             53 drivers/misc/mic/scif/scif_debugfs.c 		   window->unreg_state, window->va_for_temp);
window             55 drivers/misc/mic/scif/scif_debugfs.c 	for (j = 0; j < window->nr_contig_chunks; j++)
window             57 drivers/misc/mic/scif/scif_debugfs.c 			   window->dma_addr[j], window->num_pages[j]);
window             59 drivers/misc/mic/scif/scif_debugfs.c 	if (window->type == SCIF_WINDOW_SELF && pin)
window             60 drivers/misc/mic/scif/scif_debugfs.c 		for (j = 0; j < window->nr_pages; j++)
window             65 drivers/misc/mic/scif/scif_debugfs.c 	if (window->st)
window             66 drivers/misc/mic/scif/scif_debugfs.c 		for_each_sg(window->st->sgl, sg, window->st->nents, j)
window             74 drivers/misc/mic/scif/scif_debugfs.c 	struct scif_window *window;
window             77 drivers/misc/mic/scif/scif_debugfs.c 		window = list_entry(item, struct scif_window, list);
window             78 drivers/misc/mic/scif/scif_debugfs.c 		scif_display_window(window, s);
window            112 drivers/misc/mic/scif/scif_dma.c 	struct scif_window *window;
window            120 drivers/misc/mic/scif/scif_dma.c 		window = list_entry(item, struct scif_window, list);
window            123 drivers/misc/mic/scif/scif_dma.c 		start_va = window->va_for_temp;
window            124 drivers/misc/mic/scif/scif_dma.c 		end_va = start_va + (window->nr_pages << PAGE_SHIFT);
window            129 drivers/misc/mic/scif/scif_dma.c 		__scif_rma_destroy_tcw_helper(window);
window            570 drivers/misc/mic/scif/scif_dma.c 	struct scif_window *window;
window            578 drivers/misc/mic/scif/scif_dma.c 		window = list_entry(item, struct scif_window,
window            580 drivers/misc/mic/scif/scif_dma.c 		ep = (struct scif_endpt *)window->ep;
window            583 drivers/misc/mic/scif/scif_dma.c 		list_del_init(&window->list);
window            589 drivers/misc/mic/scif/scif_dma.c 			window->unreg_state = OP_COMPLETED;
window            593 drivers/misc/mic/scif/scif_dma.c 		if (window->unreg_state == OP_COMPLETED) {
window            594 drivers/misc/mic/scif/scif_dma.c 			if (window->type == SCIF_WINDOW_SELF)
window            595 drivers/misc/mic/scif/scif_dma.c 				scif_destroy_window(ep, window);
window            597 drivers/misc/mic/scif/scif_dma.c 				scif_destroy_remote_window(window);
window            614 drivers/misc/mic/scif/scif_dma.c 	struct scif_window *window;
window            622 drivers/misc/mic/scif/scif_dma.c 		window = list_entry(item, struct scif_window, list);
window            623 drivers/misc/mic/scif/scif_dma.c 		ep = (struct scif_endpt *)window->ep;
window            625 drivers/misc/mic/scif/scif_dma.c 		list_del_init(&window->list);
window            631 drivers/misc/mic/scif/scif_dma.c 			atomic_sub(window->nr_pages,
window            633 drivers/misc/mic/scif/scif_dma.c 			scif_destroy_window(ep, window);
window            646 drivers/misc/mic/scif/scif_dma.c void *_get_local_va(off_t off, struct scif_window *window, size_t len)
window            648 drivers/misc/mic/scif/scif_dma.c 	int page_nr = (off - window->offset) >> PAGE_SHIFT;
window            652 drivers/misc/mic/scif/scif_dma.c 	if (window->type == SCIF_WINDOW_SELF) {
window            653 drivers/misc/mic/scif/scif_dma.c 		struct page **pages = window->pinned_pages->pages;
window            661 drivers/misc/mic/scif/scif_dma.c void *ioremap_remote(off_t off, struct scif_window *window,
window            665 drivers/misc/mic/scif/scif_dma.c 	dma_addr_t phys = scif_off_to_dma_addr(window, off, NULL, iter);
window            672 drivers/misc/mic/scif/scif_dma.c 	if (!scifdev_self(dev) && window->type == SCIF_WINDOW_PEER &&
window            747 drivers/misc/mic/scif/scif_dma.c dma_addr_t scif_off_to_dma_addr(struct scif_window *window, s64 off,
window            754 drivers/misc/mic/scif/scif_dma.c 	if (window->nr_pages == window->nr_contig_chunks) {
window            755 drivers/misc/mic/scif/scif_dma.c 		page_nr = (off - window->offset) >> PAGE_SHIFT;
window            760 drivers/misc/mic/scif/scif_dma.c 		return window->dma_addr[page_nr] | page_off;
window            767 drivers/misc/mic/scif/scif_dma.c 		start =  window->offset;
window            769 drivers/misc/mic/scif/scif_dma.c 	for (; i < window->nr_contig_chunks; i++) {
window            770 drivers/misc/mic/scif/scif_dma.c 		end = start + (window->num_pages[i] << PAGE_SHIFT);
window            778 drivers/misc/mic/scif/scif_dma.c 			return (window->dma_addr[i] + (off - start));
window            780 drivers/misc/mic/scif/scif_dma.c 		start += (window->num_pages[i] << PAGE_SHIFT);
window            784 drivers/misc/mic/scif/scif_dma.c 		__func__, __LINE__, window, off);
window            791 drivers/misc/mic/scif/scif_dma.c static void scif_rma_local_cpu_copy(s64 offset, struct scif_window *window,
window            805 drivers/misc/mic/scif/scif_dma.c 	window_virt = _get_local_va(offset, window, loop_len);
window            817 drivers/misc/mic/scif/scif_dma.c 	end_offset = window->offset +
window            818 drivers/misc/mic/scif/scif_dma.c 		(window->nr_pages << PAGE_SHIFT);
window            821 drivers/misc/mic/scif/scif_dma.c 			window = list_next_entry(window, list);
window            822 drivers/misc/mic/scif/scif_dma.c 			end_offset = window->offset +
window            823 drivers/misc/mic/scif/scif_dma.c 				(window->nr_pages << PAGE_SHIFT);
window            826 drivers/misc/mic/scif/scif_dma.c 		window_virt = _get_local_va(offset, window, loop_len);
window            877 drivers/misc/mic/scif/scif_dma.c 	struct scif_window *window;
window            886 drivers/misc/mic/scif/scif_dma.c 		window = work->dst_window;
window            889 drivers/misc/mic/scif/scif_dma.c 		window = work->src_window;
window            896 drivers/misc/mic/scif/scif_dma.c 		window_virt_addr = ioremap_remote(offset, window,
window            920 drivers/misc/mic/scif/scif_dma.c 	end_offset = window->offset +
window            921 drivers/misc/mic/scif/scif_dma.c 		(window->nr_pages << PAGE_SHIFT);
window            927 drivers/misc/mic/scif/scif_dma.c 			window = list_next_entry(window, list);
window            928 drivers/misc/mic/scif/scif_dma.c 			end_offset = window->offset +
window            929 drivers/misc/mic/scif/scif_dma.c 				(window->nr_pages << PAGE_SHIFT);
window            936 drivers/misc/mic/scif/scif_dma.c 		window_dma_addr = scif_off_to_dma_addr(window, offset,
window           1032 drivers/misc/mic/scif/scif_dma.c 			window = list_next_entry(window, list);
window           1033 drivers/misc/mic/scif/scif_dma.c 			end_offset = window->offset +
window           1034 drivers/misc/mic/scif/scif_dma.c 				(window->nr_pages << PAGE_SHIFT);
window           1036 drivers/misc/mic/scif/scif_dma.c 		window_virt_addr = ioremap_remote(offset, window, tail_len,
window            178 drivers/misc/mic/scif/scif_fence.c static inline void *scif_get_local_va(off_t off, struct scif_window *window)
window            180 drivers/misc/mic/scif/scif_fence.c 	struct page **pages = window->pinned_pages->pages;
window            181 drivers/misc/mic/scif/scif_fence.c 	int page_nr = (off - window->offset) >> PAGE_SHIFT;
window            297 drivers/misc/mic/scif/scif_fence.c 	struct scif_window *window = NULL;
window            303 drivers/misc/mic/scif/scif_fence.c 	req.out_window = &window;
window            324 drivers/misc/mic/scif/scif_fence.c 			dst_virt = scif_get_local_va(offset, window);
window            328 drivers/misc/mic/scif/scif_fence.c 					  window->peer_window);
window            331 drivers/misc/mic/scif/scif_fence.c 		dst_dma_addr = __scif_off_to_dma_addr(window, offset);
window             25 drivers/misc/mic/scif/scif_mmap.c 	struct scif_window *window = NULL;
window             31 drivers/misc/mic/scif/scif_mmap.c 	req.out_window = &window;
window             48 drivers/misc/mic/scif/scif_mmap.c 	scif_put_window(window, window->nr_pages);
window             50 drivers/misc/mic/scif/scif_mmap.c 	if (!window->ref_count) {
window             53 drivers/misc/mic/scif/scif_mmap.c 		list_del_init(&window->list);
window             54 drivers/misc/mic/scif/scif_mmap.c 		scif_free_window_offset(ep, window, window->offset);
window             58 drivers/misc/mic/scif/scif_mmap.c 	if (window && !window->ref_count)
window             59 drivers/misc/mic/scif/scif_mmap.c 		scif_queue_for_cleanup(window, &scif_info.rma);
window            125 drivers/misc/mic/scif/scif_mmap.c 	struct scif_window *window;
window            128 drivers/misc/mic/scif/scif_mmap.c 		window = list_entry(pos, struct scif_window, list);
window            129 drivers/misc/mic/scif/scif_mmap.c 		if (window->ref_count)
window            130 drivers/misc/mic/scif/scif_mmap.c 			scif_put_window(window, window->nr_pages);
window            135 drivers/misc/mic/scif/scif_mmap.c 		if (!window->ref_count) {
window            137 drivers/misc/mic/scif/scif_mmap.c 			list_del_init(&window->list);
window            138 drivers/misc/mic/scif/scif_mmap.c 			scif_queue_for_cleanup(window, &scif_info.rma);
window            217 drivers/misc/mic/scif/scif_mmap.c 	struct scif_window *window = NULL;
window            235 drivers/misc/mic/scif/scif_mmap.c 	req.out_window = &window;
window            274 drivers/misc/mic/scif/scif_mmap.c 	(*pages)->cookie = window;
window            276 drivers/misc/mic/scif/scif_mmap.c 	(*pages)->prot_flags = window->prot;
window            280 drivers/misc/mic/scif/scif_mmap.c 			__scif_off_to_dma_addr(window, offset +
window            291 drivers/misc/mic/scif/scif_mmap.c 	scif_get_window(window, nr_pages);
window            313 drivers/misc/mic/scif/scif_mmap.c 	struct scif_window *window;
window            319 drivers/misc/mic/scif/scif_mmap.c 	window = pages->cookie;
window            321 drivers/misc/mic/scif/scif_mmap.c 	if (!window || window->magic != SCIFEP_MAGIC)
window            324 drivers/misc/mic/scif/scif_mmap.c 	ep = (struct scif_endpt *)window->ep;
window            336 drivers/misc/mic/scif/scif_mmap.c 	scif_put_window(window, pages->nr_pages);
window            339 drivers/misc/mic/scif/scif_mmap.c 	if (!window->ref_count) {
window            340 drivers/misc/mic/scif/scif_mmap.c 		list_del(&window->list);
window            347 drivers/misc/mic/scif/scif_mmap.c 		msg.payload[0] = window->peer_window;
window            351 drivers/misc/mic/scif/scif_mmap.c 		scif_destroy_remote_window(window);
window            376 drivers/misc/mic/scif/scif_mmap.c 	struct scif_window *window = start_window;
window            386 drivers/misc/mic/scif/scif_mmap.c 	list_for_each_entry_from(window, head, list) {
window            387 drivers/misc/mic/scif/scif_mmap.c 		end_offset = window->offset +
window            388 drivers/misc/mic/scif/scif_mmap.c 			(window->nr_pages << PAGE_SHIFT);
window            392 drivers/misc/mic/scif/scif_mmap.c 		scif_init_window_iter(window, &src_win_iter);
window            394 drivers/misc/mic/scif/scif_mmap.c 			phys_addr = scif_off_to_dma_addr(window, loop_offset,
window            420 drivers/misc/mic/scif/scif_mmap.c 	window = start_window;
window            422 drivers/misc/mic/scif/scif_mmap.c 	list_for_each_entry_from(window, head, list) {
window            423 drivers/misc/mic/scif/scif_mmap.c 		end_offset = window->offset +
window            424 drivers/misc/mic/scif/scif_mmap.c 			(window->nr_pages << PAGE_SHIFT);
window            428 drivers/misc/mic/scif/scif_mmap.c 		scif_get_window(window, loop_nr_pages);
window            457 drivers/misc/mic/scif/scif_mmap.c 	struct scif_window *window = start_window, *_window;
window            463 drivers/misc/mic/scif/scif_mmap.c 	list_for_each_entry_safe_from(window, _window, head, list) {
window            464 drivers/misc/mic/scif/scif_mmap.c 		end_offset = window->offset +
window            465 drivers/misc/mic/scif/scif_mmap.c 			(window->nr_pages << PAGE_SHIFT);
window            469 drivers/misc/mic/scif/scif_mmap.c 		scif_put_window(window, loop_nr_pages);
window            470 drivers/misc/mic/scif/scif_mmap.c 		if (!window->ref_count) {
window            476 drivers/misc/mic/scif/scif_mmap.c 			msg.payload[0] = window->peer_window;
window            479 drivers/misc/mic/scif/scif_mmap.c 			list_del(&window->list);
window            481 drivers/misc/mic/scif/scif_mmap.c 			scif_destroy_remote_window(window);
window            549 drivers/misc/mic/scif/scif_mmap.c 	struct scif_window *window = NULL;
window            562 drivers/misc/mic/scif/scif_mmap.c 	req.out_window = &window;
window            576 drivers/misc/mic/scif/scif_mmap.c 		scif_rma_list_munmap(window, offset, nr_pages);
window            605 drivers/misc/mic/scif/scif_mmap.c 	struct scif_window *window = NULL;
window            634 drivers/misc/mic/scif/scif_mmap.c 	req.out_window = &window;
window            672 drivers/misc/mic/scif/scif_mmap.c 	err = scif_rma_list_mmap(window, start_offset, nr_pages, vma);
window            142 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window;
window            145 drivers/misc/mic/scif/scif_rma.c 	window = scif_zalloc(sizeof(*window));
window            146 drivers/misc/mic/scif/scif_rma.c 	if (!window)
window            149 drivers/misc/mic/scif/scif_rma.c 	window->dma_addr = scif_zalloc(nr_pages * sizeof(*window->dma_addr));
window            150 drivers/misc/mic/scif/scif_rma.c 	if (!window->dma_addr)
window            153 drivers/misc/mic/scif/scif_rma.c 	window->num_pages = scif_zalloc(nr_pages * sizeof(*window->num_pages));
window            154 drivers/misc/mic/scif/scif_rma.c 	if (!window->num_pages)
window            157 drivers/misc/mic/scif/scif_rma.c 	window->offset = offset;
window            158 drivers/misc/mic/scif/scif_rma.c 	window->ep = (u64)ep;
window            159 drivers/misc/mic/scif/scif_rma.c 	window->magic = SCIFEP_MAGIC;
window            160 drivers/misc/mic/scif/scif_rma.c 	window->reg_state = OP_IDLE;
window            161 drivers/misc/mic/scif/scif_rma.c 	init_waitqueue_head(&window->regwq);
window            162 drivers/misc/mic/scif/scif_rma.c 	window->unreg_state = OP_IDLE;
window            163 drivers/misc/mic/scif/scif_rma.c 	init_waitqueue_head(&window->unregwq);
window            164 drivers/misc/mic/scif/scif_rma.c 	INIT_LIST_HEAD(&window->list);
window            165 drivers/misc/mic/scif/scif_rma.c 	window->type = SCIF_WINDOW_SELF;
window            166 drivers/misc/mic/scif/scif_rma.c 	window->temp = temp;
window            167 drivers/misc/mic/scif/scif_rma.c 	return window;
window            170 drivers/misc/mic/scif/scif_rma.c 	scif_free(window->dma_addr,
window            171 drivers/misc/mic/scif/scif_rma.c 		  nr_pages * sizeof(*window->dma_addr));
window            172 drivers/misc/mic/scif/scif_rma.c 	scif_free(window, sizeof(*window));
window            185 drivers/misc/mic/scif/scif_rma.c 					   struct scif_window *window)
window            188 drivers/misc/mic/scif/scif_rma.c 	int nr_pages = window->nr_pages;
window            189 drivers/misc/mic/scif/scif_rma.c 	struct scif_allocmsg *alloc = &window->alloc_handle;
window            205 drivers/misc/mic/scif/scif_rma.c 		msg.payload[1] = window->alloc_handle.vaddr;
window            206 drivers/misc/mic/scif/scif_rma.c 		msg.payload[2] = (u64)window;
window            212 drivers/misc/mic/scif/scif_rma.c 	scif_free_window_offset(ep, window, window->offset);
window            213 drivers/misc/mic/scif/scif_rma.c 	scif_free(window->dma_addr, nr_pages * sizeof(*window->dma_addr));
window            214 drivers/misc/mic/scif/scif_rma.c 	scif_free(window->num_pages, nr_pages * sizeof(*window->num_pages));
window            215 drivers/misc/mic/scif/scif_rma.c 	scif_free(window, sizeof(*window));
window            225 drivers/misc/mic/scif/scif_rma.c void scif_unmap_window(struct scif_dev *remote_dev, struct scif_window *window)
window            230 drivers/misc/mic/scif/scif_rma.c 		if (window->st) {
window            232 drivers/misc/mic/scif/scif_rma.c 				     window->st->sgl, window->st->nents,
window            234 drivers/misc/mic/scif/scif_rma.c 			sg_free_table(window->st);
window            235 drivers/misc/mic/scif/scif_rma.c 			kfree(window->st);
window            236 drivers/misc/mic/scif/scif_rma.c 			window->st = NULL;
window            239 drivers/misc/mic/scif/scif_rma.c 		for (j = 0; j < window->nr_contig_chunks; j++) {
window            240 drivers/misc/mic/scif/scif_rma.c 			if (window->dma_addr[j]) {
window            241 drivers/misc/mic/scif/scif_rma.c 				scif_unmap_single(window->dma_addr[j],
window            243 drivers/misc/mic/scif/scif_rma.c 						  window->num_pages[j] <<
window            245 drivers/misc/mic/scif/scif_rma.c 				window->dma_addr[j] = 0x0;
window            303 drivers/misc/mic/scif/scif_rma.c int scif_destroy_window(struct scif_endpt *ep, struct scif_window *window)
window            306 drivers/misc/mic/scif/scif_rma.c 	struct scif_pinned_pages *pinned_pages = window->pinned_pages;
window            307 drivers/misc/mic/scif/scif_rma.c 	int nr_pages = window->nr_pages;
window            310 drivers/misc/mic/scif/scif_rma.c 	if (!window->temp && window->mm) {
window            311 drivers/misc/mic/scif/scif_rma.c 		__scif_dec_pinned_vm_lock(window->mm, window->nr_pages);
window            312 drivers/misc/mic/scif/scif_rma.c 		__scif_release_mm(window->mm);
window            313 drivers/misc/mic/scif/scif_rma.c 		window->mm = NULL;
window            316 drivers/misc/mic/scif/scif_rma.c 	scif_free_window_offset(ep, window, window->offset);
window            317 drivers/misc/mic/scif/scif_rma.c 	scif_unmap_window(ep->remote_dev, window);
window            333 drivers/misc/mic/scif/scif_rma.c 		scif_destroy_pinned_pages(window->pinned_pages);
window            334 drivers/misc/mic/scif/scif_rma.c 	scif_free(window->dma_addr, nr_pages * sizeof(*window->dma_addr));
window            335 drivers/misc/mic/scif/scif_rma.c 	scif_free(window->num_pages, nr_pages * sizeof(*window->num_pages));
window            336 drivers/misc/mic/scif/scif_rma.c 	window->magic = 0;
window            337 drivers/misc/mic/scif/scif_rma.c 	scif_free(window, sizeof(*window));
window            351 drivers/misc/mic/scif/scif_rma.c 				     struct scif_window *window)
window            354 drivers/misc/mic/scif/scif_rma.c 	int nr_pages = window->nr_pages;
window            359 drivers/misc/mic/scif/scif_rma.c 	err = scif_map_single(&window->mapped_offset,
window            360 drivers/misc/mic/scif/scif_rma.c 			      window, remote_dev, sizeof(*window));
window            365 drivers/misc/mic/scif/scif_rma.c 	window->nr_lookup = ALIGN(nr_pages * PAGE_SIZE,
window            368 drivers/misc/mic/scif/scif_rma.c 	window->dma_addr_lookup.lookup =
window            369 drivers/misc/mic/scif/scif_rma.c 		scif_alloc_coherent(&window->dma_addr_lookup.offset,
window            370 drivers/misc/mic/scif/scif_rma.c 				    remote_dev, window->nr_lookup *
window            371 drivers/misc/mic/scif/scif_rma.c 				    sizeof(*window->dma_addr_lookup.lookup),
window            373 drivers/misc/mic/scif/scif_rma.c 	if (!window->dma_addr_lookup.lookup) {
window            378 drivers/misc/mic/scif/scif_rma.c 	window->num_pages_lookup.lookup =
window            379 drivers/misc/mic/scif/scif_rma.c 		scif_alloc_coherent(&window->num_pages_lookup.offset,
window            380 drivers/misc/mic/scif/scif_rma.c 				    remote_dev, window->nr_lookup *
window            381 drivers/misc/mic/scif/scif_rma.c 				    sizeof(*window->num_pages_lookup.lookup),
window            383 drivers/misc/mic/scif/scif_rma.c 	if (!window->num_pages_lookup.lookup) {
window            388 drivers/misc/mic/scif/scif_rma.c 	vmalloc_dma_phys = is_vmalloc_addr(&window->dma_addr[0]);
window            389 drivers/misc/mic/scif/scif_rma.c 	vmalloc_num_pages = is_vmalloc_addr(&window->num_pages[0]);
window            393 drivers/misc/mic/scif/scif_rma.c 		err = scif_map_page(&window->dma_addr_lookup.lookup[j],
window            395 drivers/misc/mic/scif/scif_rma.c 				    vmalloc_to_page(&window->dma_addr[i]) :
window            396 drivers/misc/mic/scif/scif_rma.c 				    virt_to_page(&window->dma_addr[i]),
window            400 drivers/misc/mic/scif/scif_rma.c 		err = scif_map_page(&window->num_pages_lookup.lookup[j],
window            402 drivers/misc/mic/scif/scif_rma.c 				    vmalloc_to_page(&window->num_pages[i]) :
window            403 drivers/misc/mic/scif/scif_rma.c 				    virt_to_page(&window->num_pages[i]),
window            422 drivers/misc/mic/scif/scif_rma.c 				       struct scif_window *window)
window            426 drivers/misc/mic/scif/scif_rma.c 	if (window->nr_lookup) {
window            427 drivers/misc/mic/scif/scif_rma.c 		struct scif_rma_lookup *lup = &window->dma_addr_lookup;
window            428 drivers/misc/mic/scif/scif_rma.c 		struct scif_rma_lookup *npup = &window->num_pages_lookup;
window            430 drivers/misc/mic/scif/scif_rma.c 		for (i = 0, j = 0; i < window->nr_pages;
window            443 drivers/misc/mic/scif/scif_rma.c 					   remote_dev, window->nr_lookup *
window            447 drivers/misc/mic/scif/scif_rma.c 					   remote_dev, window->nr_lookup *
window            449 drivers/misc/mic/scif/scif_rma.c 		if (window->mapped_offset)
window            450 drivers/misc/mic/scif/scif_rma.c 			scif_unmap_single(window->mapped_offset,
window            451 drivers/misc/mic/scif/scif_rma.c 					  remote_dev, sizeof(*window));
window            452 drivers/misc/mic/scif/scif_rma.c 		window->nr_lookup = 0;
window            466 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window;
window            469 drivers/misc/mic/scif/scif_rma.c 	window = scif_zalloc(sizeof(*window));
window            470 drivers/misc/mic/scif/scif_rma.c 	if (!window)
window            473 drivers/misc/mic/scif/scif_rma.c 	window->magic = SCIFEP_MAGIC;
window            474 drivers/misc/mic/scif/scif_rma.c 	window->nr_pages = nr_pages;
window            476 drivers/misc/mic/scif/scif_rma.c 	window->dma_addr = scif_zalloc(nr_pages * sizeof(*window->dma_addr));
window            477 drivers/misc/mic/scif/scif_rma.c 	if (!window->dma_addr)
window            480 drivers/misc/mic/scif/scif_rma.c 	window->num_pages = scif_zalloc(nr_pages *
window            481 drivers/misc/mic/scif/scif_rma.c 					sizeof(*window->num_pages));
window            482 drivers/misc/mic/scif/scif_rma.c 	if (!window->num_pages)
window            485 drivers/misc/mic/scif/scif_rma.c 	if (scif_create_remote_lookup(scifdev, window))
window            488 drivers/misc/mic/scif/scif_rma.c 	window->type = SCIF_WINDOW_PEER;
window            489 drivers/misc/mic/scif/scif_rma.c 	window->unreg_state = OP_IDLE;
window            490 drivers/misc/mic/scif/scif_rma.c 	INIT_LIST_HEAD(&window->list);
window            491 drivers/misc/mic/scif/scif_rma.c 	return window;
window            493 drivers/misc/mic/scif/scif_rma.c 	scif_destroy_remote_window(window);
window            506 drivers/misc/mic/scif/scif_rma.c scif_destroy_remote_window(struct scif_window *window)
window            508 drivers/misc/mic/scif/scif_rma.c 	scif_free(window->dma_addr, window->nr_pages *
window            509 drivers/misc/mic/scif/scif_rma.c 		  sizeof(*window->dma_addr));
window            510 drivers/misc/mic/scif/scif_rma.c 	scif_free(window->num_pages, window->nr_pages *
window            511 drivers/misc/mic/scif/scif_rma.c 		  sizeof(*window->num_pages));
window            512 drivers/misc/mic/scif/scif_rma.c 	window->magic = 0;
window            513 drivers/misc/mic/scif/scif_rma.c 	scif_free(window, sizeof(*window));
window            525 drivers/misc/mic/scif/scif_rma.c 			  struct scif_window *window)
window            529 drivers/misc/mic/scif/scif_rma.c 	scif_pinned_pages_t pin = window->pinned_pages;
window            531 drivers/misc/mic/scif/scif_rma.c 	window->st = kzalloc(sizeof(*window->st), GFP_KERNEL);
window            532 drivers/misc/mic/scif/scif_rma.c 	if (!window->st)
window            535 drivers/misc/mic/scif/scif_rma.c 	err = sg_alloc_table(window->st, window->nr_pages, GFP_KERNEL);
window            539 drivers/misc/mic/scif/scif_rma.c 	for_each_sg(window->st->sgl, sg, window->st->nents, i)
window            542 drivers/misc/mic/scif/scif_rma.c 	err = dma_map_sg(&remote_dev->sdev->dev, window->st->sgl,
window            543 drivers/misc/mic/scif/scif_rma.c 			 window->st->nents, DMA_BIDIRECTIONAL);
window            547 drivers/misc/mic/scif/scif_rma.c 	sg = window->st->sgl;
window            551 drivers/misc/mic/scif/scif_rma.c 		window->dma_addr[i] = sg_dma_address(sg);
window            552 drivers/misc/mic/scif/scif_rma.c 		window->num_pages[i] = sg_dma_len(sg) >> PAGE_SHIFT;
window            555 drivers/misc/mic/scif/scif_rma.c 			window->num_pages[i] +=
window            557 drivers/misc/mic/scif/scif_rma.c 			last_da = window->dma_addr[i] +
window            560 drivers/misc/mic/scif/scif_rma.c 		window->nr_contig_chunks++;
window            574 drivers/misc/mic/scif/scif_rma.c scif_map_window(struct scif_dev *remote_dev, struct scif_window *window)
window            582 drivers/misc/mic/scif/scif_rma.c 	pin = window->pinned_pages;
window            585 drivers/misc/mic/scif/scif_rma.c 		return scif_iommu_map(remote_dev, window);
window            587 drivers/misc/mic/scif/scif_rma.c 	for (i = 0, j = 0; i < window->nr_pages; i += nr_contig_pages, j++) {
window            592 drivers/misc/mic/scif/scif_rma.c 		for (k = i + 1; k < window->nr_pages; k++) {
window            599 drivers/misc/mic/scif/scif_rma.c 		window->num_pages[j] = nr_contig_pages;
window            600 drivers/misc/mic/scif/scif_rma.c 		window->nr_contig_chunks++;
window            606 drivers/misc/mic/scif/scif_rma.c 			err = scif_map_single(&window->dma_addr[j],
window            614 drivers/misc/mic/scif/scif_rma.c 			window->dma_addr[j] = page_to_phys(pin->pages[i]);
window            628 drivers/misc/mic/scif/scif_rma.c 				     struct scif_window *window)
window            634 drivers/misc/mic/scif/scif_rma.c 	msg.payload[0] = window->alloc_handle.vaddr;
window            635 drivers/misc/mic/scif/scif_rma.c 	msg.payload[1] = (u64)window;
window            645 drivers/misc/mic/scif/scif_rma.c int scif_unregister_window(struct scif_window *window)
window            648 drivers/misc/mic/scif/scif_rma.c 	struct scif_endpt *ep = (struct scif_endpt *)window->ep;
window            652 drivers/misc/mic/scif/scif_rma.c 	switch (window->unreg_state) {
window            655 drivers/misc/mic/scif/scif_rma.c 		window->unreg_state = OP_IN_PROGRESS;
window            661 drivers/misc/mic/scif/scif_rma.c 		scif_get_window(window, 1);
window            664 drivers/misc/mic/scif/scif_rma.c 			err = scif_send_scif_unregister(ep, window);
window            666 drivers/misc/mic/scif/scif_rma.c 				window->unreg_state = OP_COMPLETED;
window            676 drivers/misc/mic/scif/scif_rma.c 		err = wait_event_timeout(window->unregwq,
window            677 drivers/misc/mic/scif/scif_rma.c 					 window->unreg_state != OP_IN_PROGRESS,
window            683 drivers/misc/mic/scif/scif_rma.c 			window->unreg_state = OP_COMPLETED;
window            691 drivers/misc/mic/scif/scif_rma.c 		scif_put_window(window, 1);
window            698 drivers/misc/mic/scif/scif_rma.c 			window->unreg_state = OP_COMPLETED;
window            708 drivers/misc/mic/scif/scif_rma.c 	if (window->unreg_state == OP_COMPLETED && window->ref_count)
window            709 drivers/misc/mic/scif/scif_rma.c 		scif_put_window(window, window->nr_pages);
window            711 drivers/misc/mic/scif/scif_rma.c 	if (!window->ref_count) {
window            713 drivers/misc/mic/scif/scif_rma.c 		list_del_init(&window->list);
window            714 drivers/misc/mic/scif/scif_rma.c 		scif_free_window_offset(ep, window, window->offset);
window            716 drivers/misc/mic/scif/scif_rma.c 		if ((!!(window->pinned_pages->map_flags & SCIF_MAP_KERNEL)) &&
window            721 drivers/misc/mic/scif/scif_rma.c 			if (!__scif_dec_pinned_vm_lock(window->mm,
window            722 drivers/misc/mic/scif/scif_rma.c 						       window->nr_pages)) {
window            723 drivers/misc/mic/scif/scif_rma.c 				__scif_release_mm(window->mm);
window            724 drivers/misc/mic/scif/scif_rma.c 				window->mm = NULL;
window            727 drivers/misc/mic/scif/scif_rma.c 		scif_queue_for_cleanup(window, &scif_info.rma);
window            741 drivers/misc/mic/scif/scif_rma.c 				   struct scif_window *window)
window            744 drivers/misc/mic/scif/scif_rma.c 	struct scif_allocmsg *alloc = &window->alloc_handle;
window            752 drivers/misc/mic/scif/scif_rma.c 	msg.payload[1] = window->nr_pages;
window            753 drivers/misc/mic/scif/scif_rma.c 	msg.payload[2] = (u64)&window->alloc_handle;
window            766 drivers/misc/mic/scif/scif_rma.c 				   struct scif_window *window)
window            770 drivers/misc/mic/scif/scif_rma.c 	struct scif_allocmsg *alloc = &window->alloc_handle;
window            777 drivers/misc/mic/scif/scif_rma.c 	map_err = scif_map_window(ep->remote_dev, window);
window            781 drivers/misc/mic/scif/scif_rma.c 	remaining_nr_contig_chunks = window->nr_contig_chunks;
window            782 drivers/misc/mic/scif/scif_rma.c 	nr_contig_chunks = window->nr_contig_chunks;
window            812 drivers/misc/mic/scif/scif_rma.c 		msg.payload[1] = window->alloc_handle.vaddr;
window            813 drivers/misc/mic/scif/scif_rma.c 		msg.payload[2] = (u64)window;
window            824 drivers/misc/mic/scif/scif_rma.c 	remote_window = scif_ioremap(alloc->phys_addr, sizeof(*window),
window            855 drivers/misc/mic/scif/scif_rma.c 				   sizeof(*window->dma_addr),
window            859 drivers/misc/mic/scif/scif_rma.c 				    sizeof(*window->num_pages),
window            863 drivers/misc/mic/scif/scif_rma.c 				    &window->dma_addr[i], loop_nr_contig_chunks
window            864 drivers/misc/mic/scif/scif_rma.c 				    * sizeof(*window->dma_addr));
window            866 drivers/misc/mic/scif/scif_rma.c 				    &window->num_pages[i], loop_nr_contig_chunks
window            867 drivers/misc/mic/scif/scif_rma.c 				    * sizeof(*window->num_pages));
window            878 drivers/misc/mic/scif/scif_rma.c 					dma_addr = window->dma_addr[i + m] +
window            884 drivers/misc/mic/scif/scif_rma.c 					    &window->num_pages[i],
window            886 drivers/misc/mic/scif/scif_rma.c 					    * sizeof(*window->num_pages));
window            896 drivers/misc/mic/scif/scif_rma.c 					    &window->dma_addr[i],
window            898 drivers/misc/mic/scif/scif_rma.c 					    sizeof(*window->dma_addr));
window            900 drivers/misc/mic/scif/scif_rma.c 					    &window->num_pages[i],
window            902 drivers/misc/mic/scif/scif_rma.c 					    sizeof(*window->num_pages));
window            909 drivers/misc/mic/scif/scif_rma.c 			     sizeof(*window->dma_addr), ep->remote_dev);
window            911 drivers/misc/mic/scif/scif_rma.c 			     sizeof(*window->num_pages), ep->remote_dev);
window            915 drivers/misc/mic/scif/scif_rma.c 	remote_window->peer_window = (u64)window;
window            916 drivers/misc/mic/scif/scif_rma.c 	remote_window->offset = window->offset;
window            917 drivers/misc/mic/scif/scif_rma.c 	remote_window->prot = window->prot;
window            929 drivers/misc/mic/scif/scif_rma.c 	window->peer_window = alloc->vaddr;
window            943 drivers/misc/mic/scif/scif_rma.c 				   struct scif_window *window)
window            950 drivers/misc/mic/scif/scif_rma.c 	msg.payload[1] = window->alloc_handle.vaddr;
window            951 drivers/misc/mic/scif/scif_rma.c 	msg.payload[2] = (u64)window;
window            955 drivers/misc/mic/scif/scif_rma.c 		window->reg_state = OP_IN_PROGRESS;
window            961 drivers/misc/mic/scif/scif_rma.c 			err = wait_event_timeout(window->regwq,
window            962 drivers/misc/mic/scif/scif_rma.c 						 window->reg_state !=
window            968 drivers/misc/mic/scif/scif_rma.c 			if (window->reg_state == OP_FAILED)
window           1026 drivers/misc/mic/scif/scif_rma.c 			     struct scif_window *window, s64 offset)
window           1028 drivers/misc/mic/scif/scif_rma.c 	if ((window && !window->offset_freed) || !window) {
window           1030 drivers/misc/mic/scif/scif_rma.c 		if (window)
window           1031 drivers/misc/mic/scif/scif_rma.c 			window->offset_freed = true;
window           1044 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window = NULL;
window           1047 drivers/misc/mic/scif/scif_rma.c 	window = scif_create_remote_window(scifdev, nr_pages);
window           1048 drivers/misc/mic/scif/scif_rma.c 	if (!window) {
window           1055 drivers/misc/mic/scif/scif_rma.c 	msg->payload[0] = (u64)window;
window           1056 drivers/misc/mic/scif/scif_rma.c 	msg->payload[1] = window->mapped_offset;
window           1059 drivers/misc/mic/scif/scif_rma.c 		scif_destroy_remote_window(window);
window           1065 drivers/misc/mic/scif/scif_rma.c 		__func__, __LINE__, err, window, nr_pages);
window           1079 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window = container_of(handle, struct scif_window,
window           1081 drivers/misc/mic/scif/scif_rma.c 	struct scif_endpt *ep = (struct scif_endpt *)window->ep;
window           1102 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window = (struct scif_window *)msg->payload[1];
window           1104 drivers/misc/mic/scif/scif_rma.c 	scif_destroy_remote_window(window);
window           1108 drivers/misc/mic/scif/scif_rma.c scif_fixup_aper_base(struct scif_dev *dev, struct scif_window *window)
window           1118 drivers/misc/mic/scif/scif_rma.c 	if (!scifdev_self(dev) && window->type == SCIF_WINDOW_PEER &&
window           1124 drivers/misc/mic/scif/scif_rma.c 	for (j = 0; j < window->nr_contig_chunks; j++) {
window           1125 drivers/misc/mic/scif/scif_rma.c 		if (window->num_pages[j])
window           1126 drivers/misc/mic/scif/scif_rma.c 			window->dma_addr[j] += apt_base;
window           1141 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window =
window           1149 drivers/misc/mic/scif/scif_rma.c 		scif_fixup_aper_base(ep->remote_dev, window);
window           1151 drivers/misc/mic/scif/scif_rma.c 		scif_insert_window(window, &ep->rma_info.remote_reg_list);
window           1159 drivers/misc/mic/scif/scif_rma.c 	scif_destroy_remote_lookup(ep->remote_dev, window);
window           1165 drivers/misc/mic/scif/scif_rma.c 		scif_destroy_remote_window(window);
window           1177 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window = NULL;
window           1184 drivers/misc/mic/scif/scif_rma.c 	req.out_window = &window;
window           1200 drivers/misc/mic/scif/scif_rma.c 	if (window) {
window           1201 drivers/misc/mic/scif/scif_rma.c 		if (window->ref_count)
window           1202 drivers/misc/mic/scif/scif_rma.c 			scif_put_window(window, window->nr_pages);
window           1207 drivers/misc/mic/scif/scif_rma.c 		window->unreg_state = OP_COMPLETED;
window           1208 drivers/misc/mic/scif/scif_rma.c 		if (!window->ref_count) {
window           1212 drivers/misc/mic/scif/scif_rma.c 			list_del_init(&window->list);
window           1230 drivers/misc/mic/scif/scif_rma.c 		scif_queue_for_cleanup(window, &scif_info.rma);
window           1241 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window =
window           1243 drivers/misc/mic/scif/scif_rma.c 	struct scif_endpt *ep = (struct scif_endpt *)window->ep;
window           1246 drivers/misc/mic/scif/scif_rma.c 	window->reg_state = OP_COMPLETED;
window           1247 drivers/misc/mic/scif/scif_rma.c 	wake_up(&window->regwq);
window           1260 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window =
window           1262 drivers/misc/mic/scif/scif_rma.c 	struct scif_endpt *ep = (struct scif_endpt *)window->ep;
window           1265 drivers/misc/mic/scif/scif_rma.c 	window->reg_state = OP_FAILED;
window           1266 drivers/misc/mic/scif/scif_rma.c 	wake_up(&window->regwq);
window           1278 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window =
window           1280 drivers/misc/mic/scif/scif_rma.c 	struct scif_endpt *ep = (struct scif_endpt *)window->ep;
window           1283 drivers/misc/mic/scif/scif_rma.c 	window->unreg_state = OP_COMPLETED;
window           1284 drivers/misc/mic/scif/scif_rma.c 	wake_up(&window->unregwq);
window           1297 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window =
window           1299 drivers/misc/mic/scif/scif_rma.c 	struct scif_endpt *ep = (struct scif_endpt *)window->ep;
window           1302 drivers/misc/mic/scif/scif_rma.c 	window->unreg_state = OP_FAILED;
window           1303 drivers/misc/mic/scif/scif_rma.c 	wake_up(&window->unregwq);
window           1459 drivers/misc/mic/scif/scif_rma.c scif_insert_local_window(struct scif_window *window, struct scif_endpt *ep)
window           1462 drivers/misc/mic/scif/scif_rma.c 	scif_insert_window(window, &ep->rma_info.reg_list);
window           1472 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window;
window           1514 drivers/misc/mic/scif/scif_rma.c 	window = scif_create_window(ep, pinned_pages->nr_pages,
window           1516 drivers/misc/mic/scif/scif_rma.c 	if (!window) {
window           1522 drivers/misc/mic/scif/scif_rma.c 	window->pinned_pages = pinned_pages;
window           1523 drivers/misc/mic/scif/scif_rma.c 	window->nr_pages = pinned_pages->nr_pages;
window           1524 drivers/misc/mic/scif/scif_rma.c 	window->prot = pinned_pages->prot;
window           1529 drivers/misc/mic/scif/scif_rma.c 		scif_destroy_window(ep, window);
window           1532 drivers/misc/mic/scif/scif_rma.c 	err = scif_send_alloc_request(ep, window);
window           1540 drivers/misc/mic/scif/scif_rma.c 	err = scif_prep_remote_window(ep, window);
window           1548 drivers/misc/mic/scif/scif_rma.c 	err = scif_send_scif_register(ep, window);
window           1557 drivers/misc/mic/scif/scif_rma.c 	scif_insert_local_window(window, ep);
window           1560 drivers/misc/mic/scif/scif_rma.c 	scif_destroy_window(ep, window);
window           1575 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window;
window           1624 drivers/misc/mic/scif/scif_rma.c 	window = scif_create_window(ep, len >> PAGE_SHIFT,
window           1626 drivers/misc/mic/scif/scif_rma.c 	if (!window) {
window           1632 drivers/misc/mic/scif/scif_rma.c 	window->nr_pages = len >> PAGE_SHIFT;
window           1634 drivers/misc/mic/scif/scif_rma.c 	err = scif_send_alloc_request(ep, window);
window           1636 drivers/misc/mic/scif/scif_rma.c 		scif_destroy_incomplete_window(ep, window);
window           1650 drivers/misc/mic/scif/scif_rma.c 		scif_destroy_incomplete_window(ep, window);
window           1655 drivers/misc/mic/scif/scif_rma.c 	window->pinned_pages = pinned_pages;
window           1656 drivers/misc/mic/scif/scif_rma.c 	window->prot = pinned_pages->prot;
window           1657 drivers/misc/mic/scif/scif_rma.c 	window->mm = mm;
window           1660 drivers/misc/mic/scif/scif_rma.c 	err = scif_prep_remote_window(ep, window);
window           1668 drivers/misc/mic/scif/scif_rma.c 	err = scif_send_scif_register(ep, window);
window           1677 drivers/misc/mic/scif/scif_rma.c 	scif_insert_local_window(window, ep);
window           1683 drivers/misc/mic/scif/scif_rma.c 	scif_destroy_window(ep, window);
window           1696 drivers/misc/mic/scif/scif_rma.c 	struct scif_window *window = NULL;
window           1722 drivers/misc/mic/scif/scif_rma.c 	req.out_window = &window;
window           1743 drivers/misc/mic/scif/scif_rma.c 	err = scif_rma_list_unregister(window, offset, nr_pages);
window            326 drivers/misc/mic/scif/scif_rma.h 			     struct scif_window *window, s64 offset);
window            331 drivers/misc/mic/scif/scif_rma.h int scif_destroy_window(struct scif_endpt *ep, struct scif_window *window);
window            332 drivers/misc/mic/scif/scif_rma.h void scif_unmap_window(struct scif_dev *remote_dev, struct scif_window *window);
window            335 drivers/misc/mic/scif/scif_rma.h 		    struct scif_window *window);
window            337 drivers/misc/mic/scif/scif_rma.h int scif_unregister_window(struct scif_window *window);
window            340 drivers/misc/mic/scif/scif_rma.h scif_destroy_remote_window(struct scif_window *window);
window            382 drivers/misc/mic/scif/scif_rma.h scif_init_window_iter(struct scif_window *window, struct scif_window_iter *iter)
window            384 drivers/misc/mic/scif/scif_rma.h 	iter->offset = window->offset;
window            388 drivers/misc/mic/scif/scif_rma.h dma_addr_t scif_off_to_dma_addr(struct scif_window *window, s64 off,
window            392 drivers/misc/mic/scif/scif_rma.h dma_addr_t __scif_off_to_dma_addr(struct scif_window *window, s64 off)
window            394 drivers/misc/mic/scif/scif_rma.h 	return scif_off_to_dma_addr(window, off, NULL, NULL);
window            439 drivers/misc/mic/scif/scif_rma.h static inline void scif_get_window(struct scif_window *window, int nr_pages)
window            441 drivers/misc/mic/scif/scif_rma.h 	window->ref_count += nr_pages;
window            444 drivers/misc/mic/scif/scif_rma.h static inline void scif_put_window(struct scif_window *window, int nr_pages)
window            446 drivers/misc/mic/scif/scif_rma.h 	window->ref_count -= nr_pages;
window            449 drivers/misc/mic/scif/scif_rma.h static inline void scif_set_window_ref(struct scif_window *window, int nr_pages)
window            451 drivers/misc/mic/scif/scif_rma.h 	window->ref_count = nr_pages;
window            455 drivers/misc/mic/scif/scif_rma.h scif_queue_for_cleanup(struct scif_window *window, struct list_head *list)
window            458 drivers/misc/mic/scif/scif_rma.h 	list_add_tail(&window->list, list);
window            463 drivers/misc/mic/scif/scif_rma.h static inline void __scif_rma_destroy_tcw_helper(struct scif_window *window)
window            465 drivers/misc/mic/scif/scif_rma.h 	list_del_init(&window->list);
window            466 drivers/misc/mic/scif/scif_rma.h 	scif_queue_for_cleanup(window, &scif_info.rma_tc);
window             19 drivers/misc/mic/scif/scif_rma_list.c void scif_insert_tcw(struct scif_window *window, struct list_head *head)
window             25 drivers/misc/mic/scif/scif_rma_list.c 	INIT_LIST_HEAD(&window->list);
window             29 drivers/misc/mic/scif/scif_rma_list.c 		if (curr->va_for_temp < window->va_for_temp) {
window             30 drivers/misc/mic/scif/scif_rma_list.c 			list_add_tail(&window->list, head);
window             36 drivers/misc/mic/scif/scif_rma_list.c 		if (curr->va_for_temp > window->va_for_temp)
window             40 drivers/misc/mic/scif/scif_rma_list.c 	list_add(&window->list, &prev->list);
window             49 drivers/misc/mic/scif/scif_rma_list.c void scif_insert_window(struct scif_window *window, struct list_head *head)
window             54 drivers/misc/mic/scif/scif_rma_list.c 	INIT_LIST_HEAD(&window->list);
window             57 drivers/misc/mic/scif/scif_rma_list.c 		if (curr->offset > window->offset)
window             62 drivers/misc/mic/scif/scif_rma_list.c 		list_add(&window->list, head);
window             64 drivers/misc/mic/scif/scif_rma_list.c 		list_add(&window->list, &prev->list);
window             65 drivers/misc/mic/scif/scif_rma_list.c 	scif_set_window_ref(window, window->nr_pages);
window             79 drivers/misc/mic/scif/scif_rma_list.c 	struct scif_window *window;
window             90 drivers/misc/mic/scif/scif_rma_list.c 		window = list_last_entry(head, struct scif_window, list);
window             91 drivers/misc/mic/scif/scif_rma_list.c 		end_va_window = window->va_for_temp +
window             92 drivers/misc/mic/scif/scif_rma_list.c 			(window->nr_pages << PAGE_SHIFT);
window             97 drivers/misc/mic/scif/scif_rma_list.c 		window = list_entry(item, struct scif_window, list);
window             98 drivers/misc/mic/scif/scif_rma_list.c 		start_va_window = window->va_for_temp;
window             99 drivers/misc/mic/scif/scif_rma_list.c 		end_va_window = window->va_for_temp +
window            100 drivers/misc/mic/scif/scif_rma_list.c 			(window->nr_pages << PAGE_SHIFT);
window            106 drivers/misc/mic/scif/scif_rma_list.c 		if ((window->prot & req->prot) == req->prot) {
window            109 drivers/misc/mic/scif/scif_rma_list.c 				*req->out_window = window;
window            122 drivers/misc/mic/scif/scif_rma_list.c 		__scif_rma_destroy_tcw_helper(window);
window            138 drivers/misc/mic/scif/scif_rma_list.c 	struct scif_window *window;
window            146 drivers/misc/mic/scif/scif_rma_list.c 		window = list_entry(item, struct scif_window, list);
window            147 drivers/misc/mic/scif/scif_rma_list.c 		end_offset = window->offset +
window            148 drivers/misc/mic/scif/scif_rma_list.c 			(window->nr_pages << PAGE_SHIFT);
window            149 drivers/misc/mic/scif/scif_rma_list.c 		if (offset < window->offset)
window            155 drivers/misc/mic/scif/scif_rma_list.c 		if ((window->prot & req->prot) != req->prot)
window            159 drivers/misc/mic/scif/scif_rma_list.c 			*req->out_window = window;
window            194 drivers/misc/mic/scif/scif_rma_list.c int scif_rma_list_unregister(struct scif_window *window,
window            197 drivers/misc/mic/scif/scif_rma_list.c 	struct scif_endpt *ep = (struct scif_endpt *)window->ep;
window            204 drivers/misc/mic/scif/scif_rma_list.c 	list_for_each_entry_safe_from(window, _window, head, list) {
window            205 drivers/misc/mic/scif/scif_rma_list.c 		end_offset = window->offset + (window->nr_pages << PAGE_SHIFT);
window            208 drivers/misc/mic/scif/scif_rma_list.c 		err = scif_unregister_window(window);
window            228 drivers/misc/mic/scif/scif_rma_list.c 	struct scif_window *window;
window            234 drivers/misc/mic/scif/scif_rma_list.c 		window = list_entry(item, struct scif_window, list);
window            235 drivers/misc/mic/scif/scif_rma_list.c 		scif_unmap_window(ep->remote_dev, window);
window            250 drivers/misc/mic/scif/scif_rma_list.c 	struct scif_window *window;
window            260 drivers/misc/mic/scif/scif_rma_list.c 		window = list_entry(item, struct scif_window, list);
window            262 drivers/misc/mic/scif/scif_rma_list.c 		err = scif_unregister_window(window);
window             36 drivers/misc/mic/scif/scif_rma_list.h void scif_insert_window(struct scif_window *window, struct list_head *head);
window             37 drivers/misc/mic/scif/scif_rma_list.h void scif_insert_tcw(struct scif_window *window,
window             46 drivers/misc/mic/scif/scif_rma_list.h int scif_rma_list_unregister(struct scif_window *window, s64 offset,
window            805 drivers/mmc/host/sdhci-tegra.c 	u8 word, bit, edge1, tap, window;
window            853 drivers/mmc/host/sdhci-tegra.c 				window = end_pass_tap - start_pass_tap;
window            855 drivers/mmc/host/sdhci-tegra.c 				if (window >= thd_up || window < thd_low) {
window            860 drivers/mmc/host/sdhci-tegra.c 					tap = start_pass_tap + window / 2;
window            110 drivers/mtd/devices/bcm47xxsflash.c 		memcpy_fromio(buf, b47s->window + from, memcpy_len);
window            323 drivers/mtd/devices/bcm47xxsflash.c 		b47s->window = ioremap_nocache(res->start, resource_size(res));
window            325 drivers/mtd/devices/bcm47xxsflash.c 		b47s->window = ioremap_cache(res->start, resource_size(res));
window            326 drivers/mtd/devices/bcm47xxsflash.c 	if (!b47s->window) {
window            350 drivers/mtd/devices/bcm47xxsflash.c 		iounmap(b47s->window);
window            365 drivers/mtd/devices/bcm47xxsflash.c 	iounmap(b47s->window);
window             72 drivers/mtd/devices/bcm47xxsflash.h 	void __iomem *window;
window             69 drivers/mtd/maps/amd76xrom.c static void amd76xrom_cleanup(struct amd76xrom_window *window)
window             74 drivers/mtd/maps/amd76xrom.c 	if (window->pdev) {
window             76 drivers/mtd/maps/amd76xrom.c 		pci_read_config_byte(window->pdev, 0x40, &byte);
window             77 drivers/mtd/maps/amd76xrom.c 		pci_write_config_byte(window->pdev, 0x40, byte & ~1);
window             78 drivers/mtd/maps/amd76xrom.c 		pci_dev_put(window->pdev);
window             82 drivers/mtd/maps/amd76xrom.c 	list_for_each_entry_safe(map, scratch, &window->maps, list) {
window             91 drivers/mtd/maps/amd76xrom.c 	if (window->rsrc.parent)
window             92 drivers/mtd/maps/amd76xrom.c 		release_resource(&window->rsrc);
window             94 drivers/mtd/maps/amd76xrom.c 	if (window->virt) {
window             95 drivers/mtd/maps/amd76xrom.c 		iounmap(window->virt);
window             96 drivers/mtd/maps/amd76xrom.c 		window->virt = NULL;
window             97 drivers/mtd/maps/amd76xrom.c 		window->phys = 0;
window             98 drivers/mtd/maps/amd76xrom.c 		window->size = 0;
window             99 drivers/mtd/maps/amd76xrom.c 		window->pdev = NULL;
window            109 drivers/mtd/maps/amd76xrom.c 	struct amd76xrom_window *window = &amd76xrom_window;
window            114 drivers/mtd/maps/amd76xrom.c 	window->pdev = pdev;
window            129 drivers/mtd/maps/amd76xrom.c 		window->phys = 0xffb00000; /* 5MiB */
window            132 drivers/mtd/maps/amd76xrom.c 		window->phys = 0xffc00000; /* 4MiB */
window            135 drivers/mtd/maps/amd76xrom.c 		window->phys = 0xffff0000; /* 64KiB */
window            137 drivers/mtd/maps/amd76xrom.c 	window->size = 0xffffffffUL - window->phys + 1UL;
window            146 drivers/mtd/maps/amd76xrom.c 	window->rsrc.name = MOD_NAME;
window            147 drivers/mtd/maps/amd76xrom.c 	window->rsrc.start = window->phys;
window            148 drivers/mtd/maps/amd76xrom.c 	window->rsrc.end   = window->phys + window->size - 1;
window            149 drivers/mtd/maps/amd76xrom.c 	window->rsrc.flags = IORESOURCE_MEM | IORESOURCE_BUSY;
window            150 drivers/mtd/maps/amd76xrom.c 	if (request_resource(&iomem_resource, &window->rsrc)) {
window            151 drivers/mtd/maps/amd76xrom.c 		window->rsrc.parent = NULL;
window            154 drivers/mtd/maps/amd76xrom.c 		       __func__, &window->rsrc);
window            166 drivers/mtd/maps/amd76xrom.c 	window->virt = ioremap_nocache(window->phys, window->size);
window            167 drivers/mtd/maps/amd76xrom.c 	if (!window->virt) {
window            169 drivers/mtd/maps/amd76xrom.c 			window->phys, window->size);
window            174 drivers/mtd/maps/amd76xrom.c 	map_top = window->phys;
window            201 drivers/mtd/maps/amd76xrom.c 		offset = map_top - window->phys;
window            203 drivers/mtd/maps/amd76xrom.c 			(((unsigned long)(window->virt)) + offset);
window            239 drivers/mtd/maps/amd76xrom.c 		if (window->rsrc.parent) {
window            249 drivers/mtd/maps/amd76xrom.c 			if (request_resource(&window->rsrc, &map->rsrc)) {
window            257 drivers/mtd/maps/amd76xrom.c 		map->map.virt = window->virt;
window            258 drivers/mtd/maps/amd76xrom.c 		map->map.phys = window->phys;
window            277 drivers/mtd/maps/amd76xrom.c 		list_add(&map->list, &window->maps);
window            285 drivers/mtd/maps/amd76xrom.c 	if (list_empty(&window->maps)) {
window            286 drivers/mtd/maps/amd76xrom.c 		amd76xrom_cleanup(window);
window            295 drivers/mtd/maps/amd76xrom.c 	struct amd76xrom_window *window = &amd76xrom_window;
window            297 drivers/mtd/maps/amd76xrom.c 	amd76xrom_cleanup(window);
window             82 drivers/mtd/maps/ck804xrom.c static void ck804xrom_cleanup(struct ck804xrom_window *window)
window             87 drivers/mtd/maps/ck804xrom.c 	if (window->pdev) {
window             89 drivers/mtd/maps/ck804xrom.c 		pci_read_config_byte(window->pdev, 0x6d, &byte);
window             90 drivers/mtd/maps/ck804xrom.c 		pci_write_config_byte(window->pdev, 0x6d, byte & ~1);
window             94 drivers/mtd/maps/ck804xrom.c 	list_for_each_entry_safe(map, scratch, &window->maps, list) {
window            103 drivers/mtd/maps/ck804xrom.c 	if (window->rsrc.parent)
window            104 drivers/mtd/maps/ck804xrom.c 		release_resource(&window->rsrc);
window            106 drivers/mtd/maps/ck804xrom.c 	if (window->virt) {
window            107 drivers/mtd/maps/ck804xrom.c 		iounmap(window->virt);
window            108 drivers/mtd/maps/ck804xrom.c 		window->virt = NULL;
window            109 drivers/mtd/maps/ck804xrom.c 		window->phys = 0;
window            110 drivers/mtd/maps/ck804xrom.c 		window->size = 0;
window            112 drivers/mtd/maps/ck804xrom.c 	pci_dev_put(window->pdev);
window            122 drivers/mtd/maps/ck804xrom.c 	struct ck804xrom_window *window = &ck804xrom_window;
window            127 drivers/mtd/maps/ck804xrom.c 	window->pdev = pci_dev_get(pdev);
window            145 drivers/mtd/maps/ck804xrom.c 			window->phys = 0xffb00000; /* 5MiB */
window            147 drivers/mtd/maps/ck804xrom.c 			window->phys = 0xffc00000; /* 4MiB */
window            149 drivers/mtd/maps/ck804xrom.c 			window->phys = 0xffff0000; /* 64KiB */
window            162 drivers/mtd/maps/ck804xrom.c 		window->phys = 0xff000000; /* 16MiB, hardcoded for now */
window            166 drivers/mtd/maps/ck804xrom.c 	window->size = 0xffffffffUL - window->phys + 1UL;
window            175 drivers/mtd/maps/ck804xrom.c 	window->rsrc.name = MOD_NAME;
window            176 drivers/mtd/maps/ck804xrom.c 	window->rsrc.start = window->phys;
window            177 drivers/mtd/maps/ck804xrom.c 	window->rsrc.end   = window->phys + window->size - 1;
window            178 drivers/mtd/maps/ck804xrom.c 	window->rsrc.flags = IORESOURCE_MEM | IORESOURCE_BUSY;
window            179 drivers/mtd/maps/ck804xrom.c 	if (request_resource(&iomem_resource, &window->rsrc)) {
window            180 drivers/mtd/maps/ck804xrom.c 		window->rsrc.parent = NULL;
window            183 drivers/mtd/maps/ck804xrom.c 			__func__, &window->rsrc);
window            194 drivers/mtd/maps/ck804xrom.c 	window->virt = ioremap_nocache(window->phys, window->size);
window            195 drivers/mtd/maps/ck804xrom.c 	if (!window->virt) {
window            197 drivers/mtd/maps/ck804xrom.c 			window->phys, window->size);
window            202 drivers/mtd/maps/ck804xrom.c 	map_top = window->phys;
window            231 drivers/mtd/maps/ck804xrom.c 		offset = map_top - window->phys;
window            233 drivers/mtd/maps/ck804xrom.c 			(((unsigned long)(window->virt)) + offset);
window            269 drivers/mtd/maps/ck804xrom.c 		if (window->rsrc.parent) {
window            279 drivers/mtd/maps/ck804xrom.c 			if (request_resource(&window->rsrc, &map->rsrc)) {
window            287 drivers/mtd/maps/ck804xrom.c 		map->map.virt = window->virt;
window            288 drivers/mtd/maps/ck804xrom.c 		map->map.phys = window->phys;
window            306 drivers/mtd/maps/ck804xrom.c 		list_add(&map->list, &window->maps);
window            315 drivers/mtd/maps/ck804xrom.c 	if (list_empty(&window->maps)) {
window            316 drivers/mtd/maps/ck804xrom.c 		ck804xrom_cleanup(window);
window            325 drivers/mtd/maps/ck804xrom.c 	struct ck804xrom_window *window = &ck804xrom_window;
window            327 drivers/mtd/maps/ck804xrom.c 	ck804xrom_cleanup(window);
window            118 drivers/mtd/maps/esb2rom.c static void esb2rom_cleanup(struct esb2rom_window *window)
window            124 drivers/mtd/maps/esb2rom.c 	pci_read_config_byte(window->pdev, BIOS_CNTL, &byte);
window            125 drivers/mtd/maps/esb2rom.c 	pci_write_config_byte(window->pdev, BIOS_CNTL,
window            129 drivers/mtd/maps/esb2rom.c 	list_for_each_entry_safe(map, scratch, &window->maps, list) {
window            137 drivers/mtd/maps/esb2rom.c 	if (window->rsrc.parent)
window            138 drivers/mtd/maps/esb2rom.c 		release_resource(&window->rsrc);
window            139 drivers/mtd/maps/esb2rom.c 	if (window->virt) {
window            140 drivers/mtd/maps/esb2rom.c 		iounmap(window->virt);
window            141 drivers/mtd/maps/esb2rom.c 		window->virt = NULL;
window            142 drivers/mtd/maps/esb2rom.c 		window->phys = 0;
window            143 drivers/mtd/maps/esb2rom.c 		window->size = 0;
window            145 drivers/mtd/maps/esb2rom.c 	pci_dev_put(window->pdev);
window            152 drivers/mtd/maps/esb2rom.c 	struct esb2rom_window *window = &esb2rom_window;
window            168 drivers/mtd/maps/esb2rom.c 	window->pdev = pci_dev_get(pdev);
window            187 drivers/mtd/maps/esb2rom.c 	window->phys = 0;
window            192 drivers/mtd/maps/esb2rom.c 		window->phys = 0xff400000;
window            194 drivers/mtd/maps/esb2rom.c 		window->phys = 0xff500000;
window            196 drivers/mtd/maps/esb2rom.c 		window->phys = 0xff600000;
window            198 drivers/mtd/maps/esb2rom.c 		window->phys = 0xFF700000;
window            200 drivers/mtd/maps/esb2rom.c 		window->phys = 0xffc00000;
window            202 drivers/mtd/maps/esb2rom.c 		window->phys = 0xffc80000;
window            204 drivers/mtd/maps/esb2rom.c 		window->phys = 0xffd00000;
window            206 drivers/mtd/maps/esb2rom.c 		window->phys = 0xffd80000;
window            208 drivers/mtd/maps/esb2rom.c 		window->phys = 0xffe00000;
window            210 drivers/mtd/maps/esb2rom.c 		window->phys = 0xffe80000;
window            212 drivers/mtd/maps/esb2rom.c 		window->phys = 0xfff00000;
window            214 drivers/mtd/maps/esb2rom.c 		window->phys = 0xfff80000;
window            216 drivers/mtd/maps/esb2rom.c 	if (window->phys == 0) {
window            222 drivers/mtd/maps/esb2rom.c 	window->phys -= 0x400000UL;
window            223 drivers/mtd/maps/esb2rom.c 	window->size = (0xffffffffUL - window->phys) + 1UL;
window            240 drivers/mtd/maps/esb2rom.c 	window->rsrc.name = MOD_NAME;
window            241 drivers/mtd/maps/esb2rom.c 	window->rsrc.start = window->phys;
window            242 drivers/mtd/maps/esb2rom.c 	window->rsrc.end   = window->phys + window->size - 1;
window            243 drivers/mtd/maps/esb2rom.c 	window->rsrc.flags = IORESOURCE_MEM | IORESOURCE_BUSY;
window            244 drivers/mtd/maps/esb2rom.c 	if (request_resource(&iomem_resource, &window->rsrc)) {
window            245 drivers/mtd/maps/esb2rom.c 		window->rsrc.parent = NULL;
window            248 drivers/mtd/maps/esb2rom.c 			__func__, &window->rsrc);
window            252 drivers/mtd/maps/esb2rom.c 	window->virt = ioremap_nocache(window->phys, window->size);
window            253 drivers/mtd/maps/esb2rom.c 	if (!window->virt) {
window            255 drivers/mtd/maps/esb2rom.c 			window->phys, window->size);
window            260 drivers/mtd/maps/esb2rom.c 	map_top = window->phys;
window            261 drivers/mtd/maps/esb2rom.c 	if ((window->phys & 0x3fffff) != 0) {
window            263 drivers/mtd/maps/esb2rom.c 		map_top = window->phys + 0x400000;
window            290 drivers/mtd/maps/esb2rom.c 		offset = map_top - window->phys;
window            292 drivers/mtd/maps/esb2rom.c 			(((unsigned long)(window->virt)) + offset);
window            330 drivers/mtd/maps/esb2rom.c 		if (window->rsrc.parent) {
window            340 drivers/mtd/maps/esb2rom.c 			if (request_resource(&window->rsrc, &map->rsrc)) {
window            348 drivers/mtd/maps/esb2rom.c 		map->map.virt = window->virt;
window            349 drivers/mtd/maps/esb2rom.c 		map->map.phys = window->phys;
window            366 drivers/mtd/maps/esb2rom.c 		list_add(&map->list, &window->maps);
window            375 drivers/mtd/maps/esb2rom.c 	if (list_empty(&window->maps)) {
window            376 drivers/mtd/maps/esb2rom.c 		esb2rom_cleanup(window);
window            384 drivers/mtd/maps/esb2rom.c 	struct esb2rom_window *window = &esb2rom_window;
window            385 drivers/mtd/maps/esb2rom.c 	esb2rom_cleanup(window);
window             57 drivers/mtd/maps/ichxrom.c static void ichxrom_cleanup(struct ichxrom_window *window)
window             64 drivers/mtd/maps/ichxrom.c 	ret = pci_read_config_word(window->pdev, BIOS_CNTL, &word);
window             66 drivers/mtd/maps/ichxrom.c 		pci_write_config_word(window->pdev, BIOS_CNTL, word & ~1);
window             67 drivers/mtd/maps/ichxrom.c 	pci_dev_put(window->pdev);
window             70 drivers/mtd/maps/ichxrom.c 	list_for_each_entry_safe(map, scratch, &window->maps, list) {
window             78 drivers/mtd/maps/ichxrom.c 	if (window->rsrc.parent)
window             79 drivers/mtd/maps/ichxrom.c 		release_resource(&window->rsrc);
window             80 drivers/mtd/maps/ichxrom.c 	if (window->virt) {
window             81 drivers/mtd/maps/ichxrom.c 		iounmap(window->virt);
window             82 drivers/mtd/maps/ichxrom.c 		window->virt = NULL;
window             83 drivers/mtd/maps/ichxrom.c 		window->phys = 0;
window             84 drivers/mtd/maps/ichxrom.c 		window->size = 0;
window             85 drivers/mtd/maps/ichxrom.c 		window->pdev = NULL;
window             94 drivers/mtd/maps/ichxrom.c 	struct ichxrom_window *window = &ichxrom_window;
window            110 drivers/mtd/maps/ichxrom.c 	window->pdev = pdev;
window            113 drivers/mtd/maps/ichxrom.c 	window->phys = 0;
window            116 drivers/mtd/maps/ichxrom.c 		window->phys = 0xffc00000;
window            119 drivers/mtd/maps/ichxrom.c 			window->phys = 0xff400000;
window            122 drivers/mtd/maps/ichxrom.c 			window->phys = 0xff500000;
window            125 drivers/mtd/maps/ichxrom.c 			window->phys = 0xff600000;
window            128 drivers/mtd/maps/ichxrom.c 			window->phys = 0xff700000;
window            132 drivers/mtd/maps/ichxrom.c 		window->phys = 0xffc80000;
window            135 drivers/mtd/maps/ichxrom.c 		window->phys = 0xffd00000;
window            138 drivers/mtd/maps/ichxrom.c 		window->phys = 0xffd80000;
window            141 drivers/mtd/maps/ichxrom.c 		window->phys = 0xffe00000;
window            144 drivers/mtd/maps/ichxrom.c 		window->phys = 0xffe80000;
window            147 drivers/mtd/maps/ichxrom.c 		window->phys = 0xfff00000;
window            150 drivers/mtd/maps/ichxrom.c 		window->phys = 0xfff80000;
window            153 drivers/mtd/maps/ichxrom.c 	if (window->phys == 0) {
window            157 drivers/mtd/maps/ichxrom.c 	window->phys -= 0x400000UL;
window            158 drivers/mtd/maps/ichxrom.c 	window->size = (0xffffffffUL - window->phys) + 1UL;
window            175 drivers/mtd/maps/ichxrom.c 	window->rsrc.name = MOD_NAME;
window            176 drivers/mtd/maps/ichxrom.c 	window->rsrc.start = window->phys;
window            177 drivers/mtd/maps/ichxrom.c 	window->rsrc.end   = window->phys + window->size - 1;
window            178 drivers/mtd/maps/ichxrom.c 	window->rsrc.flags = IORESOURCE_MEM | IORESOURCE_BUSY;
window            179 drivers/mtd/maps/ichxrom.c 	if (request_resource(&iomem_resource, &window->rsrc)) {
window            180 drivers/mtd/maps/ichxrom.c 		window->rsrc.parent = NULL;
window            183 drivers/mtd/maps/ichxrom.c 		       __func__, &window->rsrc);
window            187 drivers/mtd/maps/ichxrom.c 	window->virt = ioremap_nocache(window->phys, window->size);
window            188 drivers/mtd/maps/ichxrom.c 	if (!window->virt) {
window            190 drivers/mtd/maps/ichxrom.c 			window->phys, window->size);
window            195 drivers/mtd/maps/ichxrom.c 	map_top = window->phys;
window            196 drivers/mtd/maps/ichxrom.c 	if ((window->phys & 0x3fffff) != 0) {
window            197 drivers/mtd/maps/ichxrom.c 		map_top = window->phys + 0x400000;
window            225 drivers/mtd/maps/ichxrom.c 		offset = map_top - window->phys;
window            227 drivers/mtd/maps/ichxrom.c 			(((unsigned long)(window->virt)) + offset);
window            266 drivers/mtd/maps/ichxrom.c 		if (window->rsrc.parent) {
window            276 drivers/mtd/maps/ichxrom.c 			if (request_resource(&window->rsrc, &map->rsrc)) {
window            284 drivers/mtd/maps/ichxrom.c 		map->map.virt = window->virt;
window            285 drivers/mtd/maps/ichxrom.c 		map->map.phys = window->phys;
window            304 drivers/mtd/maps/ichxrom.c 		list_add(&map->list, &window->maps);
window            313 drivers/mtd/maps/ichxrom.c 	if (list_empty(&window->maps)) {
window            314 drivers/mtd/maps/ichxrom.c 		ichxrom_cleanup(window);
window            323 drivers/mtd/maps/ichxrom.c 	struct ichxrom_window *window = &ichxrom_window;
window            324 drivers/mtd/maps/ichxrom.c 	ichxrom_cleanup(window);
window            657 drivers/net/ethernet/3com/3c59x.c 	int window;			/* Register window */
window            660 drivers/net/ethernet/3com/3c59x.c static void window_set(struct vortex_private *vp, int window)
window            662 drivers/net/ethernet/3com/3c59x.c 	if (window != vp->window) {
window            663 drivers/net/ethernet/3com/3c59x.c 		iowrite16(SelectWindow + window, vp->ioaddr + EL3_CMD);
window            664 drivers/net/ethernet/3com/3c59x.c 		vp->window = window;
window            670 drivers/net/ethernet/3com/3c59x.c window_read ## size(struct vortex_private *vp, int window, int addr)	\
window            675 drivers/net/ethernet/3com/3c59x.c 	window_set(vp, window);						\
window            682 drivers/net/ethernet/3com/3c59x.c 		     int window, int addr)				\
window            686 drivers/net/ethernet/3com/3c59x.c 	window_set(vp, window);						\
window           1169 drivers/net/ethernet/3com/3c59x.c 	vp->window = -1;
window           1612 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h void t4_setup_memwin(struct adapter *adap, u32 memwin_base, u32 window);
window            812 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c void t4_setup_memwin(struct adapter *adap, u32 memwin_base, u32 window)
window            815 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		     PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_BASE_WIN_A, window),
window            819 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		    PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_BASE_WIN_A, window));
window            723 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 		tcp->window             = cqe->lro_tcp_win;
window           8265 drivers/net/ethernet/neterion/s2io.c 	tcp->window = lro->window;
window           8291 drivers/net/ethernet/neterion/s2io.c 	lro->window = tcp->window;
window            684 drivers/net/ethernet/neterion/s2io.h 	__be16		window;
window           1047 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 		u32 window)
window           1053 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	if (adapter->ahw.crb_win == window)
window           1059 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	writel(window, offset);
window           1061 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 		if (window == readl(offset))
window           1067 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 					(window == NETXEN_WINDOW_ONE));
window           1073 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 		adapter->ahw.crb_win = window;
window           1122 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	u32 window;
window           1127 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	window = CRB_HI(off);
window           1129 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	writel(window, addr);
window           1130 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	if (readl(addr) != window) {
window           1134 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 				window, off);
window           1352 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	u32 window;
window           1354 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	window = OCM_WIN(addr);
window           1356 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	writel(window, adapter->ahw.ocm_win_crb);
window           1360 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	adapter->ahw.ocm_win = window;
window           1155 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	u32 window;
window           1160 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	window = CRB_HI(off);
window           1161 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	if (window == 0) {
window           1166 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	writel(window, addr);
window           1167 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	if (readl(addr) != window) {
window           1171 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 				window, off);
window           1250 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 					u32 window, u64 off, u64 *data, int op)
window           1257 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	writel(window, adapter->ahw->ocm_win_crb);
window            205 drivers/net/ethernet/sfc/ptp.c 	u32 window;	/* Derived: end - start, allowing for wrap */
window            910 drivers/net/ethernet/sfc/ptp.c 	timeset->window = end_ns - start_ns;
window            948 drivers/net/ethernet/sfc/ptp.c 		s32 window, corrected;
window            958 drivers/net/ethernet/sfc/ptp.c 		window = ptp->timeset[i].window;
window            959 drivers/net/ethernet/sfc/ptp.c 		corrected = window - wait.tv_nsec;
window            970 drivers/net/ethernet/sfc/ptp.c 		if (window < SYNCHRONISATION_GRANULARITY_NS) {
window            380 drivers/net/slip/slhc.c 	if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){
window            577 drivers/net/slip/slhc.c 			thp->window = htons( ntohs(thp->window) + x);
window            435 drivers/net/wan/sdla.c 	long                     window;
window            438 drivers/net/wan/sdla.c 	window = flp->type == SDLA_S508 ? SDLA_508_CMD_BUF : SDLA_502_CMD_BUF;
window            439 drivers/net/wan/sdla.c 	cmd_buf = (struct sdla_cmd *)(dev->mem_start + (window & SDLA_ADDR_MASK));
window            445 drivers/net/wan/sdla.c 	SDLA_WINDOW(dev, window);
window            465 drivers/net/wan/sdla.c 			SDLA_WINDOW(dev, window);
window            475 drivers/net/wan/sdla.c 		SDLA_WINDOW(dev, window);
window            740 drivers/net/wireless/ath/ath5k/pcu.c ath5k_check_timer_win(int a, int b, int window, int intval)
window            748 drivers/net/wireless/ath/ath5k/pcu.c 	if ((b - a == window) ||				/* 1.) */
window            749 drivers/net/wireless/ath/ath5k/pcu.c 	    (a - b == intval - window) ||			/* 2.) */
window            750 drivers/net/wireless/ath/ath5k/pcu.c 	    ((a | 0x10000) - b == intval - window) ||		/* 3.) */
window            751 drivers/net/wireless/ath/ath5k/pcu.c 	    ((b | 0x10000) - a == window))			/* 4.) */
window            970 drivers/net/wireless/cisco/airo.c 	u32		 window;    // Start of window
window           1317 drivers/net/wireless/cisco/airo.c 	cur->window  = 33; /* Window always points to the middle */
window           1568 drivers/net/wireless/cisco/airo.c 			context->window = (micSeq > 33) ? micSeq : 33;
window           1573 drivers/net/wireless/cisco/airo.c 		context->window = (micSeq > 33) ? micSeq : 33; // Move window
window           1578 drivers/net/wireless/cisco/airo.c 	seq = micSeq - (context->window - 33);
window           1611 drivers/net/wireless/cisco/airo.c 	if (micSeq > context->window) {
window           1612 drivers/net/wireless/cisco/airo.c 		shift = (micSeq - context->window) >> 1;
window           1620 drivers/net/wireless/cisco/airo.c 		context->window = micSeq;      //Move window
window            229 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static void rs_rate_scale_clear_window(struct iwl_rate_scale_data *window)
window            231 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	window->data = 0;
window            232 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	window->success_counter = 0;
window            233 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	window->success_ratio = IWL_INVALID_VALUE;
window            234 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	window->counter = 0;
window            235 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	window->average_tpt = IWL_INVALID_VALUE;
window            236 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	window->stamp = 0;
window            452 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_rate_scale_data *window = NULL;
window            460 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	window = &(tbl->win[scale_index]);
window            474 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		if (window->counter >= IWL_RATE_MAX_WINDOW) {
window            477 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			window->counter = IWL_RATE_MAX_WINDOW - 1;
window            479 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			if (window->data & mask) {
window            480 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 				window->data &= ~mask;
window            481 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 				window->success_counter--;
window            486 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		window->counter++;
window            489 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		window->data <<= 1;
window            493 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			window->success_counter++;
window            494 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			window->data |= 0x1;
window            502 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (window->counter > 0)
window            503 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		window->success_ratio = 128 * (100 * window->success_counter)
window            504 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 					/ window->counter;
window            506 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		window->success_ratio = IWL_INVALID_VALUE;
window            508 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	fail_count = window->counter - window->success_counter;
window            512 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	    (window->success_counter >= IWL_RATE_MIN_SUCCESS_TH))
window            513 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		window->average_tpt = (window->success_ratio * tpt + 64) / 128;
window            515 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		window->average_tpt = IWL_INVALID_VALUE;
window            518 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	window->stamp = jiffies;
window           1413 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_rate_scale_data *window = &(tbl->win[index]);
window           1477 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			if (window->success_ratio >= IWL_RS_GOOD_RATIO &&
window           1586 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_rate_scale_data *window = &(tbl->win[index]);
window           1645 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			if (window->success_ratio >= IWL_RS_GOOD_RATIO &&
window           1756 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_rate_scale_data *window = &(tbl->win[index]);
window           1811 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			if (window->success_ratio >= IWL_RS_GOOD_RATIO)
window           1924 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_rate_scale_data *window = &(tbl->win[index]);
window           1979 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			if (window->success_ratio >= IWL_RS_GOOD_RATIO)
window           2201 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_rate_scale_data *window = NULL;
window           2312 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		window = &(tbl->win[index]);
window           2316 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	window = &(tbl->win[index]);
window           2325 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	fail_count = window->counter - window->success_counter;
window           2327 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			(window->success_counter < IWL_RATE_MIN_SUCCESS_TH)) {
window           2330 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			       window->success_counter, window->counter, index);
window           2333 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		window->average_tpt = IWL_INVALID_VALUE;
window           2343 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (window->average_tpt != ((window->success_ratio *
window           2346 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		window->average_tpt = ((window->success_ratio *
window           2356 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		if (window->average_tpt > lq_sta->last_tpt) {
window           2360 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 					window->success_ratio,
window           2361 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 					window->average_tpt,
window           2369 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			current_tpt = window->average_tpt;
window           2376 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 					window->success_ratio,
window           2377 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 					window->average_tpt,
window           2414 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	sr = window->success_ratio;
window           2417 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	current_tpt = window->average_tpt;
window           2550 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (!update_lq && !done_search && !lq_sta->stay_in_tbl && window->counter) {
window            939 drivers/net/wireless/intel/iwlwifi/fw/api/tx.h 	u8 window;
window            576 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static void rs_rate_scale_clear_window(struct iwl_rate_scale_data *window)
window            578 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	window->data = 0;
window            579 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	window->success_counter = 0;
window            580 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	window->success_ratio = IWL_INVALID_VALUE;
window            581 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	window->counter = 0;
window            582 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	window->average_tpt = IWL_INVALID_VALUE;
window            684 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			       struct iwl_rate_scale_data *window)
window            701 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		if (window->counter >= IWL_RATE_MAX_WINDOW) {
window            703 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			window->counter = IWL_RATE_MAX_WINDOW - 1;
window            705 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			if (window->data & mask) {
window            706 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				window->data &= ~mask;
window            707 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				window->success_counter--;
window            712 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		window->counter++;
window            715 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		window->data <<= 1;
window            719 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			window->success_counter++;
window            720 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			window->data |= 0x1;
window            728 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (window->counter > 0)
window            729 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		window->success_ratio = 128 * (100 * window->success_counter)
window            730 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 					/ window->counter;
window            732 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		window->success_ratio = IWL_INVALID_VALUE;
window            734 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	fail_count = window->counter - window->success_counter;
window            738 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	    (window->success_counter >= IWL_MVM_RS_RATE_MIN_SUCCESS_TH))
window            739 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		window->average_tpt = (window->success_ratio * tpt + 64) / 128;
window            741 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		window->average_tpt = IWL_INVALID_VALUE;
window            752 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_rate_scale_data *window = NULL;
window            757 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	window = &tbl->tpc_win[reduced_txp];
window            759 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				    window);
window            797 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_rate_scale_data *window = NULL;
window            812 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	window = &(tbl->win[scale_index]);
window            814 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				   window);
window           2006 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_rate_scale_data *window;
window           2042 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	window = tbl->tpc_win;
window           2043 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	sr = window[cur].success_ratio;
window           2044 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	current_tpt = window[cur].average_tpt;
window           2046 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		weak_tpt = window[weak].average_tpt;
window           2048 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		strong_tpt = window[strong].average_tpt;
window           2097 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_rate_scale_data *window = NULL;
window           2162 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	window = &(tbl->win[index]);
window           2171 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	fail_count = window->counter - window->success_counter;
window           2173 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	    (window->success_counter < IWL_MVM_RS_RATE_MIN_SUCCESS_TH)) {
window           2177 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			       window->success_counter, window->counter);
window           2180 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		window->average_tpt = IWL_INVALID_VALUE;
window           2194 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		if (window->average_tpt > lq_sta->last_tpt) {
window           2198 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				       window->success_ratio,
window           2199 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				       window->average_tpt,
window           2204 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			current_tpt = window->average_tpt;
window           2210 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				       window->success_ratio,
window           2211 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				       window->average_tpt,
window           2244 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	sr = window->success_ratio;
window           2247 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	current_tpt = window->average_tpt;
window           2322 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	    && window->counter) {
window           2331 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			       window->counter);
window            858 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		.window = cfg->frame_limit,
window            615 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 		.window = frame_limit,
window            412 drivers/pci/controller/pci-xgene.c 	struct resource_entry *window;
window            416 drivers/pci/controller/pci-xgene.c 	resource_list_for_each_entry(window, res) {
window            417 drivers/pci/controller/pci-xgene.c 		struct resource *res = window->res;
window            425 drivers/pci/controller/pci-xgene.c 						res->start - window->offset);
window            435 drivers/pci/controller/pci-xgene.c 							window->offset);
window            440 drivers/pci/controller/pci-xgene.c 							window->offset);
window           1023 drivers/pci/controller/pcie-iproc.c 	struct resource_entry *window;
window           1026 drivers/pci/controller/pcie-iproc.c 	resource_list_for_each_entry(window, resources) {
window           1027 drivers/pci/controller/pcie-iproc.c 		struct resource *res = window->res;
window           1036 drivers/pci/controller/pcie-iproc.c 						  res->start - window->offset,
window             54 drivers/pci/host-bridge.c 	struct resource_entry *window;
window             57 drivers/pci/host-bridge.c 	resource_list_for_each_entry(window, &bridge->windows) {
window             58 drivers/pci/host-bridge.c 		if (resource_contains(window->res, res)) {
window             59 drivers/pci/host-bridge.c 			offset = window->offset;
window             79 drivers/pci/host-bridge.c 	struct resource_entry *window;
window             82 drivers/pci/host-bridge.c 	resource_list_for_each_entry(window, &bridge->windows) {
window             85 drivers/pci/host-bridge.c 		if (resource_type(res) != resource_type(window->res))
window             88 drivers/pci/host-bridge.c 		bus_region.start = window->res->start - window->offset;
window             89 drivers/pci/host-bridge.c 		bus_region.end = window->res->end - window->offset;
window             92 drivers/pci/host-bridge.c 			offset = window->offset;
window            829 drivers/pci/probe.c 	struct resource_entry *window, *n;
window            902 drivers/pci/probe.c 	resource_list_for_each_entry_safe(window, n, &resources) {
window            903 drivers/pci/probe.c 		list_move_tail(&window->node, &bridge->windows);
window            904 drivers/pci/probe.c 		offset = window->offset;
window            905 drivers/pci/probe.c 		res = window->res;
window           3027 drivers/pci/probe.c 	struct resource_entry *window;
window           3035 drivers/pci/probe.c 	resource_list_for_each_entry(window, &bridge->windows)
window           3036 drivers/pci/probe.c 		if (window->res->flags & IORESOURCE_BUS) {
window           3067 drivers/pci/probe.c 	struct resource_entry *window;
window           3072 drivers/pci/probe.c 	resource_list_for_each_entry(window, resources)
window           3073 drivers/pci/probe.c 		if (window->res->flags & IORESOURCE_BUS) {
window            251 drivers/pcmcia/vrc4173_cardu.c 	uint8_t ioctl, window;
window            262 drivers/pcmcia/vrc4173_cardu.c 	window = exca_readb(socket, ADR_WIN_EN);
window            263 drivers/pcmcia/vrc4173_cardu.c 	io->flags  = (window & IO_WIN_EN(map)) ? MAP_ACTIVE : 0;
window            276 drivers/pcmcia/vrc4173_cardu.c 	uint8_t window, enable;
window            283 drivers/pcmcia/vrc4173_cardu.c 	window = exca_readb(socket, ADR_WIN_EN);
window            286 drivers/pcmcia/vrc4173_cardu.c 	if (window & enable) {
window            287 drivers/pcmcia/vrc4173_cardu.c 		window &= ~enable;
window            288 drivers/pcmcia/vrc4173_cardu.c 		exca_writeb(socket, ADR_WIN_EN, window);
window            300 drivers/pcmcia/vrc4173_cardu.c 		exca_writeb(socket, ADR_WIN_EN, window | enable);
window            309 drivers/pcmcia/vrc4173_cardu.c 	uint8_t window;
window            316 drivers/pcmcia/vrc4173_cardu.c 	window = exca_readb(socket, ADR_WIN_EN);
window            317 drivers/pcmcia/vrc4173_cardu.c 	mem->flags = (window & MEM_WIN_EN(map)) ? MAP_ACTIVE : 0;
window            343 drivers/pcmcia/vrc4173_cardu.c 	uint8_t window, enable;
window            356 drivers/pcmcia/vrc4173_cardu.c 	window = exca_readb(socket, ADR_WIN_EN);
window            358 drivers/pcmcia/vrc4173_cardu.c 	if (window & enable) {
window            359 drivers/pcmcia/vrc4173_cardu.c 		window &= ~enable;
window            360 drivers/pcmcia/vrc4173_cardu.c 		exca_writeb(socket, ADR_WIN_EN, window);
window            378 drivers/pcmcia/vrc4173_cardu.c 		exca_writeb(socket, ADR_WIN_EN, window | enable);
window             89 drivers/pinctrl/sh-pfc/core.c 	struct sh_pfc_window *window;
window             95 drivers/pinctrl/sh-pfc/core.c 		window = pfc->windows + i;
window             97 drivers/pinctrl/sh-pfc/core.c 		if (address < window->phys)
window            100 drivers/pinctrl/sh-pfc/core.c 		if (address >= (window->phys + window->size))
window            103 drivers/pinctrl/sh-pfc/core.c 		return window->virt + (address - window->phys);
window            341 drivers/pinctrl/sh-pfc/gpio.c 		struct sh_pfc_window *window = &pfc->windows[i];
window            343 drivers/pinctrl/sh-pfc/gpio.c 		if (address >= window->phys &&
window            344 drivers/pinctrl/sh-pfc/gpio.c 		    address < window->phys + window->size)
window            393 drivers/powercap/intel_rapl_common.c 			   u64 window)
window            409 drivers/powercap/intel_rapl_common.c 		rapl_write_data_raw(rd, TIME_WINDOW1, window);
window            412 drivers/powercap/intel_rapl_common.c 		rapl_write_data_raw(rd, TIME_WINDOW2, window);
window           1455 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	rc = h_copy_rdma(len, vscsi->dds.window[REMOTE].liobn,
window           1457 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			 vscsi->dds.window[LOCAL].liobn, iue->sbuf->dma);
window           1527 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			 vscsi->dds.window[REMOTE].liobn,
window           1529 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			 vscsi->dds.window[LOCAL].liobn, token);
window           1572 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	rc = h_copy_rdma(sizeof(*info), vscsi->dds.window[LOCAL].liobn,
window           1573 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			 token, vscsi->dds.window[REMOTE].liobn,
window           1643 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	rc = h_copy_rdma(olen, vscsi->dds.window[REMOTE].liobn,
window           1645 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			 vscsi->dds.window[LOCAL].liobn, token);
window           1689 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		rc = h_copy_rdma(olen, vscsi->dds.window[LOCAL].liobn, token,
window           1690 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 				 vscsi->dds.window[REMOTE].liobn,
window           1995 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			 vscsi->dds.window[LOCAL].liobn, iue->sbuf->dma,
window           1996 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			 vscsi->dds.window[REMOTE].liobn,
window           2126 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	rc = h_copy_rdma(cmd->rsp.len, vscsi->dds.window[LOCAL].liobn,
window           2127 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			 iue->sbuf->dma, vscsi->dds.window[REMOTE].liobn,
window           2183 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	rc = h_copy_rdma(cmd->rsp.len, vscsi->dds.window[LOCAL].liobn,
window           2184 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			 iue->sbuf->dma, vscsi->dds.window[REMOTE].liobn,
window           2611 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	vscsi->dds.window[LOCAL].liobn = be32_to_cpu(*dma_window);
window           2633 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	vscsi->dds.window[REMOTE].liobn = be32_to_cpu(*dma_window);
window           3174 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	rc = h_copy_rdma(len, vscsi->dds.window[LOCAL].liobn, iue->sbuf->dma,
window           3175 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			 vscsi->dds.window[REMOTE].liobn,
window           3261 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 					 vscsi->dds.window[REMOTE].liobn,
window           3263 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 					 vscsi->dds.window[LOCAL].liobn,
window           3275 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 					 vscsi->dds.window[LOCAL].liobn,
window           3277 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 					 vscsi->dds.window[REMOTE].liobn,
window           3467 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		vscsi->dds.window[LOCAL].liobn,
window           3468 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		vscsi->dds.window[REMOTE].liobn);
window             57 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h 	struct dma_window  window[NUM_DMA_WINDOWS];
window            590 drivers/scsi/qla2xxx/qla_nx.c 	int window;
window            597 drivers/scsi/qla2xxx/qla_nx.c 		window = MN_WIN(addr);
window            598 drivers/scsi/qla2xxx/qla_nx.c 		ha->ddr_mn_window = window;
window            600 drivers/scsi/qla2xxx/qla_nx.c 			ha->mn_win_crb | QLA82XX_PCI_CRBSPACE, window);
window            603 drivers/scsi/qla2xxx/qla_nx.c 		if ((win_read << 17) != window) {
window            606 drivers/scsi/qla2xxx/qla_nx.c 			    __func__, window, win_read);
window            618 drivers/scsi/qla2xxx/qla_nx.c 		window = OCM_WIN(addr);
window            619 drivers/scsi/qla2xxx/qla_nx.c 		ha->ddr_mn_window = window;
window            621 drivers/scsi/qla2xxx/qla_nx.c 			ha->mn_win_crb | QLA82XX_PCI_CRBSPACE, window);
window            624 drivers/scsi/qla2xxx/qla_nx.c 		temp1 = ((window & 0x1FF) << 7) |
window            625 drivers/scsi/qla2xxx/qla_nx.c 		    ((window & 0x0FFFE0000) >> 17);
window            636 drivers/scsi/qla2xxx/qla_nx.c 		window = MS_WIN(addr);
window            637 drivers/scsi/qla2xxx/qla_nx.c 		ha->qdr_sn_window = window;
window            639 drivers/scsi/qla2xxx/qla_nx.c 			ha->ms_win_crb | QLA82XX_PCI_CRBSPACE, window);
window            642 drivers/scsi/qla2xxx/qla_nx.c 		if (win_read != window) {
window            645 drivers/scsi/qla2xxx/qla_nx.c 			    __func__, window, win_read);
window            668 drivers/scsi/qla2xxx/qla_nx.c 	int			window;
window            685 drivers/scsi/qla2xxx/qla_nx.c 		window = ((addr - QLA82XX_ADDR_QDR_NET) >> 22) & 0x3f;
window            686 drivers/scsi/qla2xxx/qla_nx.c 		if (ha->qdr_sn_window == window)
window             45 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_read8(void __iomem *window, void *buf, ulong *len)
window             50 drivers/scsi/qla2xxx/qla_tmpl.c 		value = RD_REG_BYTE(window);
window             56 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_read16(void __iomem *window, void *buf, ulong *len)
window             61 drivers/scsi/qla2xxx/qla_tmpl.c 		value = RD_REG_WORD(window);
window             67 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_read32(void __iomem *window, void *buf, ulong *len)
window             72 drivers/scsi/qla2xxx/qla_tmpl.c 		value = RD_REG_DWORD(window);
window             89 drivers/scsi/qla2xxx/qla_tmpl.c 	void __iomem *window = (void __iomem *)reg + offset;
window             91 drivers/scsi/qla2xxx/qla_tmpl.c 	qla27xx_read32(window, buf, len);
window             99 drivers/scsi/qla2xxx/qla_tmpl.c 		void __iomem *window = (void __iomem *)reg + offset;
window            101 drivers/scsi/qla2xxx/qla_tmpl.c 		WRT_REG_DWORD(window, data);
window            110 drivers/scsi/qla2xxx/qla_tmpl.c 	void __iomem *window = (void __iomem *)reg + offset;
window            116 drivers/scsi/qla2xxx/qla_tmpl.c 		readn(window, buf, len);
window            117 drivers/scsi/qla2xxx/qla_tmpl.c 		window += width;
window            611 drivers/scsi/qla4xxx/ql4_nx.c 	int window;
window            617 drivers/scsi/qla4xxx/ql4_nx.c 		window = MN_WIN(addr);
window            618 drivers/scsi/qla4xxx/ql4_nx.c 		ha->ddr_mn_window = window;
window            620 drivers/scsi/qla4xxx/ql4_nx.c 		    QLA82XX_PCI_CRBSPACE, window);
window            623 drivers/scsi/qla4xxx/ql4_nx.c 		if ((win_read << 17) != window) {
window            626 drivers/scsi/qla4xxx/ql4_nx.c 			__func__, window, win_read);
window            638 drivers/scsi/qla4xxx/ql4_nx.c 		window = OCM_WIN(addr);
window            639 drivers/scsi/qla4xxx/ql4_nx.c 		ha->ddr_mn_window = window;
window            641 drivers/scsi/qla4xxx/ql4_nx.c 		    QLA82XX_PCI_CRBSPACE, window);
window            644 drivers/scsi/qla4xxx/ql4_nx.c 		temp1 = ((window & 0x1FF) << 7) |
window            645 drivers/scsi/qla4xxx/ql4_nx.c 		    ((window & 0x0FFFE0000) >> 17);
window            655 drivers/scsi/qla4xxx/ql4_nx.c 		window = MS_WIN(addr);
window            656 drivers/scsi/qla4xxx/ql4_nx.c 		ha->qdr_sn_window = window;
window            658 drivers/scsi/qla4xxx/ql4_nx.c 		    QLA82XX_PCI_CRBSPACE, window);
window            661 drivers/scsi/qla4xxx/ql4_nx.c 		if (win_read != window) {
window            663 drivers/scsi/qla4xxx/ql4_nx.c 			    "MSwin (0x%x)\n", __func__, window, win_read);
window            686 drivers/scsi/qla4xxx/ql4_nx.c 	int window;
window            704 drivers/scsi/qla4xxx/ql4_nx.c 		window = ((addr - QLA8XXX_ADDR_QDR_NET) >> 22) & 0x3f;
window            705 drivers/scsi/qla4xxx/ql4_nx.c 		if (ha->qdr_sn_window == window)
window             16 drivers/sh/intc/access.c 	struct intc_window *window;
window             21 drivers/sh/intc/access.c 		window = d->window + k;
window             23 drivers/sh/intc/access.c 		if (address < window->phys)
window             26 drivers/sh/intc/access.c 		if (address >= (window->phys + window->size))
window             29 drivers/sh/intc/access.c 		address -= window->phys;
window             30 drivers/sh/intc/access.c 		address += (unsigned long)window->virt;
window            206 drivers/sh/intc/core.c 		d->window = kcalloc(d->nr_windows, sizeof(*d->window),
window            208 drivers/sh/intc/core.c 		if (!d->window)
window            214 drivers/sh/intc/core.c 			d->window[k].phys = res->start;
window            215 drivers/sh/intc/core.c 			d->window[k].size = resource_size(res);
window            216 drivers/sh/intc/core.c 			d->window[k].virt = ioremap_nocache(res->start,
window            218 drivers/sh/intc/core.c 			if (!d->window[k].virt)
window            396 drivers/sh/intc/core.c 		if (d->window[k].virt)
window            397 drivers/sh/intc/core.c 			iounmap(d->window[k].virt);
window            399 drivers/sh/intc/core.c 	kfree(d->window);
window             69 drivers/sh/intc/internals.h 	struct intc_window *window;
window            148 drivers/ssb/driver_chipcommon_sflash.c 	sflash->window = SSB_FLASH2;
window            224 drivers/ssb/driver_mipscore.c 		pflash->window = SSB_FLASH1;
window            239 drivers/ssb/driver_mipscore.c 		pflash->window = SSB_FLASH2;
window            252 drivers/ssb/driver_mipscore.c 		bcm47xx_nvram_init_from_mem(sflash->window, sflash->size);
window            256 drivers/ssb/driver_mipscore.c 		bcm47xx_nvram_init_from_mem(pflash->window, pflash->window_size);
window            260 drivers/ssb/driver_mipscore.c 		ssb_pflash_resource.start = pflash->window;
window            261 drivers/ssb/driver_mipscore.c 		ssb_pflash_resource.end = pflash->window + pflash->window_size;
window            203 drivers/staging/uwb/rsv.c 		bow->window = UWB_DRP_BACKOFF_WIN_MIN >> 1;
window            217 drivers/staging/uwb/rsv.c 	dev_dbg(dev, "backoff_win_increment: window=%d\n", bow->window);
window            221 drivers/staging/uwb/rsv.c 	if((bow->window << 1) == UWB_DRP_BACKOFF_WIN_MAX)
window            224 drivers/staging/uwb/rsv.c 	bow->window <<= 1;
window            225 drivers/staging/uwb/rsv.c 	bow->n = prandom_u32() & (bow->window - 1);
window            226 drivers/staging/uwb/rsv.c 	dev_dbg(dev, "new_window=%d, n=%d\n", bow->window, bow->n);
window            978 drivers/staging/uwb/rsv.c 	rc->bow.window = UWB_DRP_BACKOFF_WIN_MIN >> 1;
window            294 drivers/staging/uwb/uwb.h 	u8 window;
window            136 drivers/video/fbdev/au1200fb.c 	struct au1200_lcd_window_regs_t window;
window            710 drivers/video/fbdev/au1200fb.c 	winctrl0 = lcd->window[plane].winctrl0;
window            711 drivers/video/fbdev/au1200fb.c 	winctrl1 = lcd->window[plane].winctrl1;
window            733 drivers/video/fbdev/au1200fb.c 		fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8);
window            761 drivers/video/fbdev/au1200fb.c 	lcd->window[plane].winctrl0 = winctrl0;
window            762 drivers/video/fbdev/au1200fb.c 	lcd->window[plane].winctrl1 = winctrl1;
window            763 drivers/video/fbdev/au1200fb.c 	lcd->window[plane].winbuf0 =
window            764 drivers/video/fbdev/au1200fb.c 	lcd->window[plane].winbuf1 = fbdev->fb_phys;
window            765 drivers/video/fbdev/au1200fb.c 	lcd->window[plane].winbufctrl = 0; /* select winbuf0 */
window            897 drivers/video/fbdev/au1200fb.c 	D(lcd->window[0].winctrl0);
window            898 drivers/video/fbdev/au1200fb.c 	D(lcd->window[0].winctrl1);
window            899 drivers/video/fbdev/au1200fb.c 	D(lcd->window[0].winctrl2);
window            900 drivers/video/fbdev/au1200fb.c 	D(lcd->window[0].winbuf0);
window            901 drivers/video/fbdev/au1200fb.c 	D(lcd->window[0].winbuf1);
window            902 drivers/video/fbdev/au1200fb.c 	D(lcd->window[0].winbufctrl);
window            903 drivers/video/fbdev/au1200fb.c 	D(lcd->window[1].winctrl0);
window            904 drivers/video/fbdev/au1200fb.c 	D(lcd->window[1].winctrl1);
window            905 drivers/video/fbdev/au1200fb.c 	D(lcd->window[1].winctrl2);
window            906 drivers/video/fbdev/au1200fb.c 	D(lcd->window[1].winbuf0);
window            907 drivers/video/fbdev/au1200fb.c 	D(lcd->window[1].winbuf1);
window            908 drivers/video/fbdev/au1200fb.c 	D(lcd->window[1].winbufctrl);
window            909 drivers/video/fbdev/au1200fb.c 	D(lcd->window[2].winctrl0);
window            910 drivers/video/fbdev/au1200fb.c 	D(lcd->window[2].winctrl1);
window            911 drivers/video/fbdev/au1200fb.c 	D(lcd->window[2].winctrl2);
window            912 drivers/video/fbdev/au1200fb.c 	D(lcd->window[2].winbuf0);
window            913 drivers/video/fbdev/au1200fb.c 	D(lcd->window[2].winbuf1);
window            914 drivers/video/fbdev/au1200fb.c 	D(lcd->window[2].winbufctrl);
window            915 drivers/video/fbdev/au1200fb.c 	D(lcd->window[3].winctrl0);
window            916 drivers/video/fbdev/au1200fb.c 	D(lcd->window[3].winctrl1);
window            917 drivers/video/fbdev/au1200fb.c 	D(lcd->window[3].winctrl2);
window            918 drivers/video/fbdev/au1200fb.c 	D(lcd->window[3].winbuf0);
window            919 drivers/video/fbdev/au1200fb.c 	D(lcd->window[3].winbuf1);
window            920 drivers/video/fbdev/au1200fb.c 	D(lcd->window[3].winbufctrl);
window            941 drivers/video/fbdev/au1200fb.c 	lcd->window[plane].winctrl1 = ( 0
window            948 drivers/video/fbdev/au1200fb.c 	lcd->window[plane].winctrl2 = ( 0
window           1295 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl0 & ~(LCD_WINCTRL0_OX |
window           1299 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl0 = val;
window           1302 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl0 & ~(LCD_WINCTRL0_A);
window           1304 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl0 = val;
window           1307 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl0 & ~(LCD_WINCTRL0_AEN);
window           1309 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl0 = val;
window           1314 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_PRI);
window           1316 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl1 = val;
window           1319 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_PIPE);
window           1321 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl1 = val;
window           1324 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_FRM);
window           1326 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl1 = val;
window           1329 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_CCO);
window           1331 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl1 = val;
window           1334 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_PO);
window           1336 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl1 = val;
window           1339 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl1 & ~(LCD_WINCTRL1_SZX |
window           1343 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl1 = val;
window           1346 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl2 & ~(LCD_WINCTRL2_BX);
window           1348 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl2 = val;
window           1353 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl2 & ~(LCD_WINCTRL2_CKMODE);
window           1355 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl2 = val;
window           1358 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl2 & ~(LCD_WINCTRL2_DBM);
window           1360 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl2 = val;
window           1363 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl2 & ~(LCD_WINCTRL2_RAM);
window           1365 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl2 = val;
window           1371 drivers/video/fbdev/au1200fb.c 		val = lcd->window[plane].winctrl2 & ~(LCD_WINCTRL2_SCX |
window           1375 drivers/video/fbdev/au1200fb.c 		lcd->window[plane].winctrl2 = val;
window           1391 drivers/video/fbdev/au1200fb.c 	pdata->xpos = (lcd->window[plane].winctrl0 & LCD_WINCTRL0_OX) >> 21;
window           1392 drivers/video/fbdev/au1200fb.c 	pdata->ypos = (lcd->window[plane].winctrl0 & LCD_WINCTRL0_OY) >> 10;
window           1393 drivers/video/fbdev/au1200fb.c 	pdata->alpha_color = (lcd->window[plane].winctrl0 & LCD_WINCTRL0_A) >> 2;
window           1394 drivers/video/fbdev/au1200fb.c 	pdata->alpha_mode = (lcd->window[plane].winctrl0 & LCD_WINCTRL0_AEN) >> 1;
window           1397 drivers/video/fbdev/au1200fb.c 	pdata->priority = (lcd->window[plane].winctrl1& LCD_WINCTRL1_PRI) >> 30;
window           1398 drivers/video/fbdev/au1200fb.c 	pdata->channel = (lcd->window[plane].winctrl1 & LCD_WINCTRL1_PIPE) >> 29;
window           1399 drivers/video/fbdev/au1200fb.c 	pdata->buffer_format = (lcd->window[plane].winctrl1 & LCD_WINCTRL1_FRM) >> 25;
window           1400 drivers/video/fbdev/au1200fb.c 	pdata->color_order = (lcd->window[plane].winctrl1 & LCD_WINCTRL1_CCO) >> 24;
window           1401 drivers/video/fbdev/au1200fb.c 	pdata->pixel_order = (lcd->window[plane].winctrl1 & LCD_WINCTRL1_PO) >> 22;
window           1402 drivers/video/fbdev/au1200fb.c 	pdata->xsize = ((lcd->window[plane].winctrl1 & LCD_WINCTRL1_SZX) >> 11) + 1;
window           1403 drivers/video/fbdev/au1200fb.c 	pdata->ysize = (lcd->window[plane].winctrl1 & LCD_WINCTRL1_SZY) + 1;
window           1406 drivers/video/fbdev/au1200fb.c 	pdata->colorkey_mode = (lcd->window[plane].winctrl2 & LCD_WINCTRL2_CKMODE) >> 24;
window           1407 drivers/video/fbdev/au1200fb.c 	pdata->double_buffer_mode = (lcd->window[plane].winctrl2 & LCD_WINCTRL2_DBM) >> 23;
window           1408 drivers/video/fbdev/au1200fb.c 	pdata->ram_array_mode = (lcd->window[plane].winctrl2 & LCD_WINCTRL2_RAM) >> 21;
window           1445 drivers/video/fbdev/au1200fb.c 			set_window(plane, &iodata.window);
window           1450 drivers/video/fbdev/au1200fb.c 			get_window(plane, &iodata.window);
window             75 drivers/video/fbdev/au1200fb.h 	} window[4];
window             43 include/linux/lapb.h 	unsigned int window;
window             20 include/linux/ssb/ssb_driver_mips.h 	u32 window;
window             27 include/linux/ssb/ssb_driver_mips.h 	u32 window;
window            258 include/net/ax25.h 	unsigned char		window;
window           1237 include/net/bluetooth/hci.h 	__le16   window;
window           1243 include/net/bluetooth/hci.h 	__le16   window;
window           1406 include/net/bluetooth/hci.h 	__le16  window;
window           1612 include/net/bluetooth/hci.h 	__le16  window;
window            392 include/net/bluetooth/mgmt.h 	__le16	window;
window             72 include/net/iucv/af_iucv.h 	u16 window;
window             99 include/net/lapb.h 	unsigned char		window;
window             72 include/net/netrom.h 	unsigned char		state, condition, bpqext, window;
window            115 include/sound/sof/info.h 	struct sof_ipc_window_elem window[];
window             92 include/trace/events/wbt.h 		 int step, unsigned long window, unsigned int bg,
window             95 include/trace/events/wbt.h 	TP_ARGS(bdi, msg, step, window, bg, normal, max),
window            101 include/trace/events/wbt.h 		__field(unsigned long, window)
window            112 include/trace/events/wbt.h 		__entry->window	= div_u64(window, 1000);
window            119 include/trace/events/wbt.h 		  __entry->name, __entry->msg, __entry->step, __entry->window,
window            110 include/uapi/linux/atmsap.h 	    unsigned char window; /* window size (k), 1-127 (0 to omit) */
window            121 include/uapi/linux/atmsap.h 	    unsigned char window;/* packet window size, 1-127 (0 to omit) */
window            109 include/uapi/linux/ax25.h 	unsigned int	window;
window             55 include/uapi/linux/tcp.h 	__be16	window;
window            308 init/do_mounts_rd.c static long __init compr_flush(void *window, unsigned long outcnt)
window            310 init/do_mounts_rd.c 	long written = ksys_write(crd_outfd, window, outcnt);
window            128 lib/decompress_inflate.c 		WS(strm)->inflate_state.window = NULL;
window            130 lib/inflate.c  #define slide window
window            154 lib/zlib_deflate/deflate.c    (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \
window            232 lib/zlib_deflate/deflate.c     s->window = (Byte *) mem->window_memory;
window            560 lib/zlib_deflate/deflate.c     register Byte *scan = s->window + s->strstart; /* current string */
window            577 lib/zlib_deflate/deflate.c     register Byte *strend = s->window + s->strstart + MAX_MATCH - 1;
window            581 lib/zlib_deflate/deflate.c     register Byte *strend = s->window + s->strstart + MAX_MATCH;
window            604 lib/zlib_deflate/deflate.c         match = s->window + cur_match;
window            636 lib/zlib_deflate/deflate.c         Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
window            668 lib/zlib_deflate/deflate.c         Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
window            705 lib/zlib_deflate/deflate.c     if (memcmp((char *)s->window + match,
window            706 lib/zlib_deflate/deflate.c                 (char *)s->window + start, length) != EQUAL) {
window            710 lib/zlib_deflate/deflate.c 	    fprintf(stderr, "%c%c", s->window[match++], s->window[start++]);
window            716 lib/zlib_deflate/deflate.c         do { putc(s->window[start++], stderr); } while (--length != 0);
window            760 lib/zlib_deflate/deflate.c             memcpy((char *)s->window, (char *)s->window+wsize,
window            805 lib/zlib_deflate/deflate.c         n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more);
window            810 lib/zlib_deflate/deflate.c             s->ins_h = s->window[s->strstart];
window            811 lib/zlib_deflate/deflate.c             UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]);
window            829 lib/zlib_deflate/deflate.c                    (char *)&s->window[(unsigned)s->block_start] : \
window            979 lib/zlib_deflate/deflate.c                 s->ins_h = s->window[s->strstart];
window            980 lib/zlib_deflate/deflate.c                 UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]);
window            990 lib/zlib_deflate/deflate.c             Tracevv((stderr,"%c", s->window[s->strstart]));
window            991 lib/zlib_deflate/deflate.c             bflush = zlib_tr_tally (s, 0, s->window[s->strstart]);
window           1097 lib/zlib_deflate/deflate.c             Tracevv((stderr,"%c", s->window[s->strstart-1]));
window           1098 lib/zlib_deflate/deflate.c             if (zlib_tr_tally (s, 0, s->window[s->strstart-1])) {
window           1115 lib/zlib_deflate/deflate.c         Tracevv((stderr,"%c", s->window[s->strstart-1]));
window           1116 lib/zlib_deflate/deflate.c         zlib_tr_tally (s, 0, s->window[s->strstart-1]);
window             89 lib/zlib_deflate/defutil.h     Byte *window;
window            102 lib/zlib_inflate/inffast.c     unsigned char *window;      /* allocated sliding window, if wsize != 0 */
window            129 lib/zlib_inflate/inffast.c     window = state->window;
window            208 lib/zlib_inflate/inffast.c                     from = window - OFF;
window            227 lib/zlib_inflate/inffast.c                             from = window - OFF;
window             69 lib/zlib_inflate/inflate.c     state->window = &WS(strm)->working_window[0];
window            111 lib/zlib_inflate/inflate.c         memcpy(state->window, strm->next_out - state->wsize, state->wsize);
window            118 lib/zlib_inflate/inflate.c         memcpy(state->window + state->write, strm->next_out - copy, dist);
window            121 lib/zlib_inflate/inflate.c             memcpy(state->window, strm->next_out - copy, copy);
window            665 lib/zlib_inflate/inflate.c                     from = state->window + (state->wsize - copy);
window            668 lib/zlib_inflate/inflate.c                     from = state->window + (state->write - copy);
window             87 lib/zlib_inflate/inflate.h     unsigned char *window;  /* allocated sliding window, if needed */
window            390 net/ax25/af_ax25.c 		ax25->window = ax25_ctl.arg;
window            458 net/ax25/af_ax25.c 		ax25->window  = ax25_dev->values[AX25_VALUES_EWINDOW];
window            461 net/ax25/af_ax25.c 		ax25->window  = ax25_dev->values[AX25_VALUES_WINDOW];
window            492 net/ax25/af_ax25.c 		ax25->window  = AX25_DEF_EWINDOW;
window            495 net/ax25/af_ax25.c 		ax25->window  = AX25_DEF_WINDOW;
window            565 net/ax25/af_ax25.c 		ax25->window = opt;
window            709 net/ax25/af_ax25.c 		val = ax25->window;
window            936 net/ax25/af_ax25.c 	ax25->window  = oax25->window;
window           1272 net/ax25/af_ax25.c 		ax25->window  = ax25->ax25_dev->values[AX25_VALUES_WINDOW];
window           1790 net/ax25/af_ax25.c 		ax25_info.window    = ax25->window;
window           1907 net/ax25/af_ax25.c 		   ax25->window,
window             37 net/ax25/ax25_ds_in.c 		ax25->window  = ax25->ax25_dev->values[AX25_VALUES_WINDOW];
window             43 net/ax25/ax25_ds_in.c 		ax25->window  =  ax25->ax25_dev->values[AX25_VALUES_EWINDOW];
window            154 net/ax25/ax25_ds_in.c 			ax25->window    = ax25->ax25_dev->values[AX25_VALUES_WINDOW];
window            157 net/ax25/ax25_ds_in.c 			ax25->window    = ax25->ax25_dev->values[AX25_VALUES_EWINDOW];
window            198 net/ax25/ax25_ds_timer.c 				ax25->window  = ax25->ax25_dev->values[AX25_VALUES_WINDOW];
window            398 net/ax25/ax25_in.c 		ax25->window  = ax25_dev->values[AX25_VALUES_EWINDOW];
window            401 net/ax25/ax25_in.c 		ax25->window  = ax25_dev->values[AX25_VALUES_WINDOW];
window            257 net/ax25/ax25_out.c 	end   = (ax25->va + ax25->window) % ax25->modulus;
window             44 net/ax25/ax25_std_in.c 		ax25->window  = ax25->ax25_dev->values[AX25_VALUES_WINDOW];
window             50 net/ax25/ax25_std_in.c 		ax25->window  = ax25->ax25_dev->values[AX25_VALUES_EWINDOW];
window             86 net/ax25/ax25_std_in.c 				ax25->window  = ax25->ax25_dev->values[AX25_VALUES_WINDOW];
window            150 net/ax25/ax25_std_in.c 			ax25->window  = ax25->ax25_dev->values[AX25_VALUES_WINDOW];
window            153 net/ax25/ax25_std_in.c 			ax25->window  = ax25->ax25_dev->values[AX25_VALUES_EWINDOW];
window            275 net/ax25/ax25_std_in.c 			ax25->window  = ax25->ax25_dev->values[AX25_VALUES_WINDOW];
window            278 net/ax25/ax25_std_in.c 			ax25->window  = ax25->ax25_dev->values[AX25_VALUES_EWINDOW];
window            130 net/ax25/ax25_std_timer.c 				ax25->window  = ax25->ax25_dev->values[AX25_VALUES_WINDOW];
window            761 net/bluetooth/hci_event.c 		hdev->page_scan_window = __le16_to_cpu(rp->window);
window            781 net/bluetooth/hci_event.c 	hdev->page_scan_window = __le16_to_cpu(sent->window);
window            372 net/bluetooth/hci_request.c 	acp.window = cpu_to_le16(0x0012);
window            375 net/bluetooth/hci_request.c 	    __cpu_to_le16(hdev->page_scan_window) != acp.window)
window            787 net/bluetooth/hci_request.c 			       u16 window, u8 own_addr_type, u8 filter_policy)
window            816 net/bluetooth/hci_request.c 			phy_params->window = cpu_to_le16(window);
window            828 net/bluetooth/hci_request.c 			phy_params->window = cpu_to_le16(window);
window            850 net/bluetooth/hci_request.c 		param_cp.window = cpu_to_le16(window);
window           4456 net/bluetooth/mgmt.c 	__u16 interval, window;
window           4471 net/bluetooth/mgmt.c 	window = __le16_to_cpu(cp->window);
window           4473 net/bluetooth/mgmt.c 	if (window < 0x0004 || window > 0x4000)
window           4477 net/bluetooth/mgmt.c 	if (window > interval)
window           4484 net/bluetooth/mgmt.c 	hdev->le_scan_window = window;
window             38 net/ipv4/tcp_cdg.c static int window __read_mostly = 8;
window             46 net/ipv4/tcp_cdg.c module_param(window, int, 0444);
window             47 net/ipv4/tcp_cdg.c MODULE_PARM_DESC(window, "gradient window size (power of two <= 256)");
window            201 net/ipv4/tcp_cdg.c 		ca->tail = (ca->tail + 1) & (window - 1);
window            216 net/ipv4/tcp_cdg.c 		if (!ca->gradients && window > 1)
window            217 net/ipv4/tcp_cdg.c 			grad *= window; /* Memory allocation failed. */
window            221 net/ipv4/tcp_cdg.c 			grad = (grad * window) / (int)ca->tail;
window            355 net/ipv4/tcp_cdg.c 			memset(gradients, 0, window * sizeof(gradients[0]));
window            379 net/ipv4/tcp_cdg.c 	if (window > 1)
window            380 net/ipv4/tcp_cdg.c 		ca->gradients = kcalloc(window, sizeof(ca->gradients[0]),
window            407 net/ipv4/tcp_cdg.c 	if (backoff_beta > 1024 || window < 1 || window > 256)
window            409 net/ipv4/tcp_cdg.c 	if (!is_power_of_2(window))
window            262 net/ipv4/tcp_fastopen.c 	tp->snd_wnd = ntohs(tcp_hdr(skb)->window);
window            397 net/ipv4/tcp_input.c 	int window = tcp_win_from_space(sk, sock_net(sk)->ipv4.sysctl_tcp_rmem[2]) >> 1;
window            399 net/ipv4/tcp_input.c 	while (tp->rcv_ssthresh <= window) {
window            404 net/ipv4/tcp_input.c 		window >>= 1;
window           3385 net/ipv4/tcp_input.c 	u32 nwin = ntohs(tcp_hdr(skb)->window);
window           4074 net/ipv4/tcp_input.c 		!tcp_may_update_window(tp, ack, seq, ntohs(th->window) << tp->rx_opt.snd_wscale) &&
window           5949 net/ipv4/tcp_input.c 		tp->snd_wnd = ntohs(th->window);
window           6053 net/ipv4/tcp_input.c 		tp->snd_wnd    = ntohs(th->window);
window           6245 net/ipv4/tcp_input.c 		tp->snd_wnd = ntohs(th->window) << tp->rx_opt.snd_wscale;
window            843 net/ipv4/tcp_ipv4.c 	rep.th.window  = htons(win);
window           1713 net/ipv4/tcp_ipv4.c 		thtail->window = th->window;
window            522 net/ipv4/tcp_minisocks.c 	newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale;
window           1132 net/ipv4/tcp_output.c 		th->window      = htons(tcp_select_window(sk));
window           1138 net/ipv4/tcp_output.c 		th->window	= htons(min(tp->rcv_wnd, 65535U));
window           1772 net/ipv4/tcp_output.c 	u32 partial, needed, window, max_len;
window           1774 net/ipv4/tcp_output.c 	window = tcp_wnd_end(tp) - TCP_SKB_CB(skb)->seq;
window           1777 net/ipv4/tcp_output.c 	if (likely(max_len <= window && skb != tcp_write_queue_tail(sk)))
window           1780 net/ipv4/tcp_output.c 	needed = min(skb->len, window);
window           2715 net/ipv4/tcp_output.c 	int window;
window           2752 net/ipv4/tcp_output.c 		window = free_space;
window           2758 net/ipv4/tcp_output.c 		window = ALIGN(window, (1 << tp->rx_opt.rcv_wscale));
window           2760 net/ipv4/tcp_output.c 		window = tp->rcv_wnd;
window           2769 net/ipv4/tcp_output.c 		if (window <= free_space - mss || window > free_space)
window           2770 net/ipv4/tcp_output.c 			window = rounddown(free_space, mss);
window           2772 net/ipv4/tcp_output.c 			 free_space > window + (full_space >> 1))
window           2773 net/ipv4/tcp_output.c 			window = free_space;
window           2776 net/ipv4/tcp_output.c 	return window;
window           3348 net/ipv4/tcp_output.c 	th->window = htons(min(req->rsk_rcv_wnd, 65535U));
window            116 net/ipv6/netfilter/nf_reject_ipv6.c 	tcph->window = 0;
window            847 net/ipv6/tcp_ipv6.c 	t1->window = htons(win);
window            333 net/iucv/af_iucv.c 		phs_hdr->window = iucv->msglimit;
window            336 net/iucv/af_iucv.c 		phs_hdr->window = confirm_recv;
window           2011 net/iucv/af_iucv.c 	if (!trans_hdr->window)
window           2014 net/iucv/af_iucv.c 		niucv->msglimit_peer = trans_hdr->window;
window           2024 net/iucv/af_iucv.c 	trans_hdr->window = niucv->msglimit;
window           2051 net/iucv/af_iucv.c 	iucv->msglimit_peer = iucv_trans_hdr(skb)->window;
window           2114 net/iucv/af_iucv.c 	atomic_sub(iucv_trans_hdr(skb)->window, &iucv->msg_sent);
window            130 net/lapb/lapb_iface.c 	lapb->window  = LAPB_DEFAULT_WINDOW;
window            209 net/lapb/lapb_iface.c 	parms->window  = lapb->window;
window            243 net/lapb/lapb_iface.c 			if (parms->window < 1 || parms->window > 127)
window            246 net/lapb/lapb_iface.c 			if (parms->window < 1 || parms->window > 7)
window            250 net/lapb/lapb_iface.c 		lapb->window  = parms->window;
window             73 net/lapb/lapb_out.c 	end   = (lapb->va + lapb->window) % modulus;
window            484 net/netfilter/nf_conntrack_proto_tcp.c 	win_raw = ntohs(tcph->window);
window            783 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window);
window            803 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window);
window            951 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.last_win = ntohs(th->window);
window             83 net/netfilter/nf_log_common.c 	nf_log_buf_add(m, "WINDOW=%u ", ntohs(th->window));
window            496 net/netfilter/nf_synproxy_core.c 	nth->window	= 0;
window            542 net/netfilter/nf_synproxy_core.c 	nth->window	= th->window;
window            582 net/netfilter/nf_synproxy_core.c 	nth->window	= htons(state->seen[IP_CT_DIR_ORIGINAL].td_maxwin);
window            620 net/netfilter/nf_synproxy_core.c 	nth->window	= htons(ntohs(th->window) >> opts->wscale);
window            910 net/netfilter/nf_synproxy_core.c 	nth->window	= 0;
window            957 net/netfilter/nf_synproxy_core.c 	nth->window	= th->window;
window            997 net/netfilter/nf_synproxy_core.c 	nth->window	= htons(state->seen[IP_CT_DIR_ORIGINAL].td_maxwin);
window           1036 net/netfilter/nf_synproxy_core.c 	nth->window	= htons(ntohs(th->window) >> opts->wscale);
window             58 net/netfilter/nfnetlink_osf.c 	u16			window;
window            129 net/netfilter/nfnetlink_osf.c 			if (f->wss.val == 0 || ctx->window == f->wss.val)
window            141 net/netfilter/nfnetlink_osf.c 			if (ctx->window == f->wss.val * mss ||
window            142 net/netfilter/nfnetlink_osf.c 			    ctx->window == f->wss.val * SMART_MSS_1 ||
window            143 net/netfilter/nfnetlink_osf.c 			    ctx->window == f->wss.val * SMART_MSS_2)
window            147 net/netfilter/nfnetlink_osf.c 			if (ctx->window == f->wss.val * (mss + 40) ||
window            148 net/netfilter/nfnetlink_osf.c 			    ctx->window == f->wss.val * (SMART_MSS_1 + 40) ||
window            149 net/netfilter/nfnetlink_osf.c 			    ctx->window == f->wss.val * (SMART_MSS_2 + 40))
window            153 net/netfilter/nfnetlink_osf.c 			if ((ctx->window % f->wss.val) == 0)
window            182 net/netfilter/nfnetlink_osf.c 	ctx->window = ntohs(tcp->window);
window            438 net/netrom/af_netrom.c 	nr->window = sysctl_netrom_transport_requested_window_size;
window            483 net/netrom/af_netrom.c 	nr->window  = onr->window;
window            847 net/netrom/af_netrom.c 	unsigned short frametype, flags, window, timeout;
window            946 net/netrom/af_netrom.c 	window = skb->data[20];
window            972 net/netrom/af_netrom.c 	if (window < nr_make->window)
window            973 net/netrom/af_netrom.c 		nr_make->window = window;
window           1294 net/netrom/af_netrom.c 			nr->window,
window             88 net/netrom/nr_in.c 		nr->window     = skb->data[20];
window            255 net/netrom/nr_in.c 		if (((nrom->vl + nrom->window) % NR_MODULUS) == nrom->vr) {
window            138 net/netrom/nr_out.c 	end   = (nr->va + nr->window) % NR_MODULUS;
window            105 net/netrom/nr_subr.c 	unsigned short vt = (nr->vl + nr->window) % NR_MODULUS;
window            162 net/netrom/nr_subr.c 		*dptr++  = nr->window;
window            183 net/netrom/nr_subr.c 		*dptr++ = nr->window;
window            313 net/tipc/bearer.c 	b->window = m->window;
window            768 net/tipc/bearer.c 	if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, bearer->window))
window           1060 net/tipc/bearer.c 			b->window = nla_get_u32(props[TIPC_NLA_PROP_WIN]);
window           1114 net/tipc/bearer.c 	if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, media->window))
window           1247 net/tipc/bearer.c 			m->window = nla_get_u32(props[TIPC_NLA_PROP_WIN]);
window            122 net/tipc/bearer.h 	u32 window;
window            161 net/tipc/bearer.h 	u32 window;
window             95 net/tipc/eth_media.c 	.window		= TIPC_DEF_LINK_WIN,
window             73 net/tipc/group.c 	u16 window;
window            373 net/tipc/group.c 	m->window -= len;
window            375 net/tipc/group.c 	if (m->window >= ADV_IDLE)
window            382 net/tipc/group.c 		if (_m->window > m->window)
window            424 net/tipc/group.c 	if (m->window >= len)
window            457 net/tipc/group.c 	if (m->window >= len)
window            728 net/tipc/group.c 		msg_set_grp_remitted(hdr, m->window);
window            760 net/tipc/group.c 		m->window += msg_adv_win(hdr);
window            788 net/tipc/group.c 		m->window += msg_adv_win(hdr);
window            806 net/tipc/group.c 		m->window = ADV_IDLE;
window             97 net/tipc/ib_media.c 	.window		= TIPC_DEF_LINK_WIN,
window            166 net/tipc/link.c 	u16 window;
window            312 net/tipc/link.c 	return l->window;
window            444 net/tipc/link.c 		      int window, u32 session, u32 self,
window            488 net/tipc/link.c 	tipc_link_set_queue_limits(l, window);
window            516 net/tipc/link.c 			 int mtu, int window, u16 peer_caps,
window            524 net/tipc/link.c 	if (!tipc_link_create(net, "", MAX_BEARERS, 0, 'Z', mtu, 0, window,
window            943 net/tipc/link.c 	unsigned int maxwin = l->window;
window           1035 net/tipc/link.c 	while (skb_queue_len(&l->transmq) < l->window) {
window           2186 net/tipc/link.c 	if (more(peers_snd_nxt, l->rcv_nxt + l->window))
window           2301 net/tipc/link.c 	l->window = win;
window           2478 net/tipc/link.c 			link->window))
window           2597 net/tipc/link.c 	if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, bcl->window))
window             76 net/tipc/link.h 		      int window, u32 session, u32 ownnode,
window             84 net/tipc/link.h 			 int mtu, int window, u16 peer_caps,
window            127 net/tipc/link.h void tipc_link_set_queue_limits(struct tipc_link *l, u32 window);
window           1086 net/tipc/node.c 				      b->window, session,
window            838 net/tipc/udp_media.c 	.window		= TIPC_DEF_LINK_WIN,
window            110 scripts/kconfig/gconf.c static void replace_button_icon(GladeXML *xml, GdkDrawable *window,
window            118 scripts/kconfig/gconf.c 	pixmap = gdk_pixmap_create_from_xpm_d(window, &mask,
window            170 scripts/kconfig/gconf.c 	replace_button_icon(xml, main_wnd->window, style,
window            172 scripts/kconfig/gconf.c 	replace_button_icon(xml, main_wnd->window, style,
window            174 scripts/kconfig/gconf.c 	replace_button_icon(xml, main_wnd->window, style,
window            472 scripts/kconfig/gconf.c 	if (widget->window == NULL)
window            475 scripts/kconfig/gconf.c 		gdk_window_get_size(widget->window, &w, &h);
window             27 sound/soc/sof/loader.c 	sdev->info_window = kmemdup(w, struct_size(w, window, w->num_windows),
window            120 sound/soc/sof/loader.c 		elem = &sdev->info_window->window[i];
window             94 tools/perf/ui/gtk/annotate.c static int perf_gtk__annotate_symbol(GtkWidget *window, struct symbol *sym,
window            153 tools/perf/ui/gtk/annotate.c 	gtk_container_add(GTK_CONTAINER(window), view);
window            167 tools/perf/ui/gtk/annotate.c 	GtkWidget *window;
window            187 tools/perf/ui/gtk/annotate.c 		window = pgctx->main_window;
window            200 tools/perf/ui/gtk/annotate.c 		window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
window            201 tools/perf/ui/gtk/annotate.c 		gtk_window_set_title(GTK_WINDOW(window), "perf annotate");
window            203 tools/perf/ui/gtk/annotate.c 		g_signal_connect(window, "delete_event", gtk_main_quit, NULL);
window            205 tools/perf/ui/gtk/annotate.c 		pgctx = perf_gtk__activate_context(window);
window            224 tools/perf/ui/gtk/annotate.c 		gtk_container_add(GTK_CONTAINER(window), vbox);
window            250 tools/perf/ui/gtk/annotate.c 	GtkWidget *window;
window            255 tools/perf/ui/gtk/annotate.c 	window = pgctx->main_window;
window            256 tools/perf/ui/gtk/annotate.c 	gtk_widget_show_all(window);
window            258 tools/perf/ui/gtk/annotate.c 	perf_gtk__resize_window(window);
window            259 tools/perf/ui/gtk/annotate.c 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
window             16 tools/perf/ui/gtk/browser.c void perf_gtk__resize_window(GtkWidget *window)
window             24 tools/perf/ui/gtk/browser.c 	screen = gtk_widget_get_screen(window);
window             26 tools/perf/ui/gtk/browser.c 	monitor = gdk_screen_get_monitor_at_window(screen, window->window);
window             33 tools/perf/ui/gtk/browser.c 	gtk_window_resize(GTK_WINDOW(window), width, height);
window             34 tools/perf/ui/gtk/gtk.h struct perf_gtk_context *perf_gtk__activate_context(GtkWidget *window);
window             42 tools/perf/ui/gtk/gtk.h void perf_gtk__resize_window(GtkWidget *window);
window            293 tools/perf/ui/gtk/hists.c static void perf_gtk__show_hists(GtkWidget *window, struct hists *hists,
window            402 tools/perf/ui/gtk/hists.c 	gtk_container_add(GTK_CONTAINER(window), view);
window            497 tools/perf/ui/gtk/hists.c static void perf_gtk__show_hierarchy(GtkWidget *window, struct hists *hists,
window            590 tools/perf/ui/gtk/hists.c 	gtk_container_add(GTK_CONTAINER(window), view);
window            603 tools/perf/ui/gtk/hists.c 	GtkWidget *window;
window            611 tools/perf/ui/gtk/hists.c 	window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
window            613 tools/perf/ui/gtk/hists.c 	gtk_window_set_title(GTK_WINDOW(window), "perf report");
window            615 tools/perf/ui/gtk/hists.c 	g_signal_connect(window, "delete_event", gtk_main_quit, NULL);
window            617 tools/perf/ui/gtk/hists.c 	pgctx = perf_gtk__activate_context(window);
window            634 tools/perf/ui/gtk/hists.c 	gtk_container_add(GTK_CONTAINER(window), vbox);
window            670 tools/perf/ui/gtk/hists.c 	gtk_widget_show_all(window);
window            672 tools/perf/ui/gtk/hists.c 	perf_gtk__resize_window(window);
window            674 tools/perf/ui/gtk/hists.c 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
window             11 tools/perf/ui/gtk/util.c struct perf_gtk_context *perf_gtk__activate_context(GtkWidget *window)
window             17 tools/perf/ui/gtk/util.c 		ctx->main_window = window;