Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-4.19/drivers/scsi/
Desp_scsi.c57 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); \
97 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
102 shost_printk(KERN_DEBUG, esp->host, f, ## a); \
[all …]
Djazz_esp.c31 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 …]
Dsun_esp.c31 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()
67 esp->dmarev = dvmarev2; in esp_sbus_setup_dma()
[all …]
Dzorro_esp.c160 struct esp *esp; /* our ESP instance - for Scsi_host* */ member
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()
185 static dma_addr_t zorro_esp_map_single(struct esp *esp, void *buf, in zorro_esp_map_single() argument
188 return dma_map_single(esp->dev, buf, sz, dir); in zorro_esp_map_single()
191 static int zorro_esp_map_sg(struct esp *esp, struct scatterlist *sg, in zorro_esp_map_sg() argument
194 return dma_map_sg(esp->dev, sg, num_sg, dir); in zorro_esp_map_sg()
197 static void zorro_esp_unmap_single(struct esp *esp, dma_addr_t addr, in zorro_esp_unmap_single() argument
[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 …]
Dsun3x_esp.c43 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 …]
Dmac_esp.c48 #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()
69 static inline u8 mac_esp_read8(struct esp *esp, unsigned long reg) in mac_esp_read8() argument
71 return nubus_readb(esp->regs + reg * 16); in mac_esp_read8()
[all …]
Desp_scsi.h357 struct esp;
363 void (*esp_write8)(struct esp *esp, u8 val, unsigned long reg);
364 u8 (*esp_read8)(struct esp *esp, unsigned long reg);
370 dma_addr_t (*map_single)(struct esp *esp, void *buf,
372 int (*map_sg)(struct esp *esp, struct scatterlist *sg,
374 void (*unmap_single)(struct esp *esp, dma_addr_t addr,
376 void (*unmap_sg)(struct esp *esp, struct scatterlist *sg,
384 int (*irq_pending)(struct esp *esp);
389 u32 (*dma_length_limit)(struct esp *esp, u32 dma_addr,
396 void (*reset_dma)(struct esp *esp);
[all …]
/kernel/linux/linux-5.10/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.h364 struct esp;
370 void (*esp_write8)(struct esp *esp, u8 val, unsigned long reg);
371 u8 (*esp_read8)(struct esp *esp, unsigned long reg);
378 int (*irq_pending)(struct esp *esp);
383 u32 (*dma_length_limit)(struct esp *esp, u32 dma_addr,
390 void (*reset_dma)(struct esp *esp);
395 void (*dma_drain)(struct esp *esp);
398 void (*dma_invalidate)(struct esp *esp);
410 void (*send_dma_cmd)(struct esp *esp, u32 dma_addr, u32 esp_count,
416 int (*dma_error)(struct esp *esp);
[all …]
/kernel/linux/linux-5.10/arch/x86/entry/
Dentry_32.S72 addl $(4 + \pop), %esp
98 add $\pop, %esp
103 99: movl $0, (%esp)
110 98: mov PT_GS(%esp), %gs
114 99: movl $0, PT_GS(%esp)
124 movl \reg, PT_GS(%esp)
148 testl $USER_SEGMENT_RPL_MASK, PT_CS(%esp)
188 andl $0x0000ffff, 4*4(%esp)
191 testl $X86_EFLAGS_VM, 5*4(%esp)
194 testl $USER_SEGMENT_RPL_MASK, 4*4(%esp)
[all …]
/kernel/linux/linux-4.19/arch/x86/entry/
Dentry_32.S73 testl $X86_EFLAGS_IF, PT_EFLAGS(%esp) # interrupts off?
98 addl $(4 + \pop), %esp
124 add $\pop, %esp
129 99: movl $0, (%esp)
136 98: mov PT_GS(%esp), %gs
140 99: movl $0, PT_GS(%esp)
150 movl \reg, PT_GS(%esp)
174 testl $SEGMENT_RPL_MASK, PT_CS(%esp)
265 4: movl $0, (%esp)
267 5: movl $0, (%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.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 …]
/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.S50 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
167 movl CP_PA_SWAP_PAGE(%edi), %esp
[all …]
/kernel/linux/linux-4.19/net/ipv4/
Desp4_offload.c170 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()
205 esp.nfrags = esp_output_head(x, skb, &esp); in esp_xmit()
206 if (esp.nfrags < 0) in esp_xmit()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/ipv4/
Desp4.c346 struct esp_info *esp, in esp_output_udp_encap() argument
354 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_udp_encap()
358 uh = (struct udphdr *)esp->esph; in esp_output_udp_encap()
378 struct esp_info *esp) in esp_output_tcp_encap() argument
380 __be16 *lenp = (void *)esp->esph; in esp_output_tcp_encap()
385 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_tcp_encap()
404 struct esp_info *esp) in esp_output_tcp_encap() argument
411 struct esp_info *esp) in esp_output_encap() argument
428 esph = esp_output_udp_encap(skb, encap_type, esp, sport, dport); in esp_output_encap()
431 esph = esp_output_tcp_encap(x, skb, esp); in esp_output_encap()
[all …]

12345678910