/openbmc/linux/drivers/firewire/ |
H A D | sbp2.c | 261 void (*callback)(struct sbp2_orb * orb, struct sbp2_status * status); 401 struct sbp2_orb *orb = container_of(kref, struct sbp2_orb, kref); in free_orb() local 403 kfree(orb); in free_orb() 412 struct sbp2_orb *orb = NULL, *iter; in sbp2_status_write() local 442 orb = iter; in sbp2_status_write() 448 if (orb) { in sbp2_status_write() 449 orb->callback(orb, &status); in sbp2_status_write() 450 kref_put(&orb->kref, free_orb); /* orb callback reference */ in sbp2_status_write() 461 struct sbp2_orb *orb = data; in complete_transaction() local 473 spin_lock_irqsave(&orb->lu->tgt->lock, flags); in complete_transaction() [all …]
|
/openbmc/linux/drivers/s390/cio/ |
H A D | vfio_ccw_cp.c | 235 #define idal_is_2k(_cp) (!(_cp)->orb.cmd.c64 || (_cp)->orb.cmd.i2k) 433 if (!cp->orb.cmd.fmt) in ccwchain_handle_ccw() 530 if (cp->orb.cmd.c64) { in get_guest_idal() 565 int size = cp->orb.cmd.c64 ? sizeof(u64) : sizeof(u32); in ccw_count_idaws() 583 if (!cp->orb.cmd.c64) in ccw_count_idaws() 590 if (!cp->orb.cmd.c64) in ccw_count_idaws() 594 if (cp->orb.cmd.i2k) in ccw_count_idaws() 641 if (cp->orb.cmd.c64) in ccwchain_fetch_ccw() 704 int cp_init(struct channel_program *cp, union orb *orb) in cp_init() argument 723 if (!orb->cmd.pfch && __ratelimit(&ratelimit_state)) in cp_init() [all …]
|
H A D | cio.c | 129 union orb *orb = &priv->orb; in cio_start_key() local 135 memset(orb, 0, sizeof(union orb)); in cio_start_key() 137 orb->cmd.intparm = (u32)virt_to_phys(sch); in cio_start_key() 138 orb->cmd.fmt = 1; in cio_start_key() 140 orb->cmd.pfch = priv->options.prefetch == 0; in cio_start_key() 141 orb->cmd.spnd = priv->options.suspend; in cio_start_key() 142 orb->cmd.ssic = priv->options.suspend && priv->options.inter; in cio_start_key() 143 orb->cmd.lpm = (lpm != 0) ? lpm : sch->lpm; in cio_start_key() 147 orb->cmd.c64 = 1; in cio_start_key() 148 orb->cmd.i2k = 0; in cio_start_key() [all …]
|
H A D | eadm_sch.c | 51 static void orb_init(union orb *orb) in orb_init() argument 53 memset(orb, 0, sizeof(union orb)); in orb_init() 54 orb->eadm.compat1 = 1; in orb_init() 55 orb->eadm.compat2 = 1; in orb_init() 56 orb->eadm.fmt = 1; in orb_init() 57 orb->eadm.x = 1; in orb_init() 62 union orb *orb = &get_eadm_private(sch)->orb; in eadm_subchannel_start() local 65 orb_init(orb); in eadm_subchannel_start() 66 orb->eadm.aob = (u32)virt_to_phys(aob); in eadm_subchannel_start() 67 orb->eadm.intparm = (u32)virt_to_phys(sch); in eadm_subchannel_start() [all …]
|
H A D | vfio_ccw_cp.h | 38 union orb orb; member 43 int cp_init(struct channel_program *cp, union orb *orb); 46 union orb *cp_get_orb(struct channel_program *cp, struct subchannel *sch);
|
H A D | vfio_ccw_fsm.c | 22 union orb *orb; in fsm_io_helper() local 30 orb = cp_get_orb(&private->cp, sch); in fsm_io_helper() 31 if (!orb) { in fsm_io_helper() 40 ccode = ssch(sch->schid, orb); in fsm_io_helper() 59 lpm = orb->cmd.lpm; in fsm_io_helper() 246 union orb *orb; in fsm_io_request() local 256 orb = (union orb *)io_region->orb_area; in fsm_io_request() 259 if (orb->tm.b) { in fsm_io_request() 268 io_region->ret_code = cp_init(&private->cp, orb); in fsm_io_request()
|
H A D | eadm_sch.h | 12 union orb orb; member
|
H A D | trace.h | 194 TP_PROTO(struct subchannel_id schid, union orb *orb, int cc), 195 TP_ARGS(schid, orb, cc), 200 __field_struct(union orb, orb) 207 __entry->orb = *orb;
|
H A D | device_fsm.c | 43 union orb *orb; in ccw_timeout_log() local 48 orb = &private->orb; in ccw_timeout_log() 55 orb, sizeof(*orb), 0); in ccw_timeout_log() 63 if (orb->tm.b) { in ccw_timeout_log() 67 phys_to_virt(orb->tm.tcw), in ccw_timeout_log() 71 if ((void *)(addr_t)orb->cmd.cpa == in ccw_timeout_log() 73 (void *)(addr_t)orb->cmd.cpa == in ccw_timeout_log() 81 phys_to_virt(orb->cmd.cpa), in ccw_timeout_log()
|
H A D | io_sch.h | 17 union orb orb; /* operation request block */ member
|
H A D | ioasm.c | 101 static inline int __ssch(struct subchannel_id schid, union orb *addr) in __ssch() 119 int ssch(struct subchannel_id schid, union orb *addr) in ssch()
|
H A D | ioasm.h | 19 int ssch(struct subchannel_id schid, union orb *addr);
|
H A D | orb.h | 86 union orb { union
|
/openbmc/linux/drivers/target/sbp/ |
H A D | sbp_target.c | 272 LOGIN_ORB_LUN(be32_to_cpu(req->orb.misc)), &ret); in sbp_management_request_login() 275 LOGIN_ORB_LUN(be32_to_cpu(req->orb.misc))); in sbp_management_request_login() 325 if (LOGIN_ORB_EXCLUSIVE(be32_to_cpu(req->orb.misc)) && in sbp_management_request_login() 392 1 << LOGIN_ORB_RECONNECT(be32_to_cpu(req->orb.misc)), in sbp_management_request_login() 409 login->status_fifo_addr = sbp2_pointer_to_addr(&req->orb.status_fifo); in sbp_management_request_login() 410 login->exclusive = LOGIN_ORB_EXCLUSIVE(be32_to_cpu(req->orb.misc)); in sbp_management_request_login() 445 LOGIN_ORB_RESPONSE_LENGTH(be32_to_cpu(req->orb.length)), in sbp_management_request_login() 456 sbp2_pointer_to_addr(&req->orb.ptr2), response, in sbp_management_request_login() 512 RECONNECT_ORB_LOGIN_ID(be32_to_cpu(req->orb.misc))); in sbp_management_request_reconnect() 557 id = LOGOUT_ORB_LOGIN_ID(be32_to_cpu(req->orb.misc)); in sbp_management_request_logout() [all …]
|
H A D | sbp_target.h | 213 struct sbp_command_block_orb orb; member 235 struct sbp_management_orb orb; member
|
/openbmc/qemu/target/s390x/ |
H A D | ioinst.c | 176 static int ioinst_orb_valid(ORB *orb) in ioinst_orb_valid() argument 178 if ((orb->ctrl0 & ORB_CTRL0_MASK_INVALID) || in ioinst_orb_valid() 179 (orb->ctrl1 & ORB_CTRL1_MASK_INVALID)) { in ioinst_orb_valid() 183 if (orb->ctrl1 & ORB_CTRL1_MASK_MIDAW) { in ioinst_orb_valid() 186 if ((orb->cpa & HIGH_ORDER_BIT) != 0) { in ioinst_orb_valid() 196 ORB orig_orb, orb; in ioinst_handle_ssch() local 207 s390_cpu_pv_mem_read(cpu, addr, &orig_orb, sizeof(orb)); in ioinst_handle_ssch() 208 } else if (s390_cpu_virt_mem_read(cpu, addr, ar, &orig_orb, sizeof(orb))) { in ioinst_handle_ssch() 212 copy_orb_from_guest(&orb, &orig_orb); in ioinst_handle_ssch() 214 !ioinst_orb_valid(&orb)) { in ioinst_handle_ssch() [all …]
|
/openbmc/linux/arch/x86/math-emu/ |
H A D | reg_round.S | 503 orb %ch,%dl 513 orb %ch,%bl 520 orb %ch,%bl 521 orb %cl,%bl 540 orb %ch,%cl 541 orb %cl,%al
|
/openbmc/qemu/hw/s390x/ |
H A D | css.c | 194 VMSTATE_STRUCT(orb, SubchDev, 1, vmstate_orb, ORB), 970 void ccw_dstream_init(CcwDataStream *cds, CCW1 const *ccw, ORB const *orb) in ccw_dstream_init() argument 976 g_assert(!(orb->ctrl1 & ORB_CTRL1_MASK_MIDAW)); in ccw_dstream_init() 977 cds->flags = (orb->ctrl0 & ORB_CTRL0_MASK_I2K ? CDS_F_I2K : 0) | in ccw_dstream_init() 978 (orb->ctrl0 & ORB_CTRL0_MASK_C64 ? CDS_F_C64 : 0) | in ccw_dstream_init() 979 (orb->ctrl0 & ORB_CTRL0_MASK_FMT ? CDS_F_FMT : 0) | in ccw_dstream_init() 1048 ccw_dstream_init(&sch->cds, &ccw, &(sch->orb)); in css_interpret_ccw() 1143 ORB *orb = &sch->orb; in sch_handle_start_func_virtual() local 1147 schib->pmcw.intparm = orb->intparm; in sch_handle_start_func_virtual() 1148 if (!(orb->lpm & path)) { in sch_handle_start_func_virtual() [all …]
|
/openbmc/qemu/include/hw/s390x/ |
H A D | css.h | 123 ORB orb; member 252 IOInstEnding css_do_ssch(SubchDev *sch, ORB *orb); 294 void ccw_dstream_init(CcwDataStream *cds, CCW1 const *ccw, ORB const *orb);
|
/openbmc/linux/arch/x86/boot/ |
H A D | pmjump.S | 38 orb $X86_CR0_PE, %dl # Protected mode
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | cio.c | 316 CmdOrb orb = { in __do_cio() local 332 rc = ssch(schid, &orb); in __do_cio()
|
/openbmc/qemu/hw/vfio/ |
H A D | ccw.c | 84 if (!(sch->orb.ctrl0 & ORB_CTRL0_MASK_PFCH) && vcdev->force_orb_pfch) { in vfio_ccw_handle_request() 85 sch->orb.ctrl0 |= ORB_CTRL0_MASK_PFCH; in vfio_ccw_handle_request() 95 memcpy(region->orb_area, &sch->orb, sizeof(ORB)); in vfio_ccw_handle_request()
|
/openbmc/linux/arch/x86/realmode/rm/ |
H A D | wakeup_asm.S | 53 orb $X86_CR0_PE, %al
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | kernel_ex.S | 346 orb #norm_tag,DTAG(%a6) |set up dtag for norm 347 orb #nan_tag,STAG(%a6) |set up stag for nan
|
H A D | do_func.S | 285 orb %d0,%d1 |d1{3:2} = dtag, d1{1:0} = stag 439 orb %d0,%d1 |d1{4:2} = dtag, d1{1:0} = stag
|