Home
last modified time | relevance | path

Searched refs:esp (Results 1 – 25 of 178) sorted by relevance

12345678

/openbmc/linux/drivers/scsi/
H A Desp_scsi.c58 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
63 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
68 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
73 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
78 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
83 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
88 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
93 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
98 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
103 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
[all …]
H A Djazz_esp.c32 static void jazz_esp_write8(struct esp *esp, u8 val, unsigned long reg) in jazz_esp_write8() argument
34 *(volatile u8 *)(esp->regs + reg) = val; in jazz_esp_write8()
37 static u8 jazz_esp_read8(struct esp *esp, unsigned long reg) in jazz_esp_read8() argument
39 return *(volatile u8 *)(esp->regs + reg); in jazz_esp_read8()
42 static int jazz_esp_irq_pending(struct esp *esp) in jazz_esp_irq_pending() argument
44 if (jazz_esp_read8(esp, ESP_STATUS) & ESP_STAT_INTR) in jazz_esp_irq_pending()
49 static void jazz_esp_reset_dma(struct esp *esp) in jazz_esp_reset_dma() argument
51 vdma_disable ((int)esp->dma_regs); in jazz_esp_reset_dma()
54 static void jazz_esp_dma_drain(struct esp *esp) in jazz_esp_dma_drain() argument
59 static void jazz_esp_dma_invalidate(struct esp *esp) in jazz_esp_dma_invalidate() argument
[all …]
H A Dsun_esp.c33 sbus_readl(esp->dma_regs + (REG))
35 sbus_writel((VAL), esp->dma_regs + (REG))
48 static int esp_sbus_setup_dma(struct esp *esp, struct platform_device *dma_of) in esp_sbus_setup_dma() argument
50 esp->dma = dma_of; in esp_sbus_setup_dma()
52 esp->dma_regs = of_ioremap(&dma_of->resource[0], 0, in esp_sbus_setup_dma()
55 if (!esp->dma_regs) in esp_sbus_setup_dma()
60 esp->dmarev = dvmarev0; in esp_sbus_setup_dma()
63 esp->dmarev = dvmaesc1; in esp_sbus_setup_dma()
66 esp->dmarev = dvmarev1; in esp_sbus_setup_dma()
69 esp->dmarev = dvmarev2; in esp_sbus_setup_dma()
[all …]
H A Dzorro_esp.c158 struct esp *esp; /* our ESP instance - for Scsi_host* */ member
172 static void zorro_esp_write8(struct esp *esp, u8 val, unsigned long reg) in zorro_esp_write8() argument
174 writeb(val, esp->regs + (reg * 4UL)); in zorro_esp_write8()
177 static u8 zorro_esp_read8(struct esp *esp, unsigned long reg) in zorro_esp_read8() argument
179 return readb(esp->regs + (reg * 4UL)); in zorro_esp_read8()
182 static int zorro_esp_irq_pending(struct esp *esp) in zorro_esp_irq_pending() argument
185 if (zorro_esp_read8(esp, ESP_STATUS) & ESP_STAT_INTR) in zorro_esp_irq_pending()
191 static int cyber_esp_irq_pending(struct esp *esp) in cyber_esp_irq_pending() argument
193 struct cyber_dma_registers __iomem *dregs = esp->dma_regs; in cyber_esp_irq_pending()
197 return ((zorro_esp_read8(esp, ESP_STATUS) & ESP_STAT_INTR) && in cyber_esp_irq_pending()
[all …]
H A Dam53c974.c27 shost_printk(KERN_DEBUG, esp->host, f, ##a); \
92 struct esp *esp; member
96 static void pci_esp_dma_drain(struct esp *esp);
98 static inline struct pci_esp_priv *pci_esp_get_priv(struct esp *esp) in pci_esp_get_priv() argument
100 return dev_get_drvdata(esp->dev); in pci_esp_get_priv()
103 static void pci_esp_write8(struct esp *esp, u8 val, unsigned long reg) in pci_esp_write8() argument
105 iowrite8(val, esp->regs + (reg * 4UL)); in pci_esp_write8()
108 static u8 pci_esp_read8(struct esp *esp, unsigned long reg) in pci_esp_read8() argument
110 return ioread8(esp->regs + (reg * 4UL)); in pci_esp_read8()
113 static void pci_esp_write32(struct esp *esp, u32 val, unsigned long reg) in pci_esp_write32() argument
[all …]
H A Dmac_esp.c49 #define esp_read8(REG) mac_esp_read8(esp, REG)
50 #define esp_write8(VAL, REG) mac_esp_write8(esp, VAL, REG)
53 struct esp *esp; member
57 static struct esp *esp_chips[2];
60 #define MAC_ESP_GET_PRIV(esp) ((struct mac_esp_priv *) \ argument
61 dev_get_drvdata((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 …]
H A Dsun3x_esp.c44 readl(esp->dma_regs + (REG))
46 writel((VAL), esp->dma_regs + (REG))
49 *(volatile u32 *)(esp->dma_regs + (REG))
51 do { *(volatile u32 *)(esp->dma_regs + (REG)) = (VAL); } while (0)
54 static void sun3x_esp_write8(struct esp *esp, u8 val, unsigned long reg) in sun3x_esp_write8() argument
56 writeb(val, esp->regs + (reg * 4UL)); in sun3x_esp_write8()
59 static u8 sun3x_esp_read8(struct esp *esp, unsigned long reg) in sun3x_esp_read8() argument
61 return readb(esp->regs + (reg * 4UL)); in sun3x_esp_read8()
64 static int sun3x_esp_irq_pending(struct esp *esp) in sun3x_esp_irq_pending() argument
71 static void sun3x_esp_reset_dma(struct esp *esp) in sun3x_esp_reset_dma() argument
[all …]
H A Desp_scsi.h365 struct esp;
371 void (*esp_write8)(struct esp *esp, u8 val, unsigned long reg);
372 u8 (*esp_read8)(struct esp *esp, unsigned long reg);
379 int (*irq_pending)(struct esp *esp);
384 u32 (*dma_length_limit)(struct esp *esp, u32 dma_addr,
391 void (*reset_dma)(struct esp *esp);
396 void (*dma_drain)(struct esp *esp);
399 void (*dma_invalidate)(struct esp *esp);
411 void (*send_dma_cmd)(struct esp *esp, u32 dma_addr, u32 esp_count,
417 int (*dma_error)(struct esp *esp);
[all …]
/openbmc/linux/arch/x86/entry/
H A Dentry_32.S71 testl $USER_SEGMENT_RPL_MASK, PT_CS(%esp)
111 andl $0x0000ffff, 4*4(%esp)
114 testl $X86_EFLAGS_VM, 5*4(%esp)
117 testl $USER_SEGMENT_RPL_MASK, 4*4(%esp)
120 orl $CS_FROM_KERNEL, 4*4(%esp)
155 pushl %esp # sp (points at ss)
156 addl $7*4, (%esp) # point sp back at the previous context
157 pushl 7*4(%esp) # flags
158 pushl 7*4(%esp) # cs
159 pushl 7*4(%esp) # ip
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dftrace_32.S35 pushl 4(%esp) /* parent ip */
37 movl %esp, %ebp
38 pushl 2*4(%esp) /* function ip */
42 movl %esp, %ebp
51 movl 4*4(%esp), %edx
54 lea 4*4(%esp), %edx
57 movl (MCOUNT_FRAME+4)*4(%esp), %eax /* load the rip */
68 addl $4, %esp /* skip NULL pointer */
74 addl $4,%esp /* skip function ip */
76 addl $4, %esp /* skip parent ip */
[all …]
H A Drelocate_kernel_32.S49 movl 20+8(%esp), %ebp /* list of pages */
51 movl %esp, ESP(%edi)
60 movl 20+4(%esp), %ebx /* page_list */
61 movl 20+8(%esp), %ebp /* list of pages */
62 movl 20+12(%esp), %edx /* start address */
63 movl 20+16(%esp), %ecx /* cpu_has_pae */
64 movl 20+20(%esp), %esi /* preserve_context */
90 lea PAGE_SIZE(%edi), %esp
142 addl $8, %esp
171 movl CP_PA_SWAP_PAGE(%edi), %esp
[all …]
/openbmc/qemu/common-user/host/i386/
H A Dsafe-syscall.inc.S52 mov 12+16(%esp), %ebx /* the syscall arguments */
53 mov 16+16(%esp), %ecx
54 mov 20+16(%esp), %edx
55 mov 24+16(%esp), %esi
56 mov 28+16(%esp), %edi
57 mov 32+16(%esp), %ebp
68 mov 4+16(%esp), %eax /* signal_pending */
71 mov 8+16(%esp), %eax /* syscall number */
123 mov %eax, 4(%esp)
/openbmc/linux/net/ipv4/
H A Desp4.c344 struct esp_info *esp, in esp_output_udp_encap() argument
352 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_udp_encap()
356 uh = (struct udphdr *)esp->esph; in esp_output_udp_encap()
376 struct esp_info *esp) in esp_output_tcp_encap() argument
378 __be16 *lenp = (void *)esp->esph; in esp_output_tcp_encap()
383 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_tcp_encap()
402 struct esp_info *esp) in esp_output_tcp_encap() argument
409 struct esp_info *esp) in esp_output_encap() argument
426 esph = esp_output_udp_encap(skb, encap_type, esp, sport, dport); in esp_output_encap()
429 esph = esp_output_tcp_encap(x, skb, esp); in esp_output_encap()
[all …]
H A Desp4_offload.c260 struct esp_info esp; in esp_xmit() local
264 esp.inplace = true; in esp_xmit()
278 esp.proto = xo->proto; in esp_xmit()
285 esp.tfclen = 0; in esp_xmit()
289 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); in esp_xmit()
290 esp.plen = esp.clen - skb->len - esp.tfclen; in esp_xmit()
291 esp.tailen = esp.tfclen + esp.plen + alen; in esp_xmit()
293 esp.esph = ip_esp_hdr(skb); in esp_xmit()
297 esp.nfrags = esp_output_head(x, skb, &esp); in esp_xmit()
298 if (esp.nfrags < 0) in esp_xmit()
[all …]
/openbmc/linux/net/ipv6/
H A Desp6.c380 struct esp_info *esp, in esp6_output_udp_encap() argument
388 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_udp_encap()
392 uh = (struct udphdr *)esp->esph; in esp6_output_udp_encap()
412 struct esp_info *esp) in esp6_output_tcp_encap() argument
414 __be16 *lenp = (void *)esp->esph; in esp6_output_tcp_encap()
419 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_tcp_encap()
438 struct esp_info *esp) in esp6_output_tcp_encap() argument
445 struct esp_info *esp) in esp6_output_encap() argument
462 esph = esp6_output_udp_encap(skb, encap_type, esp, sport, dport); in esp6_output_encap()
465 esph = esp6_output_tcp_encap(x, skb, esp); in esp6_output_encap()
[all …]
H A Desp6_offload.c296 struct esp_info esp; in esp6_xmit() local
300 esp.inplace = true; in esp6_xmit()
312 esp.proto = xo->proto; in esp6_xmit()
319 esp.tfclen = 0; in esp6_xmit()
323 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); in esp6_xmit()
324 esp.plen = esp.clen - skb->len - esp.tfclen; in esp6_xmit()
325 esp.tailen = esp.tfclen + esp.plen + alen; in esp6_xmit()
328 esp.nfrags = esp6_output_head(x, skb, &esp); in esp6_xmit()
329 if (esp.nfrags < 0) in esp6_xmit()
330 return esp.nfrags; in esp6_xmit()
[all …]
/openbmc/linux/arch/x86/um/
H A Dstub_32.S9 mov %esp, %ecx
11 add $8, %esp
14 mov 0x0(%esp), %eax
23 mov %esp, 0x4(%ecx)
26 add %eax, %esp
43 mov %esp, %ecx
H A Dsetjmp_32.S11 # %esp
26 movl 4(%esp),%edx
31 movl %esp,4(%edx) # Post-return %esp!
49 movl 4(%esp),%edx # jmp_ptr address
50 movl 8(%esp),%eax # Return value
53 movl 4(%edx),%esp
/openbmc/qemu/linux-user/i386/
H A Dvdso.S23 mov 4(%esp), %ebx
37 mov 4(%esp), %ebx
38 mov 8(%esp), %ecx
53 mov 8(%esp), %ebx
54 mov 12(%esp), %ecx
55 mov 16(%esp), %edx
94 .cfi_def_cfa %esp, SIGFRAME_SIGCONTEXT_eip + 4
103 .cfi_offset %esp, -32
/openbmc/linux/arch/x86/platform/efi/
H A Defi_stub_32.S17 movl %esp, %ebp
20 push 16(%esp)
21 push 16(%esp)
41 subl $__PAGE_OFFSET, %esp
49 movl 36(%esp), %edx // &efi.runtime
57 movl 16(%esp), %ebx
/openbmc/u-boot/arch/x86/cpu/
H A Dstart.S116 movl $(CONFIG_SYS_CAR_ADDR + CONFIG_SYS_CAR_SIZE - 4), %esp
118 subl $CONFIG_DCACHE_RAM_MRC_VAR_SIZE, %esp
129 mov %esp, %eax
131 mov %eax, %esp
152 subl $CONFIG_FSP_SYS_MALLOC_F_LEN, %esp
153 movl %esp, GD_MALLOC_BASE(%edx)
185 movl %eax, %esp
/openbmc/linux/tools/testing/selftests/net/
H A Dl2tp.sh236 tmpl proto esp mode transport
240 tmpl proto esp mode transport
244 tmpl proto esp mode transport
248 tmpl proto esp mode transport
252 spi 0x1000 proto esp aead 'rfc4106(gcm(aes))' \
257 spi 0x1001 proto esp aead 'rfc4106(gcm(aes))' \
262 spi 0x1000 proto esp aead 'rfc4106(gcm(aes))' \
267 spi 0x1001 proto esp aead 'rfc4106(gcm(aes))' \
275 tmpl proto esp mode transport
279 tmpl proto esp mode transport
[all …]
/openbmc/linux/arch/x86/lib/
H A Dchecksum_32.S52 movl 20(%esp),%eax # Function arg: unsigned int sum
53 movl 16(%esp),%ecx # Function arg: int len
54 movl 12(%esp),%esi # Function arg: unsigned char *buff
124 testb $1, 12(%esp)
140 movl 20(%esp),%eax # Function arg: unsigned int sum
141 movl 16(%esp),%ecx # Function arg: int len
142 movl 12(%esp),%esi # Function arg: const unsigned char *buf
242 testb $1, 12(%esp)
273 subl $4,%esp
277 movl ARGBASE+12(%esp),%ecx # len
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Dbios_asm.S89 movl %eax, %esp
171 movl %esp, __stack
172 movl %esp, %ebp
198 movl __stack, %esp
208 movl %esp, __stack
209 movl %esp, %ebp
229 movl __stack, %esp
270 addl %ecx, %esp
279 subl %ecx, %esp
/openbmc/u-boot/arch/x86/lib/fsp/
H A Dfsp_car.S23 lea find_fsp_header_romstack, %esp
39 lea temp_ram_init_romstack, %esp
43 addl $4, %esp
57 movl %edx, %esp
58 subl $4, %esp

12345678