Home
last modified time | relevance | path

Searched refs:orb (Results 1 – 15 of 15) sorted by relevance

/drivers/firewire/
Dsbp2.c260 void (*callback)(struct sbp2_orb * orb, struct sbp2_status * status);
400 struct sbp2_orb *orb = container_of(kref, struct sbp2_orb, kref); in free_orb() local
402 kfree(orb); in free_orb()
411 struct sbp2_orb *orb = NULL, *iter; in sbp2_status_write() local
441 orb = iter; in sbp2_status_write()
447 if (orb) { in sbp2_status_write()
448 orb->callback(orb, &status); in sbp2_status_write()
449 kref_put(&orb->kref, free_orb); /* orb callback reference */ in sbp2_status_write()
460 struct sbp2_orb *orb = data; in complete_transaction() local
472 spin_lock_irqsave(&orb->lu->tgt->lock, flags); in complete_transaction()
[all …]
/drivers/s390/cio/
Dcio.c129 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)(addr_t)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 …]
Dvfio_ccw_cp.c384 if ((!cp->orb.cmd.c64 || cp->orb.cmd.i2k) && ccw_is_idal(ccw)) in ccwchain_calc_length()
436 if (!cp->orb.cmd.fmt) in ccwchain_handle_ccw()
635 int cp_init(struct channel_program *cp, struct device *mdev, union orb *orb) in cp_init() argument
652 if (!orb->cmd.pfch && __ratelimit(&ratelimit_state)) in cp_init()
656 memcpy(&cp->orb, orb, sizeof(*orb)); in cp_init()
660 ret = ccwchain_handle_ccw(orb->cmd.cpa, cp); in cp_init()
668 cp->orb.cmd.c64 = 1; in cp_init()
776 union orb *cp_get_orb(struct channel_program *cp, u32 intparm, u8 lpm) in cp_get_orb()
778 union orb *orb; in cp_get_orb() local
786 orb = &cp->orb; in cp_get_orb()
[all …]
Deadm_sch.c50 static void orb_init(union orb *orb) in orb_init() argument
52 memset(orb, 0, sizeof(union orb)); in orb_init()
53 orb->eadm.compat1 = 1; in orb_init()
54 orb->eadm.compat2 = 1; in orb_init()
55 orb->eadm.fmt = 1; in orb_init()
56 orb->eadm.x = 1; in orb_init()
61 union orb *orb = &get_eadm_private(sch)->orb; in eadm_subchannel_start() local
64 orb_init(orb); in eadm_subchannel_start()
65 orb->eadm.aob = (u32)__pa(aob); in eadm_subchannel_start()
66 orb->eadm.intparm = (u32)(addr_t)sch; in eadm_subchannel_start()
[all …]
Dvfio_ccw_cp.h39 union orb orb; member
46 union orb *orb);
49 extern union orb *cp_get_orb(struct channel_program *cp, u32 intparm, u8 lpm);
Dvfio_ccw_fsm.c21 union orb *orb; in fsm_io_helper() local
31 orb = cp_get_orb(&private->cp, (u32)(addr_t)sch, sch->lpm); in fsm_io_helper()
32 if (!orb) { in fsm_io_helper()
41 ccode = ssch(sch->schid, orb); in fsm_io_helper()
60 lpm = orb->cmd.lpm; in fsm_io_helper()
242 union orb *orb; in fsm_io_request() local
253 orb = (union orb *)io_region->orb_area; in fsm_io_request()
256 if (orb->tm.b) { in fsm_io_request()
266 orb); in fsm_io_request()
Dtrace.h196 TP_PROTO(struct subchannel_id schid, union orb *orb, int cc),
197 TP_ARGS(schid, orb, cc),
202 __field_struct(union orb, orb)
209 __entry->orb = *orb;
Deadm_sch.h12 union orb orb; member
Ddevice_fsm.c42 union orb *orb; in ccw_timeout_log() local
47 orb = &private->orb; in ccw_timeout_log()
54 orb, sizeof(*orb), 0); in ccw_timeout_log()
62 if (orb->tm.b) { in ccw_timeout_log()
66 (void *)(addr_t)orb->tm.tcw, in ccw_timeout_log()
70 if ((void *)(addr_t)orb->cmd.cpa == in ccw_timeout_log()
72 (void *)(addr_t)orb->cmd.cpa == in ccw_timeout_log()
80 (void *)(addr_t)orb->cmd.cpa, in ccw_timeout_log()
Dio_sch.h17 union orb orb; /* operation request block */ member
Dioasm.c96 static inline int __ssch(struct subchannel_id schid, union orb *addr) in __ssch()
113 int ssch(struct subchannel_id schid, union orb *addr) in ssch()
Dioasm.h19 int ssch(struct subchannel_id schid, union orb *addr);
Dorb.h86 union orb { union
/drivers/target/sbp/
Dsbp_target.c272 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 …]
Dsbp_target.h213 struct sbp_command_block_orb orb; member
235 struct sbp_management_orb orb; member