Lines Matching refs:rfp
2302 struct fw_pkt *rfp, *sfp = NULL;
2316 rfp = (struct fw_pkt *)xfer->recv.buf;
2317 switch(rfp->mode.hdr.tcode){
2323 bcopy(rfp->mode.wreqb.payload,
2324 (caddr_t)ntohl(rfp->mode.wreqb.dest_lo), ntohs(rfp->mode.wreqb.len));
2332 *((uint32_t *)(ntohl(rfp->mode.wreqb.dest_lo))) = rfp->mode.wreqq.data;
2336 xfer->send.buf = malloc(16 + rfp->mode.rreqb.len, M_FW, M_NOWAIT);
2337 xfer->send.len = 16 + ntohs(rfp->mode.rreqb.len);
2339 bcopy((caddr_t)ntohl(rfp->mode.rreqb.dest_lo),
2340 sfp->mode.rresb.payload, (uint16_t)ntohs(rfp->mode.rreqb.len));
2342 sfp->mode.rresb.len = rfp->mode.rreqb.len;
2350 sfp->mode.rresq.data = *(uint32_t *)(ntohl(rfp->mode.rreqq.dest_lo));
2358 sfp->mode.hdr.dst = rfp->mode.hdr.src;
2359 xfer->dst = ntohs(rfp->mode.hdr.src);
2362 sfp->mode.hdr.tlrt = rfp->mode.hdr.tlrt;