tag | line | file | source code |
esp | 79 | arch/i386/kernel/ioport.c | long eip,long cs,long eflags,long esp,long ss) |
esp | 219 | arch/i386/kernel/process.c | printk(" ESP: %04x:%08lx",0xffff & regs->ss,regs->esp); |
esp | 291 | arch/i386/kernel/process.c | void copy_thread(int nr, unsigned long clone_flags, unsigned long esp, |
esp | 307 | arch/i386/kernel/process.c | p->tss.esp = (unsigned long) childregs; |
esp | 311 | arch/i386/kernel/process.c | childregs->esp = esp; |
esp | 367 | arch/i386/kernel/process.c | dump->start_stack = regs->esp & ~(PAGE_SIZE - 1); |
esp | 385 | arch/i386/kernel/process.c | return do_fork(SIGCHLD, regs.esp, ®s); |
esp | 396 | arch/i386/kernel/process.c | newsp = regs.esp; |
esp | 91 | arch/i386/kernel/signal.c | if (verify_area(VERIFY_READ, (void *) regs->esp, sizeof(context))) |
esp | 93 | arch/i386/kernel/signal.c | memcpy_fromfs(&context,(void *) regs->esp, sizeof(context)); |
esp | 104 | arch/i386/kernel/signal.c | COPY(esp); COPY(ebp); |
esp | 166 | arch/i386/kernel/signal.c | frame = (unsigned long *) regs->esp; |
esp | 188 | arch/i386/kernel/signal.c | put_user(regs->esp, frame+9); |
esp | 198 | arch/i386/kernel/signal.c | put_user(regs->esp, frame+19); |
esp | 212 | arch/i386/kernel/signal.c | regs->esp = (unsigned long) frame; |
esp | 98 | arch/i386/kernel/traps.c | unsigned long esp; |
esp | 103 | arch/i386/kernel/traps.c | esp = (unsigned long) ®s->esp; |
esp | 108 | arch/i386/kernel/traps.c | esp = regs->esp; |
esp | 118 | arch/i386/kernel/traps.c | regs->esi, regs->edi, regs->ebp, esp); |
esp | 126 | arch/i386/kernel/traps.c | stack = (unsigned long *) esp; |
esp | 135 | arch/i386/kernel/traps.c | stack = (unsigned long *) esp; |
esp | 39 | arch/i386/kernel/vm86.c | #define SP(regs) (*(unsigned short *)&((regs)->esp)) |
esp | 56 | arch/i386/mm/fault.c | if (address + 32 < regs->esp) |
esp | 33 | arch/mips/kernel/ioport.c | long eip,long cs,long eflags,long esp,long ss) |
esp | 147 | arch/ppc/kernel/process.c | void start_thread(struct pt_regs * regs, unsigned long eip, unsigned long esp) |
esp | 150 | arch/ppc/kernel/process.c | regs->gpr[1] = esp; |
esp | 156 | arch/ppc/kernel/process.c | regs, eip, regs->msr, esp); |
esp | 65 | drivers/scsi/esp.c | static void esp_done(struct Sparc_ESP *esp, int error); |
esp | 252 | drivers/scsi/esp.c | static inline void esp_bootup_reset(struct Sparc_ESP *esp, struct Sparc_ESP_regs *eregs) |
esp | 254 | drivers/scsi/esp.c | struct sparc_dma_registers *dregs = esp->dregs; |
esp | 261 | drivers/scsi/esp.c | if(esp->dma->revision == dvmarev2) |
esp | 262 | drivers/scsi/esp.c | if(esp->erev != esp100) |
esp | 264 | drivers/scsi/esp.c | else if(esp->dma->revision == dvmarev3) |
esp | 265 | drivers/scsi/esp.c | if(esp->erev == fas236 || esp->erev == fas100a) { |
esp | 269 | drivers/scsi/esp.c | else if(esp->dma->revision == dvmaesc1) |
esp | 279 | drivers/scsi/esp.c | eregs->esp_cfg1 = esp->config1; |
esp | 280 | drivers/scsi/esp.c | eregs->esp_cfact = esp->cfact; |
esp | 283 | drivers/scsi/esp.c | eregs->esp_timeo = esp->sync_defp; |
esp | 284 | drivers/scsi/esp.c | if(esp->erev == esp100a || esp->erev == esp236) |
esp | 285 | drivers/scsi/esp.c | eregs->esp_cfg2 = esp->config2; |
esp | 286 | drivers/scsi/esp.c | if(esp->erev == esp236) |
esp | 287 | drivers/scsi/esp.c | eregs->esp_cfg3 = esp->config3[0]; |
esp | 295 | drivers/scsi/esp.c | eregs->esp_cfg1 = esp->config1; |
esp | 306 | drivers/scsi/esp.c | struct Sparc_ESP *esp, *elink; |
esp | 338 | drivers/scsi/esp.c | esp = (struct Sparc_ESP *) esp_host->hostdata; |
esp | 339 | drivers/scsi/esp.c | if(!esp) |
esp | 341 | drivers/scsi/esp.c | esp->ehost = esp_host; |
esp | 342 | drivers/scsi/esp.c | esp->edev = esp_dev; |
esp | 347 | drivers/scsi/esp.c | elink->next = esp; |
esp | 349 | drivers/scsi/esp.c | espchain = esp; |
esp | 351 | drivers/scsi/esp.c | esp->next = 0; |
esp | 354 | drivers/scsi/esp.c | #define ESP_IS_MY_DVMA(esp, dma) \ |
esp | 355 | drivers/scsi/esp.c | ((esp->edev->my_bus == dma->SBus_dev->my_bus) && \ |
esp | 356 | drivers/scsi/esp.c | (esp->edev->slot == dma->SBus_dev->slot) && \ |
esp | 361 | drivers/scsi/esp.c | prom_getstring(esp_node, "name", esp->prom_name, |
esp | 362 | drivers/scsi/esp.c | sizeof(esp->prom_name)); |
esp | 363 | drivers/scsi/esp.c | esp->prom_node = esp_node; |
esp | 365 | drivers/scsi/esp.c | if(ESP_IS_MY_DVMA(esp, dlink) && !dlink->allocated) |
esp | 382 | drivers/scsi/esp.c | esp->dma = dma; |
esp | 383 | drivers/scsi/esp.c | esp->dregs = dregs = dma->regs; |
esp | 386 | drivers/scsi/esp.c | prom_apply_sbus_ranges(esp->edev->reg_addrs, 1); |
esp | 387 | drivers/scsi/esp.c | esp->eregs = eregs = (struct Sparc_ESP_regs *) |
esp | 388 | drivers/scsi/esp.c | sparc_alloc_io(esp->edev->reg_addrs[0].phys_addr, 0, |
esp | 390 | drivers/scsi/esp.c | esp->edev->reg_addrs[0].which_io, 0x0); |
esp | 393 | drivers/scsi/esp.c | esp->esp_command = |
esp | 395 | drivers/scsi/esp.c | if(!esp->esp_command) |
esp | 399 | drivers/scsi/esp.c | esp->ehost->base = (unsigned char *) esp->eregs; |
esp | 400 | drivers/scsi/esp.c | esp->ehost->io_port = (unsigned int) esp->eregs; |
esp | 401 | drivers/scsi/esp.c | esp->ehost->n_io_port = (unsigned char) |
esp | 402 | drivers/scsi/esp.c | esp->edev->reg_addrs[0].reg_size; |
esp | 404 | drivers/scsi/esp.c | esp->ehost->irq = esp->irq = esp->edev->irqs[0].pri; |
esp | 408 | drivers/scsi/esp.c | if((elink != esp) && (esp->irq == elink->irq)) { |
esp | 415 | drivers/scsi/esp.c | if(request_irq(esp->ehost->irq, esp_intr, SA_INTERRUPT, |
esp | 419 | drivers/scsi/esp.c | printk("esp%d: IRQ %d ", nesps, esp->ehost->irq); |
esp | 421 | drivers/scsi/esp.c | esp->scsi_id = prom_getintdefault(esp->prom_node, |
esp | 423 | drivers/scsi/esp.c | if(esp->scsi_id == -1) |
esp | 424 | drivers/scsi/esp.c | esp->scsi_id = prom_getintdefault(esp->prom_node, |
esp | 426 | drivers/scsi/esp.c | if(esp->scsi_id == -1) |
esp | 427 | drivers/scsi/esp.c | esp->scsi_id = |
esp | 428 | drivers/scsi/esp.c | prom_getintdefault(esp->edev->my_bus->prom_node, |
esp | 430 | drivers/scsi/esp.c | esp->ehost->this_id = esp->scsi_id; |
esp | 431 | drivers/scsi/esp.c | esp->scsi_id_mask = (1 << esp->scsi_id); |
esp | 433 | drivers/scsi/esp.c | esp->diff = prom_getintdefault(esp->prom_node, "differential", -1); |
esp | 434 | drivers/scsi/esp.c | esp->diff = (esp->diff == -1) ? 0 : 1; |
esp | 436 | drivers/scsi/esp.c | fmhz = prom_getintdefault(esp->prom_node, "clock-frequency", -1); |
esp | 438 | drivers/scsi/esp.c | fmhz = prom_getintdefault(esp->edev->my_bus->prom_node, |
esp | 449 | drivers/scsi/esp.c | esp->cfact = ESP_CCF_F0; |
esp | 451 | drivers/scsi/esp.c | esp->cfact = ESP_CCF_F2; |
esp | 453 | drivers/scsi/esp.c | esp->cfact = ccf; |
esp | 454 | drivers/scsi/esp.c | esp->cfreq = fmhz; |
esp | 455 | drivers/scsi/esp.c | esp->ccycle = ((1000000000) / ((fmhz)/1000)); |
esp | 456 | drivers/scsi/esp.c | esp->ctick = ((7682 * esp->cfact * esp->ccycle)/1000); |
esp | 457 | drivers/scsi/esp.c | esp->sync_defp = ((7682 + esp->ctick - 1) / esp->ctick); |
esp | 460 | drivers/scsi/esp.c | if (esp->sync_defp < 153) |
esp | 461 | drivers/scsi/esp.c | esp->sync_defp = 153; |
esp | 463 | drivers/scsi/esp.c | printk("SCSI ID %d Clock %d MHz Period %2x ", esp->scsi_id, |
esp | 464 | drivers/scsi/esp.c | (fmhz / 1000), esp->sync_defp); |
esp | 467 | drivers/scsi/esp.c | bsizes = prom_getintdefault(esp->prom_node, "burst-sizes", 0xff); |
esp | 468 | drivers/scsi/esp.c | bsizes_more = prom_getintdefault(esp->edev->my_bus->prom_node, |
esp | 474 | drivers/scsi/esp.c | esp->bursts = bsizes; |
esp | 477 | drivers/scsi/esp.c | esp->config1 = (ESP_CONFIG1_PENABLE | (esp->scsi_id & 7)); |
esp | 478 | drivers/scsi/esp.c | esp->config2 = (ESP_CONFIG2_SCSI2ENAB | ESP_CONFIG2_REGPARITY); |
esp | 479 | drivers/scsi/esp.c | esp->config3[0] = ESP_CONFIG3_TENB; |
esp | 480 | drivers/scsi/esp.c | eregs->esp_cfg2 = esp->config2; |
esp | 484 | drivers/scsi/esp.c | esp->erev = esp100; |
esp | 486 | drivers/scsi/esp.c | eregs->esp_cfg2 = esp->config2 = 0; |
esp | 488 | drivers/scsi/esp.c | eregs->esp_cfg3 = esp->config3[0] = 5; |
esp | 491 | drivers/scsi/esp.c | esp->erev = esp100a; |
esp | 496 | drivers/scsi/esp.c | esp->config3[target] = 0; |
esp | 498 | drivers/scsi/esp.c | if(esp->cfact > ESP_CCF_F5) { |
esp | 500 | drivers/scsi/esp.c | esp->erev = fast; |
esp | 501 | drivers/scsi/esp.c | esp->config2 |= ESP_CONFIG2_FENAB; |
esp | 502 | drivers/scsi/esp.c | eregs->esp_cfg2 = esp->config2; |
esp | 505 | drivers/scsi/esp.c | esp->erev = esp236; |
esp | 506 | drivers/scsi/esp.c | eregs->esp_cfg2 = esp->config2 = 0; |
esp | 512 | drivers/scsi/esp.c | esp->current_SC = 0; |
esp | 513 | drivers/scsi/esp.c | esp->disconnected_SC = 0; |
esp | 514 | drivers/scsi/esp.c | esp->issue_SC = 0; |
esp | 517 | drivers/scsi/esp.c | esp_bootup_reset(esp, eregs); |
esp | 521 | drivers/scsi/esp.c | kernel_thread(esp_kernel_thread, esp, 0); |
esp | 535 | drivers/scsi/esp.c | struct Sparc_ESP *esp; |
esp | 537 | drivers/scsi/esp.c | esp = (struct Sparc_ESP *) host->hostdata; |
esp | 538 | drivers/scsi/esp.c | switch(esp->erev) { |
esp | 560 | drivers/scsi/esp.c | static inline void esp_exec_cmd(struct Sparc_ESP *esp) |
esp | 567 | drivers/scsi/esp.c | eregs = esp->eregs; |
esp | 568 | drivers/scsi/esp.c | dregs = esp->dregs; |
esp | 571 | drivers/scsi/esp.c | SCptr = esp->current_SC = remove_first_SC(&esp->issue_SC); |
esp | 606 | drivers/scsi/esp.c | eregs->esp_timeo = esp->sync_defp; |
esp | 629 | drivers/scsi/esp.c | struct Sparc_ESP *esp; |
esp | 638 | drivers/scsi/esp.c | esp = (struct Sparc_ESP *) SCpnt->host->hostdata; |
esp | 652 | drivers/scsi/esp.c | esp->edev->my_bus); |
esp | 663 | drivers/scsi/esp.c | esp->edev->my_bus); |
esp | 668 | drivers/scsi/esp.c | append_SC(&esp->issue_SC, SCpnt); |
esp | 671 | drivers/scsi/esp.c | if(!esp->current_SC) |
esp | 672 | drivers/scsi/esp.c | esp_exec_cmd(esp); |
esp | 704 | drivers/scsi/esp.c | static inline void esp_done(struct Sparc_ESP *esp, int error) |
esp | 709 | drivers/scsi/esp.c | if(esp->current_SC) { |
esp | 712 | drivers/scsi/esp.c | done_SC = esp->current_SC; |
esp | 713 | drivers/scsi/esp.c | esp->current_SC = NULL; |
esp | 718 | drivers/scsi/esp.c | esp->edev->my_bus); |
esp | 726 | drivers/scsi/esp.c | esp->edev->my_bus); |
esp | 738 | drivers/scsi/esp.c | if(esp->issue_SC) |
esp | 739 | drivers/scsi/esp.c | esp_exec_cmd(esp); |
esp | 758 | drivers/scsi/esp.c | struct Sparc_ESP *esp = opaque; |
esp | 763 | drivers/scsi/esp.c | while(esp->eatme_SC) { |
esp | 766 | drivers/scsi/esp.c | SCpnt = remove_first_SC(esp->eatme_SC); |
esp | 767 | drivers/scsi/esp.c | esp_done(esp, error, SCpnt); |
esp | 775 | drivers/scsi/esp.c | static inline void esp_updatesoft(struct Sparc_ESP *esp, struct Sparc_ESP_regs *eregs) |
esp | 784 | drivers/scsi/esp.c | esp->seqreg = eregs->esp_sstep; |
esp | 785 | drivers/scsi/esp.c | esp->sreg = eregs->esp_status; |
esp | 800 | drivers/scsi/esp.c | esp->sreg &= (~ESP_STAT_INTR); |
esp | 801 | drivers/scsi/esp.c | esp->ireg = eregs->esp_intrpt; /* Must be last or we lose */ |
esp | 815 | drivers/scsi/esp.c | static inline void esp_handle(struct Sparc_ESP *esp) |
esp | 821 | drivers/scsi/esp.c | eregs = esp->eregs; |
esp | 822 | drivers/scsi/esp.c | dregs = esp->dregs; |
esp | 823 | drivers/scsi/esp.c | SCptr = esp->current_SC; |
esp | 825 | drivers/scsi/esp.c | DMA_IRQ_ENTRY(esp->dma, dregs); |
esp | 826 | drivers/scsi/esp.c | esp_updatesoft(esp, eregs); |
esp | 828 | drivers/scsi/esp.c | ETRACE(("ESPIRQ: <%2x,%2x,%2x> --> ", esp->ireg, esp->sreg, esp->seqreg)); |
esp | 839 | drivers/scsi/esp.c | if((esp->ireg & (ESP_INTR_SR | ESP_INTR_IC)) || |
esp | 840 | drivers/scsi/esp.c | (esp->sreg & (ESP_STAT_PERR | ESP_STAT_SPAM))) { |
esp | 843 | drivers/scsi/esp.c | esp->ireg, esp->sreg, esp->seqreg); |
esp | 851 | drivers/scsi/esp.c | esp->ireg, esp->sreg, esp->seqreg); |
esp | 855 | drivers/scsi/esp.c | if(esp->sreg & ESP_STAT_PERR) { |
esp | 858 | drivers/scsi/esp.c | esp->ireg, esp->sreg, esp->seqreg); |
esp | 869 | drivers/scsi/esp.c | if(esp->ireg & ESP_INTR_RSEL) { |
esp | 872 | drivers/scsi/esp.c | } else if(esp->ireg & ESP_INTR_DC) { |
esp | 878 | drivers/scsi/esp.c | append_SC(esp->eatme_SC, esp->current_SC); |
esp | 879 | drivers/scsi/esp.c | esp->current_SC = 0; |
esp | 882 | drivers/scsi/esp.c | esp_done(esp, (DID_NO_CONNECT << 16)); |
esp | 885 | drivers/scsi/esp.c | } else if((esp->ireg & (ESP_INTR_FDONE | ESP_INTR_BSERV)) == |
esp | 889 | drivers/scsi/esp.c | switch(esp->seqreg & ESP_STEP_VBITS) { |
esp | 910 | drivers/scsi/esp.c | switch(esp->sreg & ESP_STAT_PMASK) { |
esp | 976 | drivers/scsi/esp.c | } else if(esp->ireg & ESP_INTR_FDONE) { |
esp | 989 | drivers/scsi/esp.c | switch(esp->dma->revision) { |
esp | 1016 | drivers/scsi/esp.c | if(!(esp->ireg & ESP_INTR_BSERV) || |
esp | 1017 | drivers/scsi/esp.c | ((esp->sreg & ESP_STAT_PMASK) > 1)) |
esp | 1048 | drivers/scsi/esp.c | if(esp->ireg & ESP_INTR_DC) { |
esp | 1051 | drivers/scsi/esp.c | } else if(esp->ireg & ESP_INTR_BSERV) { |
esp | 1052 | drivers/scsi/esp.c | if((esp->sreg & ESP_STAT_PMASK) != ESP_STATP) { |
esp | 1063 | drivers/scsi/esp.c | esp->ireg, esp->sreg, esp->seqreg); |
esp | 1068 | drivers/scsi/esp.c | if(esp->ireg & ESP_INTR_DC) { |
esp | 1071 | drivers/scsi/esp.c | } else if (esp->ireg & ESP_INTR_FDONE) { |
esp | 1084 | drivers/scsi/esp.c | if(esp->ireg & ESP_INTR_BSERV) { |
esp | 1087 | drivers/scsi/esp.c | } else if(esp->ireg & ESP_INTR_DC) { |
esp | 1090 | drivers/scsi/esp.c | append_SC(esp->eatme_SC, esp->current_SC); |
esp | 1091 | drivers/scsi/esp.c | esp->current_SC = 0; |
esp | 1094 | drivers/scsi/esp.c | esp_done(esp, ((SCptr->SCp.Status & 0xff) | |
esp | 1103 | drivers/scsi/esp.c | esp->ireg, esp->sreg, esp->seqreg); |
esp | 1114 | drivers/scsi/esp.c | DMA_IRQ_EXIT(esp->dma, dregs); |
esp | 1120 | drivers/scsi/esp.c | struct Sparc_ESP *esp; |
esp | 1123 | drivers/scsi/esp.c | for_each_esp(esp) { |
esp | 1124 | drivers/scsi/esp.c | if(DMA_IRQ_P(esp->dregs)) { |
esp | 1125 | drivers/scsi/esp.c | esp_handle(esp); |
esp | 270 | drivers/scsi/esp.h | #define ESP_SRESET_IRQ(esp) ((esp)->intreg & (ESP_INTR_SR)) |
esp | 271 | drivers/scsi/esp.h | #define ESP_ILLCMD_IRQ(esp) ((esp)->intreg & (ESP_INTR_IC)) |
esp | 272 | drivers/scsi/esp.h | #define ESP_SELECT_WITH_ATN_IRQ(esp) ((esp)->intreg & (ESP_INTR_SATN)) |
esp | 273 | drivers/scsi/esp.h | #define ESP_SELECT_WITHOUT_ATN_IRQ(esp) ((esp)->intreg & (ESP_INTR_S)) |
esp | 274 | drivers/scsi/esp.h | #define ESP_SELECTION_IRQ(esp) ((ESP_SELECT_WITH_ATN_IRQ(esp)) || \ |
esp | 275 | drivers/scsi/esp.h | (ESP_SELECT_WITHOUT_ATN_IRQ(esp))) |
esp | 276 | drivers/scsi/esp.h | #define ESP_RESELECTION_IRQ(esp) ((esp)->intreg & (ESP_INTR_RSEL)) |
esp | 347 | drivers/scsi/esp.h | #define for_each_esp(esp) \ |
esp | 348 | drivers/scsi/esp.h | for((esp) = espchain; (esp); (esp) = (esp)->next) |
esp | 642 | fs/proc/array.c | unsigned long vsize, eip, esp; |
esp | 653 | fs/proc/array.c | vsize = eip = esp = 0; |
esp | 662 | fs/proc/array.c | esp = KSTK_ESP(tsk); |
esp | 724 | fs/proc/array.c | esp, |
esp | 90 | include/asm-i386/processor.h | unsigned long esp; |
esp | 134 | include/asm-i386/processor.h | static inline void start_thread(struct pt_regs * regs, unsigned long eip, unsigned long esp) |
esp | 139 | include/asm-i386/processor.h | regs->esp = esp; |
esp | 147 | include/asm-i386/processor.h | return ((unsigned long *)t->esp)[3]; |
esp | 42 | include/asm-i386/ptrace.h | long esp; |
esp | 37 | include/asm-i386/sigcontext.h | unsigned long esp; |
esp | 273 | include/asm-i386/unistd.h | static inline _syscall2(int,clone,unsigned long,flags,char *,esp) |
esp | 1297 | include/asm-mips/unistd.h | static inline _syscall2(int,clone,unsigned long,flags,char *,esp) |
esp | 53 | include/asm-ppc/processor.h | static inline void start_thread(struct pt_regs * regs, unsigned long eip, unsigned long esp) |
esp | 56 | include/asm-ppc/processor.h | regs->gpr[1] = esp; |
esp | 298 | include/asm-ppc/unistd.h | static inline int clone (unsigned long flags,char *esp) |
esp | 73 | include/linux/vm86.h | long esp; |