/external/syslinux/gpxe/src/drivers/bus/ |
D | pci.c | 55 static unsigned long pci_bar ( struct pci_device *pci, unsigned int reg ) { in pci_bar() argument 59 pci_read_config_dword ( pci, reg, &low ); in pci_bar() 62 pci_read_config_dword ( pci, reg + 4, &high ); in pci_bar() 90 unsigned long pci_bar_start ( struct pci_device *pci, unsigned int reg ) { in pci_bar_start() argument 93 bar = pci_bar ( pci, reg ); in pci_bar_start() 114 static void pci_read_bases ( struct pci_device *pci ) { in pci_read_bases() argument 119 bar = pci_bar ( pci, reg ); in pci_read_bases() 121 if ( ! pci->ioaddr ) in pci_read_bases() 122 pci->ioaddr = in pci_read_bases() 125 if ( ! pci->membase ) in pci_read_bases() [all …]
|
D | pciextra.c | 18 int pci_find_capability ( struct pci_device *pci, int cap ) { in pci_find_capability() argument 24 pci_read_config_word ( pci, PCI_STATUS, &status ); in pci_find_capability() 28 pci_read_config_byte ( pci, PCI_HEADER_TYPE, &hdr_type ); in pci_find_capability() 33 pci_read_config_byte ( pci, PCI_CAPABILITY_LIST, &pos ); in pci_find_capability() 36 pci_read_config_byte ( pci, PCI_CB_CAPABILITY_LIST, &pos ); in pci_find_capability() 41 pci_read_config_byte ( pci, pos + PCI_CAP_LIST_ID, &id ); in pci_find_capability() 47 pci_read_config_byte ( pci, pos + PCI_CAP_LIST_NEXT, &pos ); in pci_find_capability() 62 unsigned long pci_bar_size ( struct pci_device *pci, unsigned int reg ) { in pci_bar_size() argument 67 pci_read_config_word ( pci, PCI_COMMAND, &cmd ); in pci_bar_size() 69 pci_read_config_dword ( pci, reg, &start ); in pci_bar_size() [all …]
|
D | pcibackup.c | 39 pci_backup_excluded ( struct pci_device *pci, unsigned int offset, in pci_backup_excluded() argument 46 DBGC ( pci, "PCI %p skipping configuration offset " in pci_backup_excluded() 47 "%02x\n", pci, offset ); in pci_backup_excluded() 61 void pci_backup ( struct pci_device *pci, struct pci_config_backup *backup, in pci_backup() argument 68 if ( ! pci_backup_excluded ( pci, offset, exclude ) ) in pci_backup() 69 pci_read_config_dword ( pci, offset, dword ); in pci_backup() 80 void pci_restore ( struct pci_device *pci, struct pci_config_backup *backup, in pci_restore() argument 87 if ( ! pci_backup_excluded ( pci, offset, exclude ) ) in pci_restore() 88 pci_write_config_dword ( pci, offset, *dword ); in pci_restore()
|
/external/kmod/testsuite/rootfs-pristine/test-depmod/modules-order-compressed/lib/modules/4.4.4/ |
D | correct-modules.alias | 2 alias pci:v0000103Cd00003230sv0000103Csd0000323Dbc*sc*i* cciss 3 alias pci:v0000103Cd00003230sv0000103Csd00003237bc*sc*i* cciss 4 alias pci:v0000103Cd00003238sv0000103Csd00003215bc*sc*i* cciss 5 alias pci:v0000103Cd00003238sv0000103Csd00003214bc*sc*i* cciss 6 alias pci:v0000103Cd00003238sv0000103Csd00003213bc*sc*i* cciss 7 alias pci:v0000103Cd00003238sv0000103Csd00003212bc*sc*i* cciss 8 alias pci:v0000103Cd00003238sv0000103Csd00003211bc*sc*i* cciss 9 alias pci:v0000103Cd00003230sv0000103Csd00003235bc*sc*i* cciss 10 alias pci:v0000103Cd00003230sv0000103Csd00003234bc*sc*i* cciss 11 alias pci:v0000103Cd00003230sv0000103Csd00003223bc*sc*i* cciss [all …]
|
/external/syslinux/gpxe/src/arch/i386/drivers/net/ |
D | undi.c | 47 static struct undi_rom * undipci_find_rom ( struct pci_device *pci ) { in undipci_find_rom() argument 51 rombase = pci_bar_start ( pci, PCI_ROM_ADDRESS ); in undipci_find_rom() 52 undirom = undirom_find_pci ( pci->vendor, pci->device, rombase ); in undipci_find_rom() 54 undirom = undirom_find_pci ( pci->vendor, pci->device, 0 ); in undipci_find_rom() 65 static int undipci_probe ( struct pci_device *pci, in undipci_probe() argument 69 unsigned int busdevfn = PCI_BUSDEVFN ( pci->bus, pci->devfn ); in undipci_probe() 73 if ( PCI_BASE_CLASS ( pci->class ) != PCI_BASE_CLASS_NETWORK ) in undipci_probe() 80 pci_set_drvdata ( pci, undi ); in undipci_probe() 90 if ( ! ( undirom = undipci_find_rom ( pci ) ) ) { in undipci_probe() 102 "UNDI-%s", pci->dev.name ); in undipci_probe() [all …]
|
D | undirom.c | 105 undirom->bus_id.pci.vendor_id = pcir_header.vendor_id; in undirom_parse_pcirheader() 106 undirom->bus_id.pci.device_id = pcir_header.device_id; in undirom_parse_pcirheader() 109 undirom->bus_id.pci.vendor_id, undirom->bus_id.pci.device_id ); in undirom_parse_pcirheader() 220 if ( undirom->bus_id.pci.vendor_id != vendor_id ) in undirom_find_pci() 222 if ( undirom->bus_id.pci.device_id != device_id ) in undirom_find_pci()
|
/external/syslinux/gpxe/src/util/ |
D | disrom.pl | 48 my $pci = $rom->pci_header(); 49 if ( $pci ) { 51 printf " %-16s %s\n", "Signature:", $pci->{signature}; 52 printf " %-16s 0x%04x\n", "Vendor ID:", $pci->{vendor_id}; 53 printf " %-16s 0x%04x\n", "Device ID:", $pci->{device_id}; 55 $pci->{base_class}, $pci->{sub_class}, $pci->{prog_intf}; 57 $pci->{image_length}, ( $pci->{image_length} * 512 ); 59 $pci->{runtime_length}, ( $pci->{runtime_length} * 512 ); 60 if ( exists $pci->{conf_header} ) { 61 printf " %-16s 0x%04x\n", "Config header:", $pci->{conf_header}; [all …]
|
D | efirom.c | 114 PCI_DATA_STRUCTURE pci __attribute__ (( aligned ( 4 ) )); in make_efi_rom() member 155 offsetof ( typeof ( *headers ), pci ); in make_efi_rom() 156 headers->pci.Signature = PCI_DATA_STRUCTURE_SIGNATURE; in make_efi_rom() 157 headers->pci.VendorId = opts->vendor; in make_efi_rom() 158 headers->pci.DeviceId = opts->device; in make_efi_rom() 159 headers->pci.Length = sizeof ( headers->pci ); in make_efi_rom() 160 headers->pci.ClassCode[0] = PCI_CLASS_NETWORK; in make_efi_rom() 161 headers->pci.ImageLength = ( rom_size / 512 ); in make_efi_rom() 162 headers->pci.CodeType = 0x03; /* No constant in EFI headers? */ in make_efi_rom() 163 headers->pci.Indicator = 0x80; /* No constant in EFI headers? */ in make_efi_rom()
|
D | swapdevids.pl | 38 ($pci, $pnp) = unpack('v2', substr($data, 0x18, 4)); 39 ($pci < $len and $pnp < $len) or die "$file: Not a PCI PnP ROM image\n"; 40 (substr($data, $pci, 4) eq 'PCIR' and substr($data, $pnp, 4) eq '$PnP') 42 &swaplocs(\$data, $pci+13, $pci+15); 47 print "PCI devids now: ", &printdevids(\$data, $pci+13), "\n";
|
D | catrom.pl | 32 ( my $pci ) = unpack ( 'v', substr ( $romdata, PCI_OFF, 2 ) ); 34 if $pci >= $len; 36 unless substr ( $romdata, $pci, 4 ) eq "PCIR"; 39 unpack ( 'C', substr ( $romdata, $pci + INDICATOR_OFF, 1 ) ); 44 substr ( $romdata, $pci + INDICATOR_OFF, 1 ) = pack ( 'C', $indicator );
|
/external/syslinux/gpxe/src/interface/efi/ |
D | efi_pci.c | 36 static unsigned long efipci_address ( struct pci_device *pci, in efipci_address() argument 38 return EFI_PCI_ADDRESS ( pci->bus, PCI_SLOT ( pci->devfn ), in efipci_address() 39 PCI_FUNC ( pci->devfn ), in efipci_address() 43 int efipci_read ( struct pci_device *pci, unsigned long location, in efipci_read() argument 48 efipci_address ( pci, location ), 1, in efipci_read() 51 "failed: %s\n", pci->bus, PCI_SLOT ( pci->devfn ), in efipci_read() 52 PCI_FUNC ( pci->devfn ), EFIPCI_OFFSET ( location ), in efipci_read() 60 int efipci_write ( struct pci_device *pci, unsigned long location, in efipci_write() argument 65 efipci_address ( pci, location ), 1, in efipci_write() 68 "failed: %s\n", pci->bus, PCI_SLOT ( pci->devfn ), in efipci_write() [all …]
|
/external/blktrace/ |
D | blkparse.c | 346 struct per_cpu_info *pci = &pdi->cpus[new_count]; in resize_cpu_info() local 348 if (!pci->fd) { in resize_cpu_info() 349 pci->fd = -1; in resize_cpu_info() 350 memset(&pci->rb_last, 0, sizeof(pci->rb_last)); in resize_cpu_info() 351 pci->rb_last_entries = 0; in resize_cpu_info() 352 pci->last_sequence = -1; in resize_cpu_info() 359 struct per_cpu_info *pci; in get_cpu_info() local 364 pci = &pdi->cpus[cpu]; in get_cpu_info() 365 pci->cpu = cpu; in get_cpu_info() 366 return pci; in get_cpu_info() [all …]
|
/external/syslinux/gpxe/src/include/gpxe/efi/ |
D | efi_pci.h | 30 extern int efipci_read ( struct pci_device *pci, unsigned long location, 32 extern int efipci_write ( struct pci_device *pci, unsigned long location, 55 PCIAPI_INLINE ( efi, pci_read_config_byte ) ( struct pci_device *pci, in PCIAPI_INLINE() 58 return efipci_read ( pci, in PCIAPI_INLINE() 72 PCIAPI_INLINE ( efi, pci_read_config_word ) ( struct pci_device *pci, in PCIAPI_INLINE() 75 return efipci_read ( pci, in PCIAPI_INLINE() 89 PCIAPI_INLINE ( efi, pci_read_config_dword ) ( struct pci_device *pci, in PCIAPI_INLINE() 92 return efipci_read ( pci, in PCIAPI_INLINE() 106 PCIAPI_INLINE ( efi, pci_write_config_byte ) ( struct pci_device *pci, in PCIAPI_INLINE() 109 return efipci_write ( pci, in PCIAPI_INLINE() [all …]
|
/external/syslinux/gpxe/src/arch/x86/include/gpxe/ |
D | pcibios.h | 30 extern int pcibios_read ( struct pci_device *pci, uint32_t command, 32 extern int pcibios_write ( struct pci_device *pci, uint32_t command, 44 PCIAPI_INLINE ( pcbios, pci_read_config_byte ) ( struct pci_device *pci, in PCIAPI_INLINE() 50 rc = pcibios_read ( pci, PCIBIOS_READ_CONFIG_BYTE | where, &tmp ); in PCIAPI_INLINE() 64 PCIAPI_INLINE ( pcbios, pci_read_config_word ) ( struct pci_device *pci, in PCIAPI_INLINE() 70 rc = pcibios_read ( pci, PCIBIOS_READ_CONFIG_WORD | where, &tmp ); in PCIAPI_INLINE() 84 PCIAPI_INLINE ( pcbios, pci_read_config_dword ) ( struct pci_device *pci, in PCIAPI_INLINE() 87 return pcibios_read ( pci, PCIBIOS_READ_CONFIG_DWORD | where, value ); in PCIAPI_INLINE() 99 PCIAPI_INLINE ( pcbios, pci_write_config_byte ) ( struct pci_device *pci, in PCIAPI_INLINE() 102 return pcibios_write ( pci, PCIBIOS_WRITE_CONFIG_BYTE | where, value ); in PCIAPI_INLINE() [all …]
|
D | pcidirect.h | 26 extern void pcidirect_prepare ( struct pci_device *pci, int where ); 48 PCIAPI_INLINE ( direct, pci_read_config_byte ) ( struct pci_device *pci, in PCIAPI_INLINE() 51 pcidirect_prepare ( pci, where ); in PCIAPI_INLINE() 65 PCIAPI_INLINE ( direct, pci_read_config_word ) ( struct pci_device *pci, in PCIAPI_INLINE() 68 pcidirect_prepare ( pci, where ); in PCIAPI_INLINE() 82 PCIAPI_INLINE ( direct, pci_read_config_dword ) ( struct pci_device *pci, in PCIAPI_INLINE() 85 pcidirect_prepare ( pci, where ); in PCIAPI_INLINE() 99 PCIAPI_INLINE ( direct, pci_write_config_byte ) ( struct pci_device *pci, in PCIAPI_INLINE() 102 pcidirect_prepare ( pci, where ); in PCIAPI_INLINE() 116 PCIAPI_INLINE ( direct, pci_write_config_word ) ( struct pci_device *pci, in PCIAPI_INLINE() [all …]
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_pci.c | 64 static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *pci, in i2r_pci() argument 68 if (pci->pcPathLengthConstraint) in i2r_pci() 69 i2a_ASN1_INTEGER(out, pci->pcPathLengthConstraint); in i2r_pci() 74 i2a_ASN1_OBJECT(out, pci->proxyPolicy->policyLanguage); in i2r_pci() 76 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data) in i2r_pci() 78 pci->proxyPolicy->policy->data); in i2r_pci() 199 PROXY_CERT_INFO_EXTENSION *pci = NULL; in r2i_pci() local 254 pci = PROXY_CERT_INFO_EXTENSION_new(); in r2i_pci() 255 if (!pci) { in r2i_pci() 260 pci->proxyPolicy->policyLanguage = language; in r2i_pci() [all …]
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | pci_io.h | 66 int pci_read_config_byte ( struct pci_device *pci, unsigned int where, 77 int pci_read_config_word ( struct pci_device *pci, unsigned int where, 88 int pci_read_config_dword ( struct pci_device *pci, unsigned int where, 99 int pci_write_config_byte ( struct pci_device *pci, unsigned int where, 110 int pci_write_config_word ( struct pci_device *pci, unsigned int where, 121 int pci_write_config_dword ( struct pci_device *pci, unsigned int where,
|
D | pci.h | 333 int ( * probe ) ( struct pci_device *pci, 340 void ( * remove ) ( struct pci_device *pci ); 376 extern void adjust_pci_device ( struct pci_device *pci ); 377 extern unsigned long pci_bar_start ( struct pci_device *pci, 379 extern int pci_find_capability ( struct pci_device *pci, int capability ); 380 extern unsigned long pci_bar_size ( struct pci_device *pci, unsigned int reg ); 388 static inline void pci_set_drvdata ( struct pci_device *pci, void *priv ) { in pci_set_drvdata() argument 389 pci->priv = priv; in pci_set_drvdata() 398 static inline void * pci_get_drvdata ( struct pci_device *pci ) { in pci_get_drvdata() argument 399 return pci->priv; in pci_get_drvdata()
|
/external/libdrm/tests/ |
D | drmdevice.c | 49 printf("\t\t\tdomain\t%04x\n",device->businfo.pci->domain); in print_device_info() 50 printf("\t\t\tbus\t%02x\n", device->businfo.pci->bus); in print_device_info() 51 printf("\t\t\tdev\t%02x\n", device->businfo.pci->dev); in print_device_info() 52 printf("\t\t\tfunc\t%1u\n", device->businfo.pci->func); in print_device_info() 56 printf("\t\t\tvendor_id\t%04x\n", device->deviceinfo.pci->vendor_id); in print_device_info() 57 printf("\t\t\tdevice_id\t%04x\n", device->deviceinfo.pci->device_id); in print_device_info() 58 printf("\t\t\tsubvendor_id\t%04x\n", device->deviceinfo.pci->subvendor_id); in print_device_info() 59 printf("\t\t\tsubdevice_id\t%04x\n", device->deviceinfo.pci->subdevice_id); in print_device_info() 61 printf("\t\t\trevision_id\t%02x\n", device->deviceinfo.pci->revision_id); in print_device_info()
|
/external/libdrm/tests/amdgpu/ |
D | amdgpu_test.c | 156 if (devices[i]->deviceinfo.pci->vendor_id != 0x1002) in amdgpu_open_devices() 241 device->businfo.pci->domain); in amdgpu_print_devices() 243 device->businfo.pci->bus); in amdgpu_print_devices() 245 device->businfo.pci->dev); in amdgpu_print_devices() 247 device->businfo.pci->func); in amdgpu_print_devices() 249 device->deviceinfo.pci->vendor_id); in amdgpu_print_devices() 251 device->deviceinfo.pci->device_id); in amdgpu_print_devices() 253 device->deviceinfo.pci->subvendor_id); in amdgpu_print_devices() 255 device->deviceinfo.pci->subdevice_id); in amdgpu_print_devices() 257 device->deviceinfo.pci->revision_id); in amdgpu_print_devices() [all …]
|
/external/syslinux/gpxe/src/arch/i386/interface/pcbios/ |
D | pcibios.c | 62 int pcibios_read ( struct pci_device *pci, uint32_t command, uint32_t *value ){ in pcibios_read() argument 76 "b" ( PCI_BUSDEVFN ( pci->bus, pci->devfn ) ) in pcibios_read() 90 int pcibios_write ( struct pci_device *pci, uint32_t command, uint32_t value ){ in pcibios_write() argument 102 "b" ( PCI_BUSDEVFN ( pci->bus, pci->devfn ) ), in pcibios_write()
|
/external/syslinux/com32/lib/ |
D | Makefile | 41 pci/cfgtype.o pci/scan.o pci/bios.o \ 42 pci/readb.o pci/readw.o pci/readl.o \ 43 pci/writeb.o pci/writew.o pci/writel.o
|
/external/syslinux/gpxe/src/drivers/net/ |
D | prism2_pci.c | 25 static int prism2_pci_probe ( struct nic *nic, struct pci_device *pci ) { in prism2_pci_probe() argument 28 printf ( "Prism2.5 has registers at %#lx\n", pci->membase ); in prism2_pci_probe() 29 hw->membase = ioremap ( pci->membase, 0x100 ); in prism2_pci_probe() 31 nic->ioaddr = pci->membase; in prism2_pci_probe()
|
D | myri10ge.c | 400 static int mac_address_from_string_specs ( struct pci_device *pci, in mac_address_from_string_specs() argument 413 vs = pci_find_capability ( pci, 9 ); in mac_address_from_string_specs() 421 pci_write_config_byte ( pci, VS_MODE, VS_MODE_LOCATE ); in mac_address_from_string_specs() 422 pci_write_config_dword ( pci, VS_ADDR, VS_LOCATE_STRING_SPECS ); in mac_address_from_string_specs() 423 pci_read_config_dword ( pci, VS_ADDR, &addr ); in mac_address_from_string_specs() 424 pci_read_config_dword ( pci, VS_DATA, &len ); in mac_address_from_string_specs() 434 pci_write_config_byte ( pci, VS_MODE, VS_MODE_READ32 ); in mac_address_from_string_specs() 438 pci_write_config_byte ( pci, VS_ADDR, addr ); in mac_address_from_string_specs() 439 pci_read_config_dword ( pci, VS_DATA, &tmp ); in mac_address_from_string_specs() 446 pci_write_config_byte ( pci, VS_MODE, 0 ); in mac_address_from_string_specs() [all …]
|
/external/syslinux/com32/hdt/floppy/ |
D | hdt.cfg | 33 APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids quiet 42 APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids quiet nomenu vesa 51 APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids quiet nomenu 60 APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids quiet vesa nomenu a… 69 APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids vesa nomenu verbose 78 APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids verbose nomenu 87 APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids quiet vesa nomenu a… 96 APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids quiet vesa nomenu a… 106 APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids silent nomenu vesa …
|