Lines Matching defs:rbp
97 * @rbp: Download descriptor
103 int RIOBootCodeRTA(struct rio_info *p, struct DownLoad * rbp)
109 rio_dprintk(RIO_DEBUG_BOOT, "Data at user address %p\n", rbp->DataP);
114 if (rbp->Count > SIXTY_FOUR_K) {
133 offset = (RTA_BOOT_DATA_SIZE - (rbp->Count % RTA_BOOT_DATA_SIZE)) % RTA_BOOT_DATA_SIZE;
146 if (copy_from_user(((u8 *)p->RIOBootPackets) + offset, rbp->DataP, rbp->Count)) {
157 p->RIONumBootPkts = (rbp->Count + offset) / RTA_BOOT_DATA_SIZE;
158 p->RIOBootCount = rbp->Count;
203 int RIOBootCodeHOST(struct rio_info *p, struct DownLoad *rbp)
241 ** We are going to (try) and load in rbp->Count bytes.
244 ** (caddr+p->RIOConf.HostLoadBase-rbp->Count)
246 StartP = &Cad[p->RIOConf.HostLoadBase - rbp->Count];
251 rio_dprintk(RIO_DEBUG_BOOT, "size of download is 0x%x\n", rbp->Count);
254 if (p->RIOConf.HostLoadBase < rbp->Count) {
276 DownCode = vmalloc(rbp->Count);
282 if (copy_from_user(DownCode, rbp->DataP, rbp->Count)) {
288 HostP->Copy(DownCode, StartP, rbp->Count);