/openbmc/linux/drivers/mcb/ |
H A D | mcb-core.c | 237 bus->bus_nr, device_id, dev->inst, dev->group, dev->var); in mcb_device_register() 242 device_id, bus->bus_nr, ret); in mcb_device_register() 260 ida_free(&mcb_ida, bus->bus_nr); in mcb_free_bus() 272 int bus_nr; in mcb_alloc_bus() local 279 bus_nr = ida_alloc(&mcb_ida, GFP_KERNEL); in mcb_alloc_bus() 280 if (bus_nr < 0) { in mcb_alloc_bus() 282 return ERR_PTR(bus_nr); in mcb_alloc_bus() 285 bus->bus_nr = bus_nr; in mcb_alloc_bus() 294 dev_set_name(&bus->dev, "mcb:%d", bus_nr); in mcb_alloc_bus()
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | pci.c | 51 unsigned long segment_nr, bus_nr, device_nr, func_nr; in efi_pci_disable_bridge_busmaster() local 62 status = efi_call_proto(pci, get_location, &segment_nr, &bus_nr, in efi_pci_disable_bridge_busmaster() 64 if (status != EFI_SUCCESS || bus_nr == 0) in efi_pci_disable_bridge_busmaster()
|
/openbmc/linux/drivers/ipack/ |
H A D | ipack.c | 203 int bus_nr; in ipack_bus_register() local 210 bus_nr = ida_simple_get(&ipack_ida, 0, 0, GFP_KERNEL); in ipack_bus_register() 211 if (bus_nr < 0) { in ipack_bus_register() 216 bus->bus_nr = bus_nr; in ipack_bus_register() 240 ida_simple_remove(&ipack_ida, bus->bus_nr); in ipack_bus_unregister() 433 "ipack-dev.%u.%u", dev->bus->bus_nr, dev->slot); in ipack_device_init()
|
/openbmc/qemu/docs/ |
H A D | bypass-iommu.txt | 31 qemu -device pxb-pcie,bus_nr=0x10,addr=0x1,bypass_iommu=true 42 -device pxb-pcie,bus_nr=0x10,id=pci.10,bus=pcie.0,addr=0x3.0x1 \ 43 -device pxb-pcie,bus_nr=0x20,id=pci.20,bus=pcie.0,addr=0x3.0x2,bypass_iommu=true \ 55 -device pxb-pcie,bus_nr=0x10,id=pci.10,bus=pcie.0,addr=0x3 \ 56 -device pxb-pcie,bus_nr=0x20,id=pci.20,bus=pcie.0,addr=0x4,bypass_iommu=true \
|
H A D | pci_expander_bridge.txt | 26 -device pxb,id=bridge1,bus=pci.0,numa_node=1,bus_nr=4 -netdev user,id=nd -device e1000,bus=bridge1,… 27 -device pxb,id=bridge2,bus=pci.0,numa_node=0,bus_nr=8 -device e1000,bus=bridge2,addr=0x3 28 -device pxb,id=bridge3,bus=pci.0,bus_nr=40 -drive if=none,id=drive0,file=[img] -device virtio-blk-p…
|
H A D | pcie.txt | 70 -device pxb-pcie,id=pcie.1,bus_nr=x[,numa_node=y][,addr=z] 213 The bus_nr properties of the pxb-pcie devices partition the 0..255 bus 215 given pxb-pcie device's root bus must fit between the bus_nr property of 216 that pxb-pcie device, and the lowest of the higher bus_nr properties
|
/openbmc/qemu/hw/pci-bridge/ |
H A D | pci_expander_bridge.c | 78 return pxb->bus_nr; in pxb_bus_num() 316 return pxb_a->bus_nr < pxb_b->bus_nr ? -1 : in pxb_compare() 317 pxb_a->bus_nr > pxb_b->bus_nr ? 1 : in pxb_compare() 357 qdev_prop_set_uint8(bds, PCI_BRIDGE_DEV_PROP_CHASSIS_NR, pxb->bus_nr); in pxb_dev_realize_common() 412 DEFINE_PROP_UINT8("bus_nr", PXBDev, bus_nr, 0),
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | firmware.c | 238 u16 bus_nr) in brcmf_fw_strip_multi_v1() argument 263 bus_nr); in brcmf_fw_strip_multi_v1() 266 bus_nr); in brcmf_fw_strip_multi_v1() 325 u16 bus_nr) in brcmf_fw_strip_multi_v2() argument 342 snprintf(prefix, sizeof(prefix), "pcie/%d/%d/", domain_nr, bus_nr); in brcmf_fw_strip_multi_v2() 396 u32 *new_length, u16 domain_nr, u16 bus_nr, in brcmf_fw_nvram_strip() argument 418 brcmf_fw_strip_multi_v1(&nvp, domain_nr, bus_nr); in brcmf_fw_nvram_strip() 421 brcmf_fw_strip_multi_v2(&nvp, domain_nr, bus_nr); in brcmf_fw_nvram_strip() 568 fwctx->req->bus_nr, in brcmf_fw_request_nvram_done()
|
H A D | firmware.h | 69 u16 bus_nr; member
|
/openbmc/linux/drivers/ipack/devices/ |
H A D | ipoctal.c | 274 static int ipoctal_inst_slot(struct ipoctal *ipoctal, unsigned int bus_nr, in ipoctal_inst_slot() argument 294 bus_nr, slot); in ipoctal_inst_slot() 310 bus_nr, slot); in ipoctal_inst_slot() 321 bus_nr, slot); in ipoctal_inst_slot() 370 drv->name = kasprintf(GFP_KERNEL, KBUILD_MODNAME ".%d.%d.", bus_nr, slot); in ipoctal_inst_slot() 698 res = ipoctal_inst_slot(ipoctal, dev->bus->bus_nr, dev->slot); in ipoctal_probe()
|
/openbmc/linux/drivers/eisa/ |
H A D | eisa-bus.c | 49 x = (root->bus_nr << 8) | edev->slot; in is_forced_dev() 207 dev_set_name(&edev->dev, "%02X:%02X", root->bus_nr, slot); in eisa_init_device() 315 dev_info(root->dev, "Probing EISA bus %d\n", root->bus_nr); in eisa_probe() 427 root->bus_nr = eisa_bus_count++; in eisa_root_register()
|
/openbmc/linux/arch/arm/mach-orion5x/ |
H A D | pci.c | 396 int bus_nr, func, reg; in orion5x_pci_master_slave_enable() local 399 bus_nr = orion5x_pci_local_bus_nr(); in orion5x_pci_master_slave_enable() 402 orion5x_pci_hw_rd_conf(bus_nr, 0, func, reg, 4, &val); in orion5x_pci_master_slave_enable() 404 orion5x_pci_hw_wr_conf(bus_nr, 0, func, reg, 4, val | 0x7); in orion5x_pci_master_slave_enable()
|
/openbmc/qemu/include/hw/pci-host/ |
H A D | xilinx-pcie.h | 48 uint32_t bus_nr; member
|
/openbmc/linux/include/linux/ |
H A D | eisa.h | 100 int bus_nr; /* Set by eisa_root_register */ member
|
H A D | mcb.h | 34 int bus_nr; member
|
H A D | ipack.h | 175 int bus_nr; member
|
/openbmc/qemu/hw/acpi/ |
H A D | cxl.c | 118 build_append_int_noprefix(table_data, pxb->bus_nr, 4); in cedt_build_chbs() 185 build_append_int_noprefix(table_data, PXB_DEV(fw->target_hbs[i])->bus_nr, 4); in cedt_build_cfmws()
|
/openbmc/u-boot/drivers/i2c/ |
H A D | rk_i2c.c | 395 int bus_nr; in rockchip_i2c_probe() local 403 ret = dev_read_alias_seq(bus, &bus_nr); in rockchip_i2c_probe() 417 ret = pinctrl_request_noflags(pinctrl, PERIPH_ID_I2C0 + bus_nr); in rockchip_i2c_probe()
|
/openbmc/linux/drivers/ipack/carriers/ |
H A D | tpci200.c | 62 dev->bus->bus_nr, dev->slot, TPCI200_NB_SLOT-1); in check_slot() 206 dev->bus->bus_nr, in tpci200_request_irq() 216 dev->bus->bus_nr, dev->slot); in tpci200_request_irq() 589 tpci200->number = tpci200->info->ipack_bus->bus_nr; in tpci200_pci_probe()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-rk3x.c | 1244 int bus_nr; in rk3x_i2c_probe() local 1277 bus_nr = of_alias_get_id(np, "i2c"); in rk3x_i2c_probe() 1293 if (bus_nr < 0) { in rk3x_i2c_probe() 1299 if (i2c->soc_data == &rv1126_soc_data && bus_nr == 2) in rk3x_i2c_probe() 1303 value = BIT(27 + bus_nr) | BIT(11 + bus_nr); in rk3x_i2c_probe()
|
/openbmc/qemu/hw/pci-host/ |
H A D | xilinx-pcie.c | 118 snprintf(s->name, sizeof(s->name), "pcie%u", s->bus_nr); in xilinx_pcie_host_realize() 160 DEFINE_PROP_UINT32("bus_nr", XilinxPCIEHost, bus_nr, 0),
|
/openbmc/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-i2c.c | 45 static inline int get_real_i2c_port(struct cx231xx *dev, int bus_nr) in get_real_i2c_port() argument 47 if (bus_nr == 1) in get_real_i2c_port() 49 return bus_nr; in get_real_i2c_port()
|
/openbmc/qemu/include/hw/pci/ |
H A D | pci_bridge.h | 95 uint8_t bus_nr; member
|
/openbmc/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_nvram.h | 77 u_char bus_nr; /* PCI bus number */ member
|
/openbmc/qemu/docs/system/devices/ |
H A D | cxl.rst | 309 -device pxb-cxl,bus_nr=12,bus=pcie.0,id=cxl.1 \ 319 -device pxb-cxl,bus_nr=12,bus=pcie.0,id=cxl.1 \ 330 -device pxb-cxl,bus_nr=12,bus=pcie.0,id=cxl.1 \ 349 -device pxb-cxl,bus_nr=12,bus=pcie.0,id=cxl.1 \ 350 -device pxb-cxl,bus_nr=222,bus=pcie.0,id=cxl.2 \ 373 -device pxb-cxl,bus_nr=12,bus=pcie.0,id=cxl.1 \
|