Lines Matching refs:orb
426 if ((!cp->orb.cmd.c64 || cp->orb.cmd.i2k) && ccw_is_idal(ccw)) in ccwchain_calc_length()
480 if (!cp->orb.cmd.fmt) in ccwchain_handle_ccw()
681 int cp_init(struct channel_program *cp, union orb *orb) in cp_init() argument
700 if (!orb->cmd.pfch && __ratelimit(&ratelimit_state)) in cp_init()
706 memcpy(&cp->orb, orb, sizeof(*orb)); in cp_init()
709 ret = ccwchain_handle_ccw(orb->cmd.cpa, cp); in cp_init()
717 cp->orb.cmd.c64 = 1; in cp_init()
827 union orb *cp_get_orb(struct channel_program *cp, u32 intparm, u8 lpm) in cp_get_orb()
829 union orb *orb; in cp_get_orb() local
837 orb = &cp->orb; in cp_get_orb()
839 orb->cmd.intparm = intparm; in cp_get_orb()
840 orb->cmd.fmt = 1; in cp_get_orb()
841 orb->cmd.key = PAGE_DEFAULT_KEY >> 4; in cp_get_orb()
843 if (orb->cmd.lpm == 0) in cp_get_orb()
844 orb->cmd.lpm = lpm; in cp_get_orb()
848 orb->cmd.cpa = (__u32) __pa(cpa); in cp_get_orb()
850 return orb; in cp_get_orb()