Searched defs:pci (Results 1 - 25 of 59) sorted by relevance

123

/external/syslinux/gpxe/src/arch/x86/core/
H A Dpcidirect.c22 #include <gpxe/pci.h>
33 * @v pci PCI device
36 void pcidirect_prepare ( struct pci_device *pci, int where ) { argument
37 outl ( ( 0x80000000 | ( pci->bus << 16 ) | ( pci->devfn << 8 ) |
/external/syslinux/gpxe/src/drivers/bus/
H A Dpcibackup.c22 #include <gpxe/pci.h>
34 * @v pci PCI device
39 pci_backup_excluded ( struct pci_device *pci, unsigned int offset, argument
46 DBGC ( pci, "PCI %p skipping configuration offset "
47 "%02x\n", pci, offset );
57 * @v pci PCI device
61 void pci_backup ( struct pci_device *pci, struct pci_config_backup *backup, argument
68 if ( ! pci_backup_excluded ( pci, offset, exclude ) )
69 pci_read_config_dword ( pci, offset, dword );
76 * @v pci PC
80 pci_restore( struct pci_device *pci, struct pci_config_backup *backup, const uint8_t *exclude ) argument
[all...]
H A Dpciextra.c4 #include <gpxe/pci.h>
9 * @v pci PCI device to query
18 int pci_find_capability ( struct pci_device *pci, int cap ) { argument
24 pci_read_config_word ( pci, PCI_STATUS, &status );
28 pci_read_config_byte ( pci, PCI_HEADER_TYPE, &hdr_type );
33 pci_read_config_byte ( pci, PCI_CAPABILITY_LIST, &pos );
36 pci_read_config_byte ( pci, PCI_CB_CAPABILITY_LIST, &pos );
41 pci_read_config_byte ( pci, pos + PCI_CAP_LIST_ID, &id );
47 pci_read_config_byte ( pci, pos + PCI_CAP_LIST_NEXT, &pos );
55 * @v pci PC
62 pci_bar_size( struct pci_device *pci, unsigned int reg ) argument
[all...]
H A Dpci.c4 * Based in part on pci.c from Etherboot 5.4, by Ken Yap and David
31 #include <gpxe/pci.h>
44 * @v pci PCI device
55 static unsigned long pci_bar ( struct pci_device *pci, unsigned int reg ) { argument
59 pci_read_config_dword ( pci, reg, &low );
62 pci_read_config_dword ( pci, reg + 4, &high );
79 * @v pci PCI device
90 unsigned long pci_bar_start ( struct pci_device *pci, unsigned int reg ) { argument
93 bar = pci_bar ( pci, reg );
104 * @v pci PC
232 struct pci_device *pci = NULL; local
320 struct pci_device *pci; local
[all...]
/external/syslinux/gpxe/src/interface/efi/
H A Defi_pci.c22 #include <gpxe/pci.h>
36 static unsigned long efipci_address ( struct pci_device *pci, argument
38 return EFI_PCI_ADDRESS ( pci->bus, PCI_SLOT ( pci->devfn ),
39 PCI_FUNC ( pci->devfn ),
43 int efipci_read ( struct pci_device *pci, unsigned long location, argument
48 efipci_address ( pci, location ), 1,
51 "failed: %s\n", pci->bus, PCI_SLOT ( pci->devfn ),
52 PCI_FUNC ( pci
60 efipci_write( struct pci_device *pci, unsigned long location, unsigned long value ) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/pipe-loader/
H A Dpipe_loader.h63 } pci; member in union:pipe_loader_device::__anon14824
/external/syslinux/gpxe/src/arch/i386/drivers/net/
H A Dundi.c25 #include <gpxe/pci.h>
41 * @v pci PCI device
47 static struct undi_rom * undipci_find_rom ( struct pci_device *pci ) {
51 rombase = pci_bar_start ( pci, PCI_ROM_ADDRESS );
52 undirom = undirom_find_pci ( pci->vendor, pci->device, rombase );
54 undirom = undirom_find_pci ( pci->vendor, pci->device, 0 );
61 * @v pci PCI device
65 static int undipci_probe ( struct pci_device *pci, argument
[all...]
/external/syslinux/gpxe/src/arch/i386/include/
H A Dundirom.h25 struct undi_pci_device_id pci; member in union:undi_device_id
/external/syslinux/gpxe/src/arch/i386/interface/pcbios/
H A Dpcibios.c22 #include <gpxe/pci.h>
57 * @v pci PCI device
62 int pcibios_read ( struct pci_device *pci, uint32_t command, uint32_t *value ){ argument
76 "b" ( PCI_BUSDEVFN ( pci->bus, pci->devfn ) )
85 * @v pci PCI device
90 int pcibios_write ( struct pci_device *pci, uint32_t command, uint32_t value ){ argument
102 "b" ( PCI_BUSDEVFN ( pci->bus, pci->devfn ) ),
/external/boringssl/src/crypto/x509v3/
H A Dv3_pci.c64 static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *pci, argument
68 if (pci->pcPathLengthConstraint)
69 i2a_ASN1_INTEGER(out, pci->pcPathLengthConstraint);
74 i2a_ASN1_OBJECT(out, pci->proxyPolicy->policyLanguage);
76 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data)
78 pci->proxyPolicy->policy->data);
199 PROXY_CERT_INFO_EXTENSION *pci = NULL; local
254 pci = PROXY_CERT_INFO_EXTENSION_new();
255 if (!pci) {
[all...]
H A Dv3_purp.c411 PROXY_CERT_INFO_EXTENSION *pci; local
454 if ((pci = X509_get_ext_d2i(x, NID_proxyCertInfo, NULL, NULL))) {
460 if (pci->pcPathLengthConstraint) {
461 x->ex_pcpathlen = ASN1_INTEGER_get(pci->pcPathLengthConstraint);
464 PROXY_CERT_INFO_EXTENSION_free(pci);
/external/syslinux/gpxe/src/drivers/net/
H A Dpnic.c21 #include <gpxe/pci.h>
205 static void pnic_remove ( struct pci_device *pci ) {
206 struct net_device *netdev = pci_get_drvdata ( pci );
218 static int pnic_probe ( struct pci_device *pci, argument
232 pci_set_drvdata ( pci, netdev );
233 netdev->dev = &pci->dev;
234 pnic->ioaddr = pci->ioaddr;
237 adjust_pci_device ( pci );
H A Dvirtio-net.c25 #include "gpxe/virtio-pci.h"
244 static int virtnet_probe(struct nic *nic, struct pci_device *pci) argument
251 nic->ioaddr = pci->ioaddr & ~3;
255 nic->irqno = pci->irq;
259 adjust_pci_device(pci);
H A Dnatsemi.c71 #include <gpxe/pci.h>
86 static int natsemi_probe (struct pci_device *pci, const struct pci_device_id *id);
93 static void natsemi_remove (struct pci_device *pci);
167 * @v pci PCI device
171 static int natsemi_probe (struct pci_device *pci, argument
189 pci_set_drvdata (pci, netdev);
190 netdev->dev = &pci->dev;
192 np->ioaddr = pci->ioaddr;
194 adjust_pci_device (pci);
229 * @v pci PC
231 natsemi_remove(struct pci_device *pci) argument
[all...]
H A D3c90x.c56 #include <gpxe/pci.h>
613 * @v pci PCI device info
615 static void a3c90x_remove(struct pci_device *pci) argument
617 struct net_device *netdev = pci_get_drvdata(pci);
864 * If this routine is called, the pci functions did find the
868 * @v pci PCI device info
873 static int a3c90x_probe(struct pci_device *pci, argument
884 if (pci->ioaddr == 0)
892 pci_set_drvdata(pci, netdev);
893 netdev->dev = &pci
[all...]
H A Deepro100.c111 #include <gpxe/pci.h>
163 * @v pci The device's associated pci_device structure.
170 static int ifec_pci_probe ( struct pci_device *pci, argument
179 if ( pci->ioaddr == 0 )
189 pci_set_drvdata ( pci, netdev );
190 netdev->dev = &pci->dev;
193 adjust_pci_device( pci );
195 DBGP ( "pci " );
198 priv->ioaddr = pci->ioaddr;
232 * @v pci PC
[all...]
H A Dmyri10ge.c78 #include <gpxe/pci.h>
396 * @v pci The device.
400 static int mac_address_from_string_specs ( struct pci_device *pci, argument
413 vs = pci_find_capability ( pci, 9 );
421 pci_write_config_byte ( pci, VS_MODE, VS_MODE_LOCATE );
422 pci_write_config_dword ( pci, VS_ADDR, VS_LOCATE_STRING_SPECS );
423 pci_read_config_dword ( pci, VS_ADDR, &addr );
424 pci_read_config_dword ( pci, VS_DATA, &len );
434 pci_write_config_byte ( pci, VS_MODE, VS_MODE_READ32 );
438 pci_write_config_byte ( pci, VS_ADD
500 myri10ge_pci_probe( struct pci_device *pci, const struct pci_device_id *id __unused ) argument
[all...]
H A Dns8390.c46 #include <gpxe/pci.h>
631 static int eth_probe (struct nic *nic, struct pci_device *pci) argument
638 unsigned short pci_probe_addrs[] = { pci->ioaddr, 0 };
/external/blktrace/
H A Dblkparse_fmt.c162 static void print_field(char *act, struct per_cpu_info *pci, argument
182 fprintf(ofp, strcat(format, "d"), pci->cpu);
256 static char *parse_field(char *act, struct per_cpu_info *pci, argument
277 print_field(act, pci, t, elapsed, pdu_len, pdu_buf, *p++,
283 static void process_default(char *act, struct per_cpu_info *pci, argument
306 MAJOR(t->device), MINOR(t->device), pci->cpu, t->sequence,
418 void process_fmt(char *act, struct per_cpu_info *pci, struct blk_io_trace *t, argument
425 process_default(act, pci, t, elapsed, pdu_len, pdu_buf);
438 p = parse_field(act, pci, t, elapsed,
/external/eigen/demos/mandelbrot/
H A Dmandelbrot.cpp54 // pci and pcr denote the real and imaginary parts of c.
61 Packet pcr, pci = pci_start, pzr, pzi = pzi_start, pzr_buf; local
80 pzi += pci;
/external/syslinux/gpxe/src/util/
H A Defirom.c114 PCI_DATA_STRUCTURE pci __attribute__ (( aligned ( 4 ) )); member in struct:__anon22331
155 offsetof ( typeof ( *headers ), pci );
156 headers->pci.Signature = PCI_DATA_STRUCTURE_SIGNATURE;
157 headers->pci.VendorId = opts->vendor;
158 headers->pci.DeviceId = opts->device;
159 headers->pci.Length = sizeof ( headers->pci );
160 headers->pci.ClassCode[0] = PCI_CLASS_NETWORK;
161 headers->pci.ImageLength = ( rom_size / 512 );
162 headers->pci
[all...]
/external/clang/test/SemaCXX/
H A Dmember-pointer.cpp24 int C::*pci; // expected-error {{'pci' does not point into a class}} member in class:C
/external/syslinux/com32/gplinclude/disk/
H A Dgeom.h91 } __attribute__ ((packed)) pci; member in union:edd_device_parameters::__anon20814
92 /* pcix is same as pci */
/external/syslinux/com32/gplinclude/dmi/
H A Ddmi_bios.h38 bool pci; member in struct:__anon20840
/external/kernel-headers/original/uapi/linux/
H A Dedd.h98 } __attribute__ ((packed)) pci; member in union:edd_device_params::__anon8691
99 /* pcix is same as pci */

Completed in 3111 milliseconds

123