Searched refs:xpc_interface (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/misc/sgi-xp/ |
H A D | xp_main.c | 75 struct xpc_interface xpc_interface = { }; variable 76 EXPORT_SYMBOL_GPL(xpc_interface); 90 xpc_interface.connect = connect; in xpc_set_interface() 91 xpc_interface.disconnect = disconnect; in xpc_set_interface() 92 xpc_interface.send = send; in xpc_set_interface() 94 xpc_interface.received = received; in xpc_set_interface() 105 memset(&xpc_interface, 0, sizeof(xpc_interface)); in xpc_clear_interface() 168 if (xpc_interface.connect) in xpc_connect() 169 xpc_interface.connect(ch_number); in xpc_connect() 218 if (xpc_interface.disconnect) in xpc_disconnect() [all …]
|
H A D | xp.h | 262 struct xpc_interface { struct 272 extern struct xpc_interface xpc_interface; argument 291 if (!xpc_interface.send) in xpc_send() 294 return xpc_interface.send(partid, ch_number, flags, payload, in xpc_send() 302 if (!xpc_interface.send_notify) in xpc_send_notify() 305 return xpc_interface.send_notify(partid, ch_number, flags, payload, in xpc_send_notify() 312 if (xpc_interface.received) in xpc_received() 313 xpc_interface.received(partid, ch_number, payload); in xpc_received() 319 if (!xpc_interface.partid_to_nasids) in xpc_partid_to_nasids() 322 return xpc_interface.partid_to_nasids(partid, nasids); in xpc_partid_to_nasids()
|