dpram 65 drivers/net/can/softing/softing.h __iomem uint8_t *dpram; dpram 25 drivers/net/can/softing/softing_fw.c iowrite16(cmd, &card->dpram[DPRAM_FCT_PARAM]); dpram 26 drivers/net/can/softing/softing_fw.c iowrite8(vector >> 8, &card->dpram[DPRAM_FCT_HOST + 1]); dpram 27 drivers/net/can/softing/softing_fw.c iowrite8(vector, &card->dpram[DPRAM_FCT_HOST]); dpram 34 drivers/net/can/softing/softing_fw.c ret = ioread8(&card->dpram[DPRAM_FCT_HOST]) + dpram 35 drivers/net/can/softing/softing_fw.c (ioread8(&card->dpram[DPRAM_FCT_HOST + 1]) << 8); dpram 40 drivers/net/can/softing/softing_fw.c return ioread16(&card->dpram[DPRAM_FCT_RESULT]); dpram 71 drivers/net/can/softing/softing_fw.c iowrite16(RES_NONE, &card->dpram[DPRAM_RECEIPT]); dpram 72 drivers/net/can/softing/softing_fw.c iowrite16(cmd, &card->dpram[DPRAM_COMMAND]); dpram 78 drivers/net/can/softing/softing_fw.c ret = ioread16(&card->dpram[DPRAM_RECEIPT]); dpram 134 drivers/net/can/softing/softing_fw.c __iomem uint8_t *dpram, unsigned int size, int offset) dpram 184 drivers/net/can/softing/softing_fw.c memcpy_toio(&dpram[addr + offset], dat, len); dpram 198 drivers/net/can/softing/softing_fw.c memcpy_fromio(buf, &dpram[addr + offset], len); dpram 282 drivers/net/can/softing/softing_fw.c memcpy_toio(&card->dpram[card->pdat->app.offs], dat, len); dpram 284 drivers/net/can/softing/softing_fw.c &card->dpram[DPRAM_COMMAND + 2]); dpram 285 drivers/net/can/softing/softing_fw.c iowrite32(addr, &card->dpram[DPRAM_COMMAND + 6]); dpram 286 drivers/net/can/softing/softing_fw.c iowrite16(len, &card->dpram[DPRAM_COMMAND + 10]); dpram 287 drivers/net/can/softing/softing_fw.c iowrite8(1, &card->dpram[DPRAM_COMMAND + 12]); dpram 292 drivers/net/can/softing/softing_fw.c rx_sum = ioread16(&card->dpram[DPRAM_RECEIPT + 2]); dpram 303 drivers/net/can/softing/softing_fw.c iowrite32(start_addr, &card->dpram[DPRAM_COMMAND + 2]); dpram 304 drivers/net/can/softing/softing_fw.c iowrite8(1, &card->dpram[DPRAM_COMMAND + 6]); dpram 322 drivers/net/can/softing/softing_fw.c iowrite8(0, &card->dpram[DPRAM_RESET_RX_FIFO]); dpram 323 drivers/net/can/softing/softing_fw.c iowrite8(0, &card->dpram[DPRAM_RESET_RX_FIFO+1]); dpram 324 drivers/net/can/softing/softing_fw.c iowrite8(1, &card->dpram[DPRAM_RESET]); dpram 325 drivers/net/can/softing/softing_fw.c iowrite8(0, &card->dpram[DPRAM_RESET+1]); dpram 357 drivers/net/can/softing/softing_fw.c card->id.serial = ioread32(&card->dpram[DPRAM_FCT_PARAM]); dpram 362 drivers/net/can/softing/softing_fw.c card->id.fw_version = ioread16(&card->dpram[DPRAM_FCT_PARAM + 2]); dpram 363 drivers/net/can/softing/softing_fw.c card->id.hw_version = ioread16(&card->dpram[DPRAM_FCT_PARAM + 4]); dpram 364 drivers/net/can/softing/softing_fw.c card->id.license = ioread16(&card->dpram[DPRAM_FCT_PARAM + 6]); dpram 365 drivers/net/can/softing/softing_fw.c card->id.chip[0] = ioread16(&card->dpram[DPRAM_FCT_PARAM + 8]); dpram 366 drivers/net/can/softing/softing_fw.c card->id.chip[1] = ioread16(&card->dpram[DPRAM_FCT_PARAM + 10]); dpram 494 drivers/net/can/softing/softing_fw.c iowrite16(bt->brp, &card->dpram[DPRAM_FCT_PARAM + 2]); dpram 495 drivers/net/can/softing/softing_fw.c iowrite16(bt->sjw, &card->dpram[DPRAM_FCT_PARAM + 4]); dpram 497 drivers/net/can/softing/softing_fw.c &card->dpram[DPRAM_FCT_PARAM + 6]); dpram 498 drivers/net/can/softing/softing_fw.c iowrite16(bt->phase_seg2, &card->dpram[DPRAM_FCT_PARAM + 8]); dpram 500 drivers/net/can/softing/softing_fw.c &card->dpram[DPRAM_FCT_PARAM + 10]); dpram 505 drivers/net/can/softing/softing_fw.c iowrite16(0, &card->dpram[DPRAM_FCT_PARAM + 2]); dpram 506 drivers/net/can/softing/softing_fw.c iowrite16(0, &card->dpram[DPRAM_FCT_PARAM + 4]); dpram 512 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 2]); dpram 513 drivers/net/can/softing/softing_fw.c iowrite16(0x07ff, &card->dpram[DPRAM_FCT_PARAM + 4]); dpram 515 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 6]); dpram 516 drivers/net/can/softing/softing_fw.c iowrite16(0xffff, &card->dpram[DPRAM_FCT_PARAM + 8]); dpram 517 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 10]); dpram 518 drivers/net/can/softing/softing_fw.c iowrite16(0x1fff, &card->dpram[DPRAM_FCT_PARAM + 12]); dpram 523 drivers/net/can/softing/softing_fw.c iowrite16(priv->output, &card->dpram[DPRAM_FCT_PARAM + 2]); dpram 534 drivers/net/can/softing/softing_fw.c iowrite16(bt->brp, &card->dpram[DPRAM_FCT_PARAM + 2]); dpram 535 drivers/net/can/softing/softing_fw.c iowrite16(bt->sjw, &card->dpram[DPRAM_FCT_PARAM + 4]); dpram 537 drivers/net/can/softing/softing_fw.c &card->dpram[DPRAM_FCT_PARAM + 6]); dpram 538 drivers/net/can/softing/softing_fw.c iowrite16(bt->phase_seg2, &card->dpram[DPRAM_FCT_PARAM + 8]); dpram 540 drivers/net/can/softing/softing_fw.c &card->dpram[DPRAM_FCT_PARAM + 10]); dpram 545 drivers/net/can/softing/softing_fw.c iowrite16(0, &card->dpram[DPRAM_FCT_PARAM + 2]); dpram 546 drivers/net/can/softing/softing_fw.c iowrite16(0, &card->dpram[DPRAM_FCT_PARAM + 4]); dpram 552 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 2]); dpram 553 drivers/net/can/softing/softing_fw.c iowrite16(0x07ff, &card->dpram[DPRAM_FCT_PARAM + 4]); dpram 555 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 6]); dpram 556 drivers/net/can/softing/softing_fw.c iowrite16(0xffff, &card->dpram[DPRAM_FCT_PARAM + 8]); dpram 557 drivers/net/can/softing/softing_fw.c iowrite16(0x0000, &card->dpram[DPRAM_FCT_PARAM + 10]); dpram 558 drivers/net/can/softing/softing_fw.c iowrite16(0x1fff, &card->dpram[DPRAM_FCT_PARAM + 12]); dpram 563 drivers/net/can/softing/softing_fw.c iowrite16(priv->output, &card->dpram[DPRAM_FCT_PARAM + 2]); dpram 581 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 2]); dpram 582 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 4]); dpram 583 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 6]); dpram 584 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 8]); dpram 585 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 10]); dpram 586 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 12]); dpram 587 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 14]); dpram 588 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 16]); dpram 589 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 18]); dpram 590 drivers/net/can/softing/softing_fw.c iowrite16(1, &card->dpram[DPRAM_FCT_PARAM + 20]); dpram 610 drivers/net/can/softing/softing_fw.c iowrite8(0, &card->dpram[DPRAM_INFO_BUSSTATE]); dpram 611 drivers/net/can/softing/softing_fw.c iowrite8(0, &card->dpram[DPRAM_INFO_BUSSTATE2]); dpram 613 drivers/net/can/softing/softing_fw.c iowrite8(0, &card->dpram[DPRAM_V2_IRQ_TOHOST]); dpram 34 drivers/net/can/softing/softing_main.c iowrite8(ioread8(&card->dpram[DPRAM_V2_RESET]) & ~1, dpram 35 drivers/net/can/softing/softing_main.c &card->dpram[DPRAM_V2_RESET]); dpram 44 drivers/net/can/softing/softing_main.c iowrite8(ioread8(&card->dpram[DPRAM_V2_RESET]) | 1, dpram 45 drivers/net/can/softing/softing_main.c &card->dpram[DPRAM_V2_RESET]); dpram 72 drivers/net/can/softing/softing_main.c fifo_wr = ioread8(&card->dpram[DPRAM_TX_WR]); dpram 73 drivers/net/can/softing/softing_main.c fifo_rd = ioread8(&card->dpram[DPRAM_TX_RD]); dpram 99 drivers/net/can/softing/softing_main.c memcpy_toio(&card->dpram[DPRAM_TX + DPRAM_TX_SIZE * fifo_wr], dpram 103 drivers/net/can/softing/softing_main.c iowrite8(fifo_wr, &card->dpram[DPRAM_TX_WR]); dpram 163 drivers/net/can/softing/softing_main.c lost_msg = ioread8(&card->dpram[DPRAM_RX_LOST]); dpram 167 drivers/net/can/softing/softing_main.c iowrite8(0, &card->dpram[DPRAM_RX_LOST]); dpram 191 drivers/net/can/softing/softing_main.c fifo_rd = ioread8(&card->dpram[DPRAM_RX_RD]); dpram 192 drivers/net/can/softing/softing_main.c fifo_wr = ioread8(&card->dpram[DPRAM_RX_WR]); dpram 199 drivers/net/can/softing/softing_main.c memcpy_fromio(buf, &card->dpram[DPRAM_RX + DPRAM_RX_SIZE*fifo_rd], dpram 203 drivers/net/can/softing/softing_main.c iowrite8(fifo_rd, &card->dpram[DPRAM_RX_RD]); dpram 238 drivers/net/can/softing/softing_main.c iowrite8(state, &card->dpram[priv->index ? dpram 361 drivers/net/can/softing/softing_main.c ir = ioread8(&card->dpram[DPRAM_V2_IRQ_TOHOST]); dpram 362 drivers/net/can/softing/softing_main.c iowrite8(0, &card->dpram[DPRAM_V2_IRQ_TOHOST]); dpram 371 drivers/net/can/softing/softing_main.c ir = ioread8(&card->dpram[DPRAM_IRQ_TOHOST]); dpram 372 drivers/net/can/softing/softing_main.c iowrite8(0, &card->dpram[DPRAM_IRQ_TOHOST]); dpram 492 drivers/net/can/softing/softing_main.c memcpy_toio(&card->dpram[j], stream, sizeof(stream)); dpram 495 drivers/net/can/softing/softing_main.c memcpy_fromio(back, &card->dpram[j], sizeof(stream)); dpram 506 drivers/net/can/softing/softing_main.c ret = softing_load_fw(card->pdat->boot.fw, card, card->dpram, dpram 512 drivers/net/can/softing/softing_main.c ret = softing_load_fw(card->pdat->load.fw, card, card->dpram, dpram 741 drivers/net/can/softing/softing_main.c iounmap(card->dpram); dpram 780 drivers/net/can/softing/softing_main.c card->dpram = ioremap_nocache(card->dpram_phys, card->dpram_size); dpram 781 drivers/net/can/softing/softing_main.c if (!card->dpram) { dpram 839 drivers/net/can/softing/softing_main.c iounmap(card->dpram); dpram 54 drivers/staging/isdn/hysdn/boardergo.c dpr = card->dpram; dpram 84 drivers/staging/isdn/hysdn/boardergo.c dpr = card->dpram; /* point to DPRAM */ dpram 185 drivers/staging/isdn/hysdn/boardergo.c tErgDpram *dpr = card->dpram; dpram 218 drivers/staging/isdn/hysdn/boardergo.c tErgDpram *dpram; dpram 224 drivers/staging/isdn/hysdn/boardergo.c dst = card->dpram; /* pointer to start of DPRAM */ dpram 236 drivers/staging/isdn/hysdn/boardergo.c memset(card->dpram, 0, ERG_DPRAM_FILL_SIZE); /* fill the DPRAM still not cleared */ dpram 237 drivers/staging/isdn/hysdn/boardergo.c dpram = card->dpram; /* get pointer to dpram structure */ dpram 238 drivers/staging/isdn/hysdn/boardergo.c dpram->ToHyNoDpramErrLog = 0xFF; /* write a dpram register */ dpram 239 drivers/staging/isdn/hysdn/boardergo.c while (!dpram->ToHyNoDpramErrLog); /* reread volatile register to flush PCI */ dpram 246 drivers/staging/isdn/hysdn/boardergo.c if (((tDpramBootSpooler *) card->dpram)->Len != DPRAM_SPOOLER_DATA_SIZE) { dpram 263 drivers/staging/isdn/hysdn/boardergo.c tDpramBootSpooler *sp = (tDpramBootSpooler *) card->dpram; dpram 324 drivers/staging/isdn/hysdn/boardergo.c tErgDpram *dpr = card->dpram; /* pointer to DPRAM structure */ dpram 402 drivers/staging/isdn/hysdn/boardergo.c iounmap(card->dpram); dpram 403 drivers/staging/isdn/hysdn/boardergo.c card->dpram = NULL; /* release shared mem */ dpram 422 drivers/staging/isdn/hysdn/boardergo.c if (!(card->dpram = ioremap(card->membase, ERG_DPRAM_PAGE_SIZE))) { dpram 153 drivers/staging/isdn/hysdn/hysdn_defs.h void *dpram; /* mapped dpram */