Lines Matching refs:sh_mem
102 dev->sh_mem = (unsigned char*)ioremap(dev->ph_mem, 4096); in pcbit_init_dev()
115 iounmap((unsigned char*)dev->sh_mem); in pcbit_init_dev()
125 iounmap((unsigned char*)dev->sh_mem); in pcbit_init_dev()
147 iounmap((unsigned char*)dev->sh_mem); in pcbit_init_dev()
169 iounmap((unsigned char*)dev->sh_mem); in pcbit_init_dev()
200 iounmap((unsigned char*)dev->sh_mem); in pcbit_init_dev()
238 iounmap((unsigned char*)dev->sh_mem); in pcbit_terminate()
449 memcpy_toio(dev->sh_mem, cbuf, len); in pcbit_writecmd()
453 memcpy_toio(dev->sh_mem, buf, len); in pcbit_writecmd()
476 if (!(readb(dev->sh_mem + dev->loadptr))) in pcbit_writecmd()
485 writeb(loadbuf[i], dev->sh_mem + dev->loadptr + 1); in pcbit_writecmd()
486 writeb(0x01, dev->sh_mem + dev->loadptr); in pcbit_writecmd()
870 dev->sh_mem + BANK4); in set_protocol_running()
884 dev->writeptr = dev->sh_mem; in set_protocol_running()
885 dev->readptr = dev->sh_mem + BANK2; in set_protocol_running()
902 readb(dev->sh_mem + BANK3)); in set_protocol_running()
904 *(dev->sh_mem + BANK4) = 0x40U; in set_protocol_running()
944 dev->writeptr = dev->sh_mem; in pcbit_ioctl()
945 dev->readptr = dev->sh_mem + BANK2; in pcbit_ioctl()
978 writeb(cmd->info.rdp_byte.value, dev->sh_mem + cmd->info.rdp_byte.addr); in pcbit_ioctl()
992 cmd->info.rdp_byte.value = readb(dev->sh_mem + cmd->info.rdp_byte.addr); in pcbit_ioctl()
1016 writeb(0x40, dev->sh_mem + BANK4); in pcbit_ioctl()