tag | line | file | source code |
shmem | 317 | drivers/isdn/icn/icn.c | (dev->shmem->data_control.ecnr > dev->shmem->data_control.ecns) ? |
shmem | 318 | drivers/isdn/icn/icn.c | 0xf - dev->shmem->data_control.ecnr + dev->shmem->data_control.ecns : |
shmem | 319 | drivers/isdn/icn/icn.c | dev->shmem->data_control.ecns - dev->shmem->data_control.ecnr; |
shmem | 326 | drivers/isdn/icn/icn.c | (dev->shmem->data_control.ecnr > dev->shmem->data_control.ecns) ? |
shmem | 327 | drivers/isdn/icn/icn.c | 0xf - dev->shmem->data_control.ecnr + dev->shmem->data_control.ecns : |
shmem | 328 | drivers/isdn/icn/icn.c | dev->shmem->data_control.ecns - dev->shmem->data_control.ecnr; |
shmem | 465 | drivers/isdn/icn/icn.c | c = dev->shmem->comm_buffers.iopc_buf[i & 0xff]; |
shmem | 718 | drivers/isdn/icn/icn.c | if (dev->shmem->data_control.scns || |
shmem | 719 | drivers/isdn/icn/icn.c | dev->shmem->data_control.scnr) { |
shmem | 788 | drivers/isdn/icn/icn.c | if (check_shmem((ulong) dev->shmem, 0x4000)) { |
shmem | 789 | drivers/isdn/icn/icn.c | printk(KERN_WARNING "icn: memory at 0x%08lx in use.\n", (ulong) dev->shmem); |
shmem | 793 | drivers/isdn/icn/icn.c | request_shmem((ulong) dev->shmem, 0x4000, regname); |
shmem | 800 | drivers/isdn/icn/icn.c | icn_shiftout(ICN_CFG, (unsigned long) dev->shmem, 23, 10); /* Set RAM-Addr. */ |
shmem | 802 | drivers/isdn/icn/icn.c | printk(KERN_DEBUG "shmem=%08lx\n", (ulong) dev->shmem); |
shmem | 815 | drivers/isdn/icn/icn.c | memcpy_fromfs(dev->shmem, buffer, ICN_CODE_STAGE1); /* Copy code */ |
shmem | 831 | drivers/isdn/icn/icn.c | memcpy_fromfs(dev->shmem, buffer, ICN_CODE_STAGE1); /* Copy code */ |
shmem | 989 | drivers/isdn/icn/icn.c | dev->shmem->comm_buffers.pcio_buf[pp & 0xff] = (*p == '\n') ? 0xff : *p; |
shmem | 1060 | drivers/isdn/icn/icn.c | if ((unsigned long) dev->shmem != (a & 0x0ffc000)) { |
shmem | 1072 | drivers/isdn/icn/icn.c | release_shmem((ulong) dev->shmem, 0x4000); |
shmem | 1074 | drivers/isdn/icn/icn.c | dev->shmem = (icn_shmem *) (a & 0x0ffc000); |
shmem | 1076 | drivers/isdn/icn/icn.c | dev2->shmem = (icn_shmem *) (a & 0x0ffc000); |
shmem | 1079 | drivers/isdn/icn/icn.c | (unsigned long) dev->shmem); |
shmem | 1083 | drivers/isdn/icn/icn.c | return (int) dev->shmem; |
shmem | 1384 | drivers/isdn/icn/icn.c | dev->shmem = (icn_shmem *) (membase & 0x0ffc000); |
shmem | 1457 | drivers/isdn/icn/icn.c | rev, dev->port, (uint) dev->shmem, dev->interface.id); |
shmem | 1492 | drivers/isdn/icn/icn.c | release_shmem((ulong) dev->shmem, 0x4000); |
shmem | 188 | drivers/isdn/icn/icn.h | icn_shmem *shmem; /* Pointer to memory-mapped-buffers */ |
shmem | 241 | drivers/isdn/icn/icn.h | #define sbfree (((dev->shmem->data_control.scns+1) & 0xf) != \ |
shmem | 242 | drivers/isdn/icn/icn.h | dev->shmem->data_control.scnr) |
shmem | 245 | drivers/isdn/icn/icn.h | #define sbnext (dev->shmem->data_control.scns = \ |
shmem | 246 | drivers/isdn/icn/icn.h | ((dev->shmem->data_control.scns+1) & 0xf)) |
shmem | 249 | drivers/isdn/icn/icn.h | #define sbuf_n dev->shmem->data_control.scns |
shmem | 250 | drivers/isdn/icn/icn.h | #define sbuf_d dev->shmem->data_buffers.send_buf[sbuf_n].data |
shmem | 251 | drivers/isdn/icn/icn.h | #define sbuf_l dev->shmem->data_buffers.send_buf[sbuf_n].length |
shmem | 252 | drivers/isdn/icn/icn.h | #define sbuf_f dev->shmem->data_buffers.send_buf[sbuf_n].endflag |
shmem | 255 | drivers/isdn/icn/icn.h | #define rbavl (dev->shmem->data_control.ecnr != \ |
shmem | 256 | drivers/isdn/icn/icn.h | dev->shmem->data_control.ecns) |
shmem | 259 | drivers/isdn/icn/icn.h | #define rbnext (dev->shmem->data_control.ecnr = \ |
shmem | 260 | drivers/isdn/icn/icn.h | ((dev->shmem->data_control.ecnr+1) & 0xf)) |
shmem | 263 | drivers/isdn/icn/icn.h | #define rbuf_n dev->shmem->data_control.ecnr |
shmem | 264 | drivers/isdn/icn/icn.h | #define rbuf_d dev->shmem->data_buffers.receive_buf[rbuf_n].data |
shmem | 265 | drivers/isdn/icn/icn.h | #define rbuf_l dev->shmem->data_buffers.receive_buf[rbuf_n].length |
shmem | 266 | drivers/isdn/icn/icn.h | #define rbuf_f dev->shmem->data_buffers.receive_buf[rbuf_n].endflag |
shmem | 269 | drivers/isdn/icn/icn.h | #define cmd_o (dev->shmem->comm_control.pcio_o) |
shmem | 270 | drivers/isdn/icn/icn.h | #define cmd_i (dev->shmem->comm_control.pcio_i) |
shmem | 276 | drivers/isdn/icn/icn.h | #define msg_o (dev->shmem->comm_control.iopc_o) |
shmem | 277 | drivers/isdn/icn/icn.h | #define msg_i (dev->shmem->comm_control.iopc_i) |
shmem | 455 | drivers/net/3c507.c | short *shmem = (short*)dev->mem_start; |
shmem | 465 | drivers/net/3c507.c | shmem[iSCB_STATUS>>1] & 0x8000 ? "IRQ conflict" : |
shmem | 475 | drivers/net/3c507.c | shmem[iSCB_CMD>>1] = 0xf000|CUC_START|RX_START; |
shmem | 522 | drivers/net/3c507.c | ushort *shmem; |
shmem | 532 | drivers/net/3c507.c | shmem = ((ushort*)dev->mem_start); |
shmem | 534 | drivers/net/3c507.c | status = shmem[iSCB_STATUS>>1]; |
shmem | 545 | drivers/net/3c507.c | unsigned short tx_status = shmem[lp->tx_reap>>1]; |
shmem | 599 | drivers/net/3c507.c | shmem[iSCB_RFA >> 1] = RX_BUF_START; |
shmem | 603 | drivers/net/3c507.c | shmem[iSCB_CMD>>1] = ack_cmd; |
shmem | 619 | drivers/net/3c507.c | ushort *shmem = (short*)dev->mem_start; |
shmem | 625 | drivers/net/3c507.c | shmem[iSCB_CMD >> 1] = RX_SUSPEND | CUC_SUSPEND; |
shmem | 707 | drivers/net/3c507.c | ushort *shmem = (short*)dev->mem_start; |
shmem | 742 | drivers/net/3c507.c | while (shmem[iSCB_STATUS>>1] == 0) |
shmem | 746 | drivers/net/3c507.c | shmem[iSCB_STATUS>>1], shmem[iSCB_CMD>>1]); |
shmem | 757 | drivers/net/3c507.c | shmem[iSCB_STATUS>>1]); |
shmem | 811 | drivers/net/3c507.c | short *shmem = (short*)dev->mem_start; |
shmem | 817 | drivers/net/3c507.c | while ((frame_status = shmem[rx_head>>1]) < 0) { /* Command complete */ |
shmem | 289 | drivers/net/ac3200.c | unsigned long shmem = dev->mem_start + ((start_page - AC_START_PG)<<8); |
shmem | 291 | drivers/net/ac3200.c | memcpy_toio(shmem, buf, count); |
shmem | 600 | drivers/net/arcnet.c | static int arcnet_found(struct device *dev,int port,int airq,u_long shmem); |
shmem | 740 | drivers/net/arcnet.c | u_long *shmem; |
shmem | 870 | drivers/net/arcnet.c | for (shmem = &shmems[0]; shmem-shmems<numshmems; shmem++) |
shmem | 881 | drivers/net/arcnet.c | BUGMSG2(D_INIT,"%lXh ",*shmem); |
shmem | 883 | drivers/net/arcnet.c | cptr=(u_char *)(*shmem); |
shmem | 891 | drivers/net/arcnet.c | *shmem=shmems[numshmems-1]; |
shmem | 893 | drivers/net/arcnet.c | shmem--; |
shmem | 907 | drivers/net/arcnet.c | *shmem=shmems[numshmems-1]; |
shmem | 909 | drivers/net/arcnet.c | shmem--; |
shmem | 930 | drivers/net/arcnet.c | for (shmem = &shmems[0]; shmem-shmems<numshmems; shmem++) |
shmem | 939 | drivers/net/arcnet.c | BUGMSG2(D_INIT,"%lXh ",*shmem); |
shmem | 1049 | drivers/net/arcnet.c | for (shmem = &shmems[0]; shmem-shmems<numshmems; shmem++) |
shmem | 1052 | drivers/net/arcnet.c | cptr=(u_char *)(*shmem); |
shmem | 1056 | drivers/net/arcnet.c | BUGMSG2(D_INIT,"%lXh)\n", *shmem); |
shmem | 1060 | drivers/net/arcnet.c | retval=arcnet_found(dev,*port,airq,*shmem); |
shmem | 1064 | drivers/net/arcnet.c | *shmem=shmems[numshmems-1]; |
shmem | 1092 | drivers/net/arcnet.c | for (shmem = &shmems[0]; shmem-shmems<numshmems; shmem++) |
shmem | 1093 | drivers/net/arcnet.c | *(u_char *)(*shmem) = TESTvalue; |
shmem | 1101 | drivers/net/arcnet.c | int arcnet_found(struct device *dev,int port,int airq, u_long shmem) |
shmem | 1125 | drivers/net/arcnet.c | first_mirror=last_mirror=(u_char *)shmem; |
shmem | 3200 | drivers/net/arcnet.c | static int shmem=0; |
shmem | 3219 | drivers/net/arcnet.c | if (shmem) |
shmem | 3221 | drivers/net/arcnet.c | thiscard.mem_start=shmem; |
shmem | 311 | drivers/net/smc-ultra.c | unsigned long shmem = dev->mem_start + ((start_page - START_PG)<<8); |
shmem | 316 | drivers/net/smc-ultra.c | memcpy_toio(shmem, buf, count); |
shmem | 402 | drivers/net/wd.c | long shmem = dev->mem_start + ((start_page - WD_START_PG)<<8); |
shmem | 408 | drivers/net/wd.c | memcpy_toio(shmem, buf, count); |
shmem | 411 | drivers/net/wd.c | memcpy_toio(shmem, buf, count); |