Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_so.c128 struct vmw_view *view = vmw_view(res); in vmw_view_commit_notify() local
133 struct vmw_surface *srf = vmw_res_to_srf(view->srf); in vmw_view_commit_notify()
135 list_add_tail(&view->srf_head, &srf->view_list); in vmw_view_commit_notify()
136 vmw_cotable_add_resource(view->cotable, &view->cotable_head); in vmw_view_commit_notify()
137 view->committed = true; in vmw_view_commit_notify()
138 res->id = view->view_id; in vmw_view_commit_notify()
141 list_del_init(&view->cotable_head); in vmw_view_commit_notify()
142 list_del_init(&view->srf_head); in vmw_view_commit_notify()
143 view->committed = false; in vmw_view_commit_notify()
159 struct vmw_view *view = vmw_view(res); in vmw_view_create() local
[all …]
/kernel/linux/linux-5.10/drivers/s390/char/
Draw3270.c46 struct raw3270_view *view; /* Active view. */ member
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
274 spin_lock_irqsave(get_ccwdev_lock(view->dev->cdev), flags); in raw3270_start()
[all …]
Dcon3270.c42 struct raw3270_view view; member
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()
119 codepage_convert(cp->view.ascebc, cp->status->string + 24, 7); in con3270_create_status()
135 raw3270_buffer_address(cp->view.dev, s->string + s->len - 3, in con3270_update_string()
136 cp->view.cols * (nr + 1)); in con3270_update_string()
[all …]
Dtty3270.c64 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()
183 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_prompt()
[all …]
Dfs3270.c33 struct raw3270_view view; member
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()
81 rc = raw3270_start(view, rq); in fs3270_do_io()
98 fp = (struct fs3270 *) rq->view; in fs3270_reset_callback()
108 fp = (struct fs3270 *) rq->view; in fs3270_restore_callback()
119 fs3270_activate(struct raw3270_view *view) in fs3270_activate() argument
125 fp = (struct fs3270 *) view; in fs3270_activate()
152 rc = fp->init->rc = raw3270_start_locked(view, fp->init); in fs3270_activate()
168 fp = (struct fs3270 *) rq->view; in fs3270_save_callback()
[all …]
Draw3270.h100 struct raw3270_view *view; /* view of this request */ member
176 raw3270_get_view(struct raw3270_view *view) in raw3270_get_view() argument
178 atomic_inc(&view->ref_count); in raw3270_get_view()
184 raw3270_put_view(struct raw3270_view *view) in raw3270_put_view() argument
186 if (atomic_dec_return(&view->ref_count) == 0) in raw3270_put_view()
/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-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 …]
Dhead907d.c397 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in head907d_view()
398 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH)); in head907d_view()
401 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in head907d_view()
402 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH), in head907d_view()
405 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, WIDTH, asyh->view.oW) | in head907d_view()
406 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, HEIGHT, asyh->view.oH), in head907d_view()
409 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MAX, WIDTH, asyh->view.oW) | in head907d_view()
410 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MAX, HEIGHT, asyh->view.oH)); in head907d_view()
416 .view = head907d_view,
/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/security/apparmor/
Dpolicy_ns.c37 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()
61 const char *aa_ns_name(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_name() argument
64 if (curr == view) in aa_ns_name()
67 if (aa_ns_visible(curr, view, subns)) { in aa_ns_name()
74 return view->base.hname + strlen(curr->base.hname) + 2; in aa_ns_name()
200 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n) in __aa_lookupn_ns() argument
202 struct aa_ns *ns = view; in __aa_lookupn_ns()
[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/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 …]
Dannotate.c104 GtkWidget *view; in perf_gtk__annotate_symbol() local
115 view = gtk_tree_view_new(); in perf_gtk__annotate_symbol()
119 gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view), in perf_gtk__annotate_symbol()
124 gtk_tree_view_set_model(GTK_TREE_VIEW(view), GTK_TREE_MODEL(store)); in perf_gtk__annotate_symbol()
154 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__annotate_symbol()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_vma.h45 const struct i915_ggtt_view *view);
154 const struct i915_ggtt_view *view) in i915_vma_compare() argument
158 GEM_BUG_ON(view && !i915_is_ggtt(vm)); in i915_vma_compare()
166 if (!view) in i915_vma_compare()
169 cmp -= view->type; in i915_vma_compare()
188 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare()
189 offsetof(typeof(*view), partial)); in i915_vma_compare()
190 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare()
191 offsetof(typeof(*view), remapped)); in i915_vma_compare()
192 return memcmp(&vma->ggtt_view.partial, &view->partial, view->type); in i915_vma_compare()
Di915_vma.c105 const struct i915_ggtt_view *view) in vma_create() argument
138 if (view && view->type != I915_GGTT_VIEW_NORMAL) { in vma_create()
139 vma->ggtt_view = *view; in vma_create()
140 if (view->type == I915_GGTT_VIEW_PARTIAL) { in vma_create()
142 view->partial.offset, in vma_create()
143 view->partial.size, in vma_create()
145 vma->size = view->partial.size; in vma_create()
148 } else if (view->type == I915_GGTT_VIEW_ROTATED) { in vma_create()
149 vma->size = intel_rotation_info_size(&view->rotated); in vma_create()
151 } else if (view->type == I915_GGTT_VIEW_REMAPPED) { in vma_create()
[all …]
/kernel/linux/linux-5.10/scripts/kconfig/
Dgconf.c224 GtkTreeView *view = GTK_TREE_VIEW(tree1_w); in init_left_tree() local
229 gtk_tree_view_set_model(view, model1); in init_left_tree()
230 gtk_tree_view_set_headers_visible(view, TRUE); in init_left_tree()
231 gtk_tree_view_set_rules_hint(view, TRUE); in init_left_tree()
234 gtk_tree_view_append_column(view, column); in init_left_tree()
255 sel = gtk_tree_view_get_selection(view); in init_left_tree()
266 GtkTreeView *view = GTK_TREE_VIEW(tree2_w); in init_right_tree() local
272 gtk_tree_view_set_model(view, model2); in init_right_tree()
273 gtk_tree_view_set_headers_visible(view, TRUE); in init_right_tree()
274 gtk_tree_view_set_rules_hint(view, TRUE); in init_right_tree()
[all …]
/kernel/linux/linux-5.10/security/apparmor/include/
Dpolicy_ns.h83 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns);
92 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n);
93 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n);
159 static inline struct aa_ns *aa_lookup_ns(struct aa_ns *view, const char *name) in aa_lookup_ns() argument
161 return aa_lookupn_ns(view, name, strlen(name)); in aa_lookup_ns()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dexported-sql-viewer.py1044 self.view = QTreeView()
1045 self.view.setSelectionMode(QAbstractItemView.ContiguousSelection)
1046 self.view.CopyCellsToClipboard = CopyTreeCellsToClipboard
1048 self.context_menu = TreeContextMenu(self.view)
1061 self.view.setExpanded(parent, True)
1062 self.view.setCurrentIndex(child)
1070 self.view.setFocus()
1092 self.view.setModel(self.model)
1095 self.view.setColumnWidth(c, w)
1099 self.vbox = VBox(self.view, self.find_bar.Widget())
[all …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Ddebug.h65 struct debug_view *view,
71 struct debug_view *view, char *out_buf,
74 struct debug_view *view,
77 struct debug_view *view,
82 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view,
390 int debug_register_view(debug_info_t *id, struct debug_view *view);
392 int debug_unregister_view(debug_info_t *id, struct debug_view *view);
/kernel/linux/linux-5.10/fs/hmdfs/
DKconfig6 realized. Device view and merge view are provided. In the device view,
8 different device directories; in the merge view, acollection of shared
/kernel/linux/common_modules/tzdriver/core/
Dtzdebug.c339 struct tee_trace_view_t view = { 0, 0, 0, 0, { 0 }, { 0 } }; in tee_trace_event_show() local
343 get_tee_trace_start(&view); in tee_trace_event_show()
344 if (view.buffer_is_full == 1) in tee_trace_event_show()
345 seq_printf(m, "Total Trace Events: %u (Notice: Buffer is full)\n", view.total); in tee_trace_event_show()
347 seq_printf(m, "Total Trace Events: %u\n", view.total); in tee_trace_event_show()
349 if (view.total > 0) { in tee_trace_event_show()
352 while (get_tee_trace_next(&view, &log_info, false) != -1) { in tee_trace_event_show()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c189 struct i915_ggtt_view view; in compute_partial_view() local
194 view.type = I915_GGTT_VIEW_PARTIAL; in compute_partial_view()
195 view.partial.offset = rounddown(page_offset, chunk); in compute_partial_view()
196 view.partial.size = in compute_partial_view()
198 (obj->base.size >> PAGE_SHIFT) - view.partial.offset); in compute_partial_view()
202 view.type = I915_GGTT_VIEW_NORMAL; in compute_partial_view()
204 return view; in compute_partial_view()
327 struct i915_ggtt_view view = in vm_fault_gtt() local
332 if (view.type == I915_GGTT_VIEW_NORMAL) in vm_fault_gtt()
340 vma = i915_gem_object_ggtt_pin_ww(obj, &ww, &view, 0, 0, flags); in vm_fault_gtt()
[all …]
/kernel/linux/linux-5.10/Documentation/s390/
Ds390dbf.rst72 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 …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
DMakefile6 CFLAGS_ptrace-view.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
8 obj-y += ptrace.o ptrace-view.o

123456789