Home
last modified time | relevance | path

Searched full:view (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_so.c38 * to it, and all context bindings of that view. Similarly we must restore
39 * the view bindings, views and surfaces pointed to by the views when a
44 * struct vmw_view - view metadata
48 * @ctx: Non-refcounted pointer to the context this view belongs to.
49 * @srf: Refcounted pointer to the surface pointed to by this view.
50 * @cotable: Refcounted pointer to the cotable holding this view.
51 * @srf_head: List head for the surface-to-view list.
53 * @view_type: View type.
54 * @view_id: User-space per context view id. Currently used also as per
55 * context device view id.
[all …]
H A Dvmwgfx_so.h48 * union vmw_view_destroy - view destruction command body
50 * @rtv: RenderTarget view destruction command body
51 * @srv: ShaderResource view destruction command body
52 * @dsv: DepthStencil view destruction command body
53 * @view_id: A single u32 view id.
69 /* Map enum vmw_view_type to view destroy command ids*/
79 * vmw_view_cmd_to_type - Return the view type for a create or destroy command
83 * For a given view create or destroy command id, return the corresponding
146 * View management - vmwgfx_so.c
/linux/drivers/s390/char/
H A Draw3270.c52 struct raw3270_view *view; /* Active view. */ member
96 * Wait queue for device init/delete, view delete.
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
[all …]
H A Draw3270.h22 struct raw3270_view *view; /* view of this request */ member
51 * Functions of a 3270 view.
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,
66 * View structure chaining. The raw3270_view structure is meant to
67 * be embedded at the start of the real view data structure, e.g.:
69 * struct raw3270_view view;
75 spinlock_t lock; /* protects members of view */
[all …]
H A Dfs3270.c33 struct raw3270_view view; member
38 int active; /* Fullscreen view is active. */
55 * The fullscreen view is in working order if the view in fs3270_working()
61 static int fs3270_do_io(struct raw3270_view *view, struct raw3270_request *rq) in fs3270_do_io() argument
66 fp = (struct fs3270 *)view; in fs3270_do_io()
72 /* Fullscreen view isn't ready yet. */ in fs3270_do_io()
78 rc = raw3270_start(view, rq); in fs3270_do_io()
88 * Switch to the fullscreen view.
94 fp = (struct fs3270 *)rq->view; in fs3270_reset_callback()
103 fp = (struct fs3270 *)rq->view; in fs3270_restore_callback()
[all …]
H A Dcon3270.c74 * The main tty view data structure.
81 struct raw3270_view view; member
148 return tp->view.rows - TTY3270_INPUT_AREA_ROWS; in tty3270_tty_rows()
154 raw3270_buffer_address(tp->view.dev, cp, x, y); in tty3270_add_ba()
224 *cp++ = tp->view.ascebc['>']; in tty3270_add_prompt()
229 tp->view.cols * 2 - TTY3270_STATUS_AREA_SIZE - 2); in tty3270_add_prompt()
237 if (count < tp->view.cols * 2 - 11) in tty3270_add_prompt()
245 *d++ = tp->view.ascebc[(int)*s++]; in tty3270_ebcdic_convert()
276 codepage_convert(tp->view.ascebc, cp, len); in tty3270_add_status()
304 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); in tty3270_write_callback()
[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.c33 * aa_ns_visible - test if @view is visible from @curr
35 * @view: namespace to test if visible from @curr (NOT NULL)
36 * @subns: whether view of a subns is allowed
38 * Returns: true if @view is visible from @curr else false
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()
57 * aa_ns_name - Find the ns name to display for @view from @curr
59 * @view: namespace attempting to view (NOT NULL)
[all …]
/linux/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.h50 0 0 0 0-degree view Natural view
51 0 0 1 0-degree view with vertical mirror 180-degree view with horizontal mirror
52 0 1 0 0-degree view with horizontal mirror 180-degree view with vertical mirror
53 0 1 1 180-degree view
54 1 0 0 90-degree view with vertical mirror 270-degree view with horizontal mirror
55 1 0 1 270-degree view
56 1 1 0 90-degree view
57 1 1 1 90-degree view with horizontal mirror 270-degree view with vertical mirror
73 /* create tsptr by adding view orientation and access mode */
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c73 if (asyh->set.view ) head->func->view (head, asyh); in nv50_head_flush_set()
151 asyh->view.iW = umode->hdisplay; in nv50_head_atomic_check_view()
152 asyh->view.iH = umode_vdisplay; in nv50_head_atomic_check_view()
155 asyh->view.oW = omode_hdisplay; in nv50_head_atomic_check_view()
156 asyh->view.oH = omode_vdisplay; in nv50_head_atomic_check_view()
167 u32 r = (asyh->view.oH << 19) / asyh->view.oW; in nv50_head_atomic_check_view()
170 asyh->view.oW -= (bX * 2); in nv50_head_atomic_check_view()
171 if (bY) asyh->view.oH -= (bY * 2); in nv50_head_atomic_check_view()
172 else asyh->view.oH = ((asyh->view.oW * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view()
174 asyh->view.oW -= (asyh->view.oW >> 4) + 32; in nv50_head_atomic_check_view()
[all …]
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,
/linux/scripts/kconfig/
H A Dgconf.c45 static struct menu *browsed; // browsed menu for SINGLE/SPLIT view
94 static void _select_menu(GtkTreeView *view, GtkTreeModel *model, in _select_menu() argument
115 gtk_tree_view_expand_to_path(view, path); in _select_menu()
116 gtk_tree_view_scroll_to_cell(view, path, NULL, TRUE, in _select_menu()
120 selection = gtk_tree_view_get_selection(view); in _select_menu()
126 _select_menu(view, model, &iter, match); in _select_menu()
132 static void select_menu(GtkTreeView *view, struct menu *match) in select_menu() argument
134 _select_menu(view, gtk_tree_view_get_model(view), NULL, match); in select_menu()
137 static void _update_row_visibility(GtkTreeView *view) in _update_row_visibility() argument
139 GtkTreeModelFilter *filter = GTK_TREE_MODEL_FILTER(gtk_tree_view_get_model(view)); in _update_row_visibility()
[all …]
/linux/arch/s390/kernel/
H A Ddebug.c52 struct debug_view *view; /* used view of debug info */ member
80 struct debug_view *view, char *out_buf,
82 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view,
86 struct debug_view *view, char *out_buf,
88 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view,
91 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view,
94 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view,
391 struct debug_view *view = p_info->view; in debug_format_entry() local
397 if (view->prolog_proc) { in debug_format_entry()
398 len += view->prolog_proc(id_snap, view, p_info->temp_buf, in debug_format_entry()
[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/arch/s390/include/asm/
H A Ddebug.h66 struct debug_view *view,
72 struct debug_view *view, char *out_buf,
76 struct debug_view *view,
79 struct debug_view *view,
84 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view,
89 int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view,
121 ssize_t debug_dump(debug_info_t *id, struct debug_view *view,
400 int debug_register_view(debug_info_t *id, struct debug_view *view);
402 int debug_unregister_view(debug_info_t *id, struct debug_view *view);
460 #define __REGISTER_STATIC_DEBUG_INFO(var, name, pages, areas, view) \ argument
[all …]
/linux/tools/perf/scripts/python/
H A Dexported-sql-viewer.py3 # exported-sql-viewer.py: view data from sql database
787 # Turn the query result into a list of ids that the tree view can walk
982 # Turn the query result into a list of ids that the tree view can walk
1048 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()
[all …]
H A Dexport-to-sqlite.py336 do_query(query, 'CREATE VIEW machines_view AS '
344 do_query(query, 'CREATE VIEW dsos_view AS '
354 do_query(query, 'CREATE VIEW symbols_view AS '
365 do_query(query, 'CREATE VIEW threads_view AS '
375 do_query(query, 'CREATE VIEW comm_threads_view AS '
385 do_query(query, 'CREATE VIEW call_paths_view AS '
401 do_query(query, 'CREATE VIEW calls_view AS '
426 do_query(query, 'CREATE VIEW samples_view AS '
451 do_query(query, 'CREATE VIEW ptwrite_view AS '
461 do_query(query, 'CREATE VIEW cbr_view AS '
[all …]
H A Dexport-to-postgresql.py498 do_query(query, 'CREATE VIEW machines_view AS '
506 do_query(query, 'CREATE VIEW dsos_view AS '
516 do_query(query, 'CREATE VIEW symbols_view AS '
527 do_query(query, 'CREATE VIEW threads_view AS '
537 do_query(query, 'CREATE VIEW comm_threads_view AS '
547 do_query(query, 'CREATE VIEW call_paths_view AS '
563 do_query(query, 'CREATE VIEW calls_view AS '
588 do_query(query, 'CREATE VIEW samples_view AS '
613 do_query(query, 'CREATE VIEW ptwrite_view AS '
623 do_query(query, 'CREATE VIEW cbr_view AS '
[all …]
/linux/include/linux/irqchip/
H A Darm-gic-v3-prio.h7 * GIC priorities from the view of the PMR/RPR.
10 * the NS view of the priority space. The value programmed into the distributor
14 * GICV3_PRIO_UNMASKED is the PMR view of the priority to use to permit both
17 * GICV3_PRIO_IRQ is the PMR view of the priority of regular interrupts. This
20 * GICV3_PRIO_NMI is the PMR view of the priority of pseudo-NMIs. This can be
/linux/drivers/hwtracing/coresight/
H A Dcoresight-syscfg-configfs.h14 /* container for configuration view */
22 /* container for feature view */
28 /* container for parameter view */
35 /* container for preset view */
/linux/include/linux/
H A Dregset.h225 * @regsets: Array of @n regsets available in this view.
231 * A regset view is a collection of regsets (&struct user_regset,
233 * from a given architecture/ABI environment. More than one view might
237 * view or from the 64-bit view. Either method reaches the same thread
254 * task_user_regset_view - Return the process's native regset view.
320 const struct user_regset_view *view,
327 * @view: &struct user_regset_view describing user thread machine state
328 * @setno: index in @view->regsets
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/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/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()
1068 * to be already rotated to match the rotated GTT view, and
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()
1523 /* rotate the x/y offsets to match the GTT view */ in calc_plane_remap_info()
[all …]
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_mman.c153 * for the mappable aperture!), a view is created instead and faulted
154 * into userspace. (This view is aligned and sized appropriately for
204 struct i915_gtt_view view; in compute_partial_view() local
209 view.type = I915_GTT_VIEW_PARTIAL; in compute_partial_view()
210 view.partial.offset = rounddown(page_offset, chunk); in compute_partial_view()
211 view.partial.size = in compute_partial_view()
213 (obj->base.size >> PAGE_SHIFT) - view.partial.offset); in compute_partial_view()
217 view.type = I915_GTT_VIEW_NORMAL; in compute_partial_view()
219 return view; in compute_partial_view()
393 /* Use a partial view if it is bigger than available space */ in vm_fault_gtt()
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_vma.c150 const struct i915_gtt_view *view) in vma_create() argument
182 if (view && view->type != I915_GTT_VIEW_NORMAL) { in vma_create()
183 vma->gtt_view = *view; in vma_create()
184 if (view->type == I915_GTT_VIEW_PARTIAL) { in vma_create()
186 view->partial.offset, in vma_create()
187 view->partial.size, in vma_create()
189 vma->size = view->partial.size; in vma_create()
192 } else if (view->type == I915_GTT_VIEW_ROTATED) { in vma_create()
193 vma->size = intel_rotation_info_size(&view->rotated); in vma_create()
195 } else if (view->type == I915_GTT_VIEW_REMAPPED) { in vma_create()
[all …]

12345678910>>...24