Home
last modified time | relevance | path

Searched refs:iscp (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/i825xx/
Dsun3_82586.c150 volatile struct iscp_struct *iscp; /* volatile is important */ member
226 p->iscp = (struct iscp_struct *) iscp_addr; in check586()
227 memset((char *)p->iscp,0, sizeof(struct iscp_struct)); in check586()
229 p->scp->iscp = make24(p->iscp); in check586()
230 p->iscp->busy = 1; in check586()
236 if(p->iscp->busy) /* i82586 clears 'busy' after successful init */ in check586()
253 p->iscp = (struct iscp_struct *) dvma_btov(dev->mem_start); in alloc586()
254 p->scb = (struct scb_struct *) ((char *)p->iscp + sizeof(struct iscp_struct)); in alloc586()
256 memset((char *) p->iscp,0,sizeof(struct iscp_struct)); in alloc586()
259 p->scp->iscp = make24(p->iscp); in alloc586()
[all …]
D3c523.c209 volatile struct iscp_struct *iscp; /* volatile is important */ member
324 p->iscp = (struct iscp_struct *) iscp_addrs[i]; in check586()
325 memset((char *) p->iscp, 0, sizeof(struct iscp_struct)); in check586()
327 p->scp->iscp = make24(p->iscp); in check586()
328 p->iscp->busy = 1; in check586()
338 if (p->iscp->busy) { /* i82586 clears 'busy' after successful init */ in check586()
358 p->iscp = (struct iscp_struct *) ((char *) p->scp - sizeof(struct iscp_struct)); in alloc586()
360 memset((char *) p->iscp, 0, sizeof(struct iscp_struct)); in alloc586()
363 p->scp->iscp = make24(p->iscp); in alloc586()
365 p->iscp->scb_offset = make16(p->scb); in alloc586()
[all …]
Dni52.c195 struct iscp_struct __iomem *iscp; member
296 struct iscp_struct __iomem *iscp = addr; in check_iscp() local
298 memset_io(iscp, 0, sizeof(struct iscp_struct)); in check_iscp()
300 writel(make24(iscp), &p->scp->iscp); in check_iscp()
301 writeb(1, &iscp->busy); in check_iscp()
307 if (readb(&iscp->busy)) in check_iscp()
328 p->iscp = (struct iscp_struct __iomem *)p->scp - 1; in check586()
340 if (!check_iscp(dev, p->iscp)) in check586()
358 memset_io(p->iscp, 0, sizeof(struct iscp_struct)); in alloc586()
361 writel(make24(p->iscp), &p->scp->iscp); in alloc586()
[all …]
Dlib82596.c298 u32 iscp; member
303 volatile struct i596_iscp iscp __attribute__((aligned(32))); member
372 DMA_INV(dev, &(dma->iscp), sizeof(struct i596_iscp)); in wait_istat()
373 while (--delcnt && dma->iscp.stat) { in wait_istat()
375 DMA_INV(dev, &(dma->iscp), sizeof(struct i596_iscp)); in wait_istat()
379 dev->name, str, SWAP16(dma->iscp.stat)); in wait_istat()
413 &dma->scp, dma->scp.sysbus, SWAP32(dma->scp.iscp)); in i596_display_data()
415 &dma->iscp, SWAP32(dma->iscp.stat), SWAP32(dma->iscp.scb)); in i596_display_data()
569 dma->scp.iscp = SWAP32(virt_to_dma(lp, &(dma->iscp))); in init_i596_mem()
570 dma->iscp.scb = SWAP32(virt_to_dma(lp, &(dma->scb))); in init_i596_mem()
[all …]
D82596.c310 struct i596_iscp *iscp; member
315 volatile struct i596_iscp iscp; member
417 while (--delcnt && lp->iscp.stat) in wait_istat()
466 &lp->scp, lp->scp.sysbus, lp->scp.iscp); in i596_display_data()
468 &lp->iscp, lp->iscp.stat, lp->iscp.scb); in i596_display_data()
685 lp->scp.iscp = WSWAPiscp(virt_to_bus((void *)&lp->iscp)); in init_i596_mem()
686 lp->iscp.scb = WSWAPscb(virt_to_bus((void *)&lp->scb)); in init_i596_mem()
687 lp->iscp.stat = ISCP_BUSY; in init_i596_mem()
Dlp486e.c331 struct i596_iscp iscp; /* 12 */ member
559 lp->scp.pa_iscp = va_to_pa(&(lp->iscp)); in i596_scp_setup()
564 lp->iscp.busy = 0x0001; in i596_scp_setup()
565 lp->iscp.pa_scb = va_to_pa(&(lp->scb)); in i596_scp_setup()
601 while (lp->iscp.busy) { in i596_scp_setup()
D3c523.h38 char *iscp; /* pointer to the iscp-block */ member
Dsun3_82586.h52 char *iscp; /* pointer to the iscp-block */ member
Dni52.h44 u32 iscp; /* pointer to the iscp-block */ member