Home
last modified time | relevance | path

Searched full:esp (Results 1 – 25 of 520) sorted by relevance

12345678910>>...21

/kernel/linux/linux-5.10/drivers/scsi/
Desp_scsi.c2 /* esp_scsi.c: ESP SCSI driver.
33 #define DRV_MODULE_NAME "esp"
58 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); \
[all …]
Dsun_esp.c2 /* sun_esp.c: ESP front-end for Sparc SBUS systems.
32 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()
[all …]
Djazz_esp.c2 /* jazz_esp.c: ESP front-end for MIPS JAZZ systems.
32 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
[all …]
Dzorro_esp.c3 * ESP front-end for Amiga ZORRO SCSI systems.
8 * migration to ESP SCSI core
52 MODULE_DESCRIPTION("Amiga Zorro NCR5C9x (ESP) driver");
158 struct esp *esp; /* our ESP instance - for Scsi_host* */ member
165 * On all implementations except for the Oktagon, padding between ESP
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
[all …]
Dsun3x_esp.c2 /* sun3x_esp.c: ESP front-end for Sun3x systems.
44 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
[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.c2 /* mac_esp.c: ESP front-end for Macintosh Quadra systems.
7 * See sys/arch/mac68k/obio/esp.c for some background information.
49 #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()
[all …]
Desp_scsi.h2 /* esp_scsi.h: Defines and structures for the ESP driver.
15 #define ESP_STATUS 0x04UL /* ro ESP status register 0x10 */
40 /* ESP config reg 1, read-write, found on all ESP chips */
42 #define ESP_CONFIG1_CHTEST 0x08 /* Enable ESP chip tests */
48 /* ESP config reg 2, read-write, found only on esp100a+esp200+esp236 chips */
63 /* ESP config register 3 read-write, found only esp236+fas236+fas100a+hme chips */
65 #define ESP_CONFIG3_TEM 0x01 /* Enable thresh-8 mode (esp/fas236) */
67 #define ESP_CONFIG3_ADMA 0x02 /* Enable alternate-dma (esp/fas236) */
69 #define ESP_CONFIG3_SRB 0x04 /* Save residual byte (esp/fas236) */
71 #define ESP_CONFIG3_FCLK 0x08 /* Fast SCSI clock rate (esp/fas236) */
[all …]
/kernel/linux/linux-4.19/drivers/scsi/
Desp_scsi.c1 /* esp_scsi.c: ESP SCSI driver.
32 #define DRV_MODULE_NAME "esp"
57 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
62 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
67 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
72 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
77 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
82 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
87 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
92 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
[all …]
Dsun_esp.c1 /* sun_esp.c: ESP front-end for Sparc SBUS systems.
31 sbus_readl(esp->dma_regs + (REG))
33 sbus_writel((VAL), esp->dma_regs + (REG))
46 static int esp_sbus_setup_dma(struct esp *esp, struct platform_device *dma_of) in esp_sbus_setup_dma() argument
48 esp->dma = dma_of; in esp_sbus_setup_dma()
50 esp->dma_regs = of_ioremap(&dma_of->resource[0], 0, in esp_sbus_setup_dma()
53 if (!esp->dma_regs) in esp_sbus_setup_dma()
58 esp->dmarev = dvmarev0; in esp_sbus_setup_dma()
61 esp->dmarev = dvmaesc1; in esp_sbus_setup_dma()
64 esp->dmarev = dvmarev1; in esp_sbus_setup_dma()
[all …]
Djazz_esp.c1 /* jazz_esp.c: ESP front-end for MIPS JAZZ systems.
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
[all …]
Dsun3x_esp.c1 /* sun3x_esp.c: ESP front-end for Sun3x systems.
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
[all …]
Dzorro_esp.c3 * ESP front-end for Amiga ZORRO SCSI systems.
8 * migration to ESP SCSI core
13 * Copyright (C) 2017 Finn Thain for PIO code from Mac ESP driver adapted here
54 MODULE_DESCRIPTION("Amiga Zorro NCR5C9x (ESP) driver");
160 struct esp *esp; /* our ESP instance - for Scsi_host* */ member
168 * On all implementations except for the Oktagon, padding between ESP
175 static void zorro_esp_write8(struct esp *esp, u8 val, unsigned long reg) in zorro_esp_write8() argument
177 writeb(val, esp->regs + (reg * 4UL)); in zorro_esp_write8()
180 static u8 zorro_esp_read8(struct esp *esp, unsigned long reg) in zorro_esp_read8() argument
182 return readb(esp->regs + (reg * 4UL)); in zorro_esp_read8()
[all …]
Dam53c974.c26 shost_printk(KERN_DEBUG, esp->host, f, ##a); \
91 struct esp *esp; member
95 static void pci_esp_dma_drain(struct esp *esp);
97 static inline struct pci_esp_priv *pci_esp_get_priv(struct esp *esp) in pci_esp_get_priv() argument
99 struct pci_dev *pdev = esp->dev; in pci_esp_get_priv()
104 static void pci_esp_write8(struct esp *esp, u8 val, unsigned long reg) in pci_esp_write8() argument
106 iowrite8(val, esp->regs + (reg * 4UL)); in pci_esp_write8()
109 static u8 pci_esp_read8(struct esp *esp, unsigned long reg) in pci_esp_read8() argument
111 return ioread8(esp->regs + (reg * 4UL)); in pci_esp_read8()
114 static void pci_esp_write32(struct esp *esp, u32 val, unsigned long reg) in pci_esp_write32() argument
[all …]
Dmac_esp.c1 /* mac_esp.c: ESP front-end for Macintosh Quadra systems.
6 * See sys/arch/mac68k/obio/esp.c for some background information.
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];
60 #define MAC_ESP_GET_PRIV(esp) ((struct mac_esp_priv *) \ argument
62 (esp->dev)))
64 static inline void mac_esp_write8(struct esp *esp, u8 val, unsigned long reg) in mac_esp_write8() argument
66 nubus_writeb(val, esp->regs + reg * 16); in mac_esp_write8()
[all …]
Desp_scsi.h2 /* esp_scsi.h: Defines and structures for the ESP driver.
15 #define ESP_STATUS 0x04UL /* ro ESP status register 0x10 */
40 /* ESP config reg 1, read-write, found on all ESP chips */
42 #define ESP_CONFIG1_CHTEST 0x08 /* Enable ESP chip tests */
48 /* ESP config reg 2, read-write, found only on esp100a+esp200+esp236 chips */
63 /* ESP config register 3 read-write, found only esp236+fas236+fas100a+hme chips */
65 #define ESP_CONFIG3_TEM 0x01 /* Enable thresh-8 mode (esp/fas236) */
67 #define ESP_CONFIG3_ADMA 0x02 /* Enable alternate-dma (esp/fas236) */
69 #define ESP_CONFIG3_SRB 0x04 /* Save residual byte (esp/fas236) */
71 #define ESP_CONFIG3_FCLK 0x08 /* Fast SCSI clock rate (esp/fas236) */
[all …]
/kernel/linux/linux-5.10/arch/x86/entry/
Dentry_32.S13 * 0(%esp) - %ebx
14 * 4(%esp) - %ecx
15 * 8(%esp) - %edx
16 * C(%esp) - %esi
17 * 10(%esp) - %edi
18 * 14(%esp) - %ebp
19 * 18(%esp) - %eax
20 * 1C(%esp) - %ds
21 * 20(%esp) - %es
22 * 24(%esp) - %fs
[all …]
/kernel/linux/linux-4.19/arch/x86/entry/
Dentry_32.S13 * 0(%esp) - %ebx
14 * 4(%esp) - %ecx
15 * 8(%esp) - %edx
16 * C(%esp) - %esi
17 * 10(%esp) - %edi
18 * 14(%esp) - %ebp
19 * 18(%esp) - %eax
20 * 1C(%esp) - %ds
21 * 20(%esp) - %es
22 * 24(%esp) - %fs
[all …]
/kernel/linux/linux-5.10/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.S28 #define ESP DATA(0x0) macro
49 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
[all …]
/kernel/linux/linux-4.19/arch/x86/kernel/
Dftrace_32.S49 pushl 4(%esp) /* parent ip */
51 movl %esp, %ebp
52 pushl 2*4(%esp) /* function ip */
56 movl %esp, %ebp
65 movl 4*4(%esp), %edx
68 lea 4*4(%esp), %edx
71 movl (MCOUNT_FRAME+4)*4(%esp), %eax /* load the rip */
82 addl $4, %esp /* skip NULL pointer */
89 addl $4,%esp /* skip function ip */
91 addl $4, %esp /* skip parent ip */
[all …]
Drelocate_kernel_32.S28 #define ESP DATA(0x0) macro
50 movl 20+8(%esp), %ebp /* list of pages */
52 movl %esp, ESP(%edi)
61 movl 20+4(%esp), %ebx /* page_list */
62 movl 20+8(%esp), %ebp /* list of pages */
63 movl 20+12(%esp), %edx /* start address */
64 movl 20+16(%esp), %ecx /* cpu_has_pae */
65 movl 20+20(%esp), %esi /* preserve_context */
91 lea PAGE_SIZE(%edi), %esp
140 addl $8, %esp
[all …]
/kernel/linux/linux-4.19/net/ipv4/
Desp4_offload.c12 * ESP GRO support
24 #include <net/esp.h>
170 struct esp_info esp; in esp_xmit() local
174 esp.inplace = true; in esp_xmit()
186 esp.proto = xo->proto; in esp_xmit()
193 esp.tfclen = 0; in esp_xmit()
197 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); in esp_xmit()
198 esp.plen = esp.clen - skb->len - esp.tfclen; in esp_xmit()
199 esp.tailen = esp.tfclen + esp.plen + alen; in esp_xmit()
201 esp.esph = ip_esp_hdr(skb); in esp_xmit()
[all …]
Desp4.c9 #include <net/esp.h>
152 /* Move ESP header back into place. */
226 static int esp_output_udp_encap(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) in esp_output_udp_encap() argument
233 struct ip_esp_hdr *esph = esp->esph; in esp_output_udp_encap()
242 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_udp_encap()
265 esp->esph = esph; in esp_output_udp_encap()
270 int esp_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) in esp_output_head() argument
278 int tailen = esp->tailen; in esp_output_head()
283 int err = esp_output_udp_encap(x, skb, esp); in esp_output_head()
306 esp->inplace = false; in esp_output_head()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Desp6.c11 * This file is derived from net/ipv4/esp.c
22 #include <net/esp.h>
321 /* Move ESP header back into place. */
381 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
[all …]

12345678910>>...21