Lines Matching refs:sh_mem
96 dev->sh_mem = ioremap(dev->ph_mem, 4096);
109 iounmap(dev->sh_mem);
119 iounmap(dev->sh_mem);
137 iounmap(dev->sh_mem);
159 iounmap(dev->sh_mem);
191 iounmap(dev->sh_mem);
229 iounmap(dev->sh_mem);
418 memcpy_toio(dev->sh_mem, cbuf, len);
438 if (!(readb(dev->sh_mem + dev->loadptr)))
447 writeb(loadbuf[i], dev->sh_mem + dev->loadptr + 1);
448 writeb(0x01, dev->sh_mem + dev->loadptr);
816 dev->sh_mem + BANK4);
830 dev->writeptr = dev->sh_mem;
831 dev->readptr = dev->sh_mem + BANK2;
848 readb(dev->sh_mem + BANK3));
850 writeb(0x40, dev->sh_mem + BANK4);
890 dev->writeptr = dev->sh_mem;
891 dev->readptr = dev->sh_mem + BANK2;
924 writeb(cmd->info.rdp_byte.value, dev->sh_mem + cmd->info.rdp_byte.addr);
938 cmd->info.rdp_byte.value = readb(dev->sh_mem + cmd->info.rdp_byte.addr);
962 writeb(0x40, dev->sh_mem + BANK4);