Home
last modified time | relevance | path

Searched refs:bus_nr (Results 1 – 13 of 13) sorted by relevance

/drivers/mcb/
Dmcb-core.c237 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_simple_remove(&mcb_ida, bus->bus_nr); in mcb_free_bus()
272 int bus_nr; in mcb_alloc_bus() local
279 bus_nr = ida_simple_get(&mcb_ida, 0, 0, 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()
/drivers/firmware/efi/libstub/
Dpci.c51 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()
Defistub.h590 unsigned long *bus_nr,
/drivers/ipack/
Dipack.c203 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()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfirmware.c229 u16 bus_nr) in brcmf_fw_strip_multi_v1() argument
254 bus_nr); in brcmf_fw_strip_multi_v1()
257 bus_nr); in brcmf_fw_strip_multi_v1()
316 u16 bus_nr) in brcmf_fw_strip_multi_v2() argument
333 snprintf(prefix, sizeof(prefix), "pcie/%d/%d/", domain_nr, bus_nr); in brcmf_fw_strip_multi_v2()
377 u32 *new_length, u16 domain_nr, u16 bus_nr) in brcmf_fw_nvram_strip() argument
394 brcmf_fw_strip_multi_v1(&nvp, domain_nr, bus_nr); in brcmf_fw_nvram_strip()
397 brcmf_fw_strip_multi_v2(&nvp, domain_nr, bus_nr); in brcmf_fw_nvram_strip()
549 fwctx->req->bus_nr); in brcmf_fw_request_nvram_done()
Dfirmware.h67 u16 bus_nr; member
Dpcie.c1849 fwreq->bus_nr = devinfo->pdev->bus->number; in brcmf_pcie_prepare_fw_request()
/drivers/ipack/devices/
Dipoctal.c274 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 tty->name = kasprintf(GFP_KERNEL, KBUILD_MODNAME ".%d.%d.", bus_nr, slot); in ipoctal_inst_slot()
699 res = ipoctal_inst_slot(ipoctal, dev->bus->bus_nr, dev->slot); in ipoctal_probe()
/drivers/eisa/
Deisa-bus.c49 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()
/drivers/ipack/carriers/
Dtpci200.c62 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()
/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c45 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()
/drivers/i2c/busses/
Di2c-rk3x.c1235 int bus_nr; in rk3x_i2c_probe() local
1268 bus_nr = of_alias_get_id(np, "i2c"); in rk3x_i2c_probe()
1284 if (bus_nr < 0) { in rk3x_i2c_probe()
1290 value = BIT(27 + bus_nr) | BIT(11 + bus_nr); in rk3x_i2c_probe()
/drivers/scsi/sym53c8xx_2/
Dsym_nvram.h77 u_char bus_nr; /* PCI bus number */ member