Home
last modified time | relevance | path

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

12345678910>>...23

/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
H A Dvmwgfx_execbuf.c342 * vmw_view_res_val_add - Add a view and the surface it's pointing to to the
346 * @view: Pointer to the view resource.
351 struct vmw_resource *view) in vmw_view_res_val_add() argument
356 * First add the resource the view is pointing to, otherwise it may be in vmw_view_res_val_add()
357 * swapped out when the view is validated. in vmw_view_res_val_add()
359 ret = vmw_execbuf_res_val_add(sw_context, vmw_view_srf(view), in vmw_view_res_val_add()
360 vmw_view_dirtying(view), vmw_val_add_flag_noctx); in vmw_view_res_val_add()
364 return vmw_execbuf_res_val_add(sw_context, view, VMW_RES_DIRTY_NONE, in vmw_view_res_val_add()
369 * vmw_view_id_val_add - Look up a view and add it and the surface it's pointing
373 * @view_type: The view type to look up.
[all …]
/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 …]
/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/scripts/kconfig/
H A Dgconf.c46 static struct menu *browsed; // browsed menu for SINGLE/SPLIT view
95 static void _select_menu(GtkTreeView *view, GtkTreeModel *model, in _select_menu() argument
116 gtk_tree_view_expand_to_path(view, path); in _select_menu()
117 gtk_tree_view_scroll_to_cell(view, path, NULL, TRUE, in _select_menu()
121 selection = gtk_tree_view_get_selection(view); in _select_menu()
127 _select_menu(view, model, &iter, match); in _select_menu()
133 static void select_menu(GtkTreeView *view, struct menu *match) in select_menu() argument
135 _select_menu(view, gtk_tree_view_get_model(view), NULL, match); in select_menu()
138 static void _update_row_visibility(GtkTreeView *view) in _update_row_visibility() argument
140 GtkTreeModelFilter *filter = GTK_TREE_MODEL_FILTER(gtk_tree_view_get_model(view)); in _update_row_visibility()
[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/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 …]
H A Dskl_universal_plane.c772 u32 stride = plane_state->view.color_plane[color_plane].scanout_stride; in skl_plane_stride()
1300 u32 offset = plane_state->view.color_plane[color_plane].offset; in skl_surf_address()
1446 u32 x = plane_state->view.color_plane[0].x; in skl_plane_update_arm()
1447 u32 y = plane_state->view.color_plane[0].y; in skl_plane_update_arm()
1476 PLANE_OFFSET_Y(plane_state->view.color_plane[1].y) | in skl_plane_update_arm()
1477 PLANE_OFFSET_X(plane_state->view.color_plane[1].x)); in skl_plane_update_arm()
1529 x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_sel_fetch_noarm()
1536 y = plane_state->view.color_plane[color_plane].y + clip->y1; in icl_plane_update_sel_fetch_noarm()
1538 y = plane_state->view.color_plane[color_plane].y + clip->y1 / 2; in icl_plane_update_sel_fetch_noarm()
1564 int x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_noarm()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv50/
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/drivers/gpu/drm/i915/
H A Di915_vma.c150 const struct i915_gtt_view *view) in vma_create()
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 in vma_create()
148 vma_create(struct drm_i915_gem_object * obj,struct i915_address_space * vm,const struct i915_gtt_view * view) vma_create() argument
287 i915_vma_lookup(struct drm_i915_gem_object * obj,struct i915_address_space * vm,const struct i915_gtt_view * view) i915_vma_lookup() argument
325 i915_vma_instance(struct drm_i915_gem_object * obj,struct i915_address_space * vm,const struct i915_gtt_view * view) i915_vma_instance() argument
1268 intel_partial_pages(const struct i915_gtt_view * view,struct drm_i915_gem_object * obj) intel_partial_pages() argument
[all...]
H A Di915_vgpu.c47 * translate the graphics address between 'guest view' and 'host view', for
224 * view, the total size is the same as the physical one, with the start address
227 * host point of view, the graphic address space is partitioned by multiple
230 * vGPU1 view Host view
/linux/arch/sparc/include/asm/
H A Dtsunami.h21 * AV: Address View bit
22 * DV: Data View bit
23 * MV: Memory View bit
/linux/sound/soc/sof/mediatek/mt8186/
H A Dmt8186.h81 /*remap dram between AP and DSP view, 4KB aligned*/
82 #define SRAM_PHYS_BASE_FROM_DSP_VIEW 0x4E100000 /* MT8186 DSP view */
83 #define DRAM_PHYS_BASE_FROM_DSP_VIEW 0x60000000 /* MT8186 DSP view */
/linux/tools/firewire/
H A Dnosy-dump.c29 /* Marks the fields we print in transaction view. */
65 .longName = "view",
68 .descrip = "Specify view of bus traffic: packet, transaction or stats.",
69 .argDescrip = "VIEW"
95 .descrip = "Verbose packet view.",
899 int length, retval, view; in main() local
940 view = VIEW_TRANSACTION; in main()
942 view = VIEW_STATS; in main()
944 view = VIEW_PACKET; in main()
961 if (view == VIEW_STATS) in main()
[all …]

12345678910>>...23