Home
last modified time | relevance | path

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

12345

/Linux-v6.1/drivers/scsi/
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 …]
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 …]
Dsun_esp.c32 sbus_readl(esp->dma_regs + (REG))
34 sbus_writel((VAL), esp->dma_regs + (REG))
47 static int esp_sbus_setup_dma(struct esp *esp, struct platform_device *dma_of) 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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
/Linux-v6.1/arch/x86/entry/
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 …]
/Linux-v6.1/arch/x86/kernel/
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 …]
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 …]
/Linux-v6.1/net/ipv4/
Desp4.c345 struct esp_info *esp, in esp_output_udp_encap() argument
353 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_udp_encap()
357 uh = (struct udphdr *)esp->esph; in esp_output_udp_encap()
377 struct esp_info *esp) in esp_output_tcp_encap() argument
379 __be16 *lenp = (void *)esp->esph; in esp_output_tcp_encap()
384 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_tcp_encap()
403 struct esp_info *esp) in esp_output_tcp_encap() argument
410 struct esp_info *esp) in esp_output_encap() argument
427 esph = esp_output_udp_encap(skb, encap_type, esp, sport, dport); in esp_output_encap()
430 esph = esp_output_tcp_encap(x, skb, esp); in esp_output_encap()
[all …]
Desp4_offload.c259 struct esp_info esp; in esp_xmit() local
263 esp.inplace = true; in esp_xmit()
277 esp.proto = xo->proto; in esp_xmit()
284 esp.tfclen = 0; in esp_xmit()
288 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); in esp_xmit()
289 esp.plen = esp.clen - skb->len - esp.tfclen; in esp_xmit()
290 esp.tailen = esp.tfclen + esp.plen + alen; in esp_xmit()
292 esp.esph = ip_esp_hdr(skb); in esp_xmit()
296 esp.nfrags = esp_output_head(x, skb, &esp); in esp_xmit()
297 if (esp.nfrags < 0) in esp_xmit()
[all …]
/Linux-v6.1/net/ipv6/
Desp6.c381 struct esp_info *esp, in esp6_output_udp_encap() argument
389 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_udp_encap()
393 uh = (struct udphdr *)esp->esph; in esp6_output_udp_encap()
413 struct esp_info *esp) in esp6_output_tcp_encap() argument
415 __be16 *lenp = (void *)esp->esph; in esp6_output_tcp_encap()
420 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_tcp_encap()
439 struct esp_info *esp) in esp6_output_tcp_encap() argument
446 struct esp_info *esp) in esp6_output_encap() argument
463 esph = esp6_output_udp_encap(skb, encap_type, esp, sport, dport); in esp6_output_encap()
466 esph = esp6_output_tcp_encap(x, skb, esp); in esp6_output_encap()
[all …]
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 …]
/Linux-v6.1/arch/x86/um/
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
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
/Linux-v6.1/arch/x86/platform/efi/
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
/Linux-v6.1/arch/x86/boot/compressed/
Dmem_encrypt.S111 cmpl $0x72, 16(%esp)
119 movl %edx, 12(%esp) # Store result
126 movl %edx, 8(%esp) # Store result
133 movl %edx, 4(%esp) # Store result
140 movl %edx, 0(%esp) # Store result
150 cmpl $0x8000001f, 12(%esp)
158 btl $1, 12(%esp)
168 addl $4, %esp
171 addl $2, (%esp)
/Linux-v6.1/arch/x86/lib/
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 …]
/Linux-v6.1/tools/testing/selftests/net/
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 …]
Dvrf-xfrm-tests.sh223 tmpl src ${HOST1_4} dst ${HOST2_4} proto esp mode tunnel
228 tmpl src ${HOST1_4} dst ${HOST2_4} proto esp mode tunnel
233 tmpl src ${HOST2_4} dst ${HOST1_4} proto esp mode tunnel
238 tmpl src ${HOST2_4} dst ${HOST1_4} proto esp mode tunnel
244 tmpl src ${HOST1_6} dst ${HOST2_6} proto esp mode tunnel
249 tmpl src ${HOST1_6} dst ${HOST2_6} proto esp mode tunnel
254 tmpl src ${HOST2_6} dst ${HOST1_6} proto esp mode tunnel
259 tmpl src ${HOST2_6} dst ${HOST1_6} proto esp mode tunnel
265 proto esp spi ${SPI_1} reqid 0 mode tunnel \
272 proto esp spi ${SPI_1} reqid 0 mode tunnel \
[all …]
/Linux-v6.1/arch/openrisc/kernel/
Dtraps.c58 void show_stack(struct task_struct *task, unsigned long *esp, const char *loglvl) in show_stack() argument
60 if (esp == NULL) in show_stack()
61 esp = (unsigned long *)&esp; in show_stack()
64 unwind_stack((void *)loglvl, esp, print_trace); in show_stack()
71 unsigned long esp; in show_registers() local
73 esp = (unsigned long)(regs->sp); in show_registers()
108 show_stack(NULL, (unsigned long *)esp, KERN_EMERG); in show_registers()
110 if (esp < PAGE_OFFSET) in show_registers()
117 if (__get_user(word, &((unsigned long *)esp)[i])) { in show_registers()
123 print_data(esp, word, i); in show_registers()
/Linux-v6.1/include/net/
Desp.h44 int esp_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
45 int esp_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
47 int esp6_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
48 int esp6_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp);
/Linux-v6.1/arch/x86/math-emu/
Dmul_Xsig.S30 movl %esp,%ebp
31 subl $16,%esp
71 movl %esp,%ebp
72 subl $16,%esp
125 movl %esp,%ebp
126 subl $16,%esp

12345