Lines Matching refs:orb
381 * orb specified one of the unsupported formats, we defer
384 if ((!cp->orb.cmd.c64 || cp->orb.cmd.i2k) && ccw_is_idal(ccw))
436 if (!cp->orb.cmd.fmt)
623 * @orb: control block for the channel program from the guest
626 * the target channel program from @orb->cmd.iova to the new ccwchain(s).
635 int cp_init(struct channel_program *cp, struct device *mdev, union orb *orb)
652 if (!orb->cmd.pfch && __ratelimit(&ratelimit_state))
656 memcpy(&cp->orb, orb, sizeof(*orb));
660 ret = ccwchain_handle_ccw(orb->cmd.cpa, cp);
668 cp->orb.cmd.c64 = 1;
767 * cp_get_orb() - get the orb of the channel program
769 * @intparm: new intparm for the returned orb
770 * @lpm: candidate value of the logical-path mask for the returned orb
772 * This function returns the address of the updated orb of the channel
773 * program. Channel I/O device drivers could use this orb to issue a
776 union orb *cp_get_orb(struct channel_program *cp, u32 intparm, u8 lpm)
778 union orb *orb;
786 orb = &cp->orb;
788 orb->cmd.intparm = intparm;
789 orb->cmd.fmt = 1;
790 orb->cmd.key = PAGE_DEFAULT_KEY >> 4;
792 if (orb->cmd.lpm == 0)
793 orb->cmd.lpm = lpm;
797 orb->cmd.cpa = (__u32) __pa(cpa);
799 return orb;