Home
last modified time | relevance | path

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

/drivers/mcb/
Dmcb-core.c164 bus->bus_nr, device_id, dev->inst, dev->group, dev->var); in mcb_device_register()
169 device_id, bus->bus_nr, ret); in mcb_device_register()
189 int bus_nr; in mcb_alloc_bus() local
195 bus_nr = ida_simple_get(&mcb_ida, 0, 0, GFP_KERNEL); in mcb_alloc_bus()
196 if (bus_nr < 0) { in mcb_alloc_bus()
198 return ERR_PTR(bus_nr); in mcb_alloc_bus()
202 bus->bus_nr = bus_nr; in mcb_alloc_bus()
228 ida_simple_remove(&mcb_ida, bus->bus_nr); in mcb_release_bus()
/drivers/ipack/
Dipack.c212 int bus_nr; in ipack_bus_register() local
219 bus_nr = ida_simple_get(&ipack_ida, 0, 0, GFP_KERNEL); in ipack_bus_register()
220 if (bus_nr < 0) { in ipack_bus_register()
225 bus->bus_nr = bus_nr; in ipack_bus_register()
249 ida_simple_remove(&ipack_ida, bus->bus_nr); in ipack_bus_unregister()
440 "ipack-dev.%u.%u", dev->bus->bus_nr, dev->slot); in ipack_device_init()
/drivers/ipack/devices/
Dipoctal.c266 static int ipoctal_inst_slot(struct ipoctal *ipoctal, unsigned int bus_nr, in ipoctal_inst_slot() argument
287 bus_nr, slot); in ipoctal_inst_slot()
303 bus_nr, slot); in ipoctal_inst_slot()
314 bus_nr, slot); in ipoctal_inst_slot()
363 sprintf(name, KBUILD_MODNAME ".%d.%d.", bus_nr, slot); in ipoctal_inst_slot()
681 res = ipoctal_inst_slot(ipoctal, dev->bus->bus_nr, dev->slot); in ipoctal_probe()
/drivers/eisa/
Deisa-bus.c50 x = (root->bus_nr << 8) | edev->slot; in is_forced_dev()
213 dev_set_name(&edev->dev, "%02X:%02X", root->bus_nr, slot); in eisa_init_device()
321 dev_info(root->dev, "Probing EISA bus %d\n", root->bus_nr); in eisa_probe()
435 root->bus_nr = eisa_bus_count++; in eisa_root_register()
/drivers/i2c/busses/
Di2c-rk3x.c624 int bus_nr; in rk3x_i2c_probe() local
674 bus_nr = of_alias_get_id(np, "i2c"); in rk3x_i2c_probe()
690 if (bus_nr < 0) { in rk3x_i2c_probe()
696 value = BIT(27 + bus_nr) | BIT(11 + bus_nr); in rk3x_i2c_probe()
Di2c-stu300.c867 int bus_nr; in stu300_probe() local
874 bus_nr = pdev->id; in stu300_probe()
885 "base %p\n", bus_nr, dev->virtbase); in stu300_probe()
915 adap->nr = bus_nr; in stu300_probe()
/drivers/ipack/carriers/
Dtpci200.c67 dev->bus->bus_nr, dev->slot, TPCI200_NB_SLOT-1); in check_slot()
214 dev->bus->bus_nr, in tpci200_request_irq()
224 dev->bus->bus_nr, dev->slot); in tpci200_request_irq()
585 tpci200->number = tpci200->info->ipack_bus->bus_nr; in tpci200_pci_probe()
/drivers/scsi/sym53c8xx_2/
Dsym_nvram.h90 u_char bus_nr; /* PCI bus number */ member