| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_flip_work.c | 36 * drm_flip_work_allocate_task - allocate a flip-work task 37 * @data: data associated to the task 44 struct drm_flip_task *task; local 46 task = kzalloc(sizeof(*task), flags); 47 if (task) 48 task->data = data; 50 return task; 55 * drm_flip_work_queue_task - queue a specific task 57 * @task: the task to handl 83 struct drm_flip_task *task; local 126 struct drm_flip_task *task, *tmp; local [all...] |
| drm_flip_work.c | 36 * drm_flip_work_allocate_task - allocate a flip-work task 37 * @data: data associated to the task 44 struct drm_flip_task *task; local 46 task = kzalloc(sizeof(*task), flags); 47 if (task) 48 task->data = data; 50 return task; 55 * drm_flip_work_queue_task - queue a specific task 57 * @task: the task to handl 83 struct drm_flip_task *task; local 126 struct drm_flip_task *task, *tmp; local [all...] |
| drm_flip_work.c | 36 * drm_flip_work_allocate_task - allocate a flip-work task 37 * @data: data associated to the task 44 struct drm_flip_task *task; local 46 task = kzalloc(sizeof(*task), flags); 47 if (task) 48 task->data = data; 50 return task; 55 * drm_flip_work_queue_task - queue a specific task 57 * @task: the task to handl 83 struct drm_flip_task *task; local 126 struct drm_flip_task *task, *tmp; local [all...] |
| /src/sys/arch/arm/nvidia/ |
| tegra_drm.c | 245 struct tegra_drm_task *const task = local 249 (*task->tdt_fn)(task); 287 struct tegra_drm_task *task = container_of(work, struct tegra_drm_task, local 290 (*task->tdt_fn)(task); 294 tegra_task_init(struct tegra_drm_task *task, 298 task->tdt_fn = fn; 302 tegra_task_schedule(device_t self, struct tegra_drm_task *task) 307 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, tdt_u.queue) [all...] |
| tegra_drm.c | 245 struct tegra_drm_task *const task = local 249 (*task->tdt_fn)(task); 287 struct tegra_drm_task *task = container_of(work, struct tegra_drm_task, local 290 (*task->tdt_fn)(task); 294 tegra_task_init(struct tegra_drm_task *task, 298 task->tdt_fn = fn; 302 tegra_task_schedule(device_t self, struct tegra_drm_task *task) 307 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, tdt_u.queue) [all...] |
| tegra_drm.c | 245 struct tegra_drm_task *const task = local 249 (*task->tdt_fn)(task); 287 struct tegra_drm_task *task = container_of(work, struct tegra_drm_task, local 290 (*task->tdt_fn)(task); 294 tegra_task_init(struct tegra_drm_task *task, 298 task->tdt_fn = fn; 302 tegra_task_schedule(device_t self, struct tegra_drm_task *task) 307 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, tdt_u.queue) [all...] |
| /src/sys/external/bsd/drm2/amdgpu/ |
| amdgpu_pci.c | 215 struct amdgpu_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local 218 (*task->rt_fn)(task); 291 struct amdgpu_task *const task = container_of(work, struct amdgpu_task, local 294 (*task->rt_fn)(task); 298 amdgpu_task_schedule(device_t self, struct amdgpu_task *task) 303 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, rt_u.queue); 305 workqueue_enqueue(sc->sc_task_wq, &task->rt_u.work, NULL);
|
| amdgpu_pci.c | 215 struct amdgpu_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local 218 (*task->rt_fn)(task); 291 struct amdgpu_task *const task = container_of(work, struct amdgpu_task, local 294 (*task->rt_fn)(task); 298 amdgpu_task_schedule(device_t self, struct amdgpu_task *task) 303 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, rt_u.queue); 305 workqueue_enqueue(sc->sc_task_wq, &task->rt_u.work, NULL);
|
| amdgpu_pci.c | 215 struct amdgpu_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local 218 (*task->rt_fn)(task); 291 struct amdgpu_task *const task = container_of(work, struct amdgpu_task, local 294 (*task->rt_fn)(task); 298 amdgpu_task_schedule(device_t self, struct amdgpu_task *task) 303 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, rt_u.queue); 305 workqueue_enqueue(sc->sc_task_wq, &task->rt_u.work, NULL);
|
| /src/sys/external/bsd/drm2/i915drm/ |
| i915_pci_autoconf.c | 213 struct i915drmkms_task *const task = local 217 (*task->ift_fn)(task); 295 struct i915drmkms_task *const task = container_of(work, local 298 (*task->ift_fn)(task); 302 i915drmkms_task_schedule(device_t self, struct i915drmkms_task *task) 307 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, ift_u.queue); 309 workqueue_enqueue(sc->sc_task_wq, &task->ift_u.work, NULL);
|
| i915_pci_autoconf.c | 213 struct i915drmkms_task *const task = local 217 (*task->ift_fn)(task); 295 struct i915drmkms_task *const task = container_of(work, local 298 (*task->ift_fn)(task); 302 i915drmkms_task_schedule(device_t self, struct i915drmkms_task *task) 307 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, ift_u.queue); 309 workqueue_enqueue(sc->sc_task_wq, &task->ift_u.work, NULL);
|
| i915_pci_autoconf.c | 213 struct i915drmkms_task *const task = local 217 (*task->ift_fn)(task); 295 struct i915drmkms_task *const task = container_of(work, local 298 (*task->ift_fn)(task); 302 i915drmkms_task_schedule(device_t self, struct i915drmkms_task *task) 307 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, ift_u.queue); 309 workqueue_enqueue(sc->sc_task_wq, &task->ift_u.work, NULL);
|
| /src/sys/external/bsd/drm2/nouveau/ |
| nouveau_pci.c | 264 struct nouveau_pci_task *const task = local 268 (*task->nt_fn)(task); 345 struct nouveau_pci_task *const task = container_of(work, local 348 (*task->nt_fn)(task); 352 nouveau_pci_task_schedule(device_t self, struct nouveau_pci_task *task) 357 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, nt_u.queue); 359 workqueue_enqueue(sc->sc_task_wq, &task->nt_u.work, NULL);
|
| nouveau_pci.c | 264 struct nouveau_pci_task *const task = local 268 (*task->nt_fn)(task); 345 struct nouveau_pci_task *const task = container_of(work, local 348 (*task->nt_fn)(task); 352 nouveau_pci_task_schedule(device_t self, struct nouveau_pci_task *task) 357 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, nt_u.queue); 359 workqueue_enqueue(sc->sc_task_wq, &task->nt_u.work, NULL);
|
| nouveau_pci.c | 264 struct nouveau_pci_task *const task = local 268 (*task->nt_fn)(task); 345 struct nouveau_pci_task *const task = container_of(work, local 348 (*task->nt_fn)(task); 352 nouveau_pci_task_schedule(device_t self, struct nouveau_pci_task *task) 357 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, nt_u.queue); 359 workqueue_enqueue(sc->sc_task_wq, &task->nt_u.work, NULL);
|
| /src/sys/external/bsd/drm2/radeon/ |
| radeon_pci.c | 315 struct radeon_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local 318 (*task->rt_fn)(task); 393 struct radeon_task *const task = container_of(work, struct radeon_task, local 396 (*task->rt_fn)(task); 400 radeon_task_schedule(device_t self, struct radeon_task *task) 405 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, rt_u.queue); 407 workqueue_enqueue(sc->sc_task_wq, &task->rt_u.work, NULL);
|
| radeon_pci.c | 315 struct radeon_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local 318 (*task->rt_fn)(task); 393 struct radeon_task *const task = container_of(work, struct radeon_task, local 396 (*task->rt_fn)(task); 400 radeon_task_schedule(device_t self, struct radeon_task *task) 405 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, rt_u.queue); 407 workqueue_enqueue(sc->sc_task_wq, &task->rt_u.work, NULL);
|
| radeon_pci.c | 315 struct radeon_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local 318 (*task->rt_fn)(task); 393 struct radeon_task *const task = container_of(work, struct radeon_task, local 396 (*task->rt_fn)(task); 400 radeon_task_schedule(device_t self, struct radeon_task *task) 405 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, rt_u.queue); 407 workqueue_enqueue(sc->sc_task_wq, &task->rt_u.work, NULL);
|
| /src/sys/external/bsd/drm2/vmwgfx/ |
| vmwgfx_pci.c | 246 struct vmwgfx_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local 249 (*task->vt_fn)(task); 319 struct vmwgfx_task *const task = container_of(work, struct vmwgfx_task, local 322 (*task->vt_fn)(task); 326 vmwgfx_task_schedule(device_t self, struct vmwgfx_task *task) 331 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, vt_u.queue); 333 workqueue_enqueue(sc->sc_task_wq, &task->vt_u.work, NULL);
|
| vmwgfx_pci.c | 246 struct vmwgfx_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local 249 (*task->vt_fn)(task); 319 struct vmwgfx_task *const task = container_of(work, struct vmwgfx_task, local 322 (*task->vt_fn)(task); 326 vmwgfx_task_schedule(device_t self, struct vmwgfx_task *task) 331 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, vt_u.queue); 333 workqueue_enqueue(sc->sc_task_wq, &task->vt_u.work, NULL);
|
| vmwgfx_pci.c | 246 struct vmwgfx_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local 249 (*task->vt_fn)(task); 319 struct vmwgfx_task *const task = container_of(work, struct vmwgfx_task, local 322 (*task->vt_fn)(task); 326 vmwgfx_task_schedule(device_t self, struct vmwgfx_task *task) 331 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, vt_u.queue); 333 workqueue_enqueue(sc->sc_task_wq, &task->vt_u.work, NULL);
|
| /src/sbin/dmctl/ |
| dmctl.c | 152 libdm_task_t task; local 198 * Create libdm task, and pass it to command handler later. 202 task = libdm_task_create(cmdname); 204 (*commands[i].cmd_func)(argc, argv, task); 214 dmctl_get_version(int argc __unused, char *argv[] __unused, libdm_task_t task) 218 (void)libdm_task_get_cmd_version(task, ver, sizeof(ver)); 222 if (libdm_task_run(task) != 0) 225 (void)libdm_task_get_cmd_version(task, ver, 3); 228 libdm_task_destroy(task); 236 dmctl_get_targets(int argc __unused, char *argv[] __unused, libdm_task_t task) [all...] |
| /src/sys/arch/arm/rockchip/ |
| rk_drm.c | 203 struct rk_drm_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local 206 (*task->rdt_fn)(task); 484 struct rk_drm_task *task = container_of(work, struct rk_drm_task, local 487 (*task->rdt_fn)(task); 491 rk_task_init(struct rk_drm_task *task, 495 task->rdt_fn = fn; 499 rk_task_schedule(device_t self, struct rk_drm_task *task) 504 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, rdt_u.queue) [all...] |
| /src/sys/arch/arm/sunxi/ |
| sunxi_drm.c | 215 struct sunxi_drm_task *const task = local 219 (*task->sdt_fn)(task); 577 struct sunxi_drm_task *task = container_of(work, struct sunxi_drm_task, local 580 (*task->sdt_fn)(task); 584 sunxi_task_init(struct sunxi_drm_task *task, 588 task->sdt_fn = fn; 592 sunxi_task_schedule(device_t self, struct sunxi_drm_task *task) 597 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, sdt_u.queue) [all...] |
| /src/sys/dev/sdmmc/ |
| sdmmc.c | 254 aprint_error_dev(dev, "couldn't create task thread\n"); 259 sdmmc_add_task(struct sdmmc_softc *sc, struct sdmmc_task *task) 263 if (task->sc == sc) { 264 KASSERT(task->onqueue); 267 KASSERT(task->sc == NULL); 268 KASSERT(!task->onqueue); 269 task->onqueue = 1; 270 task->sc = sc; 271 TAILQ_INSERT_TAIL(&sc->sc_tskq, task, next); 277 sdmmc_del_task1(struct sdmmc_softc *sc, struct sdmmc_task *task) 329 struct sdmmc_task *task; local [all...] |