/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | pci_io.c | 26 #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...] |
H A D | pci.c | 265 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 D | pci.h | 28 #define PCI_COMMAND_MASTER 0x4 /* Enable bus mastering */ 56 #define PCI_STATUS_66MHZ 0x20 /* Support 66 Mhz PCI 2.1 bus */ 113 #define PCI_INTERRUPT_PIN 0x3d /* IRQ pin on PCI bus (A-D) */ 116 #define PCI_PRIMARY_BUS 0x18 /* Primary bus number */ 117 #define PCI_SECONDARY_BUS 0x19 /* Secondary bus number */ 118 #define PCI_SUBORDINATE_BUS 0x1a /* Highest bus number behind the bridge */ 151 #define PCI_BRIDGE_CTL_BUS_RESET 0x40 /* Secondary bus reset */ 278 unsigned char bus; member in struct:pci_device 286 extern int pcibios_read_config_byte(unsigned int bus, unsigned int device_fn, unsigned int where, uint8_t *value); 287 extern int pcibios_write_config_byte (unsigned int bus, unsigne [all...] |
/osnet-11/usr/src/cmd/hal/utils/ |
H A D | adt_data.h | 19 adt_export_data_t *get_audit_export_data(DBusConnection *bus, const char *invoked_by_syscon_name, size_t *data_size);
|
H A D | adt_data.c | 23 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/grub/grub2/include/grub/ |
H A D | scsi.h | 46 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 D | ata.h | 197 int (*iterate) (int (*hook) (int id, int bus), 201 grub_err_t (*open) (int id, int bus, struct grub_ata *scsi);
|
H A D | pci.h | 94 int bus; member in struct:grub_pci_device 102 return dev.bus;
|
H A D | pciutils.h | 29 return dev->bus;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Attribute/Handlers/demo/ |
H A D | demo3.pl | 15 my %y :Good(q/bye) :Omni(q/bus/);
|
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/emu/ |
H A D | usb.c | 44 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/bus/ |
H A D | pci.c | 86 return (1 << 31) | (dev.bus << 16) | (dev.device << 11) 98 for (dev.bus = 0; dev.bus < GRUB_PCI_NUM_BUS; dev.bus++)
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | bus.c | 63 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...] |
/osnet-11/usr/src/grub/grub2/grub-core/disk/ |
H A D | ata.c | 362 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...] |
H A D | scsi.c | 333 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...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4/hostbridge/ |
H A D | hb_sun4.c | 302 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/grub-0.97/stage2/ |
H A D | smp-imps.c | 134 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/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 75 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...] |
/osnet-11/usr/src/lib/libdiskmgt/ |
H A D | Makefile.com | 30 bus.o inuse_mnt.o inuse_svm.o inuse_lu.o inuse_fs.o \
|
/osnet-11/usr/src/grub/grub2/grub-core/bus/emu/ |
H A D | pci.c | 41 slot.bus = PCI_MATCH_ANY;
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/efi/ |
H A D | loadbios.c | 47 grub_pci_device_t dev = { .bus = 0, .device = 0, .function = 0}; 81 grub_pci_device_t dev = { .bus = 0, .device = 0, .function = 0};
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Digest/MD5/ |
H A D | Makefile.PL | 84 /* program is expected to die with a bus error/seg fault for */
|
/osnet-11/usr/src/lib/fm/topo/modules/common/hostbridge/ |
H A D | hostbridge.c | 326 int bus; local 343 did_BDF(didp, &bus, NULL, NULL); 345 hb, PCI_BUS, PCI_BUS, bus, bus, didp) != 0) {
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | setpci.c | 71 {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/lib/libprtdiag/common/ |
H A D | display_sun4v.c | 195 static uint32_t read_long(int fd, int bus, int dev, int func, 197 static uint8_t read_byte(int fd, int bus, int dev, int func, int offset, 199 static uint16_t read_word(int fd, int bus, int dev, int func, int offset, 284 * The binding-name property encodes the bus type. 305 * be part of a bus type. This may get confused a bit 307 * the bus class since there's no delimiter. If the 309 * this will become part of the bus type string 311 * print something potentially useful for bus types 648 * the bus type of the IO slot and not the leaf, which 754 * so that bus frequenc 2311 read_long(int fd, int bus, int dev, int func, int offset, int *ret) argument 2334 read_word(int fd, int bus, int dev, int func, int offset, int *ret) argument 2357 read_byte(int fd, int bus, int dev, int func, int offset, int *ret) argument 2381 get_lane_width(char *device_path, int bus, int dev, int func, int *cur_link_width, int *cur_speed, uint32_t *speed_max, uint32_t *speed_at, int *type) argument [all...] |