Lines Matching refs:event_id
145 u32 event_id; member
227 u32 event_id) in find_ite() argument
237 if (ite->event_id == event_id) in find_ite()
845 u32 event_id = its_cmd_get_id(its_cmd); in vgic_its_cmd_handle_discard() local
848 ite = find_ite(its, device_id, event_id); in vgic_its_cmd_handle_discard()
872 u32 event_id = its_cmd_get_id(its_cmd); in vgic_its_cmd_handle_movi() local
878 ite = find_ite(its, device_id, event_id); in vgic_its_cmd_handle_movi()
988 u32 event_id) in vgic_its_check_event_id() argument
995 if (event_id >= BIT_ULL(device->num_eventid_bits)) in vgic_its_check_event_id()
998 gpa = device->itt_addr + event_id * ite_esz; in vgic_its_check_event_id()
1052 u32 event_id) in vgic_its_alloc_ite() argument
1060 ite->event_id = event_id; in vgic_its_alloc_ite()
1075 u32 event_id = its_cmd_get_id(its_cmd); in vgic_its_cmd_handle_mapi() local
1088 if (!vgic_its_check_event_id(its, device, event_id)) in vgic_its_cmd_handle_mapi()
1094 lpi_nr = event_id; in vgic_its_cmd_handle_mapi()
1100 if (find_ite(its, device_id, event_id)) in vgic_its_cmd_handle_mapi()
1116 ite = vgic_its_alloc_ite(device, collection, event_id); in vgic_its_cmd_handle_mapi()
1291 u32 event_id = its_cmd_get_id(its_cmd); in vgic_its_cmd_handle_clear() local
1295 ite = find_ite(its, device_id, event_id); in vgic_its_cmd_handle_clear()
1321 u32 event_id = its_cmd_get_id(its_cmd); in vgic_its_cmd_handle_inv() local
1325 ite = find_ite(its, device_id, event_id); in vgic_its_cmd_handle_inv()
2107 next_offset = next->event_id - ite->event_id; in compute_next_eventid_offset()
2199 static int vgic_its_restore_ite(struct vgic_its *its, u32 event_id, in vgic_its_restore_ite() argument
2227 if (event_id + offset >= BIT_ULL(dev->num_eventid_bits)) in vgic_its_restore_ite()
2234 if (!vgic_its_check_event_id(its, dev, event_id)) in vgic_its_restore_ite()
2237 ite = vgic_its_alloc_ite(dev, collection, event_id); in vgic_its_restore_ite()
2260 if (itea->event_id < iteb->event_id) in vgic_its_ite_cmp()
2277 gpa_t gpa = base + ite->event_id * ite_esz; in vgic_its_save_itt()