Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 25 of 149) sorted by relevance

123456

/linux-2.4.37.9/drivers/sound/emu10k1/
Dpassthrough.c51 static void pt_putsamples(struct pt_data *pt, u16 *ptr, u16 left, u16 right) in pt_putsamples() argument
55 ptr[pt->copyptr] = left; in pt_putsamples()
56 idx = pt->copyptr + PT_SAMPLES/2; in pt_putsamples()
61 static inline int pt_can_write(struct pt_data *pt) in pt_can_write() argument
63 return pt->blocks_copied < pt->blocks_played + 8; in pt_can_write()
69 struct pt_data *pt = &card->pt; in pt_wait_for_write() local
71 if (nonblock && !pt_can_write(pt)) in pt_wait_for_write()
73 while (!pt_can_write(pt) && pt->state != PT_STATE_INACTIVE) { in pt_wait_for_write()
74 interruptible_sleep_on(&pt->wait); in pt_wait_for_write()
78 if (pt->state == PT_STATE_INACTIVE) in pt_wait_for_write()
[all …]
/linux-2.4.37.9/arch/ia64/kernel/
Dsignal.c84 scr->pt.r8 = EINTR; in ia64_rt_sigsuspend()
85 scr->pt.r10 = -1; in ia64_rt_sigsuspend()
99 struct pt_regs *pt = (struct pt_regs *) &stack; in sys_sigaltstack() local
101 return do_sigaltstack(uss, uoss, pt->r12); in sys_sigaltstack()
117 err |= __get_user(scr->pt.ar_rsc, &sc->sc_ar_rsc); in restore_sigcontext()
118 err |= __get_user(scr->pt.ar_unat, &sc->sc_ar_unat); in restore_sigcontext()
119 err |= __get_user(scr->pt.ar_fpsr, &sc->sc_ar_fpsr); in restore_sigcontext()
120 err |= __get_user(scr->pt.ar_pfs, &sc->sc_ar_pfs); in restore_sigcontext()
121 err |= __get_user(scr->pt.pr, &sc->sc_pr); /* predicates */ in restore_sigcontext()
122 err |= __get_user(scr->pt.b0, &sc->sc_br[0]); /* b0 (rp) */ in restore_sigcontext()
[all …]
Dptrace.c60 ia64_get_scratch_nat_bits (struct pt_regs *pt, unsigned long scratch_unat) in ia64_get_scratch_nat_bits() argument
64 unsigned long bit = ia64_unat_pos(&pt->r##first); \ in ia64_get_scratch_nat_bits()
98 ia64_put_scratch_nat_bits (struct pt_regs *pt, unsigned long nat) in ia64_put_scratch_nat_bits() argument
102 unsigned long bit = ia64_unat_pos(&pt->r##first); \ in ia64_put_scratch_nat_bits()
235 struct pt_regs *pt; in get_rnat() local
237 pt = ia64_task_regs(task); in get_rnat()
239 ubspstore = (unsigned long *) pt->ar_bspstore; in get_rnat()
260 urnat = (pt->ar_rnat & umask); in get_rnat()
293 struct pt_regs *pt; in put_rnat() local
297 pt = ia64_task_regs(task); in put_rnat()
[all …]
Dmca.c352 fetch_min_state (pal_min_state_area_t *ms, struct pt_regs *pt, struct switch_stack *sw) in fetch_min_state() argument
362 pt->cr_ipsr = ms->pmsa_xpsr; in fetch_min_state()
363 pt->cr_iip = ms->pmsa_xip; in fetch_min_state()
364 pt->cr_ifs = ms->pmsa_xfs; in fetch_min_state()
366 pt->cr_ipsr = ms->pmsa_ipsr; in fetch_min_state()
367 pt->cr_iip = ms->pmsa_iip; in fetch_min_state()
368 pt->cr_ifs = ms->pmsa_ifs; in fetch_min_state()
370 pt->ar_rsc = ms->pmsa_rsc; in fetch_min_state()
371 pt->pr = ms->pmsa_pr; in fetch_min_state()
372 pt->r1 = ms->pmsa_gr[0]; in fetch_min_state()
[all …]
/linux-2.4.37.9/arch/alpha/kernel/
Dprocess.c342 dump_thread(struct pt_regs * pt, struct user * dump) in dump_thread() argument
345 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in dump_thread()
363 dump->regs[EF_V0] = pt->r0; in dump_thread()
364 dump->regs[EF_T0] = pt->r1; in dump_thread()
365 dump->regs[EF_T1] = pt->r2; in dump_thread()
366 dump->regs[EF_T2] = pt->r3; in dump_thread()
367 dump->regs[EF_T3] = pt->r4; in dump_thread()
368 dump->regs[EF_T4] = pt->r5; in dump_thread()
369 dump->regs[EF_T5] = pt->r6; in dump_thread()
370 dump->regs[EF_T6] = pt->r7; in dump_thread()
[all …]
/linux-2.4.37.9/drivers/char/drm-4.0/
Dmemory.c100 drm_mem_stats_t *pt; in _drm_mem_info() local
115 for (pt = drm_mem_stats; pt->name; pt++) { in _drm_mem_info()
117 pt->name, in _drm_mem_info()
118 pt->succeed_count, in _drm_mem_info()
119 pt->free_count, in _drm_mem_info()
120 pt->fail_count, in _drm_mem_info()
121 pt->bytes_allocated, in _drm_mem_info()
122 pt->bytes_freed, in _drm_mem_info()
123 pt->succeed_count - pt->free_count, in _drm_mem_info()
124 (long)pt->bytes_allocated in _drm_mem_info()
[all …]
Dauth.c43 drm_magic_entry_t *pt; in drm_find_file() local
47 for (pt = dev->magiclist[hash].head; pt; pt = pt->next) { in drm_find_file()
48 if (pt->magic == magic) { in drm_find_file()
49 retval = pt->priv; in drm_find_file()
87 drm_magic_entry_t *pt; in drm_remove_magic() local
94 for (pt = dev->magiclist[hash].head; pt; prev = pt, pt = pt->next) { in drm_remove_magic()
95 if (pt->magic == magic) { in drm_remove_magic()
96 if (dev->magiclist[hash].head == pt) { in drm_remove_magic()
97 dev->magiclist[hash].head = pt->next; in drm_remove_magic()
99 if (dev->magiclist[hash].tail == pt) { in drm_remove_magic()
[all …]
/linux-2.4.37.9/drivers/char/drm/
Ddrm_auth.h42 drm_magic_entry_t *pt; in DRM() local
46 for (pt = dev->magiclist[hash].head; pt; pt = pt->next) { in DRM()
47 if (pt->magic == magic) { in DRM()
48 retval = pt->priv; in DRM()
87 drm_magic_entry_t *pt; in DRM() local
94 for (pt = dev->magiclist[hash].head; pt; prev = pt, pt = pt->next) { in DRM()
95 if (pt->magic == magic) { in DRM()
96 if (dev->magiclist[hash].head == pt) { in DRM()
97 dev->magiclist[hash].head = pt->next; in DRM()
99 if (dev->magiclist[hash].tail == pt) { in DRM()
[all …]
Ddrm_memory.h96 drm_mem_stats_t *pt; in DRM() local
117 for (pt = DRM(mem_stats); pt->name; pt++) { in DRM()
119 pt->name, in DRM()
120 pt->succeed_count, in DRM()
121 pt->free_count, in DRM()
122 pt->fail_count, in DRM()
123 pt->bytes_allocated, in DRM()
124 pt->bytes_freed, in DRM()
125 pt->succeed_count - pt->free_count, in DRM()
126 (long)pt->bytes_allocated in DRM()
[all …]
Ddrm_vm.h156 drm_vma_entry_t *pt, *prev, *next; in DRM() local
169 for (pt = dev->vmalist, prev = NULL; pt; pt = next) { in DRM()
170 next = pt->next; in DRM()
171 if (pt->vma->vm_private_data == map) found_maps++; in DRM()
172 if (pt->vma == vma) { in DRM()
174 prev->next = pt->next; in DRM()
176 dev->vmalist = pt->next; in DRM()
178 DRM(free)(pt, sizeof(*pt), DRM_MEM_VMAS); in DRM()
180 prev = pt; in DRM()
302 drm_vma_entry_t *pt, *prev; in DRM() local
[all …]
/linux-2.4.37.9/drivers/net/skfp/
Dsmtparse.c133 struct s_ptab *pt ; local
153 for (pt = ptab ; (v = pt->pt_name) ; pt++) {
164 printf("=>%s<==>%s<=\n",pt->pt_name,valbuf) ;
169 if (pt->pt_type)
170 val = parse_num(type,value,valbuf,pt->pt_min,pt->pt_max,1) ;
171 switch (pt->pt_num) {
177 DB_MAIN("SET %s = %s\n",pt->pt_name,smc->mib.fddiPRPMFPasswd) ;
184 DB_MAIN("SET %s = %s\n",pt->pt_name,smc->mib.fddiSMTUserData) ;
189 pt->pt_name,smc->mib.p[PA].fddiPORTLer_Cutoff) ;
194 pt->pt_name,smc->mib.p[PB].fddiPORTLer_Cutoff) ;
[all …]
/linux-2.4.37.9/drivers/video/
Dfbcon-cfb32.c118 u32 eorx, fgx, bgx, *pt; in fbcon_cfb32_putc() local
131 pt = (u32 *) dest; in fbcon_cfb32_putc()
132 fb_writel((-(bits >> 7) & eorx) ^ bgx, pt++); in fbcon_cfb32_putc()
133 fb_writel((-(bits >> 6 & 1) & eorx) ^ bgx, pt++); in fbcon_cfb32_putc()
134 fb_writel((-(bits >> 5 & 1) & eorx) ^ bgx, pt++); in fbcon_cfb32_putc()
135 fb_writel((-(bits >> 4 & 1) & eorx) ^ bgx, pt++); in fbcon_cfb32_putc()
138 fb_writel((-(bits >> 3 & 1) & eorx) ^ bgx, pt++); in fbcon_cfb32_putc()
139 fb_writel((-(bits >> 2 & 1) & eorx) ^ bgx, pt++); in fbcon_cfb32_putc()
140 fb_writel((-(bits >> 1 & 1) & eorx) ^ bgx, pt++); in fbcon_cfb32_putc()
141 fb_writel((-(bits & 1) & eorx) ^ bgx, pt++); in fbcon_cfb32_putc()
[all …]
/linux-2.4.37.9/fs/umsdos/
Dmangle.c73 char *pt = info->fake.fname + info->fake.len; in umsdos_manglename() local
96 *pt++ = '.'; in umsdos_manglename()
97 *pt++ = lookup3 [(entry_num >> 10) & 31]; in umsdos_manglename()
98 *pt++ = lookup12[(entry_num >> 5) & 31]; in umsdos_manglename()
99 *pt++ = lookup12[entry_num & 31]; in umsdos_manglename()
100 *pt = '\0'; /* help doing printk */ in umsdos_manglename()
214 const char *pt = fname; in umsdos_parse() local
217 while (pt < endpt) { in umsdos_parse()
218 if (*pt == '.') { in umsdos_parse()
224 int extlen = (int) (endpt - pt); in umsdos_parse()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dbinfmt_elf32.c65 #define ELF_CORE_COPY_REGS(dst, pt) \ argument
68 for (i = 0; i < 32; i++) dst[i] = (elf_greg_t) pt->gr[i]; \
69 for (i = 0; i < 8; i++) dst[32 + i] = (elf_greg_t) pt->sr[i]; \
71 dst[40] = (elf_greg_t) pt->iaoq[0]; dst[41] = (elf_greg_t) pt->iaoq[1]; \
72 dst[42] = (elf_greg_t) pt->iasq[0]; dst[43] = (elf_greg_t) pt->iasq[1]; \
73 dst[44] = (elf_greg_t) pt->sar; dst[45] = (elf_greg_t) pt->iir; \
74 dst[46] = (elf_greg_t) pt->isr; dst[47] = (elf_greg_t) pt->ior; \
/linux-2.4.37.9/include/asm-sparc64/
Dttable.h24 ba,pt %xcc, etrap; \
28 ba,pt %xcc, rtrap; \
34 ba,pt %xcc, etrap; \
38 ba,pt %xcc, rtrap; \
43 ba,pt %xcc, do_fptrap; \
47 ba,pt %xcc, rtrap; \
52 ba,pt %xcc, routine; \
57 ba,pt %xcc, routine; \
63 ba,pt %xcc, etraptl1; \
67 ba,pt %xcc, rtrap; \
[all …]
/linux-2.4.37.9/include/asm-parisc/
Delf.h75 #define ELF_CORE_COPY_REGS(dst, pt) \ argument
77 memcpy(dst + 0, pt->gr, 32 * sizeof(elf_greg_t)); \
78 memcpy(dst + 32, pt->sr, 8 * sizeof(elf_greg_t)); \
79 memcpy(dst + 40, pt->iaoq, 2 * sizeof(elf_greg_t)); \
80 memcpy(dst + 42, pt->iasq, 2 * sizeof(elf_greg_t)); \
81 dst[44] = pt->sar; dst[45] = pt->iir; \
82 dst[46] = pt->isr; dst[47] = pt->ior; \
/linux-2.4.37.9/net/bridge/
Dbr_ioctl.c128 struct net_bridge_port *pt; in br_ioctl_device() local
130 if ((pt = br_get_port(br, arg1)) == NULL) in br_ioctl_device()
134 memcpy(&p.designated_root, &pt->designated_root, 8); in br_ioctl_device()
135 memcpy(&p.designated_bridge, &pt->designated_bridge, 8); in br_ioctl_device()
136 p.port_id = pt->port_id; in br_ioctl_device()
137 p.designated_port = pt->designated_port; in br_ioctl_device()
138 p.path_cost = pt->path_cost; in br_ioctl_device()
139 p.designated_cost = pt->designated_cost; in br_ioctl_device()
140 p.state = pt->state; in br_ioctl_device()
141 p.top_change_ack = pt->topology_change_ack; in br_ioctl_device()
[all …]
/linux-2.4.37.9/arch/sparc64/lib/
DU3memcpy.S92 blu,pt %XCC, 70f
102 be,pt %XCC, 2f
113 be,pt %icc, 2f
119 bgu,pt %XCC, 1b
126 be,pt %icc, 3f
143 bne,pt %icc, 1b
174 bgu,pt %XCC, 1f
176 ba,pt %xcc, 2f
203 bg,pt %XCC, 1b
224 be,pt %XCC, 1f
[all …]
Drwlock.S32 be,pt %xcc, 99b
34 ba,a,pt %xcc, __read_unlock
38 brlz,pt %g5, __read_wait_for_writer
40 ba,a,pt %xcc, 4b
43 brnz,pt %g5, __write_wait_for_any
45 ba,a,pt %xcc, 4f
64 be,pt %icc, 99b
66 ba,a,pt %xcc, 1b
Dchecksum.S47 bcc,pt %xcc, 51f; \
53 bcc,pt %xcc, 52f; \
69 bcc,pt %xcc, 1f ! CTI Group
72 1: brz,pt %g5, 1f ! CTI Group
96 bcc,pt %xcc, ccfold ! CTI
98 b,pt %xcc, ccfold ! CTI
114 bcc,pt %xcc, 0f ! CTI
123 1: be,pt %icc, ccmerge ! CTI
131 bcc,pt %xcc, ccmerge ! CTI
133 b,pt %xcc, ccmerge ! CTI 4 clocks (mispredict)
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dentry.S60 ba,pt %xcc, sparc64_kpte_continue ! Part of dtlb_backend
142 be,pt %xcc, 1f
146 be,pt %xcc, 1f
151 ba,pt %xcc, etrap
154 ba,a,pt %xcc, rtrap_clr_l6
159 be,a,pt %icc, 1f ! CTI
196 b,pt %xcc, fpdis_exit2
220 b,pt %xcc, fpdis_exit
223 bne,pt %icc, 3f
248 ba,pt %xcc, fpdis_exit
[all …]
Dhead.S93 ba,pt %xcc, spitfire_boot
98 ba,pt %xcc, cheetah_generic_boot
161 blu,pt %xcc, 1b
176 blu,pt %xcc, 1b
213 blu,pt %xcc, 1b
233 blu,pt %xcc, 1b
238 ba,pt %xcc, 9f
257 blu,pt %xcc, 1b
280 brz,pt %g3, 1f
300 ba,pt %xcc, 1f
[all …]
/linux-2.4.37.9/arch/sparc64/mm/
Dultra.S70 bleu,pt %xcc, __flush_tlb_page
82 brnz,pt %o5, 1b
100 bne,pt %icc, 2f
103 blu,pt %xcc, 2f
110 bne,pt %icc, 3f
112 blu,pt %xcc, 3f
116 3: brnz,pt %g2, 1b
129 ba,pt %xcc, 2b
141 ba,pt %xcc, 3b
175 brnz,pt %o5, 2b
[all …]
/linux-2.4.37.9/net/ax25/
Dax25_uid.c132 ax25_uid_assoc *pt; in ax25_uid_get_info() local
141 for (pt = ax25_uid_list; pt != NULL; pt = pt->next) { in ax25_uid_get_info()
142 len += sprintf(buffer + len, "%6d %s\n", pt->uid, ax2asc(&pt->call)); in ax25_uid_get_info()
/linux-2.4.37.9/arch/sparc64/solaris/
Dentry64.S33 be,pt %icc, 2f
35 b,pt %xcc, 2f
50 ba,pt %xcc, solaris_sparc_syscall
53 exenf: ba,pt %xcc, solaris_sparc_syscall
61 ba,pt %xcc, 1f
66 ba,pt %xcc, 10f
137 bleu,pt %icc, 1f
181 b,pt %xcc, ret_from_solaris
188 b,pt %xcc, ret_from_solaris
195 b,pt %xcc, ret_from_solaris
[all …]

123456