Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
259 ida_simple_remove(&mcb_ida, bus->bus_nr); in mcb_free_bus()
271 int bus_nr; in mcb_alloc_bus() local
278 bus_nr = ida_simple_get(&mcb_ida, 0, 0, GFP_KERNEL); in mcb_alloc_bus()
279 if (bus_nr < 0) { in mcb_alloc_bus()
281 return ERR_PTR(bus_nr); in mcb_alloc_bus()
284 bus->bus_nr = bus_nr; in mcb_alloc_bus()
293 dev_set_name(&bus->dev, "mcb:%d", bus_nr); in mcb_alloc_bus()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/drivers/ipack/
Dipack.c209 int bus_nr; in ipack_bus_register() local
216 bus_nr = ida_simple_get(&ipack_ida, 0, 0, GFP_KERNEL); in ipack_bus_register()
217 if (bus_nr < 0) { in ipack_bus_register()
222 bus->bus_nr = bus_nr; in ipack_bus_register()
246 ida_simple_remove(&ipack_ida, bus->bus_nr); in ipack_bus_unregister()
436 "ipack-dev.%u.%u", dev->bus->bus_nr, dev->slot); in ipack_device_init()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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
329 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()
551 fwctx->req->bus_nr); in brcmf_fw_request_nvram_done()
Dfirmware.h60 u16 bus_nr; member
Dpcie.c1864 fwreq->bus_nr = devinfo->pdev->bus->number; in brcmf_pcie_prepare_fw_request()
/kernel/linux/linux-5.10/drivers/ipack/devices/
Dipoctal.c276 static int ipoctal_inst_slot(struct ipoctal *ipoctal, unsigned int bus_nr, in ipoctal_inst_slot() argument
296 bus_nr, slot); in ipoctal_inst_slot()
312 bus_nr, slot); in ipoctal_inst_slot()
323 bus_nr, slot); in ipoctal_inst_slot()
372 tty->name = kasprintf(GFP_KERNEL, KBUILD_MODNAME ".%d.%d.", bus_nr, slot); in ipoctal_inst_slot()
703 res = ipoctal_inst_slot(ipoctal, dev->bus->bus_nr, dev->slot); in ipoctal_probe()
/kernel/linux/linux-5.10/arch/arm/mach-orion5x/
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()
/kernel/linux/linux-5.10/drivers/eisa/
Deisa-bus.c49 x = (root->bus_nr << 8) | edev->slot; in is_forced_dev()
212 dev_set_name(&edev->dev, "%02X:%02X", root->bus_nr, slot); in eisa_init_device()
320 dev_info(root->dev, "Probing EISA bus %d\n", root->bus_nr); in eisa_probe()
432 root->bus_nr = eisa_bus_count++; in eisa_root_register()
/kernel/linux/linux-5.10/drivers/ipack/carriers/
Dtpci200.c64 dev->bus->bus_nr, dev->slot, TPCI200_NB_SLOT-1); in check_slot()
208 dev->bus->bus_nr, in tpci200_request_irq()
218 dev->bus->bus_nr, dev->slot); in tpci200_request_irq()
591 tpci200->number = tpci200->info->ipack_bus->bus_nr; in tpci200_pci_probe()
/kernel/linux/linux-5.10/include/linux/
Deisa.h100 int bus_nr; /* Set by eisa_root_register */ member
Dmcb.h34 int bus_nr; member
Dipack.h175 int bus_nr; member
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-stu300.c863 int bus_nr; in stu300_probe() local
870 bus_nr = pdev->id; in stu300_probe()
880 "base %p\n", bus_nr, dev->virtbase); in stu300_probe()
910 adap->nr = bus_nr; in stu300_probe()
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
Dsym_nvram.h77 u_char bus_nr; /* PCI bus number */ member
/kernel/linux/linux-5.10/Documentation/driver-api/
Deisa.rst62 int bus_nr; /* Set by eisa_root_register */
74 bus_nr unique bus id, set by eisa_root_register
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch38582 - int bus_nr;
38603 - bus_nr = of_alias_get_id(np, "i2c");
38618 - if (bus_nr < 0) {
38624 - value = BIT(27 + bus_nr) | BIT(11 + bus_nr);
38631 + int bus_nr;
38634 + bus_nr = of_alias_get_id(np, "i2c");
38635 + if (bus_nr < 0) {
38640 + if (i2c->soc_data == &rv1108_soc_data && bus_nr == 2)
38644 + bus_nr == 2)
38649 + value = BIT(27 + bus_nr) | BIT(11 + bus_nr);