Lines Matching refs:bus_idx
716 u8 bus_idx; member
817 if (_p->bus_idx == p->bus_idx && in ioeventfd_check_collision()
838 enum kvm_bus bus_idx, in kvm_assign_ioeventfd_idx() argument
858 p->bus_idx = bus_idx; in kvm_assign_ioeventfd_idx()
878 ret = kvm_io_bus_register_dev(kvm, bus_idx, p->addr, p->length, in kvm_assign_ioeventfd_idx()
883 kvm_get_bus(kvm, bus_idx)->ioeventfd_count++; in kvm_assign_ioeventfd_idx()
901 kvm_deassign_ioeventfd_idx(struct kvm *kvm, enum kvm_bus bus_idx, in kvm_deassign_ioeventfd_idx() argument
919 if (p->bus_idx != bus_idx || in kvm_deassign_ioeventfd_idx()
929 kvm_io_bus_unregister_dev(kvm, bus_idx, &p->dev); in kvm_deassign_ioeventfd_idx()
930 bus = kvm_get_bus(kvm, bus_idx); in kvm_deassign_ioeventfd_idx()
946 enum kvm_bus bus_idx = ioeventfd_bus_from_flags(args->flags); in kvm_deassign_ioeventfd() local
947 int ret = kvm_deassign_ioeventfd_idx(kvm, bus_idx, args); in kvm_deassign_ioeventfd()
949 if (!args->len && bus_idx == KVM_MMIO_BUS) in kvm_deassign_ioeventfd()
958 enum kvm_bus bus_idx; in kvm_assign_ioeventfd() local
961 bus_idx = ioeventfd_bus_from_flags(args->flags); in kvm_assign_ioeventfd()
986 ret = kvm_assign_ioeventfd_idx(kvm, bus_idx, args); in kvm_assign_ioeventfd()
993 if (!args->len && bus_idx == KVM_MMIO_BUS) { in kvm_assign_ioeventfd()
1002 kvm_deassign_ioeventfd_idx(kvm, bus_idx, args); in kvm_assign_ioeventfd()