/openbmc/u-boot/board/gdsys/a38x/ |
H A D | ihs_phys.c | 143 uint bus_idx, uint m, uint phy_idx) in init_single_phy() argument 149 printf(" %u", bus_idx * 32 + m * 8 + phy_idx); in init_single_phy() 162 uint bus_idx; in init_octo_phys() local 165 for (bus_idx = 0; bus_idx < bb_miiphy_buses_num; ++bus_idx) { in init_octo_phys() 167 uint octo_index = bus_idx * 4; in init_octo_phys() 172 porttype = get_porttype(octo_phy_mask, bus_idx); in init_octo_phys() 185 ret = register_miiphy_bus(bus_idx, &bus); in init_octo_phys() 194 init_single_phy(porttype, bus, bus_idx, m, in init_octo_phys()
|
/openbmc/linux/virt/kvm/ |
H A D | eventfd.c | 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() 883 kvm_get_bus(kvm, bus_idx)->ioeventfd_count++; in kvm_assign_ioeventfd_idx() 919 if (p->bus_idx != bus_idx || in kvm_deassign_ioeventfd_idx() 930 bus = kvm_get_bus(kvm, bus_idx); in kvm_deassign_ioeventfd_idx() 949 if (!args->len && bus_idx == KVM_MMIO_BUS) in kvm_deassign_ioeventfd() 958 enum kvm_bus bus_idx; in kvm_assign_ioeventfd() local 993 if (!args->len && bus_idx == KVM_MMIO_BUS) { in kvm_assign_ioeventfd() [all …]
|
H A D | kvm_main.c | 5472 bus = srcu_dereference(vcpu->kvm->buses[bus_idx], &vcpu->kvm->srcu); in kvm_io_bus_write() 5481 int kvm_io_bus_write_cookie(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, in kvm_io_bus_write_cookie() argument 5492 bus = srcu_dereference(vcpu->kvm->buses[bus_idx], &vcpu->kvm->srcu); in kvm_io_bus_write_cookie() 5531 int kvm_io_bus_read(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr, in kvm_io_bus_read() argument 5543 bus = srcu_dereference(vcpu->kvm->buses[bus_idx], &vcpu->kvm->srcu); in kvm_io_bus_read() 5558 bus = kvm_get_bus(kvm, bus_idx); in kvm_io_bus_register_dev() 5586 rcu_assign_pointer(kvm->buses[bus_idx], new_bus); in kvm_io_bus_register_dev() 5593 int kvm_io_bus_unregister_dev(struct kvm *kvm, enum kvm_bus bus_idx, in kvm_io_bus_unregister_dev() argument 5601 bus = kvm_get_bus(kvm, bus_idx); in kvm_io_bus_unregister_dev() 5623 rcu_assign_pointer(kvm->buses[bus_idx], new_bus); in kvm_io_bus_unregister_dev() [all …]
|
/openbmc/linux/sound/hda/ext/ |
H A D | hdac_ext_controller.c | 154 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()
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-common.c | 1050 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()
|
H A D | vivid-ctrls.c | 1035 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()
|
/openbmc/linux/include/linux/ |
H A D | kvm_host.h | 222 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,
|