Home
last modified time | relevance | path

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

12345678910

/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_so.c137 vmw_cotable_add_resource(view->cotable, &view->cotable_head); in vmw_view_commit_notify()
138 view->committed = true; in vmw_view_commit_notify()
169 if (!view->committed) { in vmw_view_create()
174 cmd = VMW_CMD_CTX_RESERVE(res->dev_priv, view->cmd_size, view->ctx->id); in vmw_view_create()
180 memcpy(cmd, &view->cmd, view->cmd_size); in vmw_view_create()
188 vmw_cotable_add_resource(view->cotable, &view->cotable_head); in vmw_view_create()
292 kfree_rcu(view, rcu); in vmw_view_res_free()
329 struct vmw_view *view; in vmw_view_add() local
358 if (!view) { in vmw_view_add()
363 res = &view->res; in vmw_view_add()
[all …]
/linux/drivers/s390/char/
A Draw3270.c241 rq->view = view; in __raw3270_start()
306 rq->view = view; in raw3270_start_irq()
326 view = rq ? rq->view : rp->view; in raw3270_irq()
516 rp->view = view; in raw3270_size_device_done()
648 view = rq->view; in __raw3270_disconnect()
848 if (rp->view == view) in raw3270_activate_view()
858 rp->view = view; in raw3270_activate_view()
892 if (rp->view == view) { in raw3270_deactivate_view()
901 rp->view = view; in raw3270_deactivate_view()
989 if (rp->view == view) { in raw3270_del_view()
[all …]
A Dcon3270.c43 struct raw3270_view view; member
115 cp->view.cols * (cp->view.rows - 1)); in con3270_create_status()
117 cp->view.cols * cp->view.rows - 8); in con3270_create_status()
157 if (nr < cp->view.rows - 1) in con3270_rebuild_update()
221 if (cp->view.dev) in con3270_update()
321 nr_up += cp->view.rows - 2; in con3270_read_tasklet()
329 nr_up -= cp->view.rows - 2; in con3270_read_tasklet()
353 raw3270_put_view(&cp->view); in con3270_read_tasklet()
362 raw3270_get_view(rq->view); in con3270_read_callback()
548 if (!cp->view.dev) in con3270_flush()
[all …]
A Dtty3270.c155 off = tp->view.cols * tp->view.rows - 9; in tty3270_update_prompt()
181 offset = tp->view.cols * (tp->view.rows - 2); in tty3270_create_prompt()
183 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_prompt()
220 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_status()
350 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); in tty3270_write_callback()
671 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_activate()
681 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_deactivate()
891 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_resize()
907 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_release()
925 struct tty3270 *tp = container_of(view, struct tty3270, view); in tty3270_free()
[all …]
A Dfs3270.c33 struct raw3270_view view; member
69 fp = (struct fs3270 *) view; in fs3270_do_io()
81 rc = raw3270_start(view, rq); in fs3270_do_io()
125 fp = (struct fs3270 *) view; in fs3270_activate()
195 fp = (struct fs3270 *) view; in fs3270_deactivate()
356 iocb.model = fp->view.model; in fs3270_ioctl()
397 fp = (struct fs3270 *) view; in fs3270_free_view()
401 kfree(view); in fs3270_free_view()
412 fp = (struct fs3270 *) view; in fs3270_release()
474 ib = idal_buffer_alloc(2*fp->view.rows*fp->view.cols + 5, 0); in fs3270_open()
[all …]
A 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()
/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()
168 u32 r = (asyh->view.oH << 19) / asyh->view.oW; in nv50_head_atomic_check_view()
175 asyh->view.oW -= (asyh->view.oW >> 4) + 32; in nv50_head_atomic_check_view()
189 asyh->view.oW = min(asyh->view.iW, asyh->view.oW); in nv50_head_atomic_check_view()
190 asyh->view.oH = min(asyh->view.iH, asyh->view.oH); in nv50_head_atomic_check_view()
208 if (asyh->view.oW * asyh->view.iH > asyh->view.iW * asyh->view.oH) { in nv50_head_atomic_check_view()
210 u32 r = (asyh->view.iW << 19) / asyh->view.iH; in nv50_head_atomic_check_view()
211 asyh->view.oW = ((asyh->view.oH * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view()
214 u32 r = (asyh->view.iH << 19) / asyh->view.iW; in nv50_head_atomic_check_view()
215 asyh->view.oH = ((asyh->view.oW * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view()
[all …]
A Dhead907d.c390 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in head907d_view()
391 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH)); in head907d_view()
394 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in head907d_view()
395 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH), in head907d_view()
398 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, WIDTH, asyh->view.oW) | in head907d_view()
399 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, HEIGHT, asyh->view.oH), in head907d_view()
402 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MAX, WIDTH, asyh->view.oW) | in head907d_view()
403 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_OUT_MAX, HEIGHT, asyh->view.oH)); in head907d_view()
409 .view = head907d_view,
/linux/security/apparmor/
A 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()
202 struct aa_ns *ns = view; in __aa_lookupn_ns()
231 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n) in aa_lookupn_ns() argument
[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.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()
/linux/drivers/gpu/drm/i915/selftests/
A 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()
590 struct i915_ggtt_view view = { in igt_vma_rotate_remap() local
739 struct i915_ggtt_view *view, in assert_pin() argument
757 if (view && view->type != I915_GGTT_VIEW_NORMAL) { in assert_pin()
758 if (memcmp(&vma->ggtt_view, view, sizeof(*view))) { in assert_pin()
816 struct i915_ggtt_view view; in igt_vma_partial() local
819 view.partial.offset = offset; in igt_vma_partial()
820 view.partial.size = sz; in igt_vma_partial()
[all …]
/linux/arch/s390/kernel/
A Ddebug.c389 struct debug_view *view = p_info->view; in debug_format_entry() local
395 if (view->prolog_proc) in debug_format_entry()
396 len += view->prolog_proc(id_snap, view, p_info->temp_buf); in debug_format_entry()
406 if (view->header_proc) in debug_format_entry()
407 len += view->header_proc(id_snap, view, p_info->act_area, in debug_format_entry()
409 if (view->format_proc) in debug_format_entry()
410 len += view->format_proc(id_snap, view, p_info->temp_buf + len, in debug_format_entry()
1200 if (!(view->prolog_proc || view->format_proc || view->header_proc)) in debug_register_view()
1202 if (!view->input_proc) in debug_register_view()
1214 id->views[i] = view; in debug_register_view()
[all …]
/linux/scripts/kconfig/
A Dgconf.c220 GtkTreeView *view = GTK_TREE_VIEW(tree1_w); in init_left_tree() local
225 gtk_tree_view_set_model(view, model1); in init_left_tree()
227 gtk_tree_view_set_rules_hint(view, TRUE); in init_left_tree()
230 gtk_tree_view_append_column(view, column); in init_left_tree()
251 sel = gtk_tree_view_get_selection(view); in init_left_tree()
262 GtkTreeView *view = GTK_TREE_VIEW(tree2_w); in init_right_tree() local
268 gtk_tree_view_set_model(view, model2); in init_right_tree()
270 gtk_tree_view_set_rules_hint(view, TRUE); in init_right_tree()
273 gtk_tree_view_append_column(view, column); in init_right_tree()
354 sel = gtk_tree_view_get_selection(view); in init_right_tree()
[all …]
/linux/drivers/gpu/drm/i915/
A Di915_vma.h45 const struct i915_ggtt_view *view);
164 const struct i915_ggtt_view *view) in i915_vma_compare() argument
168 GEM_BUG_ON(view && !i915_is_ggtt_or_dpt(vm)); in i915_vma_compare()
176 if (!view) in i915_vma_compare()
179 cmp -= view->type; in i915_vma_compare()
198 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare()
199 offsetof(typeof(*view), partial)); in i915_vma_compare()
200 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare()
201 offsetof(typeof(*view), remapped)); in i915_vma_compare()
202 return memcmp(&vma->ggtt_view.partial, &view->partial, view->type); in i915_vma_compare()
A Di915_vma.c98 const struct i915_ggtt_view *view) in vma_create() argument
131 if (view && view->type != I915_GGTT_VIEW_NORMAL) { in vma_create()
132 vma->ggtt_view = *view; in vma_create()
135 view->partial.offset, in vma_create()
136 view->partial.size, in vma_create()
138 vma->size = view->partial.size; in vma_create()
191 cmp = i915_vma_compare(pos, vm, view); in vma_create()
228 const struct i915_ggtt_view *view) in i915_vma_lookup() argument
266 const struct i915_ggtt_view *view) in i915_vma_instance() argument
274 vma = i915_vma_lookup(obj, vm, view); in i915_vma_instance()
[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/security/apparmor/include/
A 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()
/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.c852 struct intel_fb_view *view) in calc_plane_remap_info() argument
895 if (view->gtt.remapped.plane_alignment) { in calc_plane_remap_info()
897 view->gtt.remapped.plane_alignment); in calc_plane_remap_info()
962 memset(view, 0, sizeof(*view)); in intel_fb_view_init()
963 view->gtt.type = view_type; in intel_fb_view_init()
1074 intel_fb_view_init(i915, &plane_state->view, in intel_plane_remap_gtt()
1121 &plane_state->view); in intel_plane_remap_gtt()
1126 struct intel_fb_view *view) in intel_fb_fill_view() argument
1129 *view = fb->rotated_view; in intel_fb_fill_view()
1131 *view = fb->remapped_view; in intel_fb_fill_view()
[all …]
A Dintel_fb_pin.c20 const struct i915_ggtt_view *view, in intel_pin_fb_obj_dpt() argument
45 vma = i915_vma_instance(obj, vm, view); in intel_pin_fb_obj_dpt()
77 const struct i915_ggtt_view *view, in intel_pin_and_fence_fb_obj() argument
147 view, pinctl); in intel_pin_and_fence_fb_obj()
222 &plane_state->view.gtt, in intel_plane_pin_fb()
238 vma = intel_pin_fb_obj_dpt(fb, &plane_state->view.gtt, false, in intel_plane_pin_fb()
A Dskl_universal_plane.c1054 u32 x = plane_state->view.color_plane[color_plane].x; in skl_program_plane()
1055 u32 y = plane_state->view.color_plane[color_plane].y; in skl_program_plane()
1130 (plane_state->view.color_plane[1].y << 16) | in skl_program_plane()
1131 plane_state->view.color_plane[1].x); in skl_program_plane()
1448 plane_state->view.color_plane[ccs_plane].x = aux_x; in skl_check_main_ccs_coordinates()
1449 plane_state->view.color_plane[ccs_plane].y = aux_y; in skl_check_main_ccs_coordinates()
1562 plane_state->view.color_plane[0].offset = offset; in skl_check_main_surface()
1563 plane_state->view.color_plane[0].x = x; in skl_check_main_surface()
1564 plane_state->view.color_plane[0].y = y; in skl_check_main_surface()
1640 plane_state->view.color_plane[uv_plane].x = x; in skl_check_nv12_aux_surface()
[all …]
/linux/Documentation/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.c198 struct i915_ggtt_view view; in compute_partial_view() local
203 view.type = I915_GGTT_VIEW_PARTIAL; in compute_partial_view()
204 view.partial.offset = rounddown(page_offset, chunk); in compute_partial_view()
205 view.partial.size = in compute_partial_view()
207 (obj->base.size >> PAGE_SHIFT) - view.partial.offset); in compute_partial_view()
211 view.type = I915_GGTT_VIEW_NORMAL; in compute_partial_view()
213 return view; in compute_partial_view()
340 struct i915_ggtt_view view = in vm_fault_gtt() local
345 if (view.type == I915_GGTT_VIEW_NORMAL) in vm_fault_gtt()
353 vma = i915_gem_object_ggtt_pin_ww(obj, &ww, &view, 0, 0, flags); in vm_fault_gtt()
[all …]

Completed in 61 milliseconds

12345678910