Home
last modified time | relevance | path

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

12345678910>>...49

/kernel/linux/linux-4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_so.c37 * to it, and all context bindings of that view. Similarly we must restore
38 * the view bindings, views and surfaces pointed to by the views when a
43 * struct vmw_view - view metadata
46 * @ctx: Non-refcounted pointer to the context this view belongs to.
47 * @srf: Refcounted pointer to the surface pointed to by this view.
48 * @cotable: Refcounted pointer to the cotable holding this view.
49 * @srf_head: List head for the surface-to-view list.
51 * @view_type: View type.
52 * @view_id: User-space per context view id. Currently used also as per
53 * context device view id.
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_so.c37 * to it, and all context bindings of that view. Similarly we must restore
38 * the view bindings, views and surfaces pointed to by the views when a
43 * struct vmw_view - view metadata
46 * @ctx: Non-refcounted pointer to the context this view belongs to.
47 * @srf: Refcounted pointer to the surface pointed to by this view.
48 * @cotable: Refcounted pointer to the cotable holding this view.
49 * @srf_head: List head for the surface-to-view list.
51 * @view_type: View type.
52 * @view_id: User-space per context view id. Currently used also as per
53 * context device view id.
[all …]
/kernel/linux/linux-4.19/drivers/s390/char/
Draw3270.c46 struct raw3270_view *view; /* Active view. */ member
90 * Wait queue for device init/delete, view delete.
239 __raw3270_start(struct raw3270 *rp, struct raw3270_view *view, in __raw3270_start() argument
242 rq->view = view; in __raw3270_start()
243 raw3270_get_view(view); in __raw3270_start()
250 raw3270_put_view(view); in __raw3270_start()
259 raw3270_view_active(struct raw3270_view *view) in raw3270_view_active() argument
261 struct raw3270 *rp = view->dev; in raw3270_view_active()
263 return rp && rp->view == view && in raw3270_view_active()
268 raw3270_start(struct raw3270_view *view, struct raw3270_request *rq) in raw3270_start() argument
[all …]
Dcon3270.c3 * IBM/3270 Driver - console view.
39 * Main 3270 console view data structure.
42 struct raw3270_view view; member
87 * "console view" in the lower left corner and "Running"/"More..."/"Holding"
97 codepage_convert(cp->view.ascebc, cp->status->string + 24, 7); in con3270_update_status()
113 raw3270_buffer_address(cp->view.dev, cp->status->string + 1, in con3270_create_status()
114 cp->view.cols * (cp->view.rows - 1)); in con3270_create_status()
115 raw3270_buffer_address(cp->view.dev, cp->status->string + 21, in con3270_create_status()
116 cp->view.cols * cp->view.rows - 8); in con3270_create_status()
118 codepage_convert(cp->view.ascebc, cp->status->string + 8, 12); in con3270_create_status()
[all …]
Dfs3270.c33 struct raw3270_view view; member
38 int active; /* Fullscreen view is active. */
57 * The fullscreen view is in working order if the view in fs3270_working()
64 fs3270_do_io(struct raw3270_view *view, struct raw3270_request *rq) in fs3270_do_io() argument
69 fp = (struct fs3270 *) view; in fs3270_do_io()
75 /* Fullscreen view isn't ready yet. */ in fs3270_do_io()
81 rc = raw3270_start(view, rq); in fs3270_do_io()
91 * Switch to the fullscreen view.
98 fp = (struct fs3270 *) rq->view; in fs3270_reset_callback()
108 fp = (struct fs3270 *) rq->view; in fs3270_restore_callback()
[all …]
Dtty3270.c57 * The main tty view data structure.
64 struct raw3270_view view; member
147 if (count > tp->view.cols * 2 - 11) in tty3270_update_prompt()
148 count = tp->view.cols * 2 - 11; in tty3270_update_prompt()
152 if (count < tp->view.cols * 2 - 11) { in tty3270_update_prompt()
155 off = tp->view.cols * tp->view.rows - 9; in tty3270_update_prompt()
156 raw3270_buffer_address(tp->view.dev, line->string+count+8, off); in tty3270_update_prompt()
174 sizeof(blueprint) + tp->view.cols * 2 - 9); in tty3270_create_prompt()
181 offset = tp->view.cols * (tp->view.rows - 2); in tty3270_create_prompt()
182 raw3270_buffer_address(tp->view.dev, line->string + 1, offset); in tty3270_create_prompt()
[all …]
/kernel/linux/linux-5.10/drivers/s390/char/
Draw3270.c46 struct raw3270_view *view; /* Active view. */ member
90 * Wait queue for device init/delete, view delete.
239 __raw3270_start(struct raw3270 *rp, struct raw3270_view *view, in __raw3270_start() argument
242 rq->view = view; in __raw3270_start()
243 raw3270_get_view(view); in __raw3270_start()
250 raw3270_put_view(view); in __raw3270_start()
259 raw3270_view_active(struct raw3270_view *view) in raw3270_view_active() argument
261 struct raw3270 *rp = view->dev; in raw3270_view_active()
263 return rp && rp->view == view && in raw3270_view_active()
268 raw3270_start(struct raw3270_view *view, struct raw3270_request *rq) in raw3270_start() argument
[all …]
Dcon3270.c3 * IBM/3270 Driver - console view.
39 * Main 3270 console view data structure.
42 struct raw3270_view view; member
87 * "console view" in the lower left corner and "Running"/"More..."/"Holding"
97 codepage_convert(cp->view.ascebc, cp->status->string + 24, 7); in con3270_update_status()
113 raw3270_buffer_address(cp->view.dev, cp->status->string + 1, in con3270_create_status()
114 cp->view.cols * (cp->view.rows - 1)); in con3270_create_status()
115 raw3270_buffer_address(cp->view.dev, cp->status->string + 21, in con3270_create_status()
116 cp->view.cols * cp->view.rows - 8); in con3270_create_status()
118 codepage_convert(cp->view.ascebc, cp->status->string + 8, 12); in con3270_create_status()
[all …]
Dfs3270.c33 struct raw3270_view view; member
38 int active; /* Fullscreen view is active. */
57 * The fullscreen view is in working order if the view in fs3270_working()
64 fs3270_do_io(struct raw3270_view *view, struct raw3270_request *rq) in fs3270_do_io() argument
69 fp = (struct fs3270 *) view; in fs3270_do_io()
75 /* Fullscreen view isn't ready yet. */ in fs3270_do_io()
81 rc = raw3270_start(view, rq); in fs3270_do_io()
91 * Switch to the fullscreen view.
98 fp = (struct fs3270 *) rq->view; in fs3270_reset_callback()
108 fp = (struct fs3270 *) rq->view; in fs3270_restore_callback()
[all …]
Dtty3270.c57 * The main tty view data structure.
64 struct raw3270_view view; member
147 if (count > tp->view.cols * 2 - 11) in tty3270_update_prompt()
148 count = tp->view.cols * 2 - 11; in tty3270_update_prompt()
152 if (count < tp->view.cols * 2 - 11) { in tty3270_update_prompt()
155 off = tp->view.cols * tp->view.rows - 9; in tty3270_update_prompt()
156 raw3270_buffer_address(tp->view.dev, line->string+count+8, off); in tty3270_update_prompt()
174 sizeof(blueprint) + tp->view.cols * 2 - 9); in tty3270_create_prompt()
181 offset = tp->view.cols * (tp->view.rows - 2); in tty3270_create_prompt()
182 raw3270_buffer_address(tp->view.dev, line->string + 1, offset); in tty3270_create_prompt()
[all …]
/kernel/linux/linux-4.19/drivers/usb/phy/
Dphy-ulpi-viewport.c21 static int ulpi_viewport_wait(void __iomem *view, u32 mask) in ulpi_viewport_wait() argument
26 if (!(readl(view) & mask)) in ulpi_viewport_wait()
38 void __iomem *view = otg->io_priv; in ulpi_viewport_read() local
40 writel(ULPI_VIEW_WAKEUP | ULPI_VIEW_WRITE, view); in ulpi_viewport_read()
41 ret = ulpi_viewport_wait(view, ULPI_VIEW_WAKEUP); in ulpi_viewport_read()
45 writel(ULPI_VIEW_RUN | ULPI_VIEW_READ | ULPI_VIEW_ADDR(reg), view); in ulpi_viewport_read()
46 ret = ulpi_viewport_wait(view, ULPI_VIEW_RUN); in ulpi_viewport_read()
50 return ULPI_VIEW_DATA_READ(readl(view)); in ulpi_viewport_read()
56 void __iomem *view = otg->io_priv; in ulpi_viewport_write() local
58 writel(ULPI_VIEW_WAKEUP | ULPI_VIEW_WRITE, view); in ulpi_viewport_write()
[all …]
/kernel/linux/linux-5.10/drivers/usb/phy/
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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.h58 0 0 0 0-degree view Natural view
59 0 0 1 0-degree view with vertical mirror 180-degree view with horizontal mirror
60 0 1 0 0-degree view with horizontal mirror 180-degree view with vertical mirror
61 0 1 1 180-degree view
62 1 0 0 90-degree view with vertical mirror 270-degree view with horizontal mirror
63 1 0 1 270-degree view
64 1 1 0 90-degree view
65 1 1 1 90-degree view with horizontal mirror 270-degree view with vertical mirror
81 /* create tsptr by adding view orientation and access mode */
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.h58 0 0 0 0-degree view Natural view
59 0 0 1 0-degree view with vertical mirror 180-degree view with horizontal mirror
60 0 1 0 0-degree view with horizontal mirror 180-degree view with vertical mirror
61 0 1 1 180-degree view
62 1 0 0 90-degree view with vertical mirror 270-degree view with horizontal mirror
63 1 0 1 270-degree view
64 1 1 0 90-degree view
65 1 1 1 90-degree view with horizontal mirror 270-degree view with vertical mirror
81 /* create tsptr by adding view orientation and access mode */
/kernel/linux/linux-4.19/security/apparmor/
Dpolicy_ns.c34 * aa_ns_visible - test if @view is visible from @curr
36 * @view: namespace to test if visible from @curr (NOT NULL)
37 * @subns: whether view of a subns is allowed
39 * Returns: true if @view is visible from @curr else false
41 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible() argument
43 if (curr == view) in aa_ns_visible()
49 for ( ; view; view = view->parent) { in aa_ns_visible()
50 if (view->parent == curr) in aa_ns_visible()
58 * aa_na_name - Find the ns name to display for @view from @curr
60 * @view - namespace attempting to view (NOT NULL)
[all …]
/kernel/linux/linux-5.10/security/apparmor/
Dpolicy_ns.c30 * aa_ns_visible - test if @view is visible from @curr
32 * @view: namespace to test if visible from @curr (NOT NULL)
33 * @subns: whether view of a subns is allowed
35 * Returns: true if @view is visible from @curr else false
37 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible() argument
39 if (curr == view) in aa_ns_visible()
45 for ( ; view; view = view->parent) { in aa_ns_visible()
46 if (view->parent == curr) in aa_ns_visible()
54 * aa_na_name - Find the ns name to display for @view from @curr
56 * @view - namespace attempting to view (NOT NULL)
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/dispnv50/
Dhead.c48 if (asyh->set.view ) head->func->view (head, asyh); in nv50_head_flush_set()
138 asyh->view.iW = umode->hdisplay; in nv50_head_atomic_check_view()
139 asyh->view.iH = umode_vdisplay; in nv50_head_atomic_check_view()
142 asyh->view.oW = omode_hdisplay; in nv50_head_atomic_check_view()
143 asyh->view.oH = omode_vdisplay; in nv50_head_atomic_check_view()
154 u32 r = (asyh->view.oH << 19) / asyh->view.oW; in nv50_head_atomic_check_view()
157 asyh->view.oW -= (bX * 2); in nv50_head_atomic_check_view()
158 if (bY) asyh->view.oH -= (bY * 2); in nv50_head_atomic_check_view()
159 else asyh->view.oH = ((asyh->view.oW * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view()
161 asyh->view.oW -= (asyh->view.oW >> 4) + 32; in nv50_head_atomic_check_view()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
Dhead.c67 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 …]
/kernel/linux/linux-4.19/arch/s390/kernel/
Ddebug.c51 struct debug_view *view; /* used view of debug info */ member
79 struct debug_view *view, char *out_buf);
80 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view,
84 struct debug_view *view, char *out_buf);
85 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view,
88 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view,
91 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view,
94 struct debug_view *view, char *out_buf,
96 static int debug_raw_header_fn(debug_info_t *id, struct debug_view *view,
99 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view,
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/i915/selftests/
Di915_vma.c61 struct i915_ggtt_view *view) in checked_vma_instance() argument
66 vma = i915_vma_instance(obj, vm, view); in checked_vma_instance()
83 if (i915_vma_compare(vma, vm, view)) { in checked_vma_instance()
440 struct i915_ggtt_view view; in igt_vma_rotate() local
448 view.type = I915_GGTT_VIEW_ROTATED; in igt_vma_rotate()
449 view.rotated.plane[0] = *a; in igt_vma_rotate()
450 view.rotated.plane[1] = *b; in igt_vma_rotate()
452 for_each_prime_number_from(view.rotated.plane[0].offset, 0, max_offset) { in igt_vma_rotate()
453 for_each_prime_number_from(view.rotated.plane[1].offset, 0, max_offset) { in igt_vma_rotate()
457 vma = checked_vma_instance(obj, vm, &view); in igt_vma_rotate()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_vma.c65 const struct i915_ggtt_view *view) in checked_vma_instance() argument
70 vma = i915_vma_instance(obj, vm, view); in checked_vma_instance()
87 if (i915_vma_compare(vma, vm, view)) { in checked_vma_instance()
518 struct i915_ggtt_view view; in igt_vma_rotate_remap() local
526 view.type = *t; in igt_vma_rotate_remap()
527 view.rotated.plane[0] = *a; in igt_vma_rotate_remap()
528 view.rotated.plane[1] = *b; in igt_vma_rotate_remap()
530 for_each_prime_number_from(view.rotated.plane[0].offset, 0, max_offset) { in igt_vma_rotate_remap()
531 for_each_prime_number_from(view.rotated.plane[1].offset, 0, max_offset) { in igt_vma_rotate_remap()
535 vma = checked_vma_instance(obj, vm, &view); in igt_vma_rotate_remap()
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Ddebug.c52 struct debug_view *view; /* used view of debug info */ member
80 struct debug_view *view, char *out_buf);
81 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view,
85 struct debug_view *view, char *out_buf);
86 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view,
89 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view,
92 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view,
94 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view,
389 struct debug_view *view = p_info->view; in debug_format_entry() local
395 if (view->prolog_proc) in debug_format_entry()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_vma_types.h43 * singular instances with a view representing all of the object's backing pages
44 * in a linear fashion. This view will be called a normal view.
48 * is not linear, concept of a GGTT view was added.
50 * One example of an alternative view is a stereo display driven by a single
57 * Above would represent a normal GGTT view as normally mapped for GPU or CPU
59 * view which could look something like this:
64 * In this example both the size and layout of pages in the alternative view is
65 * different from the normal view.
75 * parameter encapsulating all metadata required to implement a view.
77 * As a helper for callers which are only interested in the normal view,
[all …]
/kernel/linux/linux-4.19/tools/perf/ui/gtk/
Dhists.c279 static void on_row_activated(GtkTreeView *view, GtkTreePath *path, in on_row_activated() argument
283 bool expanded = gtk_tree_view_row_expanded(view, path); in on_row_activated()
286 gtk_tree_view_collapse_row(view, path); in on_row_activated()
288 gtk_tree_view_expand_row(view, path, FALSE); in on_row_activated()
299 GtkWidget *view; in perf_gtk__show_hists() local
317 view = gtk_tree_view_new(); in perf_gtk__show_hists()
334 gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view), in perf_gtk__show_hists()
343 column = gtk_tree_view_get_column(GTK_TREE_VIEW(view), col_idx); in perf_gtk__show_hists()
347 gtk_tree_view_set_expander_column(GTK_TREE_VIEW(view), in perf_gtk__show_hists()
352 gtk_tree_view_set_model(GTK_TREE_VIEW(view), GTK_TREE_MODEL(store)); in perf_gtk__show_hists()
[all …]
/kernel/linux/linux-5.10/tools/perf/ui/gtk/
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 …]

12345678910>>...49