Home
last modified time | relevance | path

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

1234567891011

/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_so.c139 vmw_cotable_add_resource(view->cotable, &view->cotable_head); in vmw_view_commit_notify()
140 view->committed = true; in vmw_view_commit_notify()
171 if (!view->committed) { in vmw_view_create()
176 cmd = VMW_CMD_CTX_RESERVE(res->dev_priv, view->cmd_size, view->ctx->id); in vmw_view_create()
182 memcpy(cmd, &view->cmd, view->cmd_size); in vmw_view_create()
190 vmw_cotable_add_resource(view->cotable, &view->cotable_head); in vmw_view_create()
292 kfree_rcu(view, rcu); in vmw_view_res_free()
328 struct vmw_view *view; in vmw_view_add() local
346 if (!view) { in vmw_view_add()
350 res = &view->res; in vmw_view_add()
[all …]
/linux/drivers/s390/char/
A Draw3270.c251 rq->view = view; in __raw3270_start()
330 rq->view = view; in raw3270_start_irq()
350 view = rq ? rq->view : rp->view; in raw3270_irq()
551 rp->view = view; in raw3270_resize_work()
687 view = rq->view; in __raw3270_disconnect()
895 rp->view = view; in raw3270_assign_activate_view()
904 if (rp->view == view) in __raw3270_activate_view()
969 if (rp->view == view) { in raw3270_deactivate_view()
978 rp->view = view; in raw3270_deactivate_view()
1067 if (rp->view == view) { in raw3270_del_view()
[all …]
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,
89 void raw3270_del_view(struct raw3270_view *view);
95 int raw3270_reset(struct raw3270_view *view);
104 raw3270_get_view(struct raw3270_view *view) in raw3270_get_view() argument
106 atomic_inc(&view->ref_count); in raw3270_get_view()
112 raw3270_put_view(struct raw3270_view *view) in raw3270_put_view() argument
[all …]
A Dfs3270.c34 struct raw3270_view view; member
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()
120 fp = (struct fs3270 *)view; in fs3270_activate()
191 fp = (struct fs3270 *)view; in fs3270_deactivate()
392 fp = (struct fs3270 *)view; in fs3270_free_view()
396 kfree(view); in fs3270_free_view()
406 fp = (struct fs3270 *)view; in fs3270_release()
468 ib = idal_buffer_alloc(2 * fp->view.rows * fp->view.cols + 5, 0); in fs3270_open()
[all …]
A Dcon3270.c303 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); in tty3270_write_callback()
674 struct tty3270 *tp = container_of(rrq->view, struct tty3270, view); in tty3270_read_tasklet()
734 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); in tty3270_read_callback()
784 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_activate()
793 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_deactivate()
966 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_resize()
1043 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_release()
1060 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_free()
1114 tp->screen = tty3270_alloc_screen(tp, tp->view.rows, tp->view.cols, in tty3270_create_view()
1193 tp = container_of(view, struct tty3270, view); in tty3270_install()
[all …]
/linux/drivers/usb/phy/
A Dphy-ulpi-viewport.c22 static int ulpi_viewport_wait(void __iomem *view, u32 mask) in ulpi_viewport_wait() argument
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()
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()
53 ret = ulpi_viewport_wait(view, ULPI_VIEW_WAKEUP); in ulpi_viewport_write()
58 ULPI_VIEW_ADDR(reg), view); in ulpi_viewport_write()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv50/
A Dhead.c68 if (asyh->set.view ) head->func->view (head, asyh); in nv50_head_flush_set()
162 u32 r = (asyh->view.oH << 19) / asyh->view.oW; in nv50_head_atomic_check_view()
169 asyh->view.oW -= (asyh->view.oW >> 4) + 32; in nv50_head_atomic_check_view()
183 asyh->view.oW = min(asyh->view.iW, asyh->view.oW); in nv50_head_atomic_check_view()
184 asyh->view.oH = min(asyh->view.iH, asyh->view.oH); in nv50_head_atomic_check_view()
202 if (asyh->view.oW * asyh->view.iH > asyh->view.iW * asyh->view.oH) { in nv50_head_atomic_check_view()
204 u32 r = (asyh->view.iW << 19) / asyh->view.iH; in nv50_head_atomic_check_view()
205 asyh->view.oW = ((asyh->view.oH * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view()
208 u32 r = (asyh->view.iH << 19) / asyh->view.iW; in nv50_head_atomic_check_view()
209 asyh->view.oH = ((asyh->view.oW * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view()
[all …]
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/security/apparmor/
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()
176 struct aa_ns *ns = view; in __aa_lookupn_ns()
205 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n) in aa_lookupn_ns() argument
[all …]
/linux/drivers/gpu/drm/xe/display/
A Dxe_fb_pin.c81 const struct i915_gtt_view *view, in __xe_pin_fb_vma_dpt() argument
90 if (view->type == I915_GTT_VIEW_NORMAL) in __xe_pin_fb_vma_dpt()
92 else if (view->type == I915_GTT_VIEW_REMAPPED) in __xe_pin_fb_vma_dpt()
121 if (view->type == I915_GTT_VIEW_NORMAL) { in __xe_pin_fb_vma_dpt()
130 } else if (view->type == I915_GTT_VIEW_REMAPPED) { in __xe_pin_fb_vma_dpt()
185 const struct i915_gtt_view *view, in __xe_pin_fb_vma_ggtt() argument
208 } else if (view->type == I915_GTT_VIEW_NORMAL) { in __xe_pin_fb_vma_ggtt()
267 const struct i915_gtt_view *view) in __xe_pin_fb_vma() argument
315 ret = __xe_pin_fb_vma_dpt(fb, view, vma); in __xe_pin_fb_vma()
317 ret = __xe_pin_fb_vma_ggtt(fb, view, vma); in __xe_pin_fb_vma()
[all …]
/linux/tools/perf/ui/gtk/
A Dhists.c285 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()
400 g_signal_connect(view, "row-activated", in perf_gtk__show_hists()
402 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__show_hists()
505 GtkWidget *view; in perf_gtk__show_hierarchy() local
526 view = gtk_tree_view_new(); in perf_gtk__show_hierarchy()
588 g_signal_connect(view, "row-activated", in perf_gtk__show_hierarchy()
[all …]
A Dannotate.c112 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/
A Di915_vma.c66 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
744 struct i915_gtt_view *view, in assert_pin() argument
762 if (view && view->type != I915_GTT_VIEW_NORMAL) { in assert_pin()
763 if (memcmp(&vma->gtt_view, view, sizeof(*view))) { in assert_pin()
821 struct i915_gtt_view view; in igt_vma_partial() local
824 view.partial.offset = offset; in igt_vma_partial()
825 view.partial.size = sz; in igt_vma_partial()
[all …]
/linux/arch/s390/kernel/
A Ddebug.c388 struct debug_view *view = p_info->view; in debug_format_entry() local
394 if (view->prolog_proc) in debug_format_entry()
395 len += view->prolog_proc(id_snap, view, p_info->temp_buf); in debug_format_entry()
405 if (view->header_proc) in debug_format_entry()
406 len += view->header_proc(id_snap, view, p_info->act_area, in debug_format_entry()
408 if (view->format_proc) in debug_format_entry()
409 len += view->format_proc(id_snap, view, p_info->temp_buf + len, in debug_format_entry()
1188 if (!(view->prolog_proc || view->format_proc || view->header_proc)) in debug_register_view()
1190 if (!view->input_proc) in debug_register_view()
1202 id->views[i] = view; in debug_register_view()
[all …]
/linux/scripts/kconfig/
A Dgconf.c188 GtkTreeView *view = GTK_TREE_VIEW(tree1_w); in init_left_tree() local
193 gtk_tree_view_set_model(view, model1); 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()
238 gtk_tree_view_set_rules_hint(view, TRUE); in init_right_tree()
241 gtk_tree_view_append_column(view, column); in init_right_tree()
322 sel = gtk_tree_view_get_selection(view); in init_right_tree()
[all …]
/linux/arch/s390/include/asm/
A Ddebug.h66 struct debug_view *view,
72 struct debug_view *view, char *out_buf,
75 struct debug_view *view,
78 struct debug_view *view,
83 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view,
391 int debug_register_view(debug_info_t *id, struct debug_view *view);
393 int debug_unregister_view(debug_info_t *id, struct debug_view *view);
451 #define __REGISTER_STATIC_DEBUG_INFO(var, name, pages, areas, view) \ argument
455 debug_register_view(&var, (view)); \
480 #define DEFINE_STATIC_DEBUG_INFO(var, name, pages, nr_areas, buf_size, view) \ argument
[all …]
/linux/drivers/gpu/drm/i915/
A Di915_vma.h46 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/
A Dexported-sql-viewer.py1045 self.view = QTreeView()
1071 self.view.setFocus()
1841 view = scene.views()[0]
2016 sz1 = self.view.columnWidth(0) + self.view.columnWidth(1) + self.view.columnWidth(2) + 2
2149 …sz1 = self.widget(1).view.columnWidth(0) + self.widget(1).view.columnWidth(1) + self.widget(1).vie…
3270 self.view.setFocus()
4025 view.CopyCellsToClipboard(view, as_csv, with_hdr)
4038 self.view = view
4104 self.view.setFocus()
4224 self.view.setFocus()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_fb_pin.c22 const struct i915_gtt_view *view, in intel_fb_pin_to_dpt() argument
72 vma = i915_vma_instance(obj, vm, view); in intel_fb_pin_to_dpt()
106 const struct i915_gtt_view *view, in intel_fb_pin_to_ggtt() argument
171 view, pinctl); in intel_fb_pin_to_ggtt()
261 vma = intel_fb_pin_to_ggtt(&fb->base, &plane_state->view.gtt, in intel_plane_pin_fb()
289 vma = intel_fb_pin_to_dpt(&fb->base, &plane_state->view.gtt, in intel_plane_pin_fb()
A Dskl_universal_plane.c1308 u32 x = plane_state->view.color_plane[0].x; in skl_plane_update_arm()
1309 u32 y = plane_state->view.color_plane[0].y; in skl_plane_update_arm()
1385 x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_sel_fetch_noarm()
1420 int x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_noarm()
1800 plane_state->view.color_plane[ccs_plane].x = aux_x; in skl_check_main_ccs_coordinates()
1801 plane_state->view.color_plane[ccs_plane].y = aux_y; in skl_check_main_ccs_coordinates()
1915 plane_state->view.color_plane[0].offset = offset; in skl_check_main_surface()
1916 plane_state->view.color_plane[0].x = x; in skl_check_main_surface()
1917 plane_state->view.color_plane[0].y = y; in skl_check_main_surface()
1994 plane_state->view.color_plane[uv_plane].x = x; in skl_check_nv12_aux_surface()
[all …]
A Dintel_fb.c1388 struct intel_fb_view *view) in calc_plane_remap_info() argument
1446 if (view->gtt.remapped.plane_alignment) { in calc_plane_remap_info()
1448 view->gtt.remapped.plane_alignment); in calc_plane_remap_info()
1539 memset(view, 0, sizeof(*view)); in intel_fb_view_init()
1540 view->gtt.type = view_type; in intel_fb_view_init()
1681 intel_fb_view_init(i915, &plane_state->view, in intel_plane_remap_gtt()
1728 &plane_state->view); in intel_plane_remap_gtt()
1733 struct intel_fb_view *view) in intel_fb_fill_view() argument
1736 *view = fb->rotated_view; in intel_fb_fill_view()
1738 *view = fb->remapped_view; in intel_fb_fill_view()
[all …]
/linux/security/apparmor/include/
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);
/linux/Documentation/arch/s390/
A Ds390dbf.rst130 * hex_ascii-view Example
163 * sprintf-view Example
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:
363 struct debug_view* view,
369 struct debug_view* view, char* out_buf,
372 struct debug_view* view,
375 struct debug_view* view,
392 When a view is read from the debugfs, the Debug Feature calls the
428 debug_info_t *id, struct debug_view *view,
[all …]
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_mman.c202 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 …]
/linux/arch/powerpc/kernel/ptrace/
A DMakefile6 CFLAGS_ptrace-view.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
8 obj-y += ptrace.o ptrace-view.o

Completed in 95 milliseconds

1234567891011