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

12

/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Ddev.h5 #include "pci.h"
42 struct pci_probe_state pci; member in union:probe_state
H A Dpnic.c20 #include "pci.h"
214 static int pnic_probe(struct dev *dev, struct pci_device *pci) argument
227 nic->ioaddr = pci->ioaddr & ~3;
228 nic->irqno = pci->irq;
230 adjust_pci_device(pci);
H A D3c595.c30 #include "pci.h"
470 static int t595_probe(struct dev *dev, struct pci_device *pci) argument
476 if (pci->ioaddr == 0)
479 eth_nic_base = pci->ioaddr;
482 nic->ioaddr = pci->ioaddr & ~3;
H A Dns8390.c32 #include "pci.h"
612 static int eth_probe (struct dev *dev, struct pci_device *pci) argument
620 unsigned short pci_probe_addrs[] = { pci->ioaddr, 0 };
H A Ddavicom.c45 #include "pci.h"
157 static int davicom_probe(struct dev *dev, struct pci_device *pci);
666 static int davicom_probe(struct dev *dev, struct pci_device *pci)
673 if (pci->ioaddr == 0)
676 vendor = pci->vendor;
677 dev_id = pci->dev_id;
678 ioaddr = pci->ioaddr & ~3;
681 nic->ioaddr = pci->ioaddr & ~3;
684 pcibios_write_config_dword(pci->bus, pci
655 davicom_probe(struct dev *dev, struct pci_device *pci) argument
[all...]
H A Depic100.c8 #include "pci.h"
98 epic100_probe(struct dev *dev, struct pci_device *pci) argument
105 if (pci->ioaddr == 0)
113 ioaddr = pci->ioaddr;
115 nic->ioaddr = pci->ioaddr & ~3;
H A Dsis900.c47 #include "pci.h"
129 static int sis900_probe(struct dev *dev, struct pci_device *pci);
158 * @pci_dev: the sis900 pci device
185 * @pci_dev: the sis900 pci device
229 * @pci_dev: the sis900 pci device
268 * @pci_dev: the sis900 pci device
316 static int sis900_probe(struct dev *dev, struct pci_device *pci) argument
325 if (pci->ioaddr == 0)
329 nic->ioaddr = pci->ioaddr & ~3;
330 ioaddr = pci
[all...]
H A Dundi.c24 #include "pci.h"
298 if ( ( pcir_header->vendor_id != undi.pci.vendor ) ||
299 ( pcir_header->device_id != undi.pci.dev_id ) ) {
301 undi.pci.vendor,
302 undi.pci.dev_id );
451 undi.pxs->loader.ax = ( undi.pci.bus << 8 ) | undi.pci.devfn;
512 undi.pxs->start_undi.ax = ( undi.pci.bus << 8 ) | undi.pci.devfn;
1125 static int undi_probe(struct dev *dev, struct pci_device *pci) argument
[all...]
H A Dnatsemi.c58 #include "pci.h"
213 static int natsemi_probe(struct dev *dev, struct pci_device *pci);
243 natsemi_probe(struct dev *dev, struct pci_device *pci) argument
250 if (pci->ioaddr == 0)
253 adjust_pci_device(pci);
258 nic->ioaddr = pci->ioaddr & ~3;
260 ioaddr = pci->ioaddr & ~3;
261 vendor = pci->vendor;
262 dev_id = pci->dev_id;
263 nic_name = pci
[all...]
H A Dundi.h231 struct pci_device pci; member in struct:undi
H A D3c90x.c42 #include "pci.h"
688 *** initialization. If this routine is called, the pci functions did find the
691 static int a3c90x_probe(struct dev *dev, struct pci_device *pci) argument
702 if (pci->ioaddr == 0)
705 adjust_pci_device(pci);
707 nic->ioaddr = pci->ioaddr & ~3;
710 INF_3C90X.IOAddr = pci->ioaddr & ~3;
H A Dpcnet32.c47 #include "pci.h"
259 struct pci_dev *pci_dev; /* Pointer to the associated pci device structure */
668 static int pcnet32_probe(struct dev *dev, struct pci_device *pci) argument
679 if (pci->ioaddr == 0)
683 ioaddr = pci->ioaddr;
685 pci->name, pci->vendor, pci->dev_id);
688 nic->ioaddr = pci->ioaddr & ~3;
803 printf("%s: %! at ioaddr %hX, ", pci
[all...]
H A Dr8169.c49 #include "pci.h"
712 static int r8169_probe(struct dev *dev, struct pci_device *pci) argument
721 pci->name, pci->vendor, pci->dev_id);
730 rc = rtl8169_init_board(pci); /* Return code is meaningless */
736 dprintf(("%s: Identified chip type is '%s'.\n", pci->name,
739 printf("%s: %! at ioaddr %hX, ", pci->name, nic->node_addr,
781 pci->name));
826 pci
[all...]
H A Drtl8139.c67 #include "pci.h"
175 static int rtl8139_probe(struct dev *dev, struct pci_device *pci);
185 static int rtl8139_probe(struct dev *dev, struct pci_device *pci) argument
198 nic->ioaddr = pci->ioaddr & ~3;
201 nic->irqno = pci->irq;
203 adjust_pci_device(pci);
H A Dsundance.c48 #include "pci.h"
585 static int sundance_probe(struct dev *dev, struct pci_device *pci) argument
593 if (pci->ioaddr == 0)
597 BASE = pci->ioaddr;
599 pci->name, pci->vendor, pci->dev_id);
612 adjust_pci_device(pci);
614 // sdc->mii_if.dev = pci;
621 sdc->nic_name = pci
[all...]
H A Dtlan.c52 #include "pci.h"
126 u32 pci, pci_mask, subsystem, subsystem_mask; member in struct:pci_id_info::match_info
834 static int tlan_probe(struct dev *dev, struct pci_device *pci) argument
838 struct nic *tlan_probe(struct nic *nic, unsigned short *io_addrs, struct pci_device *pci) argument
845 if (pci->ioaddr == 0)
849 nic->ioaddr = pci->ioaddr & ~3;
851 BASE = pci->ioaddr;
855 pci->name, pci->vendor, pci
[all...]
H A Dforcedeth.c49 #include "pci.h"
928 static int forcedeth_probe(struct dev *dev, struct pci_device *pci) argument
935 if (pci->ioaddr == 0)
939 pci->name, pci->vendor, pci->dev_id);
942 nic->ioaddr = pci->ioaddr & ~3;
947 adjust_pci_device(pci);
949 addr = pci_bar_start(pci, PCI_BASE_ADDRESS_0);
950 sz = pci_bar_size(pci, PCI_BASE_ADDRESS_
[all...]
H A Dns83820.c43 #include "pci.h"
785 /* touch the pci bus... */
814 static int ns83820_probe(struct dev *dev, struct pci_device *pci) argument
821 if (pci->ioaddr == 0)
825 pci->name, pci->vendor, pci->dev_id);
830 adjust_pci_device(pci);
832 addr = pci_bar_start(pci, PCI_BASE_ADDRESS_1);
833 sz = pci_bar_size(pci, PCI_BASE_ADDRESS_
[all...]
H A Dpxe.h316 } pci, cardbus; member in union:__anon248::__anon249
H A Dtulip.c108 #include "pci.h"
174 u32 pci, pci_mask, subsystem, subsystem_mask; member in struct:pci_id_info::match_info
483 static int tulip_probe(struct dev *dev, struct pci_device *pci);
1208 static int tulip_probe(struct dev *dev, struct pci_device *pci) argument
1218 if (pci->ioaddr == 0)
1221 ioaddr = pci->ioaddr;
1222 nic->ioaddr = pci->ioaddr & ~3;
1228 tp->vendor_id = pci->vendor;
1229 tp->dev_id = pci->dev_id;
1230 tp->nic_name = pci
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.c87 busorrc_t *ppci, *pci; local
99 pci = *head;
101 while (pci != NULL) {
102 if (new->br_ba_ac == pci->br_ba_ac)
103 if (new->br_ba_bc < pci->br_ba_bc)
105 if (new->br_ba_ac < pci->br_ba_ac)
107 ppci = pci;
108 pci = pci->br_nextbus;
111 new->br_nextbus = pci;
[all...]
/osnet-11/usr/src/lib/libprtdiag/common/
H A Dio.c65 /* find the first pci node */
66 pnode = dev_find_node(node, "pci");
80 pnode = dev_next_node(pnode, "pci");
596 populate_slot_name_arr(Prom_node *pci, int *slot_name_bits, argument
602 value = (char *)get_prop_val(find_prop(pci, "slot-names"));
643 get_card_frequency(Prom_node *pci) argument
645 char *value = get_prop_val(find_prop(pci, "clock-frequency"));
689 if ((strncmp(name, "pci", 3) == 0) &&
707 if ((strncmp(name, "pci", 3) == 0) &&
730 "%s", "pci
784 Prom_node *pci, *card_node, *pci_bridge_node = NULL; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/efi/
H A Defi.c353 grub_efi_pci_device_path_t pci; local
354 grub_memcpy (&pci, dp, len);
356 (unsigned) pci.function, (unsigned) pci.device);
/osnet-11/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c61 #include <sys/pci.h>
68 #include "../../../../common/pci/pci_strings.h"
314 if ((rv = di_prop_lookup_strings(devt, ap_node, "pci-occupant",
830 char *bufptr, *bufptr2, *pci, *apid; local
846 pci = ++bufptr;
847 bufptr = strchr(pci, ',');
852 bufptr = strchr(pci, '@');
858 DBG(1, ("%s\n%s\n%s\n", pci, bufptr, bufptr2));
860 (void) strcat(buf, pci);
1151 /* will need to implement pci CTR
[all...]
/osnet-11/usr/src/lib/libuefi_rt/common/
H A Dlibuefi_rt_path.c40 #include <sys/pci.h>
1286 * Try the grandparent (required for pci-ide nodes).
1744 uefi_pci_device_path_t *pci; local
1746 pci = calloc(1, sizeof (uefi_pci_device_path_t));
1748 if (pci == NULL) {
1753 pci->type = UEFI_HARDWARE_PATH;
1754 pci->subtype = UEFI_PCI;
1755 pci->len = sizeof (uefi_pci_device_path_t);
1757 pci->function_number = function_number;
1758 pci
2677 uefi_pci_device_path_t *pci = (uefi_pci_device_path_t *)device_path; local
[all...]

Completed in 92 milliseconds

12