Home
last modified time | relevance | path

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

/linux/drivers/mcb/
A Dmcb-core.c235 bus->bus_nr, device_id, dev->inst, dev->group, dev->var); in mcb_device_register()
240 device_id, bus->bus_nr, ret); in mcb_device_register()
257 ida_simple_remove(&mcb_ida, bus->bus_nr); in mcb_free_bus()
269 int bus_nr; in mcb_alloc_bus() local
276 bus_nr = ida_simple_get(&mcb_ida, 0, 0, GFP_KERNEL); in mcb_alloc_bus()
277 if (bus_nr < 0) { in mcb_alloc_bus()
279 return ERR_PTR(bus_nr); in mcb_alloc_bus()
282 bus->bus_nr = bus_nr; in mcb_alloc_bus()
291 dev_set_name(&bus->dev, "mcb:%d", bus_nr); in mcb_alloc_bus()
/linux/drivers/firmware/efi/libstub/
A 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()
A Defistub.h590 unsigned long *bus_nr,
/linux/drivers/ipack/
A 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()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dfirmware.c227 u16 bus_nr) in brcmf_fw_strip_multi_v1() argument
252 bus_nr); in brcmf_fw_strip_multi_v1()
255 bus_nr); in brcmf_fw_strip_multi_v1()
314 u16 bus_nr) in brcmf_fw_strip_multi_v2() argument
331 snprintf(prefix, sizeof(prefix), "pcie/%d/%d/", domain_nr, bus_nr); in brcmf_fw_strip_multi_v2()
375 u32 *new_length, u16 domain_nr, u16 bus_nr) in brcmf_fw_nvram_strip() argument
392 brcmf_fw_strip_multi_v1(&nvp, domain_nr, bus_nr); in brcmf_fw_nvram_strip()
395 brcmf_fw_strip_multi_v2(&nvp, domain_nr, bus_nr); in brcmf_fw_nvram_strip()
547 fwctx->req->bus_nr); in brcmf_fw_request_nvram_done()
A Dfirmware.h67 u16 bus_nr; member
A Dpcie.c1866 fwreq->bus_nr = devinfo->pdev->bus->number; in brcmf_pcie_prepare_fw_request()
/linux/drivers/ipack/devices/
A 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 drv->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()
/linux/drivers/eisa/
A 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()
/linux/arch/arm/mach-orion5x/
A Dpci.c396 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()
/linux/drivers/ipack/carriers/
A 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()
/linux/drivers/media/usb/cx231xx/
A 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()
/linux/include/linux/
A Deisa.h100 int bus_nr; /* Set by eisa_root_register */ member
A Dmcb.h34 int bus_nr; member
A Dipack.h175 int bus_nr; member
/linux/drivers/i2c/busses/
A Di2c-rk3x.c1228 int bus_nr; in rk3x_i2c_probe() local
1261 bus_nr = of_alias_get_id(np, "i2c"); in rk3x_i2c_probe()
1277 if (bus_nr < 0) { in rk3x_i2c_probe()
1283 value = BIT(27 + bus_nr) | BIT(11 + bus_nr); in rk3x_i2c_probe()
/linux/drivers/scsi/sym53c8xx_2/
A Dsym_nvram.h77 u_char bus_nr; /* PCI bus number */ member
/linux/Documentation/driver-api/
A Deisa.rst62 int bus_nr; /* Set by eisa_root_register */
74 bus_nr unique bus id, set by eisa_root_register

Completed in 140 milliseconds