Searched refs:bdev (Results 51 - 75 of 88) sorted by relevance

1234

/freebsd-11-stable/sys/dev/usb/controller/
H A Dohci_pci.c254 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 Dxhci_pci.c316 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 Dgeneric_ohci.c143 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 Dat91dci_atmelarm.c210 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 Dat91dci_fdt.c216 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 Dehci_imx.c444 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 Duhci.c354 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 Dehci.c197 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 Dagp_i810.c204 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 Dagp_nvidia.c77 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 Dvf_ehci.c339 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 Dfirewire.c244 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 Dfwohci_pci.c348 if (sc->fc.bdev) {
349 device_delete_child(self, sc->fc.bdev);
350 sc->fc.bdev = NULL;
431 sc->fc.bdev = child;
H A Dfirewirereg.h98 device_t bdev; member in struct:firewire_comm
/freebsd-11-stable/sys/arm/lpc/
H A Dlpc_ohci.c149 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 Dam335x_musb.c292 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 Dradeon_object.c138 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 Dradeon_device.c1446 resched = ttm_bo_lock_delayed_workqueue(&rdev->mman.bdev);
1494 ttm_bo_unlock_delayed_workqueue(&rdev->mman.bdev, resched);
H A Dradeon_pm.c825 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 Dusb_util.c122 device_get_nameunit(udev->bus->bdev));
H A Dusb_device.c1779 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 Dusb_pf.c432 temp = device_get_unit(bus->bdev);
/freebsd-11-stable/stand/sparc64/loader/
H A Dmain.c742 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 Dtegra_xhci.c1088 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 Ddsp.c125 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);

Completed in 329 milliseconds

1234