Home
last modified time | relevance | path

Searched refs:shmem (Results 1 – 25 of 26) sorted by relevance

12

/linux-2.4.37.9/drivers/isdn/icn/
Dicn.h179 icn_shmem *shmem; /* Pointer to memory-mapped-buffers */ member
208 #define sbfree (((readb(&dev.shmem->data_control.scns)+1) & 0xf) != \
209 readb(&dev.shmem->data_control.scnr))
212 #define sbnext (writeb((readb(&dev.shmem->data_control.scns)+1) & 0xf, \
213 &dev.shmem->data_control.scns))
216 #define sbuf_n dev.shmem->data_control.scns
217 #define sbuf_d dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].data
218 #define sbuf_l dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].length
219 #define sbuf_f dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].endflag
222 #define rbavl (readb(&dev.shmem->data_control.ecnr) != \
[all …]
Dicn.c625 c = readb(&dev.shmem->comm_buffers.iopc_buf[i & 0xff]); in icn_polldchan()
763 if (readb(&dev.shmem->data_control.scns) || in icn_check_loader()
764 readb(&dev.shmem->data_control.scnr)) { in icn_check_loader()
850 dev.shmem = ioremap(dev.memaddr, 0x4000); in icn_loadboot()
870 memcpy_toio(dev.shmem, codebuf, ICN_CODE_STAGE1); /* Copy code */ in icn_loadboot()
886 memcpy_toio(dev.shmem, codebuf, ICN_CODE_STAGE1); /* Copy code */ in icn_loadboot()
1075 &dev.shmem->comm_buffers.pcio_buf[pp & 0xff]); in icn_writecmd()
1190 iounmap(dev.shmem); in icn_command()
1717 iounmap(dev.shmem); in icn_exit()
/linux-2.4.37.9/drivers/net/arcnet/
Dcom90xx.c57 u_long shmem);
113 u_long *shmem; in com90xx_probe() local
203 for (shmem = &shmems[0]; shmem - shmems < numshmems; shmem++) { in com90xx_probe()
204 u_long ptr = *shmem; in com90xx_probe()
212 BUGMSG2(D_INIT, "%lXh ", *shmem); in com90xx_probe()
214 if (check_mem_region(*shmem, BUFFER_SIZE)) { in com90xx_probe()
218 *shmem = shmems[numshmems - 1]; in com90xx_probe()
220 shmem--; in com90xx_probe()
228 *shmem = shmems[numshmems - 1]; in com90xx_probe()
230 shmem--; in com90xx_probe()
[all …]
Darc-rimi.c120 u_long first_mirror, last_mirror, shmem; in arcrimi_found() local
129 shmem = dev->mem_start; in arcrimi_found()
130 isa_writeb(TESTvalue, shmem); in arcrimi_found()
131 isa_writeb(dev->dev_addr[0], shmem + 1); /* actually the node ID */ in arcrimi_found()
140 if (isa_readb(shmem) == TESTvalue in arcrimi_found()
141 && isa_readb(shmem - mirror_size) != TESTvalue in arcrimi_found()
142 && isa_readb(shmem - 2 * mirror_size) == TESTvalue) in arcrimi_found()
145 first_mirror = last_mirror = shmem; in arcrimi_found()
/linux-2.4.37.9/drivers/isdn/eicon/
Deicon_isa.c41 iounmap(card->shmem); in eicon_isa_release_shmem()
161 card->shmem = (eicon_isa_shmem *) ioremap(card->physmem, card->ramsize); in eicon_isa_bootload()
173 card->intack = (__u8 *)card->shmem + INTACK; in eicon_isa_bootload()
174 card->startcpu = (__u8 *)card->shmem + STARTCPU; in eicon_isa_bootload()
175 card->stopcpu = (__u8 *)card->shmem + STOPCPU; in eicon_isa_bootload()
179 card->intack = (__u8 *)card->shmem + INTACK_P; in eicon_isa_bootload()
180 card->startcpu = (__u8 *)card->shmem + STARTCPU_P; in eicon_isa_bootload()
181 card->stopcpu = (__u8 *)card->shmem + STOPCPU_P; in eicon_isa_bootload()
217 memcpy_toio(&card->shmem->c, code, cbuf.bootstrap_len); in eicon_isa_bootload()
220 if (!check_signature((unsigned long)&card->shmem->c, code, 1020)) { in eicon_isa_bootload()
[all …]
Deicon_io.c267 com = (eicon_isa_com *)isa_card->shmem; in eicon_io_transmit()
271 prram = (eicon_pr_ram *)isa_card->shmem; in eicon_io_transmit()
530 com = (eicon_isa_com *)ccard->hwif.isa.shmem; in eicon_irq()
547 com = (eicon_isa_com *)isa_card->shmem; in eicon_irq()
552 prram = (eicon_pr_ram *)isa_card->shmem; in eicon_irq()
Deicon_mod.c223 return (int)card->hwif.isa.shmem; in eicon_command()
240 card->hwif.isa.shmem = (eicon_isa_shmem *)a; in eicon_command()
249 card->hwif.isa.shmem = (eicon_isa_shmem *)a; in eicon_command()
900 card->hwif.isa.shmem = (eicon_isa_shmem *)membase; in eicon_alloccard()
924 card->hwif.isa.shmem = (eicon_isa_shmem *)(membase + (i+1) * EICON_ISA_QOFFSET); in eicon_alloccard()
1027 card->hwif.isa.shmem = (eicon_isa_shmem *)membase; in eicon_alloccard()
1042 card->hwif.isa.shmem = (eicon_isa_shmem *)membase; in eicon_alloccard()
1574 len += sprintf(buf+len, "MEMBASE: %#lx\n", (unsigned long)dev->hwif.isa.shmem); in eicon_info()
Deicon_isa.h88 eicon_isa_shmem* shmem; /* Shared-memory area */ member
/linux-2.4.37.9/drivers/net/
D3c507.c467 unsigned long shmem = dev->mem_start; in el16_tx_timeout() local
471 isa_readw (shmem + iSCB_STATUS) & 0x8000 ? "IRQ conflict" : in el16_tx_timeout()
484 isa_writew (0xf000 | CUC_START | RX_START, shmem + iSCB_CMD); in el16_tx_timeout()
532 unsigned long shmem; in el16_interrupt() local
541 shmem = dev->mem_start; in el16_interrupt()
545 status = isa_readw(shmem+iSCB_STATUS); in el16_interrupt()
556 unsigned short tx_status = isa_readw(shmem+lp->tx_reap); in el16_interrupt()
612 isa_writew(RX_BUF_START,shmem+iSCB_RFA); in el16_interrupt()
616 isa_writew(ack_cmd,shmem+iSCB_CMD); in el16_interrupt()
630 unsigned long shmem = dev->mem_start; in el16_close() local
[all …]
Dmyri_sbus.c128 struct myri_shmem *shmem = mp->shmem; in bang_the_chip() local
131 sbus_writel(1, &shmem->send); in bang_the_chip()
137 struct myri_shmem *shmem = mp->shmem; in myri_do_handshake() local
139 struct myri_channel *chan = &shmem->channel; in myri_do_handshake()
155 sbus_writel(1, &shmem->shakedown); in myri_do_handshake()
186 struct myri_shmem *shmem = mp->shmem; in myri_load_lanai() local
209 sbus_writeb(0, &shmem->addr[0]); in myri_load_lanai()
210 sbus_writeb(0, &shmem->addr[1]); in myri_load_lanai()
213 &shmem->addr[i + 2]); in myri_load_lanai()
216 sbus_writel(((mp->myri_bursts & 0xf8) >> 3), &shmem->burst); in myri_load_lanai()
[all …]
Dmac8390.c641 long shmem = (start_page - WD_START_PG)<<8; in sane_block_output() local
643 memcpy_toio((char *)dev->mem_start + shmem, buf, count); in sane_block_output()
682 long shmem = (start_page - WD_START_PG)<<8; in dayna_block_output() local
684 dayna_memcpy_tocard(dev, shmem, buf, count); in dayna_block_output()
723 long shmem = (start_page - WD_START_PG)<<8; in slow_sane_block_output() local
725 word_memcpy_tocard((char *)dev->mem_start + shmem, buf, count); in slow_sane_block_output()
Dwd.c410 long shmem = dev->mem_start + ((start_page - WD_START_PG)<<8); in wd_block_output() local
416 isa_memcpy_toio(shmem, buf, count); in wd_block_output()
419 isa_memcpy_toio(shmem, buf, count); in wd_block_output()
Dsmc-mca.c406 unsigned long shmem = dev->mem_start + ((start_page - START_PG) << 8); in ultramca_block_output() local
408 isa_memcpy_toio(shmem, buf, count); in ultramca_block_output()
Dlne390.c352 unsigned long shmem = dev->mem_start + ((start_page - LNE390_START_PG)<<8); in lne390_block_output() local
355 isa_memcpy_toio(shmem, buf, count); in lne390_block_output()
Dne3210.c341 unsigned long shmem = dev->mem_start + ((start_page - NE3210_START_PG)<<8); in ne3210_block_output() local
344 isa_memcpy_toio(shmem, buf, count); in ne3210_block_output()
Des3210.c353 unsigned long shmem = dev->mem_start + ((start_page - ES_START_PG)<<8); in es_block_output() local
356 isa_memcpy_toio(shmem, buf, count); in es_block_output()
Dac3200.c320 unsigned long shmem = dev->mem_start + ((start_page - AC_START_PG)<<8); in ac_block_output() local
322 isa_memcpy_toio(shmem, buf, count); in ac_block_output()
Dsmc-ultra.c426 unsigned long shmem = dev->mem_start + ((start_page - START_PG)<<8); in ultra_block_output() local
431 isa_memcpy_toio(shmem, buf, count); in ultra_block_output()
Dmyri_sbus.h272 struct myri_shmem *shmem; /* Shared data structures. */ member
/linux-2.4.37.9/mm/
DMakefile12 export-objs := shmem.o filemap.o memory.o page_alloc.o
17 shmem.o
Dswapfile.c524 int shmem; in try_to_unuse() local
603 shmem = 0; in try_to_unuse()
608 shmem = shmem_unuse(entry, page); in try_to_unuse()
626 shmem = shmem_unuse(entry, page); in try_to_unuse()
688 if (shmem) in try_to_unuse()
/linux-2.4.37.9/drivers/isdn/sc/
DMakefile10 sc-objs := shmem.o init.o debug.o packet.o command.o event.o \
/linux-2.4.37.9/Documentation/networking/
Darcnet.txt129 com90xx=[<io>[,<irq>[,<shmem>]]][,<name>] | <name>
132 io=<io> irq=<irq> shmem=<shmem> device=<name>
160 you have so many ARCnet cards in your machine that you run out of shmem slots.
175 arcrimi=<shmem>,<irq>,<node_ID>[,<name>]
178 shmem=<shmem> irq=<irq> node=<node_ID> device=<name>
Dnet-modules.txt128 shmem = 0
/linux-2.4.37.9/drivers/net/pcmcia/
Dpcnet_cs.c1622 void *shmem = (void *)dev->mem_start + (start_page << 8); in shmem_block_output() local
1623 shmem -= ei_status.tx_start_page << 8; in shmem_block_output()
1624 copyout(shmem, buf, count); in shmem_block_output()

12