Lines Matching refs:notify_id
1124 notifier_hash_node_get(u16 notify_id, enum notify_type type) in notifier_hash_node_get() argument
1128 hash_for_each_possible(drv_info->notifier_hash, node, hnode, notify_id) in notifier_hash_node_get()
1136 update_notifier_cb(int notify_id, enum notify_type type, ffa_notifier_cb cb, in update_notifier_cb() argument
1142 cb_info = notifier_hash_node_get(notify_id, type); in update_notifier_cb()
1157 hash_add(drv_info->notifier_hash, &cb_info->hnode, notify_id); in update_notifier_cb()
1173 static int ffa_notify_relinquish(struct ffa_device *dev, int notify_id) in ffa_notify_relinquish() argument
1181 if (notify_id >= FFA_MAX_NOTIFICATIONS) in ffa_notify_relinquish()
1186 rc = update_notifier_cb(notify_id, type, NULL, NULL, false); in ffa_notify_relinquish()
1193 rc = ffa_notification_unbind(dev->vm_id, BIT(notify_id)); in ffa_notify_relinquish()
1201 ffa_notifier_cb cb, void *cb_data, int notify_id) in ffa_notify_request() argument
1210 if (notify_id >= FFA_MAX_NOTIFICATIONS) in ffa_notify_request()
1218 rc = ffa_notification_bind(dev->vm_id, BIT(notify_id), flags); in ffa_notify_request()
1224 rc = update_notifier_cb(notify_id, type, cb, cb_data, true); in ffa_notify_request()
1227 notify_id, rc); in ffa_notify_request()
1228 ffa_notification_unbind(dev->vm_id, BIT(notify_id)); in ffa_notify_request()
1235 static int ffa_notify_send(struct ffa_device *dev, int notify_id, in ffa_notify_send() argument
1247 BIT(notify_id)); in ffa_notify_send()
1252 int notify_id; in handle_notif_callbacks() local
1255 for (notify_id = 0; notify_id <= FFA_MAX_NOTIFICATIONS && bitmap; in handle_notif_callbacks()
1256 notify_id++, bitmap >>= 1) { in handle_notif_callbacks()
1261 cb_info = notifier_hash_node_get(notify_id, type); in handle_notif_callbacks()
1265 cb_info->cb(notify_id, cb_info->cb_data); in handle_notif_callbacks()