/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_so.c | 131 struct vmw_view *view = vmw_view(res); in vmw_view_commit_notify() local 136 struct vmw_surface *srf = vmw_res_to_srf(view->srf); in vmw_view_commit_notify() 138 list_add_tail(&view->srf_head, &srf->view_list); in vmw_view_commit_notify() 139 vmw_cotable_add_resource(view->cotable, &view->cotable_head); in vmw_view_commit_notify() 140 view->committed = true; in vmw_view_commit_notify() 141 res->id = view->view_id; in vmw_view_commit_notify() 144 list_del_init(&view->cotable_head); in vmw_view_commit_notify() 145 list_del_init(&view->srf_head); in vmw_view_commit_notify() 146 view->committed = false; in vmw_view_commit_notify() 162 struct vmw_view *view = vmw_view(res); in vmw_view_create() local [all …]
|
/linux/drivers/s390/char/ |
H A D | raw3270.c | 50 struct raw3270_view *view; /* Active view. */ member 125 x = max_t(int, 0, rp->view->cols + x); in raw3270_buffer_address() 127 y = max_t(int, 0, rp->view->rows + y); in raw3270_buffer_address() 128 addr = (y * rp->view->cols) + x; in raw3270_buffer_address() 248 static int __raw3270_start(struct raw3270 *rp, struct raw3270_view *view, in __raw3270_start() argument 251 rq->view = view; in __raw3270_start() 252 raw3270_get_view(view); in __raw3270_start() 259 raw3270_put_view(view); in __raw3270_start() 267 int raw3270_view_active(struct raw3270_view *view) in raw3270_view_active() argument 269 struct raw3270 *rp = view->dev; in raw3270_view_active() [all …]
|
H 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, 86 int raw3270_add_view(struct raw3270_view *view, struct raw3270_fn *fn, int minor, int subclass); 87 int raw3270_view_lock_unavailable(struct raw3270_view *view); 88 int raw3270_activate_view(struct raw3270_view *view); 89 void raw3270_del_view(struct raw3270_view *view); 90 void raw3270_deactivate_view(struct raw3270_view *view); [all …]
|
H A D | fs3270.c | 34 struct raw3270_view view; member 62 static int fs3270_do_io(struct raw3270_view *view, struct raw3270_request *rq) in fs3270_do_io() argument 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() 104 fp = (struct fs3270 *)rq->view; in fs3270_restore_callback() 114 static int fs3270_activate(struct raw3270_view *view) in fs3270_activate() argument 120 fp = (struct fs3270 *)view; in fs3270_activate() 148 rc = raw3270_start_locked(view, fp->init); in fs3270_activate() 164 fp = (struct fs3270 *)rq->view; in fs3270_save_callback() [all …]
|
/linux/drivers/usb/phy/ |
H A D | phy-ulpi-viewport.c | 22 static int ulpi_viewport_wait(void __iomem *view, u32 mask) in ulpi_viewport_wait() argument 26 return readl_poll_timeout_atomic(view, val, !(val & mask), 1, 2000); in ulpi_viewport_wait() 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() 39 writel(ULPI_VIEW_RUN | ULPI_VIEW_READ | ULPI_VIEW_ADDR(reg), view); 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() [all …]
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head.c | 68 if (asyh->set.view ) head->func->view (head, asyh); in nv50_head_flush_set() 146 asyh->view.iW = umode->hdisplay; in nv50_head_atomic_check_view() 147 asyh->view.iH = umode_vdisplay; in nv50_head_atomic_check_view() 150 asyh->view.oW = omode_hdisplay; in nv50_head_atomic_check_view() 151 asyh->view.oH = omode_vdisplay; in nv50_head_atomic_check_view() 162 u32 r = (asyh->view.oH << 19) / asyh->view.oW; in nv50_head_atomic_check_view() 165 asyh->view.oW -= (bX * 2); in nv50_head_atomic_check_view() 166 if (bY) asyh->view.oH -= (bY * 2); in nv50_head_atomic_check_view() 167 else asyh->view.oH = ((asyh->view.oW * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view() 169 asyh->view.oW -= (asyh->view.oW >> 4) + 32; in nv50_head_atomic_check_view() [all …]
|
H 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,
|
H 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,
|
/linux/security/apparmor/ |
H A D | policy_ns.c | 40 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible() argument 42 if (curr == view) in aa_ns_visible() 48 for ( ; view; view = view->parent) { in aa_ns_visible() 49 if (view->parent == curr) in aa_ns_visible() 64 const char *aa_ns_name(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_name() argument 67 if (curr == view) in aa_ns_name() 70 if (aa_ns_visible(curr, view, subns)) { in aa_ns_name() 77 return view->base.hname + strlen(curr->base.hname) + 2; in aa_ns_name() 174 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n) in __aa_lookupn_ns() argument 176 struct aa_ns *ns = view; in __aa_lookupn_ns() [all …]
|
/linux/drivers/gpu/drm/xe/display/ |
H A D | xe_fb_pin.c | 81 const struct i915_gtt_view *view, in __xe_pin_fb_vma_dpt() argument 92 if (view->type == I915_GTT_VIEW_NORMAL) in __xe_pin_fb_vma_dpt() 94 else if (view->type == I915_GTT_VIEW_REMAPPED) in __xe_pin_fb_vma_dpt() 99 dpt_size = ALIGN(intel_rotation_info_size(&view->rotated) * 8, in __xe_pin_fb_vma_dpt() 129 if (view->type == I915_GTT_VIEW_NORMAL) { in __xe_pin_fb_vma_dpt() 138 } else if (view->type == I915_GTT_VIEW_REMAPPED) { in __xe_pin_fb_vma_dpt() 139 const struct intel_remapped_info *remap_info = &view->remapped; in __xe_pin_fb_vma_dpt() 151 const struct intel_rotation_info *rot_info = &view->rotated; in __xe_pin_fb_vma_dpt() 193 const struct i915_gtt_view *view, in __xe_pin_fb_vma_ggtt() argument 216 if (bo->ggtt_node && view->type == I915_GTT_VIEW_NORMAL) { in __xe_pin_fb_vma_ggtt() [all …]
|
/linux/tools/perf/ui/gtk/ |
H A D | hists.c | 281 static void on_row_activated(GtkTreeView *view, GtkTreePath *path, in on_row_activated() argument 285 bool expanded = gtk_tree_view_row_expanded(view, path); in on_row_activated() 288 gtk_tree_view_collapse_row(view, path); in on_row_activated() 290 gtk_tree_view_expand_row(view, path, FALSE); in on_row_activated() 301 GtkWidget *view; in perf_gtk__show_hists() local 319 view = gtk_tree_view_new(); in perf_gtk__show_hists() 336 gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view), in perf_gtk__show_hists() 345 column = gtk_tree_view_get_column(GTK_TREE_VIEW(view), col_idx); in perf_gtk__show_hists() 349 gtk_tree_view_set_expander_column(GTK_TREE_VIEW(view), in perf_gtk__show_hists() 354 gtk_tree_view_set_model(GTK_TREE_VIEW(view), GTK_TREE_MODEL(store)); in perf_gtk__show_hists() [all …]
|
H A D | annotate.c | 112 GtkWidget *view; in perf_gtk__annotate_symbol() local 123 view = gtk_tree_view_new(); in perf_gtk__annotate_symbol() 127 gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view), in perf_gtk__annotate_symbol() 132 gtk_tree_view_set_model(GTK_TREE_VIEW(view), GTK_TREE_MODEL(store)); in perf_gtk__annotate_symbol() 162 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__annotate_symbol()
|
/linux/drivers/gpu/drm/i915/selftests/ |
H 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() 591 struct i915_gtt_view view = { in igt_vma_rotate_remap() local 596 struct intel_remapped_plane_info *plane_info = view.remapped.plane; in igt_vma_rotate_remap() 605 plane_info[0].dst_stride = view.type == I915_GTT_VIEW_ROTATED ? in igt_vma_rotate_remap() 609 plane_info[1].dst_stride = view.type == I915_GTT_VIEW_ROTATED ? in igt_vma_rotate_remap() 619 vma = checked_vma_instance(obj, vm, &view); in igt_vma_rotate_remap() 631 expected_pages = remapped_size(view.type, &plane_info[0], &plane_info[1]); in igt_vma_rotate_remap() 633 if (view.type == I915_GTT_VIEW_ROTATED && in igt_vma_rotate_remap() [all …]
|
/linux/scripts/kconfig/ |
H A D | gconf.c | 188 GtkTreeView *view = GTK_TREE_VIEW(tree1_w); in init_left_tree() local 193 gtk_tree_view_set_model(view, model1); in init_left_tree() 194 gtk_tree_view_set_headers_visible(view, TRUE); in init_left_tree() 195 gtk_tree_view_set_rules_hint(view, TRUE); in init_left_tree() 198 gtk_tree_view_append_column(view, column); in init_left_tree() 219 sel = gtk_tree_view_get_selection(view); in init_left_tree() 230 GtkTreeView *view = GTK_TREE_VIEW(tree2_w); in init_right_tree() local 236 gtk_tree_view_set_model(view, model2); in init_right_tree() 237 gtk_tree_view_set_headers_visible(view, TRUE); in init_right_tree() 238 gtk_tree_view_set_rules_hint(view, TRUE); in init_right_tree() [all …]
|
/linux/drivers/gpu/drm/i915/ |
H 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()
|
/linux/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 1045 self.view = QTreeView() 1046 self.view.setSelectionMode(QAbstractItemView.ContiguousSelection) 1047 self.view.CopyCellsToClipboard = CopyTreeCellsToClipboard 1049 self.context_menu = TreeContextMenu(self.view) 1062 self.view.setExpanded(parent, True) 1063 self.view.setCurrentIndex(child) 1071 self.view.setFocus() 1093 self.view.setModel(self.model) 1096 self.view.setColumnWidth(c, w) 1100 self.vbox = VBox(self.view, self.find_bar.Widget()) [all …]
|
/linux/Documentation/arch/s390/ |
H A D | s390dbf.rst | 72 a view can be inspected simply by reading the corresponding debugfs file. 130 * hex_ascii-view Example 163 * sprintf-view Example 299 The hex_ascii view shows the data field in hex and ascii representation 302 The sprintf view formats the debug entries in the same way as the sprintf 319 If using the sprintf view do NOT use other event/exception functions 322 The format of the hex_ascii and sprintf view is as follows: 333 A typical line of the hex_ascii view will look like the following (first line 334 is only for explanation and will not be displayed when 'cating' the view):: 363 struct debug_view* view, [all …]
|
/linux/security/apparmor/include/ |
H A D | policy_ns.h | 84 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns); 90 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n); 91 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n);
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_mman.c | 202 struct i915_gtt_view view; in compute_partial_view() local 207 view.type = I915_GTT_VIEW_PARTIAL; in compute_partial_view() 208 view.partial.offset = rounddown(page_offset, chunk); in compute_partial_view() 209 view.partial.size = in compute_partial_view() 211 (obj->base.size >> PAGE_SHIFT) - view.partial.offset); in compute_partial_view() 215 view.type = I915_GTT_VIEW_NORMAL; in compute_partial_view() 217 return view; in compute_partial_view() 392 struct i915_gtt_view view = in vm_fault_gtt() local 397 if (view.type == I915_GTT_VIEW_NORMAL) in vm_fault_gtt() 405 vma = i915_gem_object_ggtt_pin_ww(obj, &ww, &view, 0, 0, flags); in vm_fault_gtt() [all …]
|
H A D | i915_gem_domain.c | 428 const struct i915_gtt_view *view, in i915_gem_object_pin_to_display_plane() argument 476 (!view || view->type == I915_GTT_VIEW_NORMAL)) in i915_gem_object_pin_to_display_plane() 477 vma = i915_gem_object_ggtt_pin_ww(obj, ww, view, 0, alignment, in i915_gem_object_pin_to_display_plane() 481 vma = i915_gem_object_ggtt_pin_ww(obj, ww, view, 0, in i915_gem_object_pin_to_display_plane()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | skl_universal_plane.c | 701 u32 stride = plane_state->view.color_plane[color_plane].scanout_stride; in skl_plane_stride() 1174 u32 offset = plane_state->view.color_plane[color_plane].offset; in skl_surf_address() 1329 u32 x = plane_state->view.color_plane[0].x; in skl_plane_update_arm() 1330 u32 y = plane_state->view.color_plane[0].y; in skl_plane_update_arm() 1359 PLANE_OFFSET_Y(plane_state->view.color_plane[1].y) | in skl_plane_update_arm() 1360 PLANE_OFFSET_X(plane_state->view.color_plane[1].x)); in skl_plane_update_arm() 1412 x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_sel_fetch_noarm() 1419 y = plane_state->view.color_plane[color_plane].y + clip->y1; in icl_plane_update_sel_fetch_noarm() 1421 y = plane_state->view.color_plane[color_plane].y + clip->y1 / 2; in icl_plane_update_sel_fetch_noarm() 1448 int x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_noarm() [all …]
|
H A D | intel_fb.c | 1051 state->view.color_plane[color_plane].mapping_stride, in intel_plane_adjust_aligned_offset() 1132 unsigned int pitch = state->view.color_plane[color_plane].mapping_stride; in intel_plane_compute_aligned_offset() 1469 struct intel_fb_view *view) in calc_plane_remap_info() argument 1472 struct intel_remapped_plane_info *remap_info = &view->gtt.remapped.plane[color_plane]; in calc_plane_remap_info() 1473 struct i915_color_plane_view *color_plane_info = &view->color_plane[color_plane]; in calc_plane_remap_info() 1498 if (view->gtt.type == I915_GTT_VIEW_ROTATED) { in calc_plane_remap_info() 1500 check_array_bounds(i915, view->gtt.rotated.plane, color_plane); in calc_plane_remap_info() 1523 drm_WARN_ON(&i915->drm, view->gtt.type != I915_GTT_VIEW_REMAPPED); in calc_plane_remap_info() 1525 check_array_bounds(i915, view->gtt.remapped.plane, color_plane); in calc_plane_remap_info() 1527 if (view->gtt.remapped.plane_alignment) { in calc_plane_remap_info() [all …]
|
/linux/arch/powerpc/kernel/ptrace/ |
H A D | Makefile | 6 CFLAGS_ptrace-view.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' 8 obj-y += ptrace.o ptrace-view.o
|
/linux/include/linux/ |
H A D | regset.h | 310 const struct user_regset_view *view, 324 const struct user_regset_view *view, in copy_regset_from_user() argument 329 const struct user_regset *regset = &view->regsets[setno]; in copy_regset_from_user()
|
/linux/kernel/ |
H A D | regset.c | 55 * @view: &struct user_regset_view describing user thread machine state 56 * @setno: index in @view->regsets 62 const struct user_regset_view *view, in copy_regset_to_user() argument 67 const struct user_regset *regset = &view->regsets[setno]; in copy_regset_to_user()
|