/Linux-v5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_so.c | 37 * to it, and all context bindings of that view. Similarly we must restore 38 * the view bindings, views and surfaces pointed to by the views when a 43 * struct vmw_view - view metadata 46 * @ctx: Non-refcounted pointer to the context this view belongs to. 47 * @srf: Refcounted pointer to the surface pointed to by this view. 48 * @cotable: Refcounted pointer to the cotable holding this view. 49 * @srf_head: List head for the surface-to-view list. 51 * @view_type: View type. 52 * @view_id: User-space per context view id. Currently used also as per 53 * context device view id. [all …]
|
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 142 * View management - vmwgfx_so.c
|
/Linux-v5.10/drivers/s390/char/ |
D | raw3270.c | 46 struct raw3270_view *view; /* Active view. */ member 90 * Wait queue for device init/delete, view delete. 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 [all …]
|
D | con3270.c | 3 * IBM/3270 Driver - console view. 39 * Main 3270 console view data structure. 42 struct raw3270_view view; member 87 * "console view" in the lower left corner and "Running"/"More..."/"Holding" 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() [all …]
|
D | fs3270.c | 33 struct raw3270_view view; member 38 int active; /* Fullscreen view is active. */ 57 * The fullscreen view is in working order if the view in fs3270_working() 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() 75 /* Fullscreen view isn't ready yet. */ in fs3270_do_io() 81 rc = raw3270_start(view, rq); in fs3270_do_io() 91 * Switch to the fullscreen view. 98 fp = (struct fs3270 *) rq->view; in fs3270_reset_callback() 108 fp = (struct fs3270 *) rq->view; in fs3270_restore_callback() [all …]
|
D | tty3270.c | 57 * The main tty view data structure. 64 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() [all …]
|
D | raw3270.h | 100 struct raw3270_view *view; /* view of this request */ member 129 * Functions of a 3270 view. 142 * View structure chaining. The raw3270_view structure is meant to 143 * be embedded at the start of the real view data structure, e.g.: 145 * struct raw3270_view view; 158 unsigned int rows, cols; /* # of rows & colums of the view */ 174 /* Reference count inliner for view structures. */ 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 [all …]
|
/Linux-v5.10/drivers/usb/phy/ |
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-v5.10/security/apparmor/ |
D | policy_ns.c | 30 * aa_ns_visible - test if @view is visible from @curr 32 * @view: namespace to test if visible from @curr (NOT NULL) 33 * @subns: whether view of a subns is allowed 35 * Returns: true if @view is visible from @curr else false 37 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() 54 * aa_na_name - Find the ns name to display for @view from @curr 56 * @view - namespace attempting to view (NOT NULL) [all …]
|
/Linux-v5.10/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.h | 58 0 0 0 0-degree view Natural view 59 0 0 1 0-degree view with vertical mirror 180-degree view with horizontal mirror 60 0 1 0 0-degree view with horizontal mirror 180-degree view with vertical mirror 61 0 1 1 180-degree view 62 1 0 0 90-degree view with vertical mirror 270-degree view with horizontal mirror 63 1 0 1 270-degree view 64 1 1 0 90-degree view 65 1 1 1 90-degree view with horizontal mirror 270-degree view with vertical mirror 81 /* create tsptr by adding view orientation and access mode */
|
/Linux-v5.10/drivers/gpu/drm/nouveau/dispnv50/ |
D | head.c | 54 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 …]
|
/Linux-v5.10/arch/s390/kernel/ |
D | debug.c | 51 struct debug_view *view; /* used view of debug info */ member 79 struct debug_view *view, char *out_buf); 80 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view, 84 struct debug_view *view, char *out_buf); 85 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view, 88 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view, 91 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, 93 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, 421 struct debug_view *view = p_info->view; in debug_format_entry() local 427 if (view->prolog_proc) in debug_format_entry() [all …]
|
/Linux-v5.10/drivers/gpu/drm/i915/selftests/ |
D | i915_vma.c | 65 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 …]
|
/Linux-v5.10/drivers/gpu/drm/i915/ |
D | i915_vma_types.h | 43 * singular instances with a view representing all of the object's backing pages 44 * in a linear fashion. This view will be called a normal view. 48 * is not linear, concept of a GGTT view was added. 50 * One example of an alternative view is a stereo display driven by a single 57 * Above would represent a normal GGTT view as normally mapped for GPU or CPU 59 * view which could look something like this: 64 * In this example both the size and layout of pages in the alternative view is 65 * different from the normal view. 75 * parameter encapsulating all metadata required to implement a view. 77 * As a helper for callers which are only interested in the normal view, [all …]
|
D | i915_vma.h | 45 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()
|
D | i915_vma.c | 105 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 …]
|
/Linux-v5.10/scripts/kconfig/ |
D | gconf.c | 60 static struct menu *current; // current node for SINGLE view 61 static struct menu *browsed; // browsed node for SPLIT view 224 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() [all …]
|
/Linux-v5.10/tools/perf/ui/gtk/ |
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-v5.10/Documentation/s390/ |
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-v5.10/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 3 # exported-sql-viewer.py: view data from sql database 777 # Turn the query result into a list of ids that the tree view can walk 972 # Turn the query result into a list of ids that the tree view can walk 1038 self.view = QTreeView() 1039 self.view.setSelectionMode(QAbstractItemView.ContiguousSelection) 1040 self.view.CopyCellsToClipboard = CopyTreeCellsToClipboard 1042 self.context_menu = TreeContextMenu(self.view) 1055 self.view.setExpanded(parent, True) 1056 self.view.setCurrentIndex(child) 1064 self.view.setFocus() [all …]
|
D | export-to-sqlite.py | 334 do_query(query, 'CREATE VIEW machines_view AS ' 342 do_query(query, 'CREATE VIEW dsos_view AS ' 352 do_query(query, 'CREATE VIEW symbols_view AS ' 363 do_query(query, 'CREATE VIEW threads_view AS ' 373 do_query(query, 'CREATE VIEW comm_threads_view AS ' 383 do_query(query, 'CREATE VIEW call_paths_view AS ' 399 do_query(query, 'CREATE VIEW calls_view AS ' 424 do_query(query, 'CREATE VIEW samples_view AS ' 448 do_query(query, 'CREATE VIEW ptwrite_view AS ' 458 do_query(query, 'CREATE VIEW cbr_view AS ' [all …]
|
/Linux-v5.10/include/linux/ |
D | regset.h | 203 * @regsets: Array of @n regsets available in this view. 209 * A regset view is a collection of regsets (&struct user_regset, 211 * from a given architecture/ABI environment. More than one view might 215 * view or from the 64-bit view. Either method reaches the same thread 232 * task_user_regset_view - Return the process's native regset view. 299 const struct user_regset_view *view, 306 * @view: &struct user_regset_view describing user thread machine state 307 * @setno: index in @view->regsets 313 const struct user_regset_view *view, in copy_regset_from_user() argument 318 const struct user_regset *regset = &view->regsets[setno]; in copy_regset_from_user()
|
/Linux-v5.10/kernel/ |
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-v5.10/security/apparmor/include/ |
D | policy_ns.h | 83 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-v5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_mman.c | 141 * for the mappable aperture!), a view is created instead and faulted 142 * into userspace. (This view is aligned and sized appropriately for 189 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() 326 /* Use a partial view if it is bigger than available space */ in vm_fault_gtt() [all …]
|