Searched refs:bdev (Results 1 - 25 of 69) sorted by relevance

123

/freebsd-10.0-release/sys/dev/drm2/ttm/
H A Dttm_bo.c61 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) argument
63 struct ttm_mem_type_manager *man = &bdev->man[mem_type];
91 ttm_mem_type_debug(bo->bdev, mem_type);
112 struct ttm_bo_device *bdev = bo->bdev; local
131 ttm_mem_global_free(bdev->glob->mem_glob, acc_size);
160 struct ttm_bo_device *bdev = bo->bdev; local
169 man = &bdev->man[bo->mem.mem_type];
371 struct ttm_bo_device *bdev local
416 struct ttm_bo_device *bdev = bo->bdev; local
551 struct ttm_bo_device *bdev = bo->bdev; local
611 struct ttm_bo_device *bdev = bo->bdev; local
692 ttm_bo_delayed_delete(struct ttm_bo_device *bdev, bool remove_all) argument
749 struct ttm_bo_device *bdev = arg; local
759 struct ttm_bo_device *bdev = bo->bdev; local
787 ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev) argument
797 ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched) argument
808 struct ttm_bo_device *bdev = bo->bdev; local
860 ttm_mem_evict_first(struct ttm_bo_device *bdev, uint32_t mem_type, bool interruptible, bool no_wait_gpu) argument
926 struct ttm_bo_device *bdev = bo->bdev; local
1005 struct ttm_bo_device *bdev = bo->bdev; local
1113 struct ttm_bo_device *bdev = bo->bdev; local
1217 ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct vm_object *persistent_swap_storage, size_t acc_size, struct sg_table *sg, void (*destroy) (struct ttm_buffer_object *)) argument
1311 ttm_bo_acc_size(struct ttm_bo_device *bdev, unsigned long bo_size, unsigned struct_size) argument
1324 ttm_bo_dma_acc_size(struct ttm_bo_device *bdev, unsigned long bo_size, unsigned struct_size) argument
1338 ttm_bo_create(struct ttm_bo_device *bdev, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct vm_object *persistent_swap_storage, struct ttm_buffer_object **p_bo) argument
1362 ttm_bo_force_list_clean(struct ttm_bo_device *bdev, unsigned mem_type, bool allow_errors) argument
1390 ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument
1420 ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument
1437 ttm_bo_init_mm(struct ttm_bo_device *bdev, unsigned type, unsigned long p_size) argument
1527 ttm_bo_device_release(struct ttm_bo_device *bdev) argument
1573 ttm_bo_device_init(struct ttm_bo_device *bdev, struct ttm_bo_global *glob, struct ttm_bo_driver *driver, uint64_t file_page_offset, bool need_dma32) argument
1622 ttm_mem_reg_is_pci(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) argument
1648 struct ttm_bo_device *bdev = bo->bdev; local
1658 struct ttm_bo_device *bdev = bo->bdev; local
1677 struct ttm_bo_device *bdev = bo->bdev; local
1716 struct ttm_bo_device *bdev = bo->bdev; local
1768 struct ttm_bo_device *bdev = bo->bdev; local
1883 ttm_bo_swapout_all(struct ttm_bo_device *bdev) argument
[all...]
H A Dttm_bo_util.c116 static int ttm_mem_io_reserve(struct ttm_bo_device *bdev, argument
119 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
122 if (!bdev->driver->io_mem_reserve)
125 return bdev->driver->io_mem_reserve(bdev, mem);
127 if (bdev->driver->io_mem_reserve &&
130 ret = bdev->driver->io_mem_reserve(bdev, mem);
140 static void ttm_mem_io_free(struct ttm_bo_device *bdev, argument
143 struct ttm_mem_type_manager *man = &bdev
187 ttm_mem_reg_ioremap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, void **virtual) argument
219 ttm_mem_reg_iounmap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, void *virtual) argument
297 struct ttm_bo_device *bdev = bo->bdev; local
406 struct ttm_bo_device *bdev = bo->bdev; local
602 struct ttm_bo_device *bdev = bo->bdev; local
[all...]
H A Dttm_bo_api.h137 * @bdev: Pointer to the buffer object device structure.
193 struct ttm_bo_device *bdev; member in struct:ttm_buffer_object
224 * Members protected by the bdev::lru_lock.
235 * Members protected by the bdev::lru_lock
252 * Members protected by the bdev::vm_lock
406 extern int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev);
413 extern void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev,
445 * @bdev: Pointer to a ttm_bo_device struct.
451 size_t ttm_bo_acc_size(struct ttm_bo_device *bdev,
454 size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev,
[all...]
H A Dttm_bo_driver.h94 * @bdev: Pointer to a struct ttm_bo_device.
101 * @bdev: Pointer to the current struct ttm_bo_device.
113 struct ttm_bo_device *bdev; member in struct:ttm_tt
255 * @io_reserve_fastpath: Only use bdev::driver::io_mem_reserve to obtain
256 * static information. bdev::driver::io_mem_free is never used.
266 struct ttm_bo_device *bdev; member in struct:ttm_mem_type_manager
321 * @bdev: pointer to a struct ttm_bo_device:
331 struct ttm_tt *(*ttm_tt_create)(struct ttm_bo_device *bdev,
359 * @bdev: the buffer object device.
368 int (*invalidate_caches) (struct ttm_bo_device *bdev, uint32_
[all...]
H A Dttm_execbuf_util.c133 val_seq = entry->bo->bdev->val_seq++;
167 val_seq = entry->bo->bdev->val_seq++;
210 struct ttm_bo_device *bdev; local
217 bdev = bo->bdev;
218 driver = bdev->driver;
222 mtx_lock(&bdev->fence_lock);
231 mtx_unlock(&bdev->fence_lock);
H A Dttm_bo_vm.c71 static struct ttm_buffer_object *ttm_bo_vm_lookup_rb(struct ttm_bo_device *bdev, argument
79 RB_FOREACH(bo, ttm_bo_device_buffer_objects, &bdev->addr_space_rb) {
104 struct ttm_bo_device *bdev = bo->bdev; local
110 &bdev->man[bo->mem.mem_type];
134 if (bdev->driver->fault_reserve_notify) {
135 ret = bdev->driver->fault_reserve_notify(bo);
155 mtx_lock(&bdev->fence_lock);
174 mtx_unlock(&bdev->fence_lock);
180 mtx_unlock(&bdev
319 ttm_bo_mmap_single(struct ttm_bo_device *bdev, vm_ooffset_t *offset, vm_size_t size, struct vm_object **obj_res, int nprot) argument
[all...]
H A Dttm_tt.c172 ttm->bdev->driver->ttm_tt_unpopulate(ttm);
183 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev, argument
187 ttm->bdev = bdev;
188 ttm->glob = bdev->glob;
211 int ttm_dma_tt_init(struct ttm_dma_tt *ttm_dma, struct ttm_bo_device *bdev, argument
217 ttm->bdev = bdev;
218 ttm->glob = bdev->glob;
267 ret = ttm->bdev
[all...]
/freebsd-10.0-release/sys/arm/allwinner/
H A Da10_ehci.c152 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
153 if (!sc->sc_bus.bdev) {
157 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
158 device_set_desc(sc->sc_bus.bdev, EHCI_HC_DEVSTR);
205 err = device_probe_and_attach(sc->sc_bus.bdev);
222 device_t bdev; local
226 if (sc->sc_bus.bdev) {
227 bdev = sc->sc_bus.bdev;
228 device_detach(bdev);
[all...]
/freebsd-10.0-release/sys/arm/econa/
H A Dehci_ebus.c147 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
148 if (!sc->sc_bus.bdev) {
152 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
153 device_set_desc(sc->sc_bus.bdev, EHCI_HC_DEVSTR);
169 err = device_probe_and_attach(sc->sc_bus.bdev);
186 device_t bdev; local
189 if (sc->sc_bus.bdev) {
190 bdev = sc->sc_bus.bdev;
191 device_detach(bdev);
[all...]
H A Dohci_ec.c133 sc->sc_ohci.sc_bus.bdev = device_add_child(dev, "usbus", -1);
134 if (!(sc->sc_ohci.sc_bus.bdev)) {
137 device_set_ivars(sc->sc_ohci.sc_bus.bdev, &sc->sc_ohci.sc_bus);
163 err = device_probe_and_attach(sc->sc_ohci.sc_bus.bdev);
179 device_t bdev; local
182 if (sc->sc_ohci.sc_bus.bdev) {
183 bdev = sc->sc_ohci.sc_bus.bdev;
184 device_detach(bdev);
185 device_delete_child(dev, bdev);
[all...]
/freebsd-10.0-release/sys/mips/atheros/
H A Dar71xx_ehci.c126 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
127 if (!sc->sc_bus.bdev) {
131 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
132 device_set_desc(sc->sc_bus.bdev, EHCI_HC_DEVSTR);
180 err = device_probe_and_attach(sc->sc_bus.bdev);
198 device_t bdev; local
201 if (sc->sc_bus.bdev) {
202 bdev = sc->sc_bus.bdev;
203 device_detach(bdev);
[all...]
H A Dar71xx_ohci.c106 sc->sc_ohci.sc_bus.bdev = device_add_child(dev, "usbus", -1);
107 if (sc->sc_ohci.sc_bus.bdev == NULL) {
111 device_set_ivars(sc->sc_ohci.sc_bus.bdev, &sc->sc_ohci.sc_bus);
127 err = device_probe_and_attach(sc->sc_ohci.sc_bus.bdev);
145 device_t bdev; local
147 if (sc->sc_ohci.sc_bus.bdev) {
148 bdev = sc->sc_ohci.sc_bus.bdev;
149 device_detach(bdev);
150 device_delete_child(dev, bdev);
[all...]
/freebsd-10.0-release/sys/mips/rmi/
H A Dxls_ehci.c124 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
125 if (!sc->sc_bus.bdev) {
129 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
130 device_set_desc(sc->sc_bus.bdev, xlr_usb_dev_desc);
149 err = device_probe_and_attach(sc->sc_bus.bdev);
166 device_t bdev; local
169 if (sc->sc_bus.bdev) {
170 bdev = sc->sc_bus.bdev;
171 device_detach(bdev);
[all...]
/freebsd-10.0-release/sys/arm/broadcom/bcm2835/
H A Ddwc_otg_brcm.c121 sc->sc_otg.sc_bus.bdev = device_add_child(dev, "usbus", -1);
122 if (sc->sc_otg.sc_bus.bdev == NULL)
125 device_set_ivars(sc->sc_otg.sc_bus.bdev, &sc->sc_otg.sc_bus);
135 err = device_probe_and_attach(sc->sc_otg.sc_bus.bdev);
152 device_t bdev; local
155 if (sc->sc_otg.sc_bus.bdev) {
156 bdev = sc->sc_otg.sc_bus.bdev;
157 device_detach(bdev);
158 device_delete_child(dev, bdev);
[all...]
/freebsd-10.0-release/sys/dev/usb/controller/
H A Datmegadci_atmelarm.c127 sc->sc_otg.sc_bus.bdev = device_add_child(dev, "usbus", -1);
128 if (!(sc->sc_otg.sc_bus.bdev)) {
131 device_set_ivars(sc->sc_otg.sc_bus.bdev, &sc->sc_otg.sc_bus);
141 err = device_probe_and_attach(sc->sc_otg.sc_bus.bdev);
157 device_t bdev; local
160 if (sc->sc_otg.sc_bus.bdev) {
161 bdev = sc->sc_otg.sc_bus.bdev;
162 device_detach(bdev);
163 device_delete_child(dev, bdev);
[all...]
H A Ddwc_otg_atmelarm.c112 sc->sc_otg.sc_bus.bdev = device_add_child(dev, "usbus", -1);
113 if (sc->sc_otg.sc_bus.bdev == NULL)
116 device_set_ivars(sc->sc_otg.sc_bus.bdev, &sc->sc_otg.sc_bus);
126 err = device_probe_and_attach(sc->sc_otg.sc_bus.bdev);
141 device_t bdev; local
144 if (sc->sc_otg.sc_bus.bdev) {
145 bdev = sc->sc_otg.sc_bus.bdev;
146 device_detach(bdev);
147 device_delete_child(dev, bdev);
[all...]
H A Dmusb_otg_atmelarm.c164 sc->sc_otg.sc_bus.bdev = device_add_child(dev, "usbus", -1);
165 if (!(sc->sc_otg.sc_bus.bdev)) {
168 device_set_ivars(sc->sc_otg.sc_bus.bdev, &sc->sc_otg.sc_bus);
187 err = device_probe_and_attach(sc->sc_otg.sc_bus.bdev);
206 device_t bdev; local
209 if (sc->sc_otg.sc_bus.bdev) {
210 bdev = sc->sc_otg.sc_bus.bdev;
211 device_detach(bdev);
212 device_delete_child(dev, bdev);
[all...]
H A Dohci_atmelarm.c126 sc->sc_ohci.sc_bus.bdev = device_add_child(dev, "usbus", -1);
127 if (!(sc->sc_ohci.sc_bus.bdev)) {
130 device_set_ivars(sc->sc_ohci.sc_bus.bdev, &sc->sc_ohci.sc_bus);
156 err = device_probe_and_attach(sc->sc_ohci.sc_bus.bdev);
172 device_t bdev; local
175 if (sc->sc_ohci.sc_bus.bdev) {
176 bdev = sc->sc_ohci.sc_bus.bdev;
177 device_detach(bdev);
178 device_delete_child(dev, bdev);
[all...]
H A Dohci_s3c24x0.c114 sc->sc_bus.bdev = device_add_child(dev, "usbus", -1);
115 if (!(sc->sc_bus.bdev)) {
118 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
134 err = device_probe_and_attach(sc->sc_bus.bdev);
150 device_t bdev; local
153 if (sc->sc_bus.bdev) {
154 bdev = sc->sc_bus.bdev;
155 device_detach(bdev);
156 device_delete_child(dev, bdev);
[all...]
H A Duss820dci_atmelarm.c133 sc->sc_bus.bdev = device_add_child(dev, "usbus", -1);
134 if (!(sc->sc_bus.bdev)) {
137 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
155 err = device_probe_and_attach(sc->sc_bus.bdev);
171 device_t bdev; local
174 if (sc->sc_bus.bdev) {
175 bdev = sc->sc_bus.bdev;
176 device_detach(bdev);
177 device_delete_child(dev, bdev);
[all...]
H A Dxhci_pci.c213 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
214 if (sc->sc_bus.bdev == NULL) {
218 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
256 err = device_probe_and_attach(sc->sc_bus.bdev);
273 device_t bdev; local
275 if (sc->sc_bus.bdev != NULL) {
276 bdev = sc->sc_bus.bdev;
277 device_detach(bdev);
278 device_delete_child(self, bdev);
[all...]
H A Dehci_imx.c189 esc->sc_bus.bdev = device_add_child(self, "usbus", -1);
190 if (!esc->sc_bus.bdev) {
199 device_set_ivars(esc->sc_bus.bdev, &esc->sc_bus);
210 err = device_probe_and_attach(esc->sc_bus.bdev);
214 device_delete_child(self, esc->sc_bus.bdev);
215 esc->sc_bus.bdev = NULL;
269 if (esc->sc_bus.bdev) {
270 device_delete_child(self, esc->sc_bus.bdev);
271 esc->sc_bus.bdev = NULL;
H A Dusb_controller.c313 device_printf(bus->bdev, "Controller shutdown\n");
325 device_printf(bus->bdev, "Controller shutdown complete\n");
399 dev = bus->bdev;
415 /* clear bdev variable last */
416 bus->bdev = NULL;
435 if (udev == NULL || bus->bdev == NULL)
449 bus_generic_shutdown(bus->bdev);
455 device_printf(bus->bdev, "Could not unconfigure root HUB\n");
490 if (udev == NULL || bus->bdev == NULL)
499 USB_TAKE_CONTROLLER(device_get_parent(bus->bdev));
[all...]
/freebsd-10.0-release/sys/mips/cavium/usb/
H A Doctusb_octeon.c137 sc->sc_dci.sc_bus.bdev = device_add_child(dev, "usbus", -1);
138 if (!(sc->sc_dci.sc_bus.bdev)) {
141 device_set_ivars(sc->sc_dci.sc_bus.bdev, &sc->sc_dci.sc_bus);
146 err = device_probe_and_attach(sc->sc_dci.sc_bus.bdev);
162 device_t bdev; local
167 if (sc->sc_dci.sc_bus.bdev) {
168 bdev = sc->sc_dci.sc_bus.bdev;
169 device_detach(bdev);
170 device_delete_child(dev, bdev);
[all...]
/freebsd-10.0-release/sys/mips/rt305x/
H A Drt305x_dotg.c121 sc->sc_dci.sc_bus.bdev = device_add_child(dev, "usbus", -1);
122 if (!(sc->sc_dci.sc_bus.bdev)) {
126 device_set_ivars(sc->sc_dci.sc_bus.bdev, &sc->sc_dci.sc_bus);
152 err = device_probe_and_attach(sc->sc_dci.sc_bus.bdev);
169 device_t bdev; local
172 if (sc->sc_dci.sc_bus.bdev) {
173 bdev = sc->sc_dci.sc_bus.bdev;
174 device_detach(bdev);
175 device_delete_child(dev, bdev);
[all...]

Completed in 178 milliseconds

123