/drivers/scsi/ |
D | esp_scsi.c | 103 #define esp_read8(REG) esp->ops->esp_read8(esp, REG) 104 #define esp_write8(VAL,REG) esp->ops->esp_write8(esp, VAL, REG) 106 static void esp_log_fill_regs(struct esp *esp, in esp_log_fill_regs() argument 109 p->sreg = esp->sreg; in esp_log_fill_regs() 110 p->seqreg = esp->seqreg; in esp_log_fill_regs() 111 p->sreg2 = esp->sreg2; in esp_log_fill_regs() 112 p->ireg = esp->ireg; in esp_log_fill_regs() 113 p->select_state = esp->select_state; in esp_log_fill_regs() 114 p->event = esp->event; in esp_log_fill_regs() 117 void scsi_esp_cmd(struct esp *esp, u8 val) in scsi_esp_cmd() argument [all …]
|
D | jazz_esp.c | 31 static void jazz_esp_write8(struct esp *esp, u8 val, unsigned long reg) in jazz_esp_write8() argument 33 *(volatile u8 *)(esp->regs + reg) = val; in jazz_esp_write8() 36 static u8 jazz_esp_read8(struct esp *esp, unsigned long reg) in jazz_esp_read8() argument 38 return *(volatile u8 *)(esp->regs + reg); in jazz_esp_read8() 41 static dma_addr_t jazz_esp_map_single(struct esp *esp, void *buf, in jazz_esp_map_single() argument 44 return dma_map_single(esp->dev, buf, sz, dir); in jazz_esp_map_single() 47 static int jazz_esp_map_sg(struct esp *esp, struct scatterlist *sg, in jazz_esp_map_sg() argument 50 return dma_map_sg(esp->dev, sg, num_sg, dir); in jazz_esp_map_sg() 53 static void jazz_esp_unmap_single(struct esp *esp, dma_addr_t addr, in jazz_esp_unmap_single() argument 56 dma_unmap_single(esp->dev, addr, sz, dir); in jazz_esp_unmap_single() [all …]
|
D | sun_esp.c | 31 sbus_readl(esp->dma_regs + (REG)) 33 sbus_writel((VAL), esp->dma_regs + (REG)) 46 static int __devinit esp_sbus_setup_dma(struct esp *esp, in esp_sbus_setup_dma() argument 49 esp->dma = dma_of; in esp_sbus_setup_dma() 51 esp->dma_regs = of_ioremap(&dma_of->resource[0], 0, in esp_sbus_setup_dma() 54 if (!esp->dma_regs) in esp_sbus_setup_dma() 59 esp->dmarev = dvmarev0; in esp_sbus_setup_dma() 62 esp->dmarev = dvmaesc1; in esp_sbus_setup_dma() 65 esp->dmarev = dvmarev1; in esp_sbus_setup_dma() 68 esp->dmarev = dvmarev2; in esp_sbus_setup_dma() [all …]
|
D | mac_esp.c | 48 #define esp_read8(REG) mac_esp_read8(esp, REG) 49 #define esp_write8(VAL, REG) mac_esp_write8(esp, VAL, REG) 52 struct esp *esp; member 57 static struct esp *esp_chips[2]; 59 #define MAC_ESP_GET_PRIV(esp) ((struct mac_esp_priv *) \ argument 61 (esp->dev))) 63 static inline void mac_esp_write8(struct esp *esp, u8 val, unsigned long reg) in mac_esp_write8() argument 65 nubus_writeb(val, esp->regs + reg * 16); in mac_esp_write8() 68 static inline u8 mac_esp_read8(struct esp *esp, unsigned long reg) in mac_esp_read8() argument 70 return nubus_readb(esp->regs + reg * 16); in mac_esp_read8() [all …]
|
D | sun3x_esp.c | 43 readl(esp->dma_regs + (REG)) 45 writel((VAL), esp->dma_regs + (REG)) 48 *(volatile u32 *)(esp->dma_regs + (REG)) 50 do { *(volatile u32 *)(esp->dma_regs + (REG)) = (VAL); } while (0) 53 static void sun3x_esp_write8(struct esp *esp, u8 val, unsigned long reg) in sun3x_esp_write8() argument 55 writeb(val, esp->regs + (reg * 4UL)); in sun3x_esp_write8() 58 static u8 sun3x_esp_read8(struct esp *esp, unsigned long reg) in sun3x_esp_read8() argument 60 return readb(esp->regs + (reg * 4UL)); in sun3x_esp_read8() 63 static dma_addr_t sun3x_esp_map_single(struct esp *esp, void *buf, in sun3x_esp_map_single() argument 66 return dma_map_single(esp->dev, buf, sz, dir); in sun3x_esp_map_single() [all …]
|
D | esp_scsi.h | 343 struct esp; 349 void (*esp_write8)(struct esp *esp, u8 val, unsigned long reg); 350 u8 (*esp_read8)(struct esp *esp, unsigned long reg); 356 dma_addr_t (*map_single)(struct esp *esp, void *buf, 358 int (*map_sg)(struct esp *esp, struct scatterlist *sg, 360 void (*unmap_single)(struct esp *esp, dma_addr_t addr, 362 void (*unmap_sg)(struct esp *esp, struct scatterlist *sg, 370 int (*irq_pending)(struct esp *esp); 375 u32 (*dma_length_limit)(struct esp *esp, u32 dma_addr, 382 void (*reset_dma)(struct esp *esp); [all …]
|
/drivers/lguest/x86/ |
D | switcher_32.S | 124 movl %esp, LGUEST_PAGES_host_sp(%eax) 136 movl %edx, %esp 189 addl $8, %esp 230 movl %esp, %eax; \ 250 movl LGUEST_PAGES_host_sp(%eax), %esp; \ 380 addl $8, %esp
|
/drivers/lguest/ |
D | interrupts_and_traps.c | 100 push_guest_stack(cpu, &gstack, cpu->regs->esp); in set_guest_interrupt() 103 virtstack = cpu->regs->esp; in set_guest_interrupt() 138 cpu->regs->esp = virtstack + (gstack - origstack); in set_guest_interrupt() 438 void guest_set_stack(struct lg_cpu *cpu, u32 seg, u32 esp, unsigned int pages) in guest_set_stack() argument 450 cpu->esp1 = esp; in guest_set_stack()
|
D | lg.h | 165 void guest_set_stack(struct lg_cpu *cpu, u32 seg, u32 esp, unsigned int pages);
|