Lines Matching defs:dpm
228 void __iomem *dpm;
315 peer = ioread8(mod->dpm + MSYNC_PEER);
316 locl = ioread8(mod->dpm + MSYNC_LOCL);
333 memcpy_fromio(msg, mod->dpm, sizeof(*msg));
342 iowrite8(locl, mod->dpm + MSYNC_LOCL);
360 peer = ioread8(mod->dpm + MSYNC_PEER);
361 locl = ioread8(mod->dpm + MSYNC_LOCL);
375 memcpy_toio(mod->dpm, msg, sizeof(*msg));
382 iowrite8(locl, mod->dpm + MSYNC_LOCL);
405 dst = mod->dpm;
423 dst = mod->dpm;
444 dst = mod->dpm;
454 dst = mod->dpm;
500 dst = mod->dpm + addr;
536 dst = mod->dpm + addr;
560 void __iomem *desc_addr = mod->dpm + (mod->tx_num * sizeof(desc));
573 memcpy_toio(mod->dpm, msg, sizeof(*msg));
591 void __iomem *desc_addr = mod->dpm + (mod->rx_num * sizeof(desc));
604 memcpy_fromio(msg, mod->dpm, sizeof(*msg));
1357 desc = mod->dpm + ((mod->fasttx_num % 16) * sizeof(*desc));
1386 desc_addr = mod->dpm + ((mod->fastrx_num % 16) * sizeof(desc));
1532 runold = ioread8(mod->dpm + TARGET_RUNNING);
1541 runnew = ioread8(mod->dpm + TARGET_RUNNING);
1572 memcpy_fromio(mod->fwinfo, mod->dpm + FIRMWARE_STAMP, sizeof(mod->fwinfo) - 1);
1705 desc_addr = mod->dpm + ((mod->fasttx_num % 16) * sizeof(desc));
1953 mod->dpm = ioremap(res->start, resource_size(res));
1954 if (!mod->dpm) {
1960 mod->dpmctrl = mod->dpm + DPM_PAGE_SIZE;
2010 iounmap(mod->dpm);
2033 iounmap(mod->dpm);