Searched defs:shmem (Results 1 - 15 of 15) sorted by relevance

/drivers/net/arcnet/
H A Darc-rimi.c85 * need to be passed a specific shmem address, IRQ, and node ID.
92 BUGLVL(D_NORMAL) printk("Given: node %02Xh, shmem %lXh, irq %d\n",
97 "must specify the shmem and irq!\n");
146 unsigned long first_mirror, last_mirror, shmem; local
166 shmem = dev->mem_start;
178 check_mirror(shmem - MIRROR_SIZE, MIRROR_SIZE) == 0 &&
179 check_mirror(shmem - 2 * MIRROR_SIZE, MIRROR_SIZE) == 1)
182 first_mirror = shmem - mirror_size;
187 last_mirror = shmem + mirror_size;
214 release_mem_region(shmem, MIRROR_SIZ
[all...]
H A Dcom90xx.c43 * shmem are left in the list at Stage 5, they must correspond to each
58 static int com90xx_found(int ioaddr, int airq, u_long shmem, void __iomem *);
105 static int io; /* use the insmod io= irq= shmem= options */
107 static int shmem; variable
112 module_param(shmem, int, 0);
127 if (!io && !irq && !shmem && !*device && com90xx_skip_probe)
150 if (shmem)
151 shmems[numshmems++] = shmem;
217 /* Stage 3: abandon any shmem addresses that don't have the signature
253 * sure no "mirror" shmem area
458 com90xx_found(int ioaddr, int airq, u_long shmem, void __iomem *p) argument
[all...]
/drivers/net/ethernet/8390/
H A Dac3200.c346 void __iomem *shmem = ei_status.mem + ((start_page - AC_START_PG)<<8); local
348 memcpy_toio(shmem, buf, count);
H A Dlne390.c362 void __iomem *shmem = ei_status.mem + ((start_page - LNE390_START_PG)<<8); local
365 memcpy_toio(shmem, buf, count);
H A Dne3210.c309 void __iomem *shmem = ei_status.mem + ((start_page - NE3210_START_PG)<<8); local
312 memcpy_toio(shmem, buf, count);
H A Des3210.c373 void __iomem *shmem = ei_status.mem + ((start_page - ES_START_PG)<<8); local
376 memcpy_toio(shmem, buf, count);
H A Dsmc-mca.c505 void __iomem *shmem = ei_status.mem + ((start_page - START_PG) << 8); local
507 memcpy_toio(shmem, buf, count);
H A Dsmc-ultra.c439 outb(ULTRA_MEMENB, dev->base_addr - ULTRA_NIC_OFFSET); /* shmem on */
448 outb(0x00, dev->base_addr - ULTRA_NIC_OFFSET); /* shmem off */
479 void __iomem *shmem = ei_status.mem + ((start_page - START_PG)<<8); local
484 memcpy_toio(shmem, buf, count);
H A Dwd.c460 void __iomem *shmem = ei_status.mem + ((start_page - WD_START_PG)<<8); local
466 memcpy_toio(shmem, buf, count);
469 memcpy_toio(shmem, buf, count);
H A Dmac8390.c763 long shmem = (start_page - WD_START_PG)<<8; local
765 memcpy_toio(dev->mem_start + shmem, buf, count);
805 long shmem = (start_page - WD_START_PG)<<8; local
807 dayna_memcpy_tocard(dev, shmem, buf, count);
844 long shmem = (start_page - WD_START_PG)<<8; local
846 word_memcpy_tocard(dev->mem_start + shmem, buf, count);
H A Dpcnet_cs.c1390 void __iomem *shmem = ei_status.mem + (start_page << 8); local
1391 shmem -= ei_status.tx_start_page << 8;
1392 copyout(shmem, buf, count);
/drivers/isdn/icn/
H A Dicn.h176 icn_shmem __iomem *shmem; /* Pointer to memory-mapped-buffers */ member in struct:icn_dev
177 int mvalid; /* IO-shmem has been requested */
205 #define sbfree (((readb(&dev.shmem->data_control.scns) + 1) & 0xf) != \
206 readb(&dev.shmem->data_control.scnr))
209 #define sbnext (writeb((readb(&dev.shmem->data_control.scns) + 1) & 0xf, \
210 &dev.shmem->data_control.scns))
213 #define sbuf_n dev.shmem->data_control.scns
214 #define sbuf_d dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].data
215 #define sbuf_l dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].length
216 #define sbuf_f dev.shmem
[all...]
/drivers/net/ethernet/dec/
H A Dewrk3.c277 void __iomem *shmem; member in struct:ewrk3_private
545 lp->shmem = ioremap(mem_start, shmem_length);
546 if (!lp->shmem)
603 iounmap(lp->shmem);
805 buf = lp->shmem;
808 buf = (((short) page << 11) & 0x7800) + lp->shmem;
811 buf = (((short) page << 11) & 0xf800) + lp->shmem;
951 buf = lp->shmem;
954 buf = (((short) page << 11) & 0x7800) + lp->shmem;
957 buf = (((short) page << 11) & 0xf800) + lp->shmem;
[all...]
/drivers/net/ethernet/i825xx/
H A D3c507.c485 void __iomem *shmem = lp->base; local
489 readw(shmem + iSCB_STATUS) & 0x8000 ? "IRQ conflict" :
502 writew(0xf000 | CUC_START | RX_START, shmem + iSCB_CMD);
550 void __iomem *shmem; local
559 shmem = lp->base;
563 status = readw(shmem+iSCB_STATUS);
574 unsigned short tx_status = readw(shmem+lp->tx_reap);
630 writew(RX_BUF_START,shmem+iSCB_RFA);
634 writew(ack_cmd,shmem+iSCB_CMD);
650 void __iomem *shmem local
716 void __iomem *shmem = lp->base; local
819 void __iomem *shmem = lp->base; local
[all...]
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c2437 /* read mf conf from shmem */
8135 u32 shmem; local
8144 /* Get shmem offset */
8145 shmem = REG_RD(bp, MISC_REG_SHARED_MEM_ADDR);
8149 if (shmem > 0)
8150 REG_WR(bp, shmem + validity_offset, 0);
9276 BNX2X_DEV_INFO("shmem offset 0x%x shmem2 offset 0x%x\n",

Completed in 201 milliseconds