/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_so.c | 38 * 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 D | vmwgfx_so.h | 48 * 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
|
/linux/drivers/s390/char/ |
H A D | raw3270.c | 50 struct raw3270_view *view; /* Active view. */ member 94 * Wait queue for device init/delete, view delete. 125 x = max_t(int, 0, rp->view->cols + x); in raw3270_buffer_address() 127 y = max_t(int, 0, rp->view->rows + y); in raw3270_buffer_address() 128 addr = (y * rp->view->cols) + x; in raw3270_buffer_address() 248 static int __raw3270_start(struct raw3270 *rp, struct raw3270_view *view, in __raw3270_start() argument 251 rq->view = view; in __raw3270_start() 252 raw3270_get_view(view); in __raw3270_start() 259 raw3270_put_view(view); in __raw3270_start() 267 int raw3270_view_active(struct raw3270_view *view) in raw3270_view_active() argument [all …]
|
H A D | raw3270.h | 22 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 …]
|
H A D | fs3270.c | 34 struct raw3270_view view; member 39 int active; /* Fullscreen view is active. */ 56 * The fullscreen view is in working order if the view in fs3270_working() 62 static int fs3270_do_io(struct raw3270_view *view, struct raw3270_request *rq) in fs3270_do_io() argument 67 fp = (struct fs3270 *)view; in fs3270_do_io() 73 /* Fullscreen view isn't ready yet. */ in fs3270_do_io() 79 rc = raw3270_start(view, rq); in fs3270_do_io() 89 * Switch to the fullscreen view. 95 fp = (struct fs3270 *)rq->view; in fs3270_reset_callback() 104 fp = (struct fs3270 *)rq->view; in fs3270_restore_callback() [all …]
|
/linux/drivers/usb/phy/ |
H A D | phy-ulpi-viewport.c | 22 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 D | policy_ns.c | 33 * 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 D | omap_dmm_tiler.h | 50 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/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head.c | 68 if (asyh->set.view ) head->func->view (head, asyh); in nv50_head_flush_set() 146 asyh->view.iW = umode->hdisplay; in nv50_head_atomic_check_view() 147 asyh->view.iH = umode_vdisplay; in nv50_head_atomic_check_view() 150 asyh->view.oW = omode_hdisplay; in nv50_head_atomic_check_view() 151 asyh->view.oH = omode_vdisplay; in nv50_head_atomic_check_view() 162 u32 r = (asyh->view.oH << 19) / asyh->view.oW; in nv50_head_atomic_check_view() 165 asyh->view.oW -= (bX * 2); in nv50_head_atomic_check_view() 166 if (bY) asyh->view.oH -= (bY * 2); in nv50_head_atomic_check_view() 167 else asyh->view.oH = ((asyh->view.oW * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view() 169 asyh->view.oW -= (asyh->view.oW >> 4) + 32; in nv50_head_atomic_check_view() [all …]
|
H A D | head907d.c | 395 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/scripts/kconfig/ |
H A D | gconf.c | 54 static struct menu *current; // current node for SINGLE view 55 static struct menu *browsed; // browsed node for SPLIT view 188 GtkTreeView *view = GTK_TREE_VIEW(tree1_w); in init_left_tree() local 193 gtk_tree_view_set_model(view, model1); in init_left_tree() 194 gtk_tree_view_set_headers_visible(view, TRUE); 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() [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_vma_types.h | 41 * singular instances with a view representing all of the object's backing pages 42 * in a linear fashion. This view will be called a normal view. 46 * is not linear, concept of a GGTT view was added. 48 * One example of an alternative view is a stereo display driven by a single 55 * Above would represent a normal GGTT view as normally mapped for GPU or CPU 57 * view which could look something like this: 62 * In this example both the size and layout of pages in the alternative view is 63 * different from the normal view. 73 * parameter encapsulating all metadata required to implement a view. 75 * As a helper for callers which are only interested in the normal view, [all …]
|
H A D | i915_vma.h | 46 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/drivers/gpu/drm/xe/display/ |
H A D | xe_fb_pin.c | 81 const struct i915_gtt_view *view, in __xe_pin_fb_vma_dpt() argument 92 if (view->type == I915_GTT_VIEW_NORMAL) in __xe_pin_fb_vma_dpt() 94 else if (view->type == I915_GTT_VIEW_REMAPPED) in __xe_pin_fb_vma_dpt() 99 dpt_size = ALIGN(intel_rotation_info_size(&view->rotated) * 8, in __xe_pin_fb_vma_dpt() 129 if (view->type == I915_GTT_VIEW_NORMAL) { in __xe_pin_fb_vma_dpt() 138 } else if (view->type == I915_GTT_VIEW_REMAPPED) { in __xe_pin_fb_vma_dpt() 139 const struct intel_remapped_info *remap_info = &view->remapped; in __xe_pin_fb_vma_dpt() 151 const struct intel_rotation_info *rot_info = &view->rotated; in __xe_pin_fb_vma_dpt() 193 const struct i915_gtt_view *view, in __xe_pin_fb_vma_ggtt() argument 216 if (bo->ggtt_node && view->type == I915_GTT_VIEW_NORMAL) { in __xe_pin_fb_vma_ggtt() [all …]
|
/linux/tools/perf/ui/gtk/ |
H A D | hists.c | 281 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/drivers/gpu/drm/i915/selftests/ |
H A D | i915_vma.c | 66 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 596 struct intel_remapped_plane_info *plane_info = view.remapped.plane; in igt_vma_rotate_remap() 605 plane_info[0].dst_stride = view.type == I915_GTT_VIEW_ROTATED ? in igt_vma_rotate_remap() 609 plane_info[1].dst_stride = view.type == I915_GTT_VIEW_ROTATED ? in igt_vma_rotate_remap() 619 vma = checked_vma_instance(obj, vm, &view); in igt_vma_rotate_remap() 631 expected_pages = remapped_size(view.type, &plane_info[0], &plane_info[1]); in igt_vma_rotate_remap() 633 if (view.type == I915_GTT_VIEW_ROTATED && in igt_vma_rotate_remap() [all …]
|
/linux/Documentation/arch/s390/ |
H A D | s390dbf.rst | 72 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 …]
|
/linux/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 3 # exported-sql-viewer.py: view data from sql database 784 # Turn the query result into a list of ids that the tree view can walk 979 # Turn the query result into a list of ids that the tree view can walk 1045 self.view = QTreeView() 1046 self.view.setSelectionMode(QAbstractItemView.ContiguousSelection) 1047 self.view.CopyCellsToClipboard = CopyTreeCellsToClipboard 1049 self.context_menu = TreeContextMenu(self.view) 1062 self.view.setExpanded(parent, True) 1063 self.view.setCurrentIndex(child) 1071 self.view.setFocus() [all …]
|
H A D | export-to-sqlite.py | 336 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 …]
|
/linux/include/linux/irqchip/ |
H A D | arm-gic-v3-prio.h | 7 * 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 D | coresight-syscfg-configfs.h | 14 /* container for configuration view */ 22 /* container for feature view */ 28 /* container for parameter view */ 35 /* container for preset view */
|
/linux/include/linux/ |
H A D | regset.h | 215 * @regsets: Array of @n regsets available in this view. 221 * A regset view is a collection of regsets (&struct user_regset, 223 * from a given architecture/ABI environment. More than one view might 227 * view or from the 64-bit view. Either method reaches the same thread 244 * task_user_regset_view - Return the process's native regset view. 310 const struct user_regset_view *view, 317 * @view: &struct user_regset_view describing user thread machine state 318 * @setno: index in @view->regsets 324 const struct user_regset_view *view, in copy_regset_from_user() argument 329 const struct user_regset *regset = &view->regsets[setno]; in copy_regset_from_user()
|
/linux/kernel/ |
H A D | regset.c | 55 * @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/amd/display/modules/info_packet/ |
H A D | info_packet.c | 232 * 1 = Frame/Field Sequential | 0x0: L + R view indication based on MISC1 bit 2:1 in mod_build_vsc_infopacket() 237 * 2 = Stacked Frame | 0x0: Left view is on top and right view on bottom in mod_build_vsc_infopacket() 240 …* 3 = Pixel Interleaved | 0x0: horiz interleaved, right view pixels on even li… in mod_build_vsc_infopacket() 241 …* | 0x1: horiz interleaved, right view pixels on odd lin… in mod_build_vsc_infopacket() 242 * | 0x2: checker board, start with left view pixel in mod_build_vsc_infopacket() 243 …* | 0x3: vertical interleaved, start with left view pixe… in mod_build_vsc_infopacket() 244 …* | 0x4: vertical interleaved, start with right view pix… in mod_build_vsc_infopacket() 247 * 4 = Side-by-side | 0x0: left half represents left eye view in mod_build_vsc_infopacket() 248 * | 0x1: left half represents right eye view in mod_build_vsc_infopacket() 255 info_packet->sb[0] = 0x02; // Stacked Frame, Left view is on top and right view on bottom. in mod_build_vsc_infopacket() [all …]
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_mman.c | 154 * for the mappable aperture!), a view is created instead and faulted 155 * into userspace. (This view is aligned and sized appropriately for 202 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() 391 /* Use a partial view if it is bigger than available space */ in vm_fault_gtt() [all …]
|