Lines Matching refs:vpe_proxy
178 } vpe_proxy; variable
3480 vpe_proxy.dev && in its_msi_prepare()
3481 vpe_proxy.dev->its == its && in its_msi_prepare()
3482 dev_id == vpe_proxy.dev->device_id) { in its_msi_prepare()
3692 its_send_discard(vpe_proxy.dev, vpe->vpe_proxy_event); in its_vpe_db_proxy_unmap_locked()
3693 vpe_proxy.vpes[vpe->vpe_proxy_event] = NULL; in its_vpe_db_proxy_unmap_locked()
3702 if (vpe_proxy.vpes[vpe_proxy.next_victim]) in its_vpe_db_proxy_unmap_locked()
3703 vpe_proxy.next_victim = vpe->vpe_proxy_event; in its_vpe_db_proxy_unmap_locked()
3717 raw_spin_lock_irqsave(&vpe_proxy.lock, flags); in its_vpe_db_proxy_unmap()
3719 raw_spin_unlock_irqrestore(&vpe_proxy.lock, flags); in its_vpe_db_proxy_unmap()
3734 if (vpe_proxy.vpes[vpe_proxy.next_victim]) in its_vpe_db_proxy_map_locked()
3735 its_vpe_db_proxy_unmap_locked(vpe_proxy.vpes[vpe_proxy.next_victim]); in its_vpe_db_proxy_map_locked()
3738 vpe_proxy.vpes[vpe_proxy.next_victim] = vpe; in its_vpe_db_proxy_map_locked()
3739 vpe->vpe_proxy_event = vpe_proxy.next_victim; in its_vpe_db_proxy_map_locked()
3740 vpe_proxy.next_victim = (vpe_proxy.next_victim + 1) % vpe_proxy.dev->nr_ites; in its_vpe_db_proxy_map_locked()
3742 vpe_proxy.dev->event_map.col_map[vpe->vpe_proxy_event] = vpe->col_idx; in its_vpe_db_proxy_map_locked()
3743 its_send_mapti(vpe_proxy.dev, vpe->vpe_db_lpi, vpe->vpe_proxy_event); in its_vpe_db_proxy_map_locked()
3765 raw_spin_lock_irqsave(&vpe_proxy.lock, flags); in its_vpe_db_proxy_move()
3769 target_col = &vpe_proxy.dev->its->collections[to]; in its_vpe_db_proxy_move()
3770 its_send_movi(vpe_proxy.dev, target_col, vpe->vpe_proxy_event); in its_vpe_db_proxy_move()
3771 vpe_proxy.dev->event_map.col_map[vpe->vpe_proxy_event] = to; in its_vpe_db_proxy_move()
3773 raw_spin_unlock_irqrestore(&vpe_proxy.lock, flags); in its_vpe_db_proxy_move()
3930 raw_spin_lock_irqsave(&vpe_proxy.lock, flags); in its_vpe_send_cmd()
3933 cmd(vpe_proxy.dev, vpe->vpe_proxy_event); in its_vpe_send_cmd()
3935 raw_spin_unlock_irqrestore(&vpe_proxy.lock, flags); in its_vpe_send_cmd()
4941 vpe_proxy.vpes = kcalloc(entries, sizeof(*vpe_proxy.vpes), in its_init_vpe_domain()
4943 if (!vpe_proxy.vpes) in its_init_vpe_domain()
4948 vpe_proxy.dev = its_create_device(its, devid, entries, false); in its_init_vpe_domain()
4949 if (!vpe_proxy.dev) { in its_init_vpe_domain()
4950 kfree(vpe_proxy.vpes); in its_init_vpe_domain()
4955 BUG_ON(entries > vpe_proxy.dev->nr_ites); in its_init_vpe_domain()
4957 raw_spin_lock_init(&vpe_proxy.lock); in its_init_vpe_domain()
4958 vpe_proxy.next_victim = 0; in its_init_vpe_domain()
4960 devid, vpe_proxy.dev->nr_ites); in its_init_vpe_domain()