Lines Matching refs:HostDpRam
80 static struct HostDpRam HostDpRam;
937 if (copy_from_user(&HostDpRam, argp, sizeof(HostDpRam))) {
942 if (HostDpRam.HostNum >= p->RIONumHosts) {
944 rio_dprintk(RIO_DEBUG_CTRL, "RIO_HOST_DPRAM: Illegal host number %d\n", HostDpRam.HostNum);
947 rio_dprintk(RIO_DEBUG_CTRL, "Request for host %d\n", HostDpRam.HostNum);
949 if (p->RIOHosts[HostDpRam.HostNum].Type == RIO_PCI) {
954 copy[off] = readb(p->RIOHosts[HostDpRam.HostNum].Caddr + off);
955 if (copy_to_user(HostDpRam.DpRamP, copy, sizeof(struct DpRam))) {
960 } else if (copy_from_io(HostDpRam.DpRamP, p->RIOHosts[HostDpRam.HostNum].Caddr, sizeof(struct DpRam))) {