Searched defs:bus (Results 1 - 25 of 32) sorted by relevance

12

/osnet-11/usr/src/cmd/hal/utils/
H A Dadt_data.c23 get_audit_export_data(DBusConnection *bus, const char *invoked_by_syscon_name, size_t *data_size) argument
49 reply = dbus_connection_send_with_reply_and_block (bus,
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dbus.c63 bp = dp->p.bus;
96 descriptor_t *bus = NULL; local
104 if (libdiskmgt_str_eq(name, buses[i]->p.bus->name)) {
105 bus = buses[i];
113 if (bus == NULL) {
117 return (bus);
130 return (desc->p.bus->name);
171 bp = desc->p.bus;
191 * Get this buses parent bus and get the buses that I am the parent of.
195 if (libdiskmgt_str_eq(name, allbuses[i]->p.bus
[all...]
H A Ddisks_private.h96 struct bus_info *bus; member in struct:controller_info
125 bus_t *bus; member in union:descriptor::__anon1550
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/emu/
H A Dusb.c44 struct usb_bus *bus;
49 for (bus = busses; bus; bus = bus->next)
54 for (usbdev = bus->devices; usbdev; usbdev = usbdev->next)
43 struct usb_bus *bus; local
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dsetpci.c71 {0, 's', 0, N_("Select device by its position on the bus."),
72 N_("[bus]:[slot][.func]"), ARG_TYPE_STRING},
79 static int bus, device, function; variable
95 if (check_bus && grub_pci_get_bus (dev) != bus)
202 bus = grub_strtoul (ptr, (char **) &ptr, 16);
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dscsi.h46 grub_make_scsi_id (int subsystem, int bus, int lun) argument
49 | (bus << GRUB_SCSI_ID_BUS_SHIFT) | (lun << GRUB_SCSI_ID_LUN_SHIFT);
55 int (*iterate) (int NESTED_FUNC_ATTR (*hook) (int id, int bus, int luns),
59 grub_err_t (*open) (int id, int bus, struct grub_scsi *scsi);
86 int bus; member in struct:grub_scsi
H A Dpci.h94 int bus; member in struct:grub_pci_device
102 return dev.bus;
H A Dacpi.h100 grub_uint8_t bus; member in struct:grub_acpi_madt_entry_interrupt_override
/osnet-11/usr/src/lib/fm/topo/modules/common/hostbridge/
H A Dhostbridge.c326 int bus; local
343 did_BDF(didp, &bus, NULL, NULL);
345 hb, PCI_BUS, PCI_BUS, bus, bus, didp) != 0) {
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_labels.c148 * Do a platform specific label lookup based on bus, dev, etc.
154 int board, bridge, rc, bus, dev; local
163 did_BDF(dp, &bus, &dev, NULL);
166 "board=%d, bridge=%d, rc=%d, bus=%d, dev=%d\n",
167 __func__, platform, board, bridge, rc, bus, dev);
183 (m.dl_bus == -1 || m.dl_bus == bus) &&
423 * If it's not a device or a PCI-express bus (which could potentially
H A Ddid.c291 * We must have a reg prop and from it we extract the bus #,
456 did_BDF(did_t *dp, int *bus, int *dev, int *fn) argument
459 if (bus != NULL)
460 *bus = dp->dp_bus;
553 pci_BDF_get(topo_mod_t *mp, di_node_t dn, int *bus, int *dev, int *fn) argument
559 *bus = dp->dp_bus;
H A Dpcibus.c142 hostbridge_asdevice(topo_mod_t *mod, tnode_t *bus) argument
147 di = topo_node_getspecific(bus);
150 if ((dev32 = pcidev_declare(mod, bus, di, 32)) == NULL)
296 * We can expect to find pci-express devices beneath the bus
388 * We can expect to find pci devices beneath the bus
395 * On each bus child of the hostbridge, we represent the
428 declare_dev_and_fn(topo_mod_t *mod, tnode_t *bus, tnode_t **dev, di_node_t din, argument
440 *dev = pciexdev_declare(mod, bus, din, devno);
442 *dev = pcidev_declare(mod, bus, din, devno);
495 * Is this an adapter card? Check the bus'
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
H A Dx86pi_bay.c68 uint8_t bus, dev_funct; local
88 bus = slot.smbl_bus;
93 bus = ob.smboe_bus;
100 topo_mod_dprintf(mod, "%s: %s: bus(0x%02x) dev/func(0x%02x)\n", f,
101 devt == SMB_TYPE_SLOT ? "slot" : "ob dev", bus, dev_funct);
103 *bdf = BDF(bus, dev_funct);
/osnet-11/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.c302 int br, bus; local
310 br = bus = 0;
316 did_create(mod, p->br_din, 0, br, NO_RC, bus)) == NULL) {
322 hb[br] = hb_process(mod, ptn, br, bus, p->br_din, link);
330 hb[br], PCI_BUS, PCI_BUS, bus, bus, link) < 0) {
338 bus++;
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dpata.c493 grub_pata_iterate (int (*hook) (int id, int bus), argument
H A Dscsi.c333 auto int NESTED_FUNC_ATTR scsi_iterate (int id, int bus, int luns);
335 int NESTED_FUNC_ATTR scsi_iterate (int id, int bus, int luns)
344 sname = grub_xasprintf ("%s%d", grub_scsi_names[id], bus);
358 sname = grub_xasprintf ("%s%d%c", grub_scsi_names[id], bus, 'a' + i);
382 int lun, bus;
404 bus = grub_strtoul (nameend + 1, 0, 0);
422 if (p->open (id, bus, scsi))
428 disk->id = grub_make_scsi_id (id, bus, lun);
432 scsi->bus = bus;
332 scsi_iterate(int id, int bus, int luns) argument
379 int lun, bus; local
[all...]
H A Dusbms.c215 grub_usbms_iterate (int NESTED_FUNC_ATTR (*hook) (int id, int bus, int luns),
214 grub_usbms_iterate(int NESTED_FUNC_ATTR (*hook) (int id, int bus, int luns), grub_disk_pull_t pull) argument
H A Data.c362 grub_ata_real_open (int id, int bus)
373 if (p->open (id, bus, ata))
397 auto int hook (int id, int bus); argument
398 int hook (int id, int bus)
404 ata = grub_ata_real_open (id, bus);
417 "%s%d", grub_scsi_names[id], bus);
434 unsigned id, bus;
444 bus = grub_strtoul (name + grub_strlen (grub_scsi_names[id]), 0, 0);
445 ata = grub_ata_real_open (id, bus);
455 disk->id = grub_make_scsi_id (id, bus,
361 grub_ata_real_open(int id, int bus) argument
433 unsigned id, bus; local
544 grub_atapi_open(int id, int bus, struct grub_scsi *scsi) argument
562 grub_atapi_iterate(int NESTED_FUNC_ATTR (*hook_in) (int id, int bus, int luns), grub_disk_pull_t pull) argument
566 hook(int id, int bus) argument
[all...]
/osnet-11/usr/src/grub/grub2/util/ieee1275/
H A Dofpath.c328 int host, bus, tgt, lun; local
337 sscanf(p, "%d:%d:%d:%d", &host, &bus, &tgt, &lun);
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dpci.c265 unsigned int devfn, bus, buses; local
278 first_bus = dev->bus;
284 dev->bus = 0;
295 for (bus = first_bus; bus < buses; ++bus) {
298 pcibios_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type);
301 pcibios_read_config_dword(bus, devfn, PCI_VENDOR_ID, &l);
309 pcibios_read_config_dword(bus, devfn, PCI_REVISION, &l);
315 bus, PCI_SLO
[all...]
H A Dpci_io.c26 #define CONFIG_CMD(bus, device_fn, where) (0x80000000 | (bus << 16) | (device_fn << 8) | (where & ~3))
28 int pcibios_read_config_byte(unsigned int bus, unsigned int device_fn, argument
31 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
36 int pcibios_read_config_word (unsigned int bus, argument
39 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
44 int pcibios_read_config_dword (unsigned int bus, unsigned int device_fn, argument
47 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
52 int pcibios_write_config_byte (unsigned int bus, unsigned int device_fn, argument
55 outl(CONFIG_CMD(bus,device_f
60 pcibios_write_config_word(unsigned int bus, unsigned int device_fn, unsigned int where, uint16_t value) argument
68 pcibios_write_config_dword(unsigned int bus, unsigned int device_fn, unsigned int where, uint32_t value) argument
144 pcibios_read_config_byte(unsigned int bus, unsigned int device_fn, unsigned int where, uint8_t *value) argument
171 pcibios_read_config_word(unsigned int bus, unsigned int device_fn, unsigned int where, uint16_t *value) argument
198 pcibios_read_config_dword(unsigned int bus, unsigned int device_fn, unsigned int where, uint32_t *value) argument
225 pcibios_write_config_byte(unsigned int bus, unsigned int device_fn, unsigned int where, uint8_t value) argument
252 pcibios_write_config_word(unsigned int bus, unsigned int device_fn, unsigned int where, uint16_t value) argument
279 pcibios_write_config_dword(unsigned int bus, unsigned int device_fn, unsigned int where, uint32_t value) argument
[all...]
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dsmp-imps.c134 imps_bus bus[2]; member in struct:__anon344
399 add_bus (imps_bus * bus) argument
403 memmove (str, bus->bus_type, 6);
405 KERNEL_PRINT ((" Bus id %d is %s\n", bus->id, str));
598 memcpy (defconfig.bus[0].bus_type, "ISA ", 6);
603 memcpy (defconfig.bus[0].bus_type, "MCA ", 6);
609 defconfig.bus[1].type = IMPS_BCT_BUS;
/osnet-11/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c318 char *bus; local
331 if ((bus = getenv ("HAL_PROP_STORAGE_BUS")) == NULL)
362 printf ("Doing addon-storage for %s (bus %s) (drive_type %s) (udi %s)\n", device_file, bus, drive_type, udi);
/osnet-11/usr/src/lib/libprtdiag/common/
H A Dio.c61 find_pci_bus(Prom_node *node, int id, int bus) argument
76 (tmp_bus == bus)) {
88 * Determines the PCI bus, either A (0) or B (1). If the function cannot
89 * find the bus-ranges property, it returns -1.
96 /* look up the bus-range property */
97 if ((value = (int *)get_prop_val(find_prop(pnode, "bus-range"))) ==
103 return (1); /* B bus has a bus-range value = 0 */
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c75 static uint32_t read_long(int fd, int bus, int dev, int func,
77 static uint8_t read_byte(int fd, int bus, int dev, int func, int offset,
79 static uint16_t read_word(int fd, int bus, int dev, int func, int offset,
189 * Get bus#, dev# and func# for this card from 'reg' property.
228 * Set bus_type to PCI_UNKN so that bus frequency,
229 * bus type and lane width will print as "--" or UNKN.
572 read_long(int fd, int bus, int dev, int func, int offset, int *ret) argument
581 prg.bus_no = bus;
588 log_printf("%d.%d.%d offset 0x%x\n", bus, dev, func, offset);
595 read_word(int fd, int bus, in argument
618 read_byte(int fd, int bus, int dev, int func, int offset, int *ret) argument
642 get_lane_width(char *device_path, int bus, int dev, int func, int *actual, int *maximum, uint32_t *speed_max, uint32_t *speed_at, int *type) argument
[all...]

Completed in 82 milliseconds

12