| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_so.c | 131 struct vmw_view *view = vmw_view(res); in vmw_view_commit_notify() local 136 struct vmw_surface *srf = vmw_res_to_srf(view->srf); in vmw_view_commit_notify() 138 list_add_tail(&view->srf_head, &srf->view_list); in vmw_view_commit_notify() 139 vmw_cotable_add_resource(view->cotable, &view->cotable_head); in vmw_view_commit_notify() 140 view->committed = true; in vmw_view_commit_notify() 141 res->id = view->view_id; in vmw_view_commit_notify() 144 list_del_init(&view->cotable_head); in vmw_view_commit_notify() 145 list_del_init(&view->srf_head); in vmw_view_commit_notify() 146 view->committed = false; in vmw_view_commit_notify() 162 struct vmw_view *view = vmw_view(res); in vmw_view_create() local [all …]
|
| H A D | vmwgfx_execbuf.c | 351 struct vmw_resource *view) in vmw_view_res_val_add() argument 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() 388 struct vmw_resource *view; in vmw_view_id_val_add() local 394 view = vmw_view_lookup(sw_context->man, view_type, id); in vmw_view_id_val_add() 395 if (IS_ERR(view)) in vmw_view_id_val_add() 396 return view; in vmw_view_id_val_add() 398 ret = vmw_view_res_val_add(sw_context, view); in vmw_view_id_val_add() 402 return view; in vmw_view_id_val_add() [all …]
|
| /linux/drivers/s390/char/ |
| H A D | raw3270.c | 52 struct raw3270_view *view; /* Active view. */ member 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 271 struct raw3270 *rp = view->dev; in raw3270_view_active() [all …]
|
| H A D | raw3270.h | 22 struct raw3270_view *view; /* view of this request */ member 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, 86 int raw3270_add_view(struct raw3270_view *view, struct raw3270_fn *fn, int minor, int subclass); 87 int raw3270_view_lock_unavailable(struct raw3270_view *view); 88 int raw3270_activate_view(struct raw3270_view *view); 89 void raw3270_del_view(struct raw3270_view *view); 90 void raw3270_deactivate_view(struct raw3270_view *view); [all …]
|
| H A D | fs3270.c | 33 struct raw3270_view view; member 61 static int fs3270_do_io(struct raw3270_view *view, struct raw3270_request *rq) in fs3270_do_io() argument 66 fp = (struct fs3270 *)view; in fs3270_do_io() 78 rc = raw3270_start(view, rq); in fs3270_do_io() 94 fp = (struct fs3270 *)rq->view; in fs3270_reset_callback() 103 fp = (struct fs3270 *)rq->view; in fs3270_restore_callback() 113 static int fs3270_activate(struct raw3270_view *view) in fs3270_activate() argument 119 fp = (struct fs3270 *)view; in fs3270_activate() 147 rc = raw3270_start_locked(view, fp->init); in fs3270_activate() 163 fp = (struct fs3270 *)rq->view; in fs3270_save_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/rust/kernel/ |
| H A D | io.rs | 202 let view = this.as_view(); in io_view_assert() localVariable 203 let ptr = IO::Backend::as_ptr(view); in io_view_assert() 207 unsafe { IO::Backend::project_view(view, projected_ptr) } in io_view_assert() 216 let view = this.as_view(); in io_view() localVariable 217 let ptr = IO::Backend::as_ptr(view); in io_view() 226 Ok(unsafe { IO::Backend::project_view(view, projected_ptr) }) in io_view() 249 fn as_ptr<'a, T: ?Sized + KnownSize>(view: Self::View<'a, T>) -> *mut T; in as_ptr() 259 view: Self::View<'a, T>, in project_view() 274 fn io_read<'a>(view: Self::View<'a, T>) -> T; in io_read() 277 fn io_write<'a>(view: Self::View<'a, T>, value: T); in io_write() [all …]
|
| /linux/security/apparmor/ |
| H A D | policy_ns.c | 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() 64 const char *aa_ns_name(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_name() argument 67 if (curr == view) in aa_ns_name() 70 if (aa_ns_visible(curr, view, subns)) { in aa_ns_name() 77 return view->base.hname + strlen(curr->base.hname) + 2; in aa_ns_name() 174 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n) in __aa_lookupn_ns() argument 176 struct aa_ns *ns = view; in __aa_lookupn_ns() [all …]
|
| /linux/scripts/kconfig/ |
| H A D | gconf.c | 94 static void _select_menu(GtkTreeView *view, GtkTreeModel *model, in _select_menu() argument 115 gtk_tree_view_expand_to_path(view, path); in _select_menu() 116 gtk_tree_view_scroll_to_cell(view, path, NULL, TRUE, in _select_menu() 120 selection = gtk_tree_view_get_selection(view); in _select_menu() 126 _select_menu(view, model, &iter, match); in _select_menu() 132 static void select_menu(GtkTreeView *view, struct menu *match) in select_menu() argument 134 _select_menu(view, gtk_tree_view_get_model(view), NULL, match); in select_menu() 137 static void _update_row_visibility(GtkTreeView *view) in _update_row_visibility() argument 139 GtkTreeModelFilter *filter = GTK_TREE_MODEL_FILTER(gtk_tree_view_get_model(view)); in _update_row_visibility() 659 GtkTreeView *view = GTK_TREE_VIEW(user_data); in renderer_edited() local [all …]
|
| /linux/drivers/gpu/drm/xe/display/ |
| H A D | xe_fb_pin.c | 153 const struct i915_gtt_view *view = pin_params->view; in __xe_pin_fb_vma_dpt() local 157 if (view->type == I915_GTT_VIEW_NORMAL) in __xe_pin_fb_vma_dpt() 159 else if (view->type == I915_GTT_VIEW_REMAPPED) in __xe_pin_fb_vma_dpt() 160 dpt_size = ALIGN(intel_remapped_info_size(&view->remapped) * 8, in __xe_pin_fb_vma_dpt() 164 dpt_size = ALIGN(intel_rotation_info_size(&view->rotated) * 8, in __xe_pin_fb_vma_dpt() 178 if (view->type == I915_GTT_VIEW_NORMAL) { in __xe_pin_fb_vma_dpt() 187 } else if (view->type == I915_GTT_VIEW_REMAPPED) { in __xe_pin_fb_vma_dpt() 188 write_dpt_remapped(bo, &view->remapped, &dpt->vmap); in __xe_pin_fb_vma_dpt() 190 const struct intel_rotation_info *rot_info = &view->rotated; in __xe_pin_fb_vma_dpt() 236 const struct i915_gtt_view *view; member [all …]
|
| /linux/arch/s390/kernel/ |
| H A D | debug.c | 54 struct debug_view *view; /* used view of debug info */ member 82 struct debug_view *view, char *out_buf, 84 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view, 88 struct debug_view *view, char *out_buf, 90 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view, 93 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view, 96 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, 482 struct debug_view *view = p_info->view; in debug_format_entry() local 488 if (view->prolog_proc) { in debug_format_entry() 489 len += view->prolog_proc(id_snap, view, p_info->temp_buf, in debug_format_entry() [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/arch/s390/include/asm/ |
| H A D | debug.h | 66 struct debug_view *view, 72 struct debug_view *view, char *out_buf, 76 struct debug_view *view, 79 struct debug_view *view, 84 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view, 89 int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, 121 ssize_t debug_dump(debug_info_t *id, struct debug_view *view, 400 int debug_register_view(debug_info_t *id, struct debug_view *view); 402 int debug_unregister_view(debug_info_t *id, struct debug_view *view); 460 #define __REGISTER_STATIC_DEBUG_INFO(var, name, pages, areas, view) \ argument [all …]
|
| /linux/tools/perf/scripts/python/ |
| H A D | exported-sql-viewer.py | 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() 1096 self.view.setModel(self.model) 1099 self.view.setColumnWidth(c, w) 1103 self.vbox = VBox(self.view, self.find_bar.Widget()) [all …]
|
| /linux/security/apparmor/include/ |
| H A D | policy_ns.h | 86 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);
|
| /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 | head507d.c | 417 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in head507d_view() 418 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH)); in head507d_view() 421 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in head507d_view() 422 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH), in head507d_view() 425 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, WIDTH, asyh->view.oW) | in head507d_view() 426 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_OUT_MIN, HEIGHT, asyh->view.oH)); in head507d_view() 432 .view = head507d_view,
|
| H A D | headc37d.c | 265 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in headc37d_view() 266 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH)); in headc37d_view() 269 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) | in headc37d_view() 270 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH)); in headc37d_view() 285 .view = headc37d_view,
|
| /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/i915/display/ |
| H A D | skl_universal_plane.c | 771 u32 stride = plane_state->view.color_plane[color_plane].scanout_stride; in skl_plane_stride() 1298 u32 offset = plane_state->view.color_plane[color_plane].offset; in skl_surf_address() 1444 u32 x = plane_state->view.color_plane[0].x; in skl_plane_update_arm() 1445 u32 y = plane_state->view.color_plane[0].y; in skl_plane_update_arm() 1474 PLANE_OFFSET_Y(plane_state->view.color_plane[1].y) | in skl_plane_update_arm() 1475 PLANE_OFFSET_X(plane_state->view.color_plane[1].x)); in skl_plane_update_arm() 1527 x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_sel_fetch_noarm() 1534 y = plane_state->view.color_plane[color_plane].y + clip->y1; in icl_plane_update_sel_fetch_noarm() 1536 y = plane_state->view.color_plane[color_plane].y + DIV_ROUND_UP(clip->y1, 2); in icl_plane_update_sel_fetch_noarm() 1562 int x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_noarm() [all …]
|
| /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 | 320 const struct user_regset_view *view, 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/arch/s390/pci/ |
| H A D | pci_report.c | 52 static int debug_log_header_fn(debug_info_t *id, struct debug_view *view, in debug_log_header_fn() argument 75 static int debug_prolog_header(debug_info_t *id, struct debug_view *view, in debug_prolog_header() argument
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | am335x-osd335x-common.dtsi | 26 * Therefore, from a DEVICE_ID revision point of view, the silicon looks 27 * like it is Revision 2.1. However, from an EFUSE_SMA point of view for
|
| /linux/tools/firewire/ |
| H A D | nosy-dump.c | 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() 1001 switch (view) { in main()
|