Searched refs:window (Results 1 - 25 of 186) sorted by relevance

12345678

/linux-master/arch/powerpc/platforms/powernv/
H A Dvas-debug.c32 struct pnv_vas_window *window = s->private; local
36 /* ensure window is not unmapped */
37 if (!window->hvwc_map)
40 seq_printf(s, "Type: %s, %s\n", cop_to_str(window->vas_win.cop),
41 window->tx_win ? "Send" : "Receive");
42 seq_printf(s, "Pid : %d\n", vas_window_pid(&window->vas_win));
59 struct pnv_vas_window *window = s->private; local
63 /* ensure window is not unmapped */
64 if (!window->hvwc_map)
67 print_reg(s, window, VRE
109 struct vas_window *window = &pnv_win->vas_win; local
119 vas_window_init_dbgdir(struct pnv_vas_window *window) argument
[all...]
H A Dvas-window.c27 * Compute the paste address region for the window @window using the
30 void vas_win_paste_addr(struct pnv_vas_window *window, u64 *addr, int *len) argument
35 base = window->vinst->paste_base_addr;
36 shift = window->vinst->paste_win_id_shift;
37 winid = window->vas_win.winid;
46 static inline void get_hvwc_mmio_bar(struct pnv_vas_window *window, argument
51 pbaddr = window->vinst->hvwc_bar_start;
52 *start = pbaddr + window->vas_win.winid * VAS_HVWC_SIZE;
56 static inline void get_uwc_mmio_bar(struct pnv_vas_window *window, argument
136 unmap_paste_region(struct pnv_vas_window *window) argument
157 unmap_winctx_mmio_bars(struct pnv_vas_window *window) argument
190 map_winctx_mmio_bars(struct pnv_vas_window *window) argument
218 reset_window_regs(struct pnv_vas_window *window) argument
274 init_xlate_regs(struct pnv_vas_window *window, bool user_win) argument
361 init_winctx_regs(struct pnv_vas_window *window, struct vas_winctx *winctx) argument
523 vas_window_free(struct pnv_vas_window *window) argument
540 struct pnv_vas_window *window; local
642 set_vinst_win(struct vas_instance *vinst, struct pnv_vas_window *window) argument
668 clear_vinst_win(struct pnv_vas_window *window) argument
1155 poll_window_credits(struct pnv_vas_window *window) argument
1209 poll_window_busy_state(struct pnv_vas_window *window) argument
1252 poll_window_castout(struct pnv_vas_window *window) argument
1261 unpin_close_window(struct pnv_vas_window *window) argument
1285 struct pnv_vas_window *window; local
1347 vas_return_credit(struct pnv_vas_window *window, bool tx) argument
1364 struct pnv_vas_window *window; local
[all...]
H A Dvas-fault.c21 * The maximum FIFO size for fault window can be 8MB
23 * instance will be having fault window.
51 * It takes credit on fault window, updates nx_fault_stamp in CRB with
54 * pswid - window ID of the window on which the request is sent.
61 * available on fault window. Otherwise, returns with RMA_reject.
63 * Total credits available on fault window: FIFO_SIZE(4MB)/CRBS_SIZE(128)
71 struct pnv_vas_window *window; local
84 * pswid NX assigns window ID. Set pswid to -1 after
123 * Return credit for the fault window
[all...]
/linux-master/arch/sparc/kernel/
H A Dwindows.c2 /* windows.c: Routines to deal with register window management
54 * we still copy the window there, the only case that we don't
64 int window; local
71 for(window = tp->w_saved - 1; window >= 0; window--) {
72 unsigned long sp = tp->rwbuf_stkptrs[window];
75 if (copy_to_user((char __user *) sp, &tp->reg_window[window],
79 shift_window_buffer(window, tp->w_saved - 1, tp);
109 /* Try to push the windows in a threads window buffe
116 int window; local
[all...]
/linux-master/drivers/mtd/maps/
H A Dichxrom.c57 static void ichxrom_cleanup(struct ichxrom_window *window) argument
63 /* Disable writes through the rom window */
64 ret = pci_read_config_word(window->pdev, BIOS_CNTL, &word);
66 pci_write_config_word(window->pdev, BIOS_CNTL, word & ~1);
67 pci_dev_put(window->pdev);
70 list_for_each_entry_safe(map, scratch, &window->maps, list) {
78 if (window->rsrc.parent)
79 release_resource(&window->rsrc);
80 if (window->virt) {
81 iounmap(window
94 struct ichxrom_window *window = &ichxrom_window; local
321 struct ichxrom_window *window = &ichxrom_window; local
[all...]
H A Dck804xrom.c54 * The 2 bits controlling the window size are often set to allow reading
62 * The bits are 6 and 7. If both bits are set, it is a 5MiB window.
63 * If only the 7 Bit is set, it is a 4MiB window. Otherwise, a
64 * 64KiB window.
67 * The 15 bits controlling the window size are distributed as follows:
71 * If all bits are enabled, we have a 16? MiB window
76 MODULE_PARM_DESC(win_size_bits, "ROM window size bits override, normally set by BIOS.");
82 static void ck804xrom_cleanup(struct ck804xrom_window *window) argument
87 if (window->pdev) {
88 /* Disable writes through the rom window */
122 struct ck804xrom_window *window = &ck804xrom_window; local
323 struct ck804xrom_window *window = &ck804xrom_window; local
[all...]
H A Damd76xrom.c48 /* The 2 bits controlling the window size are often set to allow reading
56 * The bits are 6 and 7. If both bits are set, it is a 5MiB window.
57 * If only the 7 Bit is set, it is a 4MiB window. Otherwise, a
58 * 64KiB window.
63 MODULE_PARM_DESC(win_size_bits, "ROM window size bits override for 0x43 byte, normally set by BIOS.");
69 static void amd76xrom_cleanup(struct amd76xrom_window *window) argument
74 if (window->pdev) {
75 /* Disable writes through the rom window */
76 pci_read_config_byte(window->pdev, 0x40, &byte);
77 pci_write_config_byte(window
109 struct amd76xrom_window *window = &amd76xrom_window; local
293 struct amd76xrom_window *window = &amd76xrom_window; local
[all...]
H A Desb2rom.c118 static void esb2rom_cleanup(struct esb2rom_window *window) argument
123 /* Disable writes through the rom window */
124 pci_read_config_byte(window->pdev, BIOS_CNTL, &byte);
125 pci_write_config_byte(window->pdev, BIOS_CNTL,
129 list_for_each_entry_safe(map, scratch, &window->maps, list) {
137 if (window->rsrc.parent)
138 release_resource(&window->rsrc);
139 if (window->virt) {
140 iounmap(window->virt);
141 window
152 struct esb2rom_window *window = &esb2rom_window; local
383 struct esb2rom_window *window = &esb2rom_window; local
[all...]
/linux-master/drivers/pci/
H A Dhost-bridge.c55 struct resource_entry *window; local
58 resource_list_for_each_entry(window, &bridge->windows) {
59 if (resource_contains(window->res, res)) {
60 offset = window->offset;
80 struct resource_entry *window; local
83 resource_list_for_each_entry(window, &bridge->windows) {
86 if (resource_type(res) != resource_type(window->res))
89 bus_region.start = window->res->start - window->offset;
90 bus_region.end = window
[all...]
/linux-master/tools/perf/ui/gtk/
H A Dbrowser.c16 void perf_gtk__resize_window(GtkWidget *window) argument
24 screen = gtk_widget_get_screen(window);
26 monitor = gdk_screen_get_monitor_at_window(screen, window->window);
33 gtk_window_resize(GTK_WINDOW(window), width, height);
H A Dannotate.c102 static int perf_gtk__annotate_symbol(GtkWidget *window, struct map_symbol *ms, argument
162 gtk_container_add(GTK_CONTAINER(window), view);
177 GtkWidget *window; local
198 window = pgctx->main_window;
211 window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
212 gtk_window_set_title(GTK_WINDOW(window), "perf annotate");
214 g_signal_connect(window, "delete_event", gtk_main_quit, NULL);
216 pgctx = perf_gtk__activate_context(window);
235 gtk_container_add(GTK_CONTAINER(window), vbox);
261 GtkWidget *window; local
[all...]
H A Dgtk.h34 struct perf_gtk_context *perf_gtk__activate_context(GtkWidget *window);
42 void perf_gtk__resize_window(GtkWidget *window);
/linux-master/lib/zstd/compress/
H A Dzstd_compress_internal.h203 ZSTD_window_t window; /* State for window round buffer management */ member in struct:ZSTD_matchState_t
222 U32 forceNonContiguous; /* Non-zero if we should force non-contiguous load for the next window update. */
254 ZSTD_window_t window; /* State for the window round buffer management */ member in struct:__anon200
863 * over a window of length bytes.
896 * Clears the window containing the history by simply setting it to empty.
898 MEM_STATIC void ZSTD_window_clear(ZSTD_window_t* window) argument
900 size_t const endT = (size_t)(window->nextSrc - window
907 ZSTD_window_isEmpty(ZSTD_window_t const window) argument
918 ZSTD_window_hasExtDict(ZSTD_window_t const window) argument
954 ZSTD_window_canOverflowCorrect(ZSTD_window_t const window, U32 cycleLog, U32 maxDist, U32 loadedDictEnd, void const* src) argument
989 ZSTD_window_needOverflowCorrection(ZSTD_window_t const window, U32 cycleLog, U32 maxDist, U32 loadedDictEnd, void const* src, void const* srcEnd) argument
1014 ZSTD_window_correctOverflow(ZSTD_window_t* window, U32 cycleLog, U32 maxDist, void const* src) argument
1111 ZSTD_window_enforceMaxDist(ZSTD_window_t* window, const void* blockEnd, U32 maxDist, U32* loadedDictEndPtr, const ZSTD_matchState_t** dictMatchStatePtr) argument
1156 ZSTD_checkDictValidity(const ZSTD_window_t* window, const void* blockEnd, U32 maxDist, U32* loadedDictEndPtr, const ZSTD_matchState_t** dictMatchStatePtr) argument
1184 ZSTD_window_init(ZSTD_window_t* window) argument
[all...]
/linux-master/drivers/edac/
H A Dx38_edac.c168 void __iomem *window = mci->pvt_info; local
181 info->eccerrlog[0] = lo_hi_readq(window + X38_C0ECCERRLOG);
183 info->eccerrlog[1] = lo_hi_readq(window + X38_C1ECCERRLOG);
194 info->eccerrlog[0] = lo_hi_readq(window + X38_C0ECCERRLOG);
197 lo_hi_readq(window + X38_C1ECCERRLOG);
254 void __iomem *window; local
268 window = ioremap(u.mchbar, X38_MMR_WINDOW_SIZE);
269 if (!window)
273 return window;
277 static void x38_get_drbs(void __iomem *window, argument
325 void __iomem *window; local
[all...]
H A Di3200_edac.c100 void __iomem *window; member in struct:i3200_priv
185 void __iomem *window = priv->window; local
198 info->eccerrlog[0] = readq(window + I3200_C0ECCERRLOG);
200 info->eccerrlog[1] = readq(window + I3200_C1ECCERRLOG);
211 info->eccerrlog[0] = readq(window + I3200_C0ECCERRLOG);
213 info->eccerrlog[1] = readq(window + I3200_C1ECCERRLOG);
269 void __iomem *window; local
282 window = ioremap(u.mchbar, I3200_MMR_WINDOW_SIZE);
283 if (!window)
291 i3200_get_drbs(void __iomem *window, u16 drbs[I3200_CHANNELS][I3200_RANKS_PER_CHANNEL]) argument
343 void __iomem *window; local
[all...]
H A Di3000_edac.c320 void __iomem *window; local
326 window = ioremap(mchbar, I3000_MMR_WINDOW_SIZE);
327 if (!window) {
333 c0dra[0] = readb(window + I3000_C0DRA + 0); /* ranks 0,1 */
334 c0dra[1] = readb(window + I3000_C0DRA + 1); /* ranks 2,3 */
335 c1dra[0] = readb(window + I3000_C1DRA + 0); /* ranks 0,1 */
336 c1dra[1] = readb(window + I3000_C1DRA + 1); /* ranks 2,3 */
339 c0drb[i] = readb(window + I3000_C0DRB + i);
340 c1drb[i] = readb(window + I3000_C1DRB + i);
343 iounmap(window);
[all...]
/linux-master/include/linux/ssb/
H A Dssb_driver_mips.h20 u32 window; member in struct:ssb_pflash
27 u32 window; member in struct:ssb_sflash
/linux-master/arch/arm/mach-mv78xx0/
H A Dcommon.h26 void mv78xx0_setup_pcie_io_win(int window, u32 base, u32 size,
28 void mv78xx0_setup_pcie_mem_win(int window, u32 base, u32 size,
/linux-master/drivers/pci/endpoint/
H A Dpci-epc-mem.c26 unsigned int page_shift = ilog2(mem->window.page_size);
92 mem->window.phys_base = windows[i].phys_base;
93 mem->window.size = windows[i].size;
94 mem->window.page_size = page_size;
121 * @base: Physical address of the window region
122 * @size: Total Size of the window region
123 * @page_size: Page size of the window region
192 align_size = ALIGN(size, mem->window.page_size);
198 page_shift = ilog2(mem->window.page_size);
199 *phys_addr = mem->window
[all...]
/linux-master/arch/powerpc/platforms/cell/
H A Diommu.c125 * - on bus setup, look for a matching window, or create one
162 struct iommu_window *window = local
180 (window->ioid & CBE_IOPTE_IOID_Mask);
183 CBE_IOPTE_SO_RW | (window->ioid & CBE_IOPTE_IOID_Mask);
195 invalidate_tce_cache(window->iommu, io_pte, npages);
207 struct iommu_window *window = local
218 __pa(window->iommu->pad_page) |
219 (window->ioid & CBE_IOPTE_IOID_Mask);
229 invalidate_tce_cache(window->iommu, io_pte, npages);
431 struct iommu_window *window;
468 struct iommu_window *window; local
544 struct iommu_window *window; local
[all...]
/linux-master/drivers/video/fbdev/
H A Dau1200fb.c136 struct au1200_lcd_window_regs_t window; member in struct:au1200_lcd_iodata_t
173 /* Default window configuration entry to use (see windows[]) */
210 * Default window configurations
710 winctrl0 = lcd->window[plane].winctrl0;
711 winctrl1 = lcd->window[plane].winctrl1;
733 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8);
757 /* Disable the window while making changes, then restore WINEN */
761 lcd->window[plane].winctrl0 = winctrl0;
762 lcd->window[plane].winctrl1 = winctrl1;
763 lcd->window[plan
[all...]
/linux-master/include/trace/events/
H A Dwbt.h84 * @window: the current monitoring window
92 int step, unsigned long window, unsigned int bg,
95 TP_ARGS(bdi, msg, step, window, bg, normal, max),
101 __field(unsigned long, window)
112 __entry->window = div_u64(window, 1000);
118 TP_printk("%s: %s: step=%d, window=%luus, background=%u, normal=%u, max=%u",
119 __entry->name, __entry->msg, __entry->step, __entry->window,
/linux-master/drivers/pci/controller/
H A Dpcie-rcar.c64 struct resource_entry *window)
67 struct resource *res = window->res;
86 res_start = pci_pio_to_address(res->start) - window->offset;
88 res_start = res->start - window->offset;
63 rcar_pcie_set_outbound(struct rcar_pcie *pcie, int win, struct resource_entry *window) argument
/linux-master/drivers/sh/intc/
H A Daccess.c16 struct intc_window *window; local
21 window = d->window + k;
23 if (address < window->phys)
26 if (address >= (window->phys + window->size))
29 address -= window->phys;
30 address += (unsigned long)window->virt;
/linux-master/include/uapi/linux/
H A Datmsap.h110 unsigned char window; /* window size (k), 1-127 (0 to omit) */ member in struct:atm_blli::__anon12599::__anon12600
121 unsigned char window;/* packet window size, 1-127 (0 to omit) */ member in struct:atm_blli::__anon12601::__anon12602

Completed in 400 milliseconds

12345678