Home
last modified time | relevance | path

Searched refs:win (Results 1 – 25 of 34) sorted by relevance

12

/arch/mips/txx9/rbtx4939/
Dprom.c17 u64 win; in rbtx4939_prom_init() local
23 win = ____raw_readq(&tx4939_ddrcptr->win[i]); in rbtx4939_prom_init()
24 start = (unsigned long)(win >> 48); in rbtx4939_prom_init()
25 size = (((unsigned long)(win >> 32) & 0xffff) + 1) - start; in rbtx4939_prom_init()
/arch/sparc/kernel/
Dkgdb_32.c21 struct reg_window32 *win; in pt_regs_to_gdb_regs() local
28 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in pt_regs_to_gdb_regs()
30 gdb_regs[GDB_L0 + i] = win->locals[i]; in pt_regs_to_gdb_regs()
32 gdb_regs[GDB_I0 + i] = win->ins[i]; in pt_regs_to_gdb_regs()
50 struct reg_window32 *win; in sleeping_thread_to_gdb_regs() local
62 win = (struct reg_window32 *) t->ksp; in sleeping_thread_to_gdb_regs()
64 gdb_regs[GDB_L0 + i] = win->locals[i]; in sleeping_thread_to_gdb_regs()
66 gdb_regs[GDB_I0 + i] = win->ins[i]; in sleeping_thread_to_gdb_regs()
84 struct reg_window32 *win; in gdb_regs_to_pt_regs() local
103 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in gdb_regs_to_pt_regs()
[all …]
Dkgdb_64.c21 struct reg_window *win; in pt_regs_to_gdb_regs() local
28 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in pt_regs_to_gdb_regs()
30 gdb_regs[GDB_L0 + i] = win->locals[i]; in pt_regs_to_gdb_regs()
32 gdb_regs[GDB_I0 + i] = win->ins[i]; in pt_regs_to_gdb_regs()
50 struct reg_window *win; in sleeping_thread_to_gdb_regs() local
63 win = (struct reg_window *) (t->ksp + STACK_BIAS); in sleeping_thread_to_gdb_regs()
65 gdb_regs[GDB_L0 + i] = win->locals[i]; in sleeping_thread_to_gdb_regs()
67 gdb_regs[GDB_I0 + i] = win->ins[i]; in sleeping_thread_to_gdb_regs()
90 struct reg_window *win; in gdb_regs_to_pt_regs() local
109 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in gdb_regs_to_pt_regs()
[all …]
Dunaligned_32.c95 struct reg_window32 *win; in fetch_reg() local
101 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in fetch_reg()
102 return win->locals[reg - 16]; /* yes, I know what this does... */ in fetch_reg()
107 struct reg_window32 __user *win; in safe_fetch_reg() local
114 win = (struct reg_window32 __user *) regs->u_regs[UREG_FP]; in safe_fetch_reg()
116 if ((unsigned long)win & 3) in safe_fetch_reg()
119 if (get_user(ret, &win->locals[reg - 16])) in safe_fetch_reg()
127 struct reg_window32 *win; in fetch_reg_addr() local
131 win = (struct reg_window32 *) regs->u_regs[UREG_FP]; in fetch_reg_addr()
132 return &win->locals[reg - 16]; in fetch_reg_addr()
Dunaligned_64.c130 struct reg_window *win; in fetch_reg() local
131 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg()
132 value = win->locals[reg - 16]; in fetch_reg()
138 struct reg_window __user *win; in fetch_reg() local
139 win = (struct reg_window __user *)(fp + STACK_BIAS); in fetch_reg()
140 get_user(value, &win->locals[reg - 16]); in fetch_reg()
155 struct reg_window *win; in fetch_reg_addr() local
156 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg_addr()
157 return &win->locals[reg - 16]; in fetch_reg_addr()
163 struct reg_window *win; in fetch_reg_addr() local
[all …]
Detrap_32.S164 orn %g0, %t_twinmask, %g1 ! negate trap win mask into %g1
189 and %g2, 0xff, %g2 ! patched on 7win Sparcs
203 and %g1, 0xff, %g1 ! patched on 7win Sparcs, mask
206 sll %t_wim, 0x7, %t_wim ! patched on 7win Sparcs
209 and %g2, 0xff, %g2 ! patched on 7win Sparcs
Dvisemul.c161 struct reg_window *win; in fetch_reg() local
162 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg()
163 value = win->locals[reg - 16]; in fetch_reg()
169 struct reg_window __user *win; in fetch_reg() local
170 win = (struct reg_window __user *)(fp + STACK_BIAS); in fetch_reg()
171 get_user(value, &win->locals[reg - 16]); in fetch_reg()
189 struct reg_window __user *win; in __fetch_reg_addr_user() local
190 win = (struct reg_window __user *)(fp + STACK_BIAS); in __fetch_reg_addr_user()
191 return &win->locals[reg - 16]; in __fetch_reg_addr_user()
Dwof.S100 ld [%curptr + TI_UWINMASK], %twin_tmp ! grab win mask
234 spnwin_patch3: and %twin_tmp, 0xff, %twin_tmp ! patched on 7win Sparcs
/arch/powerpc/platforms/powernv/
Dvas.h432 extern void vas_window_init_dbgdir(struct vas_window *win);
433 extern void vas_window_free_dbgdir(struct vas_window *win);
448 static inline void vas_log_write(struct vas_window *win, char *name, in vas_log_write() argument
453 win->tx_win ? "Tx" : "Rx", win->winid, name, in vas_log_write()
457 static inline void write_uwc_reg(struct vas_window *win, char *name, in write_uwc_reg() argument
462 regptr = win->uwc_map + reg; in write_uwc_reg()
463 vas_log_write(win, name, regptr, val); in write_uwc_reg()
468 static inline void write_hvwc_reg(struct vas_window *win, char *name, in write_hvwc_reg() argument
473 regptr = win->hvwc_map + reg; in write_hvwc_reg()
474 vas_log_write(win, name, regptr, val); in write_hvwc_reg()
[all …]
Dvas-trace.h83 struct vas_window *win),
85 TP_ARGS(tsk, win),
89 __field(struct vas_window *, win)
98 __entry->vasid = win->vinst->vas_id;
99 __entry->winid = win->winid;
100 __entry->paste_kaddr = (unsigned long)win->paste_kaddr
Dpci-sriov.c406 int win; in pnv_pci_alloc_m64_bar() local
409 win = find_next_zero_bit(&phb->ioda.m64_bar_alloc, in pnv_pci_alloc_m64_bar()
412 if (win >= phb->ioda.m64_bar_idx + 1) in pnv_pci_alloc_m64_bar()
414 } while (test_and_set_bit(win, &phb->ioda.m64_bar_alloc)); in pnv_pci_alloc_m64_bar()
416 set_bit(win, iov->used_m64_bar_mask); in pnv_pci_alloc_m64_bar()
418 return win; in pnv_pci_alloc_m64_bar()
425 int win; in pnv_pci_vf_assign_m64() local
442 win = pnv_pci_alloc_m64_bar(phb, iov); in pnv_pci_vf_assign_m64()
443 if (win < 0) in pnv_pci_vf_assign_m64()
449 rc = pnv_ioda_map_m64_segmented(phb, win, start, size); in pnv_pci_vf_assign_m64()
[all …]
Dvas-debug.c50 static inline void print_reg(struct seq_file *s, struct vas_window *win, in print_reg() argument
53 seq_printf(s, "0x%016llx %s\n", read_hvwc_reg(win, name, reg), name); in print_reg()
/arch/arm/plat-orion/include/plat/
Daddr-map.h25 const int win);
29 const int win);
36 const int win; member
48 const int win, const u32 base,
/arch/mips/include/asm/mach-loongson2ef/
Dloongson.h318 #define LOONGSON_ADDRWIN_CPUTOPCI(win, src, dst, size) \ argument
319 LOONGSON_ADDRWIN_CFG(CPU, PCI, win, src, dst, size)
320 #define LOONGSON_ADDRWIN_CPUTODDR(win, src, dst, size) \ argument
321 LOONGSON_ADDRWIN_CFG(CPU, DDR, win, src, dst, size)
322 #define LOONGSON_ADDRWIN_PCITODDR(win, src, dst, size) \ argument
323 LOONGSON_ADDRWIN_CFG(PCIDMA, DDR, win, src, dst, size)
/arch/sh/drivers/pci/
Dpcie-sh7786.c307 int ret, i, win; in pcie_init() local
441 for (i = win = 0; i < chan->nr_resources; i++) { in pcie_init()
456 pci_write_reg(chan, 0x00000000, SH4A_PCIEPTCTLR(win)); in pcie_init()
464 pci_write_reg(chan, mask << 18, SH4A_PCIEPAMR(win)); in pcie_init()
467 SH4A_PCIEPARH(win)); in pcie_init()
469 SH4A_PCIEPARL(win)); in pcie_init()
475 pci_write_reg(chan, mask, SH4A_PCIEPTCTLR(win)); in pcie_init()
477 win++; in pcie_init()
/arch/arm/mach-s3c/
Dmach-real6410.c144 .win[0] = &real6410_lcd_type0_fb_win,
150 .win[0] = &real6410_lcd_type1_fb_win,
293 real6410_lcd_pdata[features.lcd_index].win[0]->xres, in real6410_machine_init()
294 real6410_lcd_pdata[features.lcd_index].win[0]->yres); in real6410_machine_init()
Dmach-mini6410.c183 .win[0] = &mini6410_lcd_type0_fb_win,
189 .win[0] = &mini6410_lcd_type1_fb_win,
323 mini6410_lcd_pdata[features.lcd_index].win[0]->xres, in mini6410_machine_init()
324 mini6410_lcd_pdata[features.lcd_index].win[0]->yres); in mini6410_machine_init()
Dmach-smartq5.c126 .win[0] = &smartq5_fb_win0,
Dmach-smartq7.c142 .win[0] = &smartq7_fb_win0,
Dmach-anw6410.c151 .win[0] = &anw6410_fb_win0,
/arch/powerpc/include/asm/
Dvas.h151 int vas_win_close(struct vas_window *win);
163 int vas_paste_crb(struct vas_window *win, int offset, bool re);
/arch/x86/pci/
Dmmconfig-shared.c132 u32 win; in pci_mmcfg_e7520() local
133 raw_pci_ops->read(0, 0, PCI_DEVFN(0, 0), 0xce, 2, &win); in pci_mmcfg_e7520()
135 win = win & 0xf000; in pci_mmcfg_e7520()
136 if (win == 0x0000 || win == 0xf000) in pci_mmcfg_e7520()
139 if (pci_mmconfig_add(0, 0, 255, win << 16) == NULL) in pci_mmcfg_e7520()
/arch/mips/txx9/generic/
Dsetup_tx4939.c213 __u64 win = ____raw_readq(&tx4939_ddrcptr->win[i]); in tx4939_setup() local
216 pr_cont(" #%d:%016llx", i, win); in tx4939_setup()
219 (unsigned long)(win >> 48) << 20; in tx4939_setup()
221 ((((unsigned long)(win >> 32) & 0xffff) + 1) << in tx4939_setup()
/arch/powerpc/platforms/pseries/
Diommu.c785 struct property *win) in remove_dma_window() argument
791 dwp = win->value; in remove_dma_window()
817 struct property *win; in remove_ddw() local
826 win = of_find_property(np, DIRECT64_PROPNAME, NULL); in remove_ddw()
827 if (!win) in remove_ddw()
830 if (win->length >= sizeof(struct dynamic_dma_window_prop)) in remove_ddw()
831 remove_dma_window(np, ddw_avail, win); in remove_ddw()
836 ret = of_remove_property(np, win); in remove_ddw()
/arch/sparc/math-emu/
Dmath_64.c330 struct reg_window __user *win; in do_mathemu() local
332 win = (struct reg_window __user *)(regs->u_regs[UREG_FP] + STACK_BIAS); in do_mathemu()
333 get_user(XR, &win->locals[freg - 16]); in do_mathemu()

12