Home
last modified time | relevance | path

Searched refs:view (Results 1 – 25 of 172) sorted by relevance

1234567

/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_so.c131 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 …]
H A Dvmwgfx_execbuf.c351 struct vmw_resource *view) in vmw_view_res_val_add() argument
359 ret = vmw_execbuf_res_val_add(sw_context, vmw_view_srf(view), in vmw_view_res_val_add()
360 vmw_view_dirtying(view), vmw_val_add_flag_noctx); in vmw_view_res_val_add()
364 return vmw_execbuf_res_val_add(sw_context, view, VMW_RES_DIRTY_NONE, in vmw_view_res_val_add()
388 struct vmw_resource *view; in vmw_view_id_val_add() local
394 view = vmw_view_lookup(sw_context->man, view_type, id); in vmw_view_id_val_add()
395 if (IS_ERR(view)) in vmw_view_id_val_add()
396 return view; in vmw_view_id_val_add()
398 ret = vmw_view_res_val_add(sw_context, view); in vmw_view_id_val_add()
402 return view; in vmw_view_id_val_add()
[all …]
/linux/drivers/s390/char/
H A Draw3270.c52 struct raw3270_view *view; /* Active view. */ member
127 x = max_t(int, 0, rp->view->cols + x); in raw3270_buffer_address()
129 y = max_t(int, 0, rp->view->rows + y); in raw3270_buffer_address()
130 addr = (y * rp->view->cols) + x; in raw3270_buffer_address()
250 static int __raw3270_start(struct raw3270 *rp, struct raw3270_view *view, in __raw3270_start() argument
253 rq->view = view; in __raw3270_start()
254 raw3270_get_view(view); in __raw3270_start()
261 raw3270_put_view(view); in __raw3270_start()
269 int raw3270_view_active(struct raw3270_view *view) in raw3270_view_active() argument
271 struct raw3270 *rp = view->dev; in raw3270_view_active()
[all …]
H A Draw3270.h22 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 …]
/linux/drivers/usb/phy/
H A Dphy-ulpi-viewport.c22 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/security/apparmor/
H A Dpolicy_ns.c40 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/scripts/kconfig/
H A Dgconf.c95 static void _select_menu(GtkTreeView *view, GtkTreeModel *model, in _select_menu() argument
116 gtk_tree_view_expand_to_path(view, path); in _select_menu()
117 gtk_tree_view_scroll_to_cell(view, path, NULL, TRUE, in _select_menu()
121 selection = gtk_tree_view_get_selection(view); in _select_menu()
127 _select_menu(view, model, &iter, match); in _select_menu()
133 static void select_menu(GtkTreeView *view, struct menu *match) in select_menu() argument
135 _select_menu(view, gtk_tree_view_get_model(view), NULL, match); in select_menu()
138 static void _update_row_visibility(GtkTreeView *view) in _update_row_visibility() argument
140 GtkTreeModelFilter *filter = GTK_TREE_MODEL_FILTER(gtk_tree_view_get_model(view)); in _update_row_visibility()
660 GtkTreeView *view = GTK_TREE_VIEW(user_data); in renderer_edited() local
[all …]
/linux/tools/perf/ui/gtk/
H A Dhists.c281 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 …]
/linux/tools/perf/scripts/python/
H A Dexported-sql-viewer.py1048 self.view = QTreeView()
1049 self.view.setSelectionMode(QAbstractItemView.ContiguousSelection)
1050 self.view.CopyCellsToClipboard = CopyTreeCellsToClipboard
1052 self.context_menu = TreeContextMenu(self.view)
1065 self.view.setExpanded(parent, True)
1066 self.view.setCurrentIndex(child)
1074 self.view.setFocus()
1096 self.view.setModel(self.model)
1099 self.view.setColumnWidth(c, w)
1103 self.vbox = VBox(self.view, self.find_bar.Widget())
[all …]
/linux/security/apparmor/include/
H A Dpolicy_ns.h84 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);
H A Dpolicy.h283 ssize_t aa_replace_profiles(struct aa_ns *view, struct aa_label *label,
285 ssize_t aa_remove_profiles(struct aa_ns *view, struct aa_label *label,
/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb.c1059 plane_state->view.color_plane[color_plane].mapping_stride, in intel_plane_adjust_aligned_offset()
1140 unsigned int pitch = plane_state->view.color_plane[color_plane].mapping_stride; in intel_plane_compute_aligned_offset()
1294 plane_state->view.gtt.type == I915_GTT_VIEW_NORMAL); in intel_plane_uses_fence()
1487 struct intel_fb_view *view) in calc_plane_remap_info() argument
1490 struct intel_remapped_plane_info *remap_info = &view->gtt.remapped.plane[color_plane]; in calc_plane_remap_info()
1491 struct i915_color_plane_view *color_plane_info = &view->color_plane[color_plane]; in calc_plane_remap_info()
1516 if (view->gtt.type == I915_GTT_VIEW_ROTATED) { in calc_plane_remap_info()
1518 check_array_bounds(display, view->gtt.rotated.plane, color_plane); in calc_plane_remap_info()
1541 drm_WARN_ON(display->drm, view->gtt.type != I915_GTT_VIEW_REMAPPED); in calc_plane_remap_info()
1543 check_array_bounds(display, view->gtt.remapped.plane, color_plane); in calc_plane_remap_info()
[all …]
H A Dskl_universal_plane.c772 u32 stride = plane_state->view.color_plane[color_plane].scanout_stride; in skl_plane_stride()
1300 u32 offset = plane_state->view.color_plane[color_plane].offset; in skl_surf_address()
1446 u32 x = plane_state->view.color_plane[0].x; in skl_plane_update_arm()
1447 u32 y = plane_state->view.color_plane[0].y; in skl_plane_update_arm()
1476 PLANE_OFFSET_Y(plane_state->view.color_plane[1].y) | in skl_plane_update_arm()
1477 PLANE_OFFSET_X(plane_state->view.color_plane[1].x)); in skl_plane_update_arm()
1529 x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_sel_fetch_noarm()
1536 y = plane_state->view.color_plane[color_plane].y + clip->y1; in icl_plane_update_sel_fetch_noarm()
1538 y = plane_state->view.color_plane[color_plane].y + clip->y1 / 2; in icl_plane_update_sel_fetch_noarm()
1564 int x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_noarm()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead907d.c395 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 Dhead507d.c417 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,
H A Dheadc37d.c265 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,
H A Datom.h33 } view; member
138 bool view:1; member
/linux/drivers/android/binder/
H A Dthread.rs646 view: &mut AllocationView<'_>, in translate_object()
662 security::binder_transfer_binder(&self.process.cred, &view.alloc.process.cred)?; in translate_object()
663 view.transfer_binder_object(offset, obj, strong, node)?; in translate_object()
670 security::binder_transfer_binder(&self.process.cred, &view.alloc.process.cred)?; in translate_object()
671 view.transfer_binder_object(offset, obj, strong, node)?; in translate_object()
686 &view.alloc.process.cred, in translate_object()
695 view.write::<BinderFdObject>(offset, &obj_write)?; in translate_object()
702 view.alloc.info_add_fd(file, field_offset, false)?; in translate_object()
732 let buffer_ptr_in_user_space = (view.alloc.ptr + alloc_offset) as u64; in translate_object()
781 view.write::<BinderBufferObject>(offset, &obj_write)?; in translate_object()
[all …]
/linux/arch/powerpc/kernel/ptrace/
H A DMakefile6 CFLAGS_ptrace-view.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
8 obj-y += ptrace.o ptrace-view.o
/linux/kernel/
H A Dregset.c55 * @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()
/linux/include/linux/
H A Dregset.h320 const struct user_regset_view *view,
334 const struct user_regset_view *view, in copy_regset_from_user() argument
339 const struct user_regset *regset = &view->regsets[setno]; in copy_regset_from_user()
/linux/arch/arm/boot/dts/ti/omap/
H A Dam335x-osd335x-common.dtsi26 * Therefore, from a DEVICE_ID revision point of view, the silicon looks
27 * like it is Revision 2.1. However, from an EFUSE_SMA point of view for
/linux/tools/firewire/
H A Dnosy-dump.c899 int length, retval, view; in main() local
940 view = VIEW_TRANSACTION; in main()
942 view = VIEW_STATS; in main()
944 view = VIEW_PACKET; in main()
961 if (view == VIEW_STATS) in main()
1001 switch (view) { in main()
/linux/fs/configfs/
H A DKconfig7 view of kernel objects, configfs is a filesystem-based manager
/linux/Documentation/arch/powerpc/
H A Ddexcr.rst30 provides a non-privileged read-only view of the userspace DEXCR aspects.
31 There is also an SPR that provides a read-only view of the hypervisor enforced
32 aspects, which ORed with the userspace DEXCR view gives the effective DEXCR

1234567