| /drivers/s390/char/ |
| A D | raw3270.c | 253 rq->view = view; in __raw3270_start() 332 rq->view = view; in raw3270_start_irq() 352 view = rq ? rq->view : rp->view; in raw3270_irq() 553 rp->view = view; in raw3270_resize_work() 689 view = rq->view; in __raw3270_disconnect() 897 rp->view = view; in raw3270_assign_activate_view() 906 if (rp->view == view) in __raw3270_activate_view() 971 if (rp->view == view) { in raw3270_deactivate_view() 980 rp->view = view; in raw3270_deactivate_view() 1069 if (rp->view == view) { in raw3270_del_view() [all …]
|
| A D | raw3270.h | 22 struct raw3270_view *view; /* view of this request */ member 56 void (*intv)(struct raw3270_view *view, 58 void (*release)(struct raw3270_view *view); 59 void (*free)(struct raw3270_view *view); 60 void (*resize)(struct raw3270_view *view, 89 void raw3270_del_view(struct raw3270_view *view); 95 int raw3270_reset(struct raw3270_view *view); 104 raw3270_get_view(struct raw3270_view *view) in raw3270_get_view() argument 106 atomic_inc(&view->ref_count); in raw3270_get_view() 112 raw3270_put_view(struct raw3270_view *view) in raw3270_put_view() argument [all …]
|
| A D | con3270.c | 305 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); in tty3270_write_callback() 676 struct tty3270 *tp = container_of(rrq->view, struct tty3270, view); in tty3270_read_tasklet() 736 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); in tty3270_read_callback() 786 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_activate() 795 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_deactivate() 968 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_resize() 1048 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_release() 1065 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_free() 1120 tp->screen = tty3270_alloc_screen(tp, tp->view.rows, tp->view.cols, in tty3270_create_view() 1201 tp = container_of(view, struct tty3270, view); in tty3270_install() [all …]
|
| A D | fs3270.c | 34 struct raw3270_view view; member 67 fp = (struct fs3270 *)view; in fs3270_do_io() 79 rc = raw3270_start(view, rq); in fs3270_do_io() 95 fp = (struct fs3270 *)rq->view; in fs3270_reset_callback() 120 fp = (struct fs3270 *)view; in fs3270_activate() 191 fp = (struct fs3270 *)view; in fs3270_deactivate() 392 fp = (struct fs3270 *)view; in fs3270_free_view() 396 kfree(view); in fs3270_free_view() 406 fp = (struct fs3270 *)view; in fs3270_release() 468 ib = idal_buffer_alloc(2 * fp->view.rows * fp->view.cols + 5, 0); in fs3270_open() [all …]
|
| /drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_so.c | 139 vmw_cotable_add_resource(view->cotable, &view->cotable_head); in vmw_view_commit_notify() 140 view->committed = true; in vmw_view_commit_notify() 171 if (!view->committed) { in vmw_view_create() 176 cmd = VMW_CMD_CTX_RESERVE(res->dev_priv, view->cmd_size, view->ctx->id); in vmw_view_create() 182 memcpy(cmd, &view->cmd, view->cmd_size); in vmw_view_create() 190 vmw_cotable_add_resource(view->cotable, &view->cotable_head); in vmw_view_create() 292 kfree_rcu(view, rcu); in vmw_view_res_free() 328 struct vmw_view *view; in vmw_view_add() local 346 if (!view) { in vmw_view_add() 350 res = &view->res; in vmw_view_add() [all …]
|
| /drivers/usb/phy/ |
| A D | phy-ulpi-viewport.c | 22 static int ulpi_viewport_wait(void __iomem *view, u32 mask) in ulpi_viewport_wait() argument 32 void __iomem *view = otg->io_priv; in ulpi_viewport_read() local 34 writel(ULPI_VIEW_WAKEUP | ULPI_VIEW_WRITE, view); in ulpi_viewport_read() 35 ret = ulpi_viewport_wait(view, ULPI_VIEW_WAKEUP); in ulpi_viewport_read() 40 ret = ulpi_viewport_wait(view, ULPI_VIEW_RUN); in ulpi_viewport_read() 44 return ULPI_VIEW_DATA_READ(readl(view)); in ulpi_viewport_read() 50 void __iomem *view = otg->io_priv; in ulpi_viewport_write() local 52 writel(ULPI_VIEW_WAKEUP | ULPI_VIEW_WRITE, view); in ulpi_viewport_write() 53 ret = ulpi_viewport_wait(view, ULPI_VIEW_WAKEUP); in ulpi_viewport_write() 58 ULPI_VIEW_ADDR(reg), view); in ulpi_viewport_write() [all …]
|
| /drivers/gpu/drm/nouveau/dispnv50/ |
| A D | head.c | 68 if (asyh->set.view ) head->func->view (head, asyh); in nv50_head_flush_set() 162 u32 r = (asyh->view.oH << 19) / asyh->view.oW; in nv50_head_atomic_check_view() 169 asyh->view.oW -= (asyh->view.oW >> 4) + 32; in nv50_head_atomic_check_view() 183 asyh->view.oW = min(asyh->view.iW, asyh->view.oW); in nv50_head_atomic_check_view() 184 asyh->view.oH = min(asyh->view.iH, asyh->view.oH); in nv50_head_atomic_check_view() 202 if (asyh->view.oW * asyh->view.iH > asyh->view.iW * asyh->view.oH) { in nv50_head_atomic_check_view() 204 u32 r = (asyh->view.iW << 19) / asyh->view.iH; in nv50_head_atomic_check_view() 205 asyh->view.oW = ((asyh->view.oH * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view() 208 u32 r = (asyh->view.iH << 19) / asyh->view.iW; in nv50_head_atomic_check_view() 209 asyh->view.oH = ((asyh->view.oW * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view() [all …]
|
| A D | head907d.c | 395 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in head907d_view() 396 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH)); in head907d_view() 399 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in head907d_view() 400 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH), in head907d_view() 403 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, WIDTH, asyh->view.oW) | in head907d_view() 404 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, HEIGHT, asyh->view.oH), in head907d_view() 407 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MAX, WIDTH, asyh->view.oW) | in head907d_view() 408 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MAX, HEIGHT, asyh->view.oH)); in head907d_view() 414 .view = head907d_view,
|
| A D | head507d.c | 417 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in head507d_view() 418 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH)); in head507d_view() 421 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in head507d_view() 422 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH), in head507d_view() 425 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, WIDTH, asyh->view.oW) | in head507d_view() 426 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, HEIGHT, asyh->view.oH)); in head507d_view() 432 .view = head507d_view,
|
| A D | headca7d.c | 269 NVVAL(NVCA7D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in headca7d_view() 270 NVVAL(NVCA7D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH)); in headca7d_view() 273 NVVAL(NVCA7D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in headca7d_view() 274 NVVAL(NVCA7D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH)); in headca7d_view() 280 .view = headca7d_view,
|
| A D | headc37d.c | 265 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in headc37d_view() 266 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH)); in headc37d_view() 269 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in headc37d_view() 270 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH)); in headc37d_view() 285 .view = headc37d_view,
|
| /drivers/gpu/drm/xe/display/ |
| A D | xe_fb_pin.c | 82 const struct i915_gtt_view *view, in __xe_pin_fb_vma_dpt() argument 93 if (view->type == I915_GTT_VIEW_NORMAL) in __xe_pin_fb_vma_dpt() 95 else if (view->type == I915_GTT_VIEW_REMAPPED) in __xe_pin_fb_vma_dpt() 130 if (view->type == I915_GTT_VIEW_NORMAL) { in __xe_pin_fb_vma_dpt() 197 const struct i915_gtt_view *view, in __xe_pin_fb_vma_ggtt() argument 223 } else if (view->type == I915_GTT_VIEW_NORMAL) { in __xe_pin_fb_vma_ggtt() 275 const struct i915_gtt_view *view, in __xe_pin_fb_vma() argument 364 const struct i915_gtt_view *view, in intel_fb_pin_to_ggtt() argument 390 !memcmp(&old_plane_state->view.gtt, in reuse_vma() 391 &new_plane_state->view.gtt, in reuse_vma() [all …]
|
| /drivers/gpu/drm/i915/selftests/ |
| A D | i915_vma.c | 66 const struct i915_gtt_view *view) in checked_vma_instance() argument 71 vma = i915_vma_instance(obj, vm, view); in checked_vma_instance() 88 if (i915_vma_compare(vma, vm, view)) { in checked_vma_instance() 595 struct i915_gtt_view view = { in igt_vma_rotate_remap() local 748 struct i915_gtt_view *view, in assert_pin() argument 766 if (view && view->type != I915_GTT_VIEW_NORMAL) { in assert_pin() 767 if (memcmp(&vma->gtt_view, view, sizeof(*view))) { in assert_pin() 826 struct i915_gtt_view view; in igt_vma_partial() local 829 view.partial.offset = offset; in igt_vma_partial() 830 view.partial.size = sz; in igt_vma_partial() [all …]
|
| /drivers/gpu/drm/i915/ |
| A D | i915_vma.h | 46 const struct i915_gtt_view *view); 210 const struct i915_gtt_view *view) in i915_vma_compare() argument 214 GEM_BUG_ON(view && !i915_is_ggtt_or_dpt(vm)); in i915_vma_compare() 222 if (!view) in i915_vma_compare() 225 cmp -= view->type; in i915_vma_compare() 244 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare() 245 offsetof(typeof(*view), partial)); in i915_vma_compare() 246 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare() 247 offsetof(typeof(*view), remapped)); in i915_vma_compare() 248 return memcmp(&vma->gtt_view.partial, &view->partial, view->type); in i915_vma_compare()
|
| A D | i915_vma.c | 148 const struct i915_gtt_view *view) in vma_create() argument 180 if (view && view->type != I915_GTT_VIEW_NORMAL) { in vma_create() 181 vma->gtt_view = *view; in vma_create() 184 view->partial.offset, in vma_create() 185 view->partial.size, in vma_create() 187 vma->size = view->partial.size; in vma_create() 248 cmp = i915_vma_compare(pos, vm, view); in vma_create() 287 const struct i915_gtt_view *view) in i915_vma_lookup() argument 325 const struct i915_gtt_view *view) in i915_vma_instance() argument 333 vma = i915_vma_lookup(obj, vm, view); in i915_vma_instance() [all …]
|
| A D | i915_gem.h | 58 const struct i915_gtt_view *view, 63 const struct i915_gtt_view *view,
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_fb_pin.c | 24 const struct i915_gtt_view *view, in intel_fb_pin_to_dpt() argument 76 vma = i915_vma_instance(obj, vm, view); in intel_fb_pin_to_dpt() 110 const struct i915_gtt_view *view, in intel_fb_pin_to_ggtt() argument 170 vtd_guard, view, pinctl); in intel_fb_pin_to_ggtt() 256 &plane_state->view, in intel_plane_fb_vtd_guard() 269 vma = intel_fb_pin_to_ggtt(&fb->base, &plane_state->view.gtt, in intel_plane_pin_fb() 300 vma = intel_fb_pin_to_dpt(&fb->base, &plane_state->view.gtt, in intel_plane_pin_fb()
|
| A D | intel_fb.c | 1488 struct intel_fb_view *view) in calc_plane_remap_info() argument 1546 if (view->gtt.remapped.plane_alignment) { in calc_plane_remap_info() 1637 struct intel_fb_view *view, in intel_fb_view_init() argument 1640 memset(view, 0, sizeof(*view)); in intel_fb_view_init() 1641 view->gtt.type = view_type; in intel_fb_view_init() 1804 const struct intel_fb_view *view, in intel_fb_view_vtd_guard() argument 1892 &plane_state->view); in intel_plane_remap_gtt() 1933 struct intel_fb_view *view) in intel_fb_fill_view() argument 1936 *view = fb->rotated_view; in intel_fb_fill_view() 1938 *view = fb->remapped_view; in intel_fb_fill_view() [all …]
|
| A D | skl_universal_plane.c | 1424 u32 x = plane_state->view.color_plane[0].x; in skl_plane_update_arm() 1425 u32 y = plane_state->view.color_plane[0].y; in skl_plane_update_arm() 1507 x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_sel_fetch_noarm() 1542 int x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_noarm() 1956 plane_state->view.color_plane[ccs_plane].x = aux_x; in skl_check_main_ccs_coordinates() 1957 plane_state->view.color_plane[ccs_plane].y = aux_y; in skl_check_main_ccs_coordinates() 2074 plane_state->view.color_plane[0].offset = offset; in skl_check_main_surface() 2075 plane_state->view.color_plane[0].x = x; in skl_check_main_surface() 2076 plane_state->view.color_plane[0].y = y; in skl_check_main_surface() 2155 plane_state->view.color_plane[uv_plane].x = x; in skl_check_nv12_aux_surface() [all …]
|
| A D | intel_sprite.c | 381 plane_state->view.color_plane[0].mapping_stride); in vlv_sprite_update_noarm() 398 u32 sprsurf_offset = plane_state->view.color_plane[0].offset; in vlv_sprite_update_arm() 399 u32 x = plane_state->view.color_plane[0].x; in vlv_sprite_update_arm() 400 u32 y = plane_state->view.color_plane[0].y; in vlv_sprite_update_arm() 815 plane_state->view.color_plane[0].mapping_stride); in ivb_sprite_update_noarm() 833 u32 sprsurf_offset = plane_state->view.color_plane[0].offset; in ivb_sprite_update_arm() 834 u32 x = plane_state->view.color_plane[0].x; in ivb_sprite_update_arm() 835 u32 y = plane_state->view.color_plane[0].y; in ivb_sprite_update_arm() 1167 plane_state->view.color_plane[0].mapping_stride); in g4x_sprite_update_noarm() 1185 u32 x = plane_state->view.color_plane[0].x; in g4x_sprite_update_arm() [all …]
|
| A D | i9xx_plane.c | 281 while ((src_x + src_w) * cpp > plane_state->view.color_plane[0].mapping_stride) { in i9xx_check_plane_surface() 322 plane_state->view.color_plane[0].offset = offset; in i9xx_check_plane_surface() 323 plane_state->view.color_plane[0].x = src_x; in i9xx_check_plane_surface() 324 plane_state->view.color_plane[0].y = src_y; in i9xx_check_plane_surface() 437 plane_state->view.color_plane[0].mapping_stride); in i9xx_plane_update_noarm() 464 int x = plane_state->view.color_plane[0].x; in i9xx_plane_update_arm() 465 int y = plane_state->view.color_plane[0].y; in i9xx_plane_update_arm() 478 dspaddr_offset = plane_state->view.color_plane[0].offset; in i9xx_plane_update_arm() 607 u32 dspaddr_offset = plane_state->view.color_plane[0].offset; in g4x_primary_async_flip() 627 u32 dspaddr_offset = plane_state->view.color_plane[0].offset; in vlv_primary_async_flip()
|
| A D | intel_fb.h | 90 struct intel_fb_view *view); 92 const struct intel_fb_view *view,
|
| /drivers/gpu/drm/i915/gem/ |
| A D | i915_gem_mman.c | 203 struct i915_gtt_view view; in compute_partial_view() local 208 view.type = I915_GTT_VIEW_PARTIAL; in compute_partial_view() 209 view.partial.offset = rounddown(page_offset, chunk); in compute_partial_view() 210 view.partial.size = in compute_partial_view() 212 (obj->base.size >> PAGE_SHIFT) - view.partial.offset); in compute_partial_view() 216 view.type = I915_GTT_VIEW_NORMAL; in compute_partial_view() 218 return view; in compute_partial_view() 393 struct i915_gtt_view view = in vm_fault_gtt() local 398 if (view.type == I915_GTT_VIEW_NORMAL) in vm_fault_gtt() 406 vma = i915_gem_object_ggtt_pin_ww(obj, &ww, &view, 0, 0, flags); in vm_fault_gtt() [all …]
|
| A D | i915_gem_domain.c | 424 const struct i915_gtt_view *view, in i915_gem_object_pin_to_display_plane() argument 465 (!view || view->type == I915_GTT_VIEW_NORMAL)) in i915_gem_object_pin_to_display_plane() 466 vma = i915_gem_object_ggtt_pin_ww(obj, ww, view, 0, alignment, in i915_gem_object_pin_to_display_plane() 470 vma = i915_gem_object_ggtt_pin_ww(obj, ww, view, 0, in i915_gem_object_pin_to_display_plane()
|
| /drivers/gpu/drm/i915/gem/selftests/ |
| A D | i915_gem_mman.c | 98 struct i915_gtt_view view; in check_partial_mapping() local 136 n = page - view.partial.offset; in check_partial_mapping() 137 GEM_BUG_ON(n >= view.partial.size); in check_partial_mapping() 163 view.partial.offset, in check_partial_mapping() 164 view.partial.size, in check_partial_mapping() 215 struct i915_gtt_view view = in check_partial_mappings() local 223 GEM_BUG_ON(view.partial.size > nreal); in check_partial_mappings() 233 n = page - view.partial.offset; in check_partial_mappings() 234 GEM_BUG_ON(n >= view.partial.size); in check_partial_mappings() 259 view.partial.offset, in check_partial_mappings() [all …]
|