Lines Matching +full:pre +full:- +full:determined
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2010 2011 Mark Nelson and Tseng-Hui (Frank) Lin, IBM Corporation
24 * information about hardware error and non-error events. Device
41 * if (! is_my_event(p->scope, p->event_type)) return NOTIFY_DONE;
75 /* We should only ever get called for io-event interrupts, but if in ioei_find_event()
94 return (struct pseries_io_event *) §->data; in ioei_find_event()
99 * - check-exception returns the first found error or event and clear that
101 * - Each interrupt returns one event. If a plateform chooses to report
103 * interrupt remains asserted until check-exception has been used to
104 * process all out-standing events for that interrupt.
107 * - Events must be processed in the order they are returned. Hence,
109 * - The owner of an event is determined by combinations of scope,
110 * event type, and sub-type. There is no easy way to pre-sort clients
113 * 0x3B (Torrent-hub). It is better to let the clients to identify
148 return -ENODEV; in ioei_init()
150 np = of_find_node_by_path("/event-sources/ibm,io-events"); in ioei_init()
156 return -ENODEV; in ioei_init()