/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. 54 * @view_id: User-space per context view id. Currently used also as per 55 * context device view id. 56 * @cmd_size: Size of the SVGA3D define view comman 131 struct vmw_view *view = vmw_view(res); vmw_view_commit_notify() local 162 struct vmw_view *view = vmw_view(res); vmw_view_create() local 207 struct vmw_view *view = vmw_view(res); vmw_view_destroy() local 288 struct vmw_view *view = vmw_view(res); vmw_view_res_free() local 328 struct vmw_view *view; vmw_view_add() local [all...] |
/linux/drivers/s390/char/ |
H A D | raw3270.c | 52 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() 269 raw3270_view_active(struct raw3270_view * view) raw3270_view_active() argument 276 raw3270_start(struct raw3270_view * view,struct raw3270_request * rq) raw3270_start() argument 295 raw3270_start_request(struct raw3270_view * view,struct raw3270_request * rq,int cmd,void * data,size_t len) raw3270_start_request() argument 311 raw3270_start_locked(struct raw3270_view * view,struct raw3270_request * rq) raw3270_start_locked() argument 327 raw3270_start_irq(struct raw3270_view * view,struct raw3270_request * rq) raw3270_start_irq() argument 345 struct raw3270_view *view; raw3270_irq() local 540 struct raw3270_view *view; raw3270_resize_work() local 663 raw3270_reset(struct raw3270_view * view) raw3270_reset() argument 682 struct raw3270_view *view; __raw3270_disconnect() local 700 raw3270_init_irq(struct raw3270_view * view,struct raw3270_request * rq,struct irb * irb) raw3270_init_irq() argument 884 raw3270_view_lock_unavailable(struct raw3270_view * view) raw3270_view_lock_unavailable() argument 895 raw3270_assign_activate_view(struct raw3270 * rp,struct raw3270_view * view) raw3270_assign_activate_view() argument 901 __raw3270_activate_view(struct raw3270 * rp,struct raw3270_view * view) __raw3270_activate_view() argument 943 raw3270_activate_view(struct raw3270_view * view) raw3270_activate_view() argument 962 raw3270_deactivate_view(struct raw3270_view * view) raw3270_deactivate_view() argument 994 raw3270_add_view(struct raw3270_view * view,struct raw3270_fn * fn,int minor,int subclass) raw3270_add_view() argument 1034 struct raw3270_view *view, *tmp; raw3270_find_view() local 1061 raw3270_del_view(struct raw3270_view * view) raw3270_del_view() 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, 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 */ 104 raw3270_get_view(struct raw3270_view * view) raw3270_get_view() argument 112 raw3270_put_view(struct raw3270_view * view) raw3270_put_view() argument [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() 114 fs3270_activate(struct raw3270_view * view) fs3270_activate() argument 187 fs3270_deactivate(struct raw3270_view * view) fs3270_deactivate() argument 388 fs3270_free_view(struct raw3270_view * view) fs3270_free_view() argument 402 fs3270_release(struct raw3270_view * view) fs3270_release() argument [all...] |
H A D | con3270.c | 75 * The main tty view data structure. 82 struct raw3270_view view; member 149 return tp->view.rows - TTY3270_INPUT_AREA_ROWS; in tty3270_tty_rows() 155 raw3270_buffer_address(tp->view.dev, cp, x, y); in tty3270_add_ba() 225 *cp++ = tp->view.ascebc['>']; in tty3270_add_prompt() 230 tp->view.cols * 2 - TTY3270_STATUS_AREA_SIZE - 2); in tty3270_add_prompt() 238 if (count < tp->view.cols * 2 - 11) in tty3270_add_prompt() 246 *d++ = tp->view.ascebc[(int)*s++]; in tty3270_ebcdic_convert() 277 codepage_convert(tp->view.ascebc, cp, len); in tty3270_add_status() 305 struct tty3270 *tp = container_of(rq->view, struc in tty3270_write_callback() 784 tty3270_activate(struct raw3270_view * view) tty3270_activate() argument 793 tty3270_deactivate(struct raw3270_view * view) tty3270_deactivate() argument 964 tty3270_resize(struct raw3270_view * view,int new_model,int new_rows,int new_cols,int old_model,int old_rows,int old_cols) tty3270_resize() argument 1046 tty3270_release(struct raw3270_view * view) tty3270_release() argument 1063 tty3270_free(struct raw3270_view * view) tty3270_free() argument 1083 struct raw3270_view *view = raw3270_find_view(&tty3270_fn, i); tty3270_del_views() local 1190 struct raw3270_view *view; tty3270_install() local 2157 struct raw3270_view *view; con3270_init() local [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/scripts/kconfig/ |
H A D | gconf.c | 46 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 660 GtkTreeView *view = GTK_TREE_VIEW(user_data); renderer_edited() local 749 GtkTreeView *view = GTK_TREE_VIEW(widget); on_treeview2_button_press_event() local 802 GtkTreeView *view = GTK_TREE_VIEW(widget); on_treeview2_key_press_event() local 860 GtkTreeView *view = GTK_TREE_VIEW(widget); on_treeview1_button_press_event() local 1135 GtkTreeView *view = GTK_TREE_VIEW(tree1_w); init_left_tree() local 1185 GtkTreeView *view = GTK_TREE_VIEW(tree2_w); init_right_tree() local [all...] |
/linux/drivers/gpu/drm/xe/display/ |
H A D | xe_fb_pin.c | 82 const struct i915_gtt_view *view, in __xe_pin_fb_vma_dpt() argument 93 if (view->type == I915_GTT_VIEW_NORMAL) in __xe_pin_fb_vma_dpt() 95 else if (view->type == I915_GTT_VIEW_REMAPPED) in __xe_pin_fb_vma_dpt() 100 dpt_size = ALIGN(intel_rotation_info_size(&view->rotated) * 8, in __xe_pin_fb_vma_dpt() 130 if (view->type == I915_GTT_VIEW_NORMAL) { in __xe_pin_fb_vma_dpt() 139 } else if (view->type == I915_GTT_VIEW_REMAPPED) { in __xe_pin_fb_vma_dpt() 140 const struct intel_remapped_info *remap_info = &view->remapped; in __xe_pin_fb_vma_dpt() 152 const struct intel_rotation_info *rot_info = &view->rotated; in __xe_pin_fb_vma_dpt() 197 const struct i915_gtt_view *view, in __xe_pin_fb_vma_ggtt() argument 221 if (bo->ggtt_node[tile0->id] && view in __xe_pin_fb_vma_ggtt() 275 __xe_pin_fb_vma(const struct intel_framebuffer * fb,const struct i915_gtt_view * view,unsigned int alignment) __xe_pin_fb_vma() argument 364 intel_fb_pin_to_ggtt(const struct drm_framebuffer * fb,const struct i915_gtt_view * view,unsigned int alignment,unsigned int phys_alignment,unsigned int vtd_guard,bool uses_fence,unsigned long * out_flags) intel_fb_pin_to_ggtt() argument [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_MODE in perf_gtk__show_hists() 505 GtkWidget *view; perf_gtk__show_hierarchy() local [all...] |
H A D | annotate.c | 113 GtkWidget *view; in perf_gtk__annotate_symbol() local 124 view = gtk_tree_view_new(); in perf_gtk__annotate_symbol() 128 gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view), in perf_gtk__annotate_symbol() 133 gtk_tree_view_set_model(GTK_TREE_VIEW(view), GTK_TREE_MODEL(store)); in perf_gtk__annotate_symbol() 164 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__annotate_symbol()
|
/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() 595 struct i915_gtt_view view = { in igt_vma_rotate_remap() local 600 struct intel_remapped_plane_info *plane_info = view.remapped.plane; in igt_vma_rotate_remap() 609 plane_info[0].dst_stride = view.type == I915_GTT_VIEW_ROTATED ? in igt_vma_rotate_remap() 613 plane_info[1].dst_stride = view.type == I915_GTT_VIEW_ROTATED ? in igt_vma_rotate_remap() 623 vma = checked_vma_instance(obj, vm, &view); in igt_vma_rotate_remap() 635 expected_pages = remapped_size(view.type, &plane_info[0], &plane_info[1]); in igt_vma_rotate_remap() 637 if (view in igt_vma_rotate_remap() 748 assert_pin(struct i915_vma * vma,struct i915_gtt_view * view,u64 size,const char * name) assert_pin() argument 826 struct i915_gtt_view view; igt_vma_partial() local 1004 struct i915_gtt_view view = { igt_vma_remapped_gtt() local [all...] |
/linux/drivers/gpu/drm/i915/ |
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 in i915_vma_compare() [all...] |
H A D | i915_vma.c | 148 const struct i915_gtt_view *view) in vma_create() argument 180 if (view && view->type != I915_GTT_VIEW_NORMAL) { in vma_create() 181 vma->gtt_view = *view; in vma_create() 182 if (view->type == I915_GTT_VIEW_PARTIAL) { in vma_create() 184 view->partial.offset, in vma_create() 185 view->partial.size, in vma_create() 187 vma->size = view->partial.size; in vma_create() 190 } else if (view->type == I915_GTT_VIEW_ROTATED) { in vma_create() 191 vma->size = intel_rotation_info_size(&view in vma_create() 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...] |
/linux/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 3 # 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 3853 CopyTableCellsToClipboard(view, as_csv=False, with_hdr=False) global() argument 3919 CopyTreeCellsToClipboard(view, as_csv=False, with_hdr=False) global() argument 4027 CopyCellsToClipboard(view, as_csv=False, with_hdr=False) global() argument 4030 CopyCellsToClipboardHdr(view) global() argument 4033 CopyCellsToClipboardCSV(view) global() argument 4040 __init__(self, view) global() argument 4059 __init__(self, view) global() argument [all...] |
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_fb_pin.c | 24 const struct i915_gtt_view *view, in intel_fb_pin_to_dpt() argument 76 vma = i915_vma_instance(obj, vm, view); in intel_fb_pin_to_dpt() 110 const struct i915_gtt_view *view, in intel_fb_pin_to_ggtt() argument 170 vtd_guard, view, pinctl); in intel_fb_pin_to_ggtt() 256 &plane_state->view, in intel_plane_fb_vtd_guard() 269 vma = intel_fb_pin_to_ggtt(&fb->base, &plane_state->view.gtt, in intel_plane_pin_fb() 300 vma = intel_fb_pin_to_dpt(&fb->base, &plane_state->view.gtt, in intel_plane_pin_fb()
|
H A D | skl_universal_plane.c | 776 u32 stride = plane_state->view.color_plane[color_plane].scanout_stride; in skl_plane_stride() 1271 u32 offset = plane_state->view.color_plane[color_plane].offset; in skl_surf_address() 1424 u32 x = plane_state->view.color_plane[0].x; in skl_plane_update_arm() 1425 u32 y = plane_state->view.color_plane[0].y; in skl_plane_update_arm() 1454 PLANE_OFFSET_Y(plane_state->view.color_plane[1].y) | in skl_plane_update_arm() 1455 PLANE_OFFSET_X(plane_state->view.color_plane[1].x)); in skl_plane_update_arm() 1507 x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_sel_fetch_noarm() 1514 y = plane_state->view.color_plane[color_plane].y + clip->y1; in icl_plane_update_sel_fetch_noarm() 1516 y = plane_state->view.color_plane[color_plane].y + clip->y1 / 2; in icl_plane_update_sel_fetch_noarm() 1542 int x = plane_state->view in icl_plane_update_noarm() [all...] |
/linux/security/apparmor/include/ |
H A D | policy_ns.h | 84 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/ |
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/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_mman.c | 152 * for the mappable aperture!), a view is created instead and faulted 153 * into userspace. (This view is aligned and sized appropriately for 203 struct i915_gtt_view view; in compute_partial_view() local 208 view.type = I915_GTT_VIEW_PARTIAL; in compute_partial_view() 209 view.partial.offset = rounddown(page_offset, chunk); in compute_partial_view() 210 view.partial.size = in compute_partial_view() 212 (obj->base.size >> PAGE_SHIFT) - view.partial.offset); in compute_partial_view() 216 view.type = I915_GTT_VIEW_NORMAL; in compute_partial_view() 218 return view; in compute_partial_view() 392 /* Use a partial view i in vm_fault_gtt() 393 struct i915_gtt_view view = vm_fault_gtt() local [all...] |
H A D | i915_gem_domain.c | 424 const struct i915_gtt_view *view, in i915_gem_object_pin_to_display_plane() argument 465 (!view || view->type == I915_GTT_VIEW_NORMAL)) in i915_gem_object_pin_to_display_plane() 466 vma = i915_gem_object_ggtt_pin_ww(obj, ww, view, 0, alignment, in i915_gem_object_pin_to_display_plane() 470 vma = i915_gem_object_ggtt_pin_ww(obj, ww, view, 0, in i915_gem_object_pin_to_display_plane()
|
/linux/arch/powerpc/kernel/ptrace/ |
H A D | Makefile | 6 CFLAGS_ptrace-view.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' 8 obj-y += ptrace.o ptrace-view.o
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
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,
|
H A D | headca7d.c | 269 NVVAL(NVCA7D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in headca7d_view() 270 NVVAL(NVCA7D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH)); in headca7d_view() 273 NVVAL(NVCA7D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in headca7d_view() 274 NVVAL(NVCA7D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH)); in headca7d_view() 280 .view = headca7d_view,
|
/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/include/linux/ |
H A D | regset.h | 225 * @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 [all...] |