Home
last modified time | relevance | path

Searched refs:bus_idx (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/virt/kvm/
Deventfd.c716 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()
[all …]
Dkvm_main.c5458 int kvm_io_bus_write(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr, in kvm_io_bus_write() argument
5470 bus = srcu_dereference(vcpu->kvm->buses[bus_idx], &vcpu->kvm->srcu); in kvm_io_bus_write()
5479 int kvm_io_bus_write_cookie(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, in kvm_io_bus_write_cookie() argument
5490 bus = srcu_dereference(vcpu->kvm->buses[bus_idx], &vcpu->kvm->srcu); in kvm_io_bus_write_cookie()
5529 int kvm_io_bus_read(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr, in kvm_io_bus_read() argument
5541 bus = srcu_dereference(vcpu->kvm->buses[bus_idx], &vcpu->kvm->srcu); in kvm_io_bus_read()
5549 int kvm_io_bus_register_dev(struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr, in kvm_io_bus_register_dev() argument
5556 bus = kvm_get_bus(kvm, bus_idx); in kvm_io_bus_register_dev()
5584 rcu_assign_pointer(kvm->buses[bus_idx], new_bus); in kvm_io_bus_register_dev()
5591 int kvm_io_bus_unregister_dev(struct kvm *kvm, enum kvm_bus bus_idx, in kvm_io_bus_unregister_dev() argument
[all …]
/linux-6.6.21/sound/hda/ext/
Dhdac_ext_controller.c154 int bus_idx, addr; in snd_hdac_ext_bus_get_hlink_by_name() local
156 if (sscanf(codec_name, "ehdaudio%dD%d", &bus_idx, &addr) != 2) in snd_hdac_ext_bus_get_hlink_by_name()
158 if (bus->idx != bus_idx) in snd_hdac_ext_bus_get_hlink_by_name()
/linux-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-vid-common.c1050 unsigned int bus_idx; in vidioc_g_edid() local
1058 bus_idx = dev->cec_output2bus_map[edid->pad]; in vidioc_g_edid()
1059 adap = dev->cec_tx_adap[bus_idx]; in vidioc_g_edid()
Dvivid-ctrls.c1035 unsigned int i, j, bus_idx; in vivid_vid_out_s_ctrl() local
1088 bus_idx = dev->cec_output2bus_map[dev->output]; in vivid_vid_out_s_ctrl()
1089 if (!dev->cec_tx_adap[bus_idx]) in vivid_vid_out_s_ctrl()
1093 cec_s_phys_addr(dev->cec_tx_adap[bus_idx], in vivid_vid_out_s_ctrl()
1094 dev->cec_tx_adap[bus_idx]->phys_addr, in vivid_vid_out_s_ctrl()
1097 cec_phys_addr_invalidate(dev->cec_tx_adap[bus_idx]); in vivid_vid_out_s_ctrl()
/linux-6.6.21/include/linux/
Dkvm_host.h222 int kvm_io_bus_write(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr,
224 int kvm_io_bus_write_cookie(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx,
226 int kvm_io_bus_read(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr,
228 int kvm_io_bus_register_dev(struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr,
230 int kvm_io_bus_unregister_dev(struct kvm *kvm, enum kvm_bus bus_idx,
232 struct kvm_io_device *kvm_io_bus_get_dev(struct kvm *kvm, enum kvm_bus bus_idx,