/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | ohci_pci.c | 254 sc->sc_bus.bdev = device_add_child(self, "usbus", -1); 255 if (!sc->sc_bus.bdev) { 259 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus); 265 device_set_desc(sc->sc_bus.bdev, ohci_pci_match(self)); 325 err = device_probe_and_attach(sc->sc_bus.bdev);
|
H A D | xhci_pci.c | 316 sc->sc_bus.bdev = device_add_child(self, "usbus", -1); 317 if (sc->sc_bus.bdev == NULL) { 321 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus); 355 err = device_probe_and_attach(sc->sc_bus.bdev); 433 device_printf(sc->sc_bus.bdev, "waiting for BIOS " 445 device_printf(sc->sc_bus.bdev,
|
H A D | generic_ohci.c | 143 sc->ohci_sc.sc_bus.bdev = device_add_child(dev, "usbus", -1); 144 if (sc->ohci_sc.sc_bus.bdev == 0) { 148 device_set_ivars(sc->ohci_sc.sc_bus.bdev, &sc->ohci_sc.sc_bus); 203 err = device_probe_and_attach(sc->ohci_sc.sc_bus.bdev);
|
H A D | at91dci_atmelarm.c | 210 sc->sc_dci.sc_bus.bdev = device_add_child(dev, "usbus", -1); 211 if (!(sc->sc_dci.sc_bus.bdev)) { 214 device_set_ivars(sc->sc_dci.sc_bus.bdev, &sc->sc_dci.sc_bus); 225 err = device_probe_and_attach(sc->sc_dci.sc_bus.bdev);
|
H A D | at91dci_fdt.c | 216 sc->sc_dci.sc_bus.bdev = device_add_child(dev, "usbus", -1); 217 if (!(sc->sc_dci.sc_bus.bdev)) { 220 device_set_ivars(sc->sc_dci.sc_bus.bdev, &sc->sc_dci.sc_bus); 231 err = device_probe_and_attach(sc->sc_dci.sc_bus.bdev);
|
H A D | ehci_imx.c | 444 esc->sc_bus.bdev = device_add_child(dev, "usbus", -1); 445 if (esc->sc_bus.bdev == NULL) { 449 device_set_ivars(esc->sc_bus.bdev, &esc->sc_bus); 471 err = device_probe_and_attach(esc->sc_bus.bdev);
|
H A D | uhci.c | 354 device_printf(sc->sc_bus.bdev, 371 device_printf(sc->sc_bus.bdev, 405 device_printf(sc->sc_bus.bdev, 715 device_get_nameunit(sc->sc_bus.bdev), 1423 * NOTE: Do not access "sc->sc_bus.bdev" inside the interrupt handler, 1424 * hence the interrupt handler will be setup before "sc->sc_bus.bdev" 3206 device_get_unit(sc->sc_bus.bdev)); 3210 device_get_unit(sc->sc_bus.bdev));
|
H A D | ehci.c | 197 device_printf(sc->sc_bus.bdev, "reset timeout\n"); 220 device_printf(sc->sc_bus.bdev, "stop timeout\n"); 272 device_printf(sc->sc_bus.bdev, "run timeout\n"); 308 device_printf(sc->sc_bus.bdev, "EHCI version %x.%x\n", 320 device_get_nameunit(sc->sc_bus.bdev)); 324 device_printf(sc->sc_bus.bdev, "reset timeout\n"); 334 device_printf(sc->sc_bus.bdev, "invalid frame-list-size\n"); 1456 * NOTE: Do not access "sc->sc_bus.bdev" inside the interrupt handler, 1457 * hence the interrupt handler will be setup before "sc->sc_bus.bdev" 3350 device_printf(sc->sc_bus.bdev, [all...] |
/freebsd-11-stable/sys/dev/agp/ |
H A D | agp_i810.c | 204 device_t bdev; /* bridge device */ member in struct:agp_i810_softc 759 device_t bdev; local 769 bdev = agp_i810_find_bridge(dev); 770 if (bdev == NULL) { 779 err = match->driver->check_active(bdev); 798 pci_read_config(sc->bdev, AGP_I810_MISCC, 2)); 809 pci_read_config(sc->bdev, AGP_I830_GCC1, 1)); 820 pci_read_config(sc->bdev, AGP_I855_GCC1, 1)); 831 pci_read_config(sc->bdev, AGP_I855_GCC1, 1)); 833 pci_read_config(sc->bdev, AGP_I915_MSA [all...] |
H A D | agp_nvidia.c | 77 device_t bdev; /* Bridge */ member in struct:agp_nvidia_softc 172 sc->bdev = pci_find_bsf(pci_get_bus(dev), 30, 0); 173 if (sc->bdev == NULL) { 202 pci_write_config(sc->bdev, AGP_NVIDIA_3_APBASE, apbase, 4); 203 pci_write_config(sc->bdev, AGP_NVIDIA_3_APLIMIT, aplimit, 4);
|
/freebsd-11-stable/sys/arm/freescale/vybrid/ |
H A D | vf_ehci.c | 339 sc->sc_bus.bdev = device_add_child(dev, "usbus", -1); 340 if (!sc->sc_bus.bdev) { 349 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus); 366 err = device_probe_and_attach(sc->sc_bus.bdev); 370 device_delete_child(dev, sc->sc_bus.bdev); 371 sc->sc_bus.bdev = NULL;
|
/freebsd-11-stable/sys/dev/firewire/ |
H A D | firewire.c | 244 device_printf(fc->bdev, "Discard a packet (queued=%d)\n", 355 device_printf(fc->bdev, 726 if (device_get_children(fc->bdev, &devlistp, &devcnt) == 0) { 1257 device_printf(fc->bdev, "%s: root_node=%d gap_count=%d\n", 1317 device_printf(fc->bdev, 1375 device_printf(fc->bdev, "%d nodes, maxhop <= %d %s irm(%d) %s\n", 1412 device_printf(fc->bdev, "%s:" 1420 device_printf(fc->bdev, "%s:" 1425 device_printf(fc->bdev, "%s:" 1534 device_printf(fc->bdev, [all...] |
H A D | fwohci_pci.c | 348 if (sc->fc.bdev) { 349 device_delete_child(self, sc->fc.bdev); 350 sc->fc.bdev = NULL; 431 sc->fc.bdev = child;
|
H A D | firewirereg.h | 98 device_t bdev; member in struct:firewire_comm
|
/freebsd-11-stable/sys/arm/lpc/ |
H A D | lpc_ohci.c | 149 sc->sc_bus.bdev = device_add_child(dev, "usbus", -1); 150 if (!(sc->sc_bus.bdev)) 153 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus); 214 err = device_probe_and_attach(sc->sc_bus.bdev);
|
/freebsd-11-stable/sys/arm/ti/am335x/ |
H A D | am335x_musb.c | 292 sc->sc_otg.sc_bus.bdev = device_add_child(dev, "usbus", -1); 293 if (!(sc->sc_otg.sc_bus.bdev)) { 297 device_set_ivars(sc->sc_otg.sc_bus.bdev, 350 err = device_probe_and_attach(sc->sc_otg.sc_bus.bdev);
|
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | radeon_object.c | 138 acc_size = ttm_bo_dma_acc_size(&rdev->mman.bdev, size, 158 r = ttm_bo_init(&rdev->mman.bdev, &bo->tbo, size, type, 310 return ttm_bo_evict_mm(&rdev->mman.bdev, TTM_PL_VRAM); 626 mtx_lock(&bo->tbo.bdev->fence_lock); 631 mtx_unlock(&bo->tbo.bdev->fence_lock);
|
H A D | radeon_device.c | 1446 resched = ttm_bo_lock_delayed_workqueue(&rdev->mman.bdev); 1494 ttm_bo_unlock_delayed_workqueue(&rdev->mman.bdev, resched);
|
H A D | radeon_pm.c | 825 resched = ttm_bo_lock_delayed_workqueue(&rdev->mman.bdev); 876 ttm_bo_unlock_delayed_workqueue(&rdev->mman.bdev, resched);
|
/freebsd-11-stable/sys/dev/usb/ |
H A D | usb_util.c | 122 device_get_nameunit(udev->bus->bdev));
|
H A D | usb_device.c | 1779 device_printf(bus->bdev, 1785 device_printf(bus->bdev, 1877 USB_GENERIC_NAME "%u.%u", device_get_unit(bus->bdev), 2092 device_get_nameunit(udev->bus->bdev)); 2121 pd->bus_index = device_get_unit(udev->bus->bdev); 2302 device_get_nameunit(bus->bdev)); 2680 return ((uint8_t)device_get_unit(udev->bus->bdev)); 2731 device_get_nameunit(device_get_parent(udev->bus->bdev))
|
H A D | usb_pf.c | 432 temp = device_get_unit(bus->bdev);
|
/freebsd-11-stable/stand/sparc64/loader/ |
H A D | main.c | 742 char *bdev, *dev, *odev; local 759 bdev = odev = malloc(len + 1); 760 if (bdev == NULL) 762 if (OF_getprop(options, "boot-device", bdev, len) <= 0) 764 bdev[len] = '\0'; 765 while ((dev = strsep(&bdev, " ")) != NULL) {
|
/freebsd-11-stable/sys/arm/nvidia/ |
H A D | tegra_xhci.c | 1088 xsc->sc_bus.bdev = device_add_child(sc->dev, "usbus", -1); 1089 if (xsc->sc_bus.bdev == NULL) { 1094 device_set_ivars(xsc->sc_bus.bdev, &xsc->sc_bus); 1095 device_set_desc(xsc->sc_bus.bdev, "Nvidia USB 3.0 controller"); 1127 rv = device_probe_and_attach(xsc->sc_bus.bdev);
|
/freebsd-11-stable/sys/dev/sound/pcm/ |
H A D | dsp.c | 125 device_t bdev; local 127 bdev = devclass_get_device(pcm_devclass, PCMUNIT(dev)); 129 return ((bdev != NULL) ? pcm_getflags(bdev) : 0xffffffff); 135 device_t bdev; local 137 bdev = devclass_get_device(pcm_devclass, PCMUNIT(dev)); 139 if (bdev != NULL) 140 pcm_setflags(bdev, flags);
|