Lines Matching refs:src_id
41 * An event is identified univocally by the tuple (proto_id, evt_id, src_id)
47 * as described in the SCMI Protocol specification, while src_id represents an
355 * event identified by the tuple (proto_id, evt_id, src_id).
466 u32 src_id, key;
492 r_evt->report, &src_id);
504 /* ...then search for any specific src_id */
505 key = MAKE_HASH_KEY(pd->id, pd->eh->evt_id, src_id);
864 * (proto_id, evt_id, src_id)
1137 * @src_id: The src_id to act upon
1142 * Returns successfully if at least one of the required src_id has been
1148 u32 src_id, bool enable)
1154 if (src_id == SRC_ID_MASK) {
1155 src_id = 0;
1157 } else if (src_id < r_evt->num_sources) {
1165 for (; num_sources; src_id++, num_sources--) {
1168 sid = &r_evt->sources[src_id];
1171 src_id);
1180 for (; num_sources; src_id++, num_sources--) {
1181 sid = &r_evt->sources[src_id];
1184 r_evt->evt->id, src_id);
1315 * @src_id: Source ID, when NULL register for events coming form ALL possible
1322 * by the tuple (proto_id, evt_id, src_id) on a dedicated notification chain
1327 * @src_id meaning is protocol specific and identifies the origin of the event
1330 * @src_id can be NULL to signify that the caller is interested in receiving
1343 u8 proto_id, u8 evt_id, const u32 *src_id,
1356 src_id ? *src_id : SRC_ID_MASK);
1379 * @src_id: Source ID
1390 u8 proto_id, u8 evt_id, const u32 *src_id,
1402 src_id ? *src_id : SRC_ID_MASK);
1435 u32 *src_id;
1444 dres->src_id, dres->nb);
1454 * @src_id: Source ID, when NULL register for events coming form ALL possible
1465 const u32 *src_id,
1477 evt_id, src_id, nb);
1487 if (src_id) {
1488 dres->__src_id = *src_id;
1489 dres->src_id = &dres->__src_id;
1491 dres->src_id = NULL;
1509 ((!dres->src_id && !xres->src_id) ||
1510 (dres->src_id && xres->src_id &&
1521 * @src_id: Source ID, when NULL register for events coming form ALL possible
1533 const u32 *src_id,
1542 if (src_id) {
1543 dres.__src_id = *src_id;
1544 dres.src_id = &dres.__src_id;
1546 dres.src_id = NULL;