Home
last modified time | relevance | path

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

12345678910>>...23

/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-6.6/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.
33 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()
[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-6.6/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/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-6.6/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-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-6.6/net/ipv4/
Desp4.c10 #include <net/esp.h>
243 /* Move ESP header back into place. */
303 struct esp_info *esp, in esp_output_udp_encap() argument
311 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_udp_encap()
315 uh = (struct udphdr *)esp->esph; in esp_output_udp_encap()
335 struct esp_info *esp) in esp_output_tcp_encap() argument
337 __be16 *lenp = (void *)esp->esph; in esp_output_tcp_encap()
342 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_tcp_encap()
363 struct esp_info *esp) in esp_output_tcp_encap() argument
370 struct esp_info *esp) in esp_output_encap() argument
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Desp4.c10 #include <net/esp.h>
245 /* Move ESP header back into place. */
305 struct esp_info *esp, in esp_output_udp_encap() argument
313 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_udp_encap()
317 uh = (struct udphdr *)esp->esph; in esp_output_udp_encap()
337 struct esp_info *esp) in esp_output_tcp_encap() argument
339 __be16 *lenp = (void *)esp->esph; in esp_output_tcp_encap()
344 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_tcp_encap()
365 struct esp_info *esp) in esp_output_tcp_encap() argument
372 struct esp_info *esp) in esp_output_encap() argument
[all …]
/kernel/linux/linux-6.6/net/ipv6/
Desp6.c11 * This file is derived from net/ipv4/esp.c
22 #include <net/esp.h>
279 /* Move ESP header back into place. */
339 struct esp_info *esp, in esp6_output_udp_encap() argument
347 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_udp_encap()
351 uh = (struct udphdr *)esp->esph; in esp6_output_udp_encap()
371 struct esp_info *esp) in esp6_output_tcp_encap() argument
373 __be16 *lenp = (void *)esp->esph; in esp6_output_tcp_encap()
378 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_tcp_encap()
399 struct esp_info *esp) in esp6_output_tcp_encap() argument
[all …]

12345678910>>...23