Searched refs:dpram (Results 1 – 6 of 6) sorted by relevance
/drivers/net/can/softing/ |
D | softing_fw.c | 37 iowrite16(cmd, &card->dpram[DPRAM_FCT_PARAM]); in _softing_fct_cmd() 38 iowrite8(vector >> 8, &card->dpram[DPRAM_FCT_HOST + 1]); in _softing_fct_cmd() 39 iowrite8(vector, &card->dpram[DPRAM_FCT_HOST]); in _softing_fct_cmd() 46 ret = ioread8(&card->dpram[DPRAM_FCT_HOST]) + in _softing_fct_cmd() 47 (ioread8(&card->dpram[DPRAM_FCT_HOST + 1]) << 8); in _softing_fct_cmd() 52 return ioread16(&card->dpram[DPRAM_FCT_RESULT]); in _softing_fct_cmd() 83 iowrite16(RES_NONE, &card->dpram[DPRAM_RECEIPT]); in softing_bootloader_command() 84 iowrite16(cmd, &card->dpram[DPRAM_COMMAND]); in softing_bootloader_command() 90 ret = ioread16(&card->dpram[DPRAM_RECEIPT]); in softing_bootloader_command() 146 __iomem uint8_t *dpram, unsigned int size, int offset) in softing_load_fw() argument [all …]
|
D | softing_main.c | 47 iowrite8(ioread8(&card->dpram[DPRAM_V2_RESET]) & ~1, in softing_set_reset_dpram() 48 &card->dpram[DPRAM_V2_RESET]); in softing_set_reset_dpram() 57 iowrite8(ioread8(&card->dpram[DPRAM_V2_RESET]) | 1, in softing_clr_reset_dpram() 58 &card->dpram[DPRAM_V2_RESET]); in softing_clr_reset_dpram() 85 fifo_wr = ioread8(&card->dpram[DPRAM_TX_WR]); in softing_netdev_start_xmit() 86 fifo_rd = ioread8(&card->dpram[DPRAM_TX_RD]); in softing_netdev_start_xmit() 112 memcpy_toio(&card->dpram[DPRAM_TX + DPRAM_TX_SIZE * fifo_wr], in softing_netdev_start_xmit() 116 iowrite8(fifo_wr, &card->dpram[DPRAM_TX_WR]); in softing_netdev_start_xmit() 176 lost_msg = ioread8(&card->dpram[DPRAM_RX_LOST]); in softing_handle_1() 180 iowrite8(0, &card->dpram[DPRAM_RX_LOST]); in softing_handle_1() [all …]
|
D | softing.h | 64 __iomem uint8_t *dpram; member
|
/drivers/isdn/hysdn/ |
D | boardergo.c | 54 dpr = card->dpram; in ergo_interrupt() 84 dpr = card->dpram; /* point to DPRAM */ in ergo_irq_bh() 185 tErgDpram *dpr = card->dpram; in ergo_testram() 218 tErgDpram *dpram; in ergo_writebootimg() local 224 dst = card->dpram; /* pointer to start of DPRAM */ in ergo_writebootimg() 236 memset(card->dpram, 0, ERG_DPRAM_FILL_SIZE); /* fill the DPRAM still not cleared */ in ergo_writebootimg() 237 dpram = card->dpram; /* get pointer to dpram structure */ in ergo_writebootimg() 238 dpram->ToHyNoDpramErrLog = 0xFF; /* write a dpram register */ in ergo_writebootimg() 239 while (!dpram->ToHyNoDpramErrLog); /* reread volatile register to flush PCI */ in ergo_writebootimg() 246 if (((tDpramBootSpooler *) card->dpram)->Len != DPRAM_SPOOLER_DATA_SIZE) { in ergo_writebootimg() [all …]
|
D | hysdn_defs.h | 153 void *dpram; /* mapped dpram */ member
|
/drivers/staging/ft1000/ft1000-usb/ |
D | ft1000_download.c | 500 u16 dpram; in write_blk() local 507 dpram = (u16)DWNLD_MAG1_PS_HDR_LOC; in write_blk() 510 Status = ft1000_write_dpram16(ft1000dev, dpram, tempword, 0); in write_blk() 513 Status = ft1000_write_dpram16(ft1000dev, dpram++, tempword, 1); in write_blk() 547 if (dpram >= 0x3F4) in write_blk() 548 Status = ft1000_write_dpram32 (ft1000dev, dpram, (u8 *)&tempbuffer[0], 8); in write_blk() 550 Status = ft1000_write_dpram32 (ft1000dev, dpram, (u8 *)&tempbuffer[0], 64); in write_blk() 556 Status = ft1000_write_dpram32 (ft1000dev, dpram, (u8 *)&tempbuffer[0], 64); in write_blk() 562 Status = ft1000_write_dpram32(ft1000dev, dpram+12, (u8 *)&tempbuffer[24], 64); in write_blk() 565 Status = ft1000_read_dpram32 (ft1000dev, dpram, (u8 *)&resultbuffer[0], 64); in write_blk() [all …]
|