Home
last modified time | relevance | path

Searched refs:pcidev (Results 1 – 15 of 15) sorted by relevance

/openbsd/src/sys/arch/alpha/alpha/
Dapi_up1000.c164 static struct device *pcidev, *scsidev; local
188 if (pcidev == NULL) {
197 pcidev = dev;
198 DPRINTF(("\npcidev = %s\n", pcidev->dv_xname));
204 if (parent != pcidev)
280 if (parent != pcidev)
Ddec_550.c165 static struct device *pcidev, *ctrlrdev; local
184 if (pcidev == NULL) {
193 pcidev = dev;
194 DR_VERBOSE(printf("\npcidev = %s\n", pcidev->dv_xname));
200 if (parent != pcidev)
Ddec_alphabook1.c160 static struct device *pcidev, *ctrlrdev; in dec_alphabook1_device_register() local
179 if (pcidev == NULL) { in dec_alphabook1_device_register()
188 pcidev = dev; in dec_alphabook1_device_register()
197 if (parent != pcidev) in dec_alphabook1_device_register()
Ddec_kn20aa.c164 static struct device *pcidev, *ctrlrdev; local
183 if (pcidev == NULL) {
192 pcidev = dev;
201 if (parent != pcidev)
Ddec_eb64plus.c164 static struct device *pcidev, *ctrlrdev; local
183 if (pcidev == NULL) {
192 pcidev = dev;
201 if (parent != pcidev)
Ddec_kn300.c204 static struct device *primarydev, *pcidev, *ctrlrdev; local
245 if (pcidev == NULL) {
258 pcidev = dev;
265 if (parent != pcidev)
Ddec_eb164.c167 static struct device *pcidev, *ctrlrdev; local
186 if (pcidev == NULL) {
195 pcidev = dev;
202 if (parent != pcidev)
Ddec_1000a.c235 static struct device *pcidev, *ctrlrdev; local
254 if (pcidev == NULL) {
263 pcidev = dev;
272 if (parent != pcidev)
Ddec_axppci_33.c207 static struct device *pcidev, *ctrlrdev; local
226 if (pcidev == NULL) {
235 pcidev = dev;
244 if (parent != pcidev)
Ddec_6600.c192 static struct device *primarydev, *pcidev, *ctrlrdev; local
226 if (pcidev == NULL) {
246 pcidev = dev;
253 if (parent != pcidev)
Ddec_2100_a50.c184 static struct device *pcidev, *ctrlrdev; local
203 if (pcidev == NULL) {
212 pcidev = dev;
221 if (parent != pcidev)
/openbsd/src/usr.sbin/pcidump/
Dpcidump.c175 char pcidev[PATH_MAX] = PCIDEV; in main() local
183 strlcpy(pcidev, optarg, sizeof(pcidev)); in main()
226 pcifd = open(pcidev, O_RDONLY); in main()
228 err(1, "%s", pcidev); in main()
231 snprintf(pcidev, 16, "/dev/pci%d", domid++); in main()
232 pcifd = open(pcidev, O_RDONLY); in main()
237 err(1, "%s", pcidev); in main()
240 printf("Domain %s:\n", pcidev); in main()
262 printf("Domain %s:\n", pcidev); in main()
/openbsd/src/sys/dev/pci/
Dpci.c726 struct device *pcidev; in pci_find_device() local
730 pcidev = pci_cd.cd_devs[i]; in pci_find_device()
731 if (pcidev != NULL && in pci_find_device()
732 pci_enumerate_bus((struct pci_softc *)pcidev, in pci_find_device()
/openbsd/src/sys/dev/acpi/
Ddsdt.h345 int aml_rdpciaddr(struct aml_node *pcidev,
Ddsdt.c2299 aml_rdpciaddr(struct aml_node *pcidev, union amlpci_t *addr) in aml_rdpciaddr() argument
2305 if (aml_evalinteger(acpi_softc, pcidev, "_ADR", 0, NULL, &res) == 0) { in aml_rdpciaddr()
2309 while (pcidev != NULL) { in aml_rdpciaddr()
2311 if (__aml_search(pcidev, "_HID", 0)) { in aml_rdpciaddr()
2312 if (aml_evalinteger(acpi_softc, pcidev, "_SEG", in aml_rdpciaddr()
2316 if (aml_evalinteger(acpi_softc, pcidev, "_BBN", in aml_rdpciaddr()
2322 pcidev = pcidev->parent; in aml_rdpciaddr()