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

1234

/freebsd-11.0-release/sys/dev/drm2/ttm/
H A Dttm_bo.c62 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) argument
64 struct ttm_mem_type_manager *man = &bdev->man[mem_type];
92 ttm_mem_type_debug(bo->bdev, mem_type);
113 struct ttm_bo_device *bdev = bo->bdev; local
132 ttm_mem_global_free(bdev->glob->mem_glob, acc_size);
161 struct ttm_bo_device *bdev = bo->bdev; local
170 man = &bdev->man[bo->mem.mem_type];
372 struct ttm_bo_device *bdev local
417 struct ttm_bo_device *bdev = bo->bdev; local
552 struct ttm_bo_device *bdev = bo->bdev; local
612 struct ttm_bo_device *bdev = bo->bdev; local
693 ttm_bo_delayed_delete(struct ttm_bo_device *bdev, bool remove_all) argument
750 struct ttm_bo_device *bdev = arg; local
760 struct ttm_bo_device *bdev = bo->bdev; local
788 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
1535 ttm_bo_device_release(struct ttm_bo_device *bdev) argument
1581 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
1630 ttm_mem_reg_is_pci(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) argument
1656 struct ttm_bo_device *bdev = bo->bdev; local
1666 struct ttm_bo_device *bdev = bo->bdev; local
1685 struct ttm_bo_device *bdev = bo->bdev; local
1724 struct ttm_bo_device *bdev = bo->bdev; local
1776 struct ttm_bo_device *bdev = bo->bdev; local
1891 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
601 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 bo = RB_ROOT(&bdev->addr_space_rb);
107 struct ttm_bo_device *bdev = bo->bdev; local
113 &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
323 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...]
/freebsd-11.0-release/sys/dev/usb/controller/
H A Dsaf1761_otg_boot.c99 sc->sc_bus.bdev = device_add_child(dev, "usbus", -1);
100 if (sc->sc_bus.bdev == NULL)
103 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
111 err = device_probe_and_attach(sc->sc_bus.bdev);
127 device_t bdev; local
129 if (sc->sc_bus.bdev) {
130 bdev = sc->sc_bus.bdev;
131 device_detach(bdev);
132 device_delete_child(dev, bdev);
[all...]
H A Dxhci_mv.c125 sc->sc_bus.bdev = device_add_child(dev, "usbus", -1);
126 if (sc->sc_bus.bdev == NULL) {
132 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
135 device_set_desc(sc->sc_bus.bdev, XHCI_HC_DEVSTR);
160 err = device_probe_and_attach(sc->sc_bus.bdev);
174 device_t bdev; local
177 if (sc->sc_bus.bdev != NULL) {
178 bdev = sc->sc_bus.bdev;
179 device_detach(bdev);
[all...]
H A Datmegadci_atmelarm.c128 sc->sc_otg.sc_bus.bdev = device_add_child(dev, "usbus", -1);
129 if (!(sc->sc_otg.sc_bus.bdev)) {
132 device_set_ivars(sc->sc_otg.sc_bus.bdev, &sc->sc_otg.sc_bus);
142 err = device_probe_and_attach(sc->sc_otg.sc_bus.bdev);
158 device_t bdev; local
161 if (sc->sc_otg.sc_bus.bdev) {
162 bdev = sc->sc_otg.sc_bus.bdev;
163 device_detach(bdev);
164 device_delete_child(dev, bdev);
[all...]
H A Ddwc_otg_fdt.c130 sc->sc_otg.sc_bus.bdev = device_add_child(dev, "usbus", -1);
131 if (sc->sc_otg.sc_bus.bdev == NULL)
134 device_set_ivars(sc->sc_otg.sc_bus.bdev, &sc->sc_otg.sc_bus);
144 err = device_probe_and_attach(sc->sc_otg.sc_bus.bdev);
161 device_t bdev; local
164 if (sc->sc_otg.sc_bus.bdev) {
165 bdev = sc->sc_otg.sc_bus.bdev;
166 device_detach(bdev);
167 device_delete_child(dev, bdev);
[all...]
H A Dmusb_otg_atmelarm.c165 sc->sc_otg.sc_bus.bdev = device_add_child(dev, "usbus", -1);
166 if (!(sc->sc_otg.sc_bus.bdev)) {
169 device_set_ivars(sc->sc_otg.sc_bus.bdev, &sc->sc_otg.sc_bus);
188 err = device_probe_and_attach(sc->sc_otg.sc_bus.bdev);
207 device_t bdev; local
210 if (sc->sc_otg.sc_bus.bdev) {
211 bdev = sc->sc_otg.sc_bus.bdev;
212 device_detach(bdev);
213 device_delete_child(dev, bdev);
[all...]
H A Dohci_s3c24x0.c115 sc->sc_bus.bdev = device_add_child(dev, "usbus", -1);
116 if (!(sc->sc_bus.bdev)) {
119 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
135 err = device_probe_and_attach(sc->sc_bus.bdev);
151 device_t bdev; local
154 if (sc->sc_bus.bdev) {
155 bdev = sc->sc_bus.bdev;
156 device_detach(bdev);
157 device_delete_child(dev, bdev);
[all...]
H A Dsaf1761_otg_fdt.c208 sc->sc_bus.bdev = device_add_child(dev, "usbus", -1);
209 if (sc->sc_bus.bdev == NULL)
212 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
225 err = device_probe_and_attach(sc->sc_bus.bdev);
241 device_t bdev; local
244 if (sc->sc_bus.bdev) {
245 bdev = sc->sc_bus.bdev;
246 device_detach(bdev);
247 device_delete_child(dev, bdev);
[all...]
/freebsd-11.0-release/lib/libusb/
H A Dlibusb10_hotplug.c57 struct libusb20_device *bdev = _bdev->os_priv; local
59 if (adev->bus_number != bdev->bus_number)
61 if (adev->device_address != bdev->device_address)
63 if (memcmp(&adev->ddesc, &bdev->ddesc, sizeof(adev->ddesc)))
65 if (memcmp(&adev->session_data, &bdev->session_data, sizeof(adev->session_data)))
98 libusb_device *bdev; local
125 TAILQ_FOREACH(bdev, &hotplug_devs, hotplug_entry) {
126 if (libusb_hotplug_equal(adev, bdev))
129 if (bdev == NULL) {
144 TAILQ_FOREACH(bdev,
[all...]
/freebsd-11.0-release/sys/mips/atheros/
H A Dar71xx_ehci.c154 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
155 if (!sc->sc_bus.bdev) {
159 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
160 device_set_desc(sc->sc_bus.bdev, EHCI_HC_DEVSTR);
216 err = device_probe_and_attach(sc->sc_bus.bdev);
234 device_t bdev; local
237 if (sc->sc_bus.bdev) {
238 bdev = sc->sc_bus.bdev;
239 device_detach(bdev);
[all...]
H A Dar71xx_ohci.c120 sc->sc_ohci.sc_bus.bdev = device_add_child(dev, "usbus", -1);
121 if (sc->sc_ohci.sc_bus.bdev == NULL) {
125 device_set_ivars(sc->sc_ohci.sc_bus.bdev, &sc->sc_ohci.sc_bus);
141 err = device_probe_and_attach(sc->sc_ohci.sc_bus.bdev);
159 device_t bdev; local
161 if (sc->sc_ohci.sc_bus.bdev) {
162 bdev = sc->sc_ohci.sc_bus.bdev;
163 device_detach(bdev);
164 device_delete_child(dev, bdev);
[all...]
/freebsd-11.0-release/sys/mips/mediatek/
H A Dmtk_ehci.c128 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
129 if (!(sc->sc_bus.bdev)) {
133 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
134 device_set_desc(sc->sc_bus.bdev, EHCI_HC_DEVSTR);
148 err = device_probe_and_attach(sc->sc_bus.bdev);
165 device_t bdev; local
168 if (sc->sc_bus.bdev) {
169 bdev = sc->sc_bus.bdev;
170 device_detach(bdev);
[all...]
H A Dmtk_ohci.c128 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
129 if (!(sc->sc_bus.bdev)) {
133 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
134 device_set_desc(sc->sc_bus.bdev, OHCI_HC_DEVSTR);
148 err = device_probe_and_attach(sc->sc_bus.bdev);
165 device_t bdev; local
168 if (sc->sc_bus.bdev) {
169 bdev = sc->sc_bus.bdev;
170 device_detach(bdev);
[all...]
H A Dmtk_dotg.c128 sc->sc_bus.bdev = device_add_child(dev, "usbus", -1);
129 if (!(sc->sc_bus.bdev)) {
133 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
147 err = device_probe_and_attach(sc->sc_bus.bdev);
164 device_t bdev; local
167 if (sc->sc_bus.bdev) {
168 bdev = sc->sc_bus.bdev;
169 device_detach(bdev);
170 device_delete_child(dev, bdev);
[all...]
/freebsd-11.0-release/sys/mips/rmi/
H A Dxls_ehci.c125 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
126 if (!sc->sc_bus.bdev) {
130 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
131 device_set_desc(sc->sc_bus.bdev, xlr_usb_dev_desc);
150 err = device_probe_and_attach(sc->sc_bus.bdev);
167 device_t bdev; local
170 if (sc->sc_bus.bdev) {
171 bdev = sc->sc_bus.bdev;
172 device_detach(bdev);
[all...]
/freebsd-11.0-release/sys/mips/rt305x/
H A Drt305x_ehci.c141 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
142 if (!(sc->sc_bus.bdev)) {
146 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
147 device_set_desc(sc->sc_bus.bdev, EHCI_HC_DEVSTR);
161 err = device_probe_and_attach(sc->sc_bus.bdev);
178 device_t bdev; local
181 if (sc->sc_bus.bdev) {
182 bdev = sc->sc_bus.bdev;
183 device_detach(bdev);
[all...]
H A Drt305x_ohci.c141 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
142 if (!(sc->sc_bus.bdev)) {
146 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
147 device_set_desc(sc->sc_bus.bdev, OHCI_HC_DEVSTR);
161 err = device_probe_and_attach(sc->sc_bus.bdev);
178 device_t bdev; local
181 if (sc->sc_bus.bdev) {
182 bdev = sc->sc_bus.bdev;
183 device_detach(bdev);
[all...]
H A Drt305x_dotg.c120 sc->sc_bus.bdev = device_add_child(dev, "usbus", -1);
121 if (!(sc->sc_bus.bdev)) {
125 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
159 err = device_probe_and_attach(sc->sc_bus.bdev);
176 device_t bdev; local
179 if (sc->sc_bus.bdev) {
180 bdev = sc->sc_bus.bdev;
181 device_detach(bdev);
182 device_delete_child(dev, bdev);
[all...]
/freebsd-11.0-release/sys/arm/cavium/cns11xx/
H A Dehci_ebus.c148 sc->sc_bus.bdev = device_add_child(self, "usbus", -1);
149 if (!sc->sc_bus.bdev) {
153 device_set_ivars(sc->sc_bus.bdev, &sc->sc_bus);
154 device_set_desc(sc->sc_bus.bdev, EHCI_HC_DEVSTR);
170 err = device_probe_and_attach(sc->sc_bus.bdev);
187 device_t bdev; local
190 if (sc->sc_bus.bdev) {
191 bdev = sc->sc_bus.bdev;
192 device_detach(bdev);
[all...]
/freebsd-11.0-release/sys/mips/cavium/usb/
H A Doctusb_octeon.c138 sc->sc_dci.sc_bus.bdev = device_add_child(dev, "usbus", -1);
139 if (!(sc->sc_dci.sc_bus.bdev)) {
142 device_set_ivars(sc->sc_dci.sc_bus.bdev, &sc->sc_dci.sc_bus);
147 err = device_probe_and_attach(sc->sc_dci.sc_bus.bdev);
163 device_t bdev; local
168 if (sc->sc_dci.sc_bus.bdev) {
169 bdev = sc->sc_dci.sc_bus.bdev;
170 device_detach(bdev);
171 device_delete_child(dev, bdev);
[all...]

Completed in 104 milliseconds

1234