| /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 …]
|
| H A D | con3270.c | 81 struct raw3270_view view; member 148 return tp->view.rows - TTY3270_INPUT_AREA_ROWS; in tty3270_tty_rows() 154 raw3270_buffer_address(tp->view.dev, cp, x, y); in tty3270_add_ba() 224 *cp++ = tp->view.ascebc['>']; in tty3270_add_prompt() 229 tp->view.cols * 2 - TTY3270_STATUS_AREA_SIZE - 2); in tty3270_add_prompt() 237 if (count < tp->view.cols * 2 - 11) in tty3270_add_prompt() 245 *d++ = tp->view.ascebc[(int)*s++]; in tty3270_ebcdic_convert() 276 codepage_convert(tp->view.ascebc, cp, len); in tty3270_add_status() 304 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); in tty3270_write_callback() 348 if (line->len < tp->view.cols) in tty3270_required_length() [all …]
|
| /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 …]
|
| /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/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | head.c | 73 if (asyh->set.view ) head->func->view (head, asyh); in nv50_head_flush_set() 151 asyh->view.iW = umode->hdisplay; in nv50_head_atomic_check_view() 152 asyh->view.iH = umode_vdisplay; in nv50_head_atomic_check_view() 155 asyh->view.oW = omode_hdisplay; in nv50_head_atomic_check_view() 156 asyh->view.oH = omode_vdisplay; in nv50_head_atomic_check_view() 167 u32 r = (asyh->view.oH << 19) / asyh->view.oW; in nv50_head_atomic_check_view() 170 asyh->view.oW -= (bX * 2); in nv50_head_atomic_check_view() 171 if (bY) asyh->view.oH -= (bY * 2); in nv50_head_atomic_check_view() 172 else asyh->view.oH = ((asyh->view.oW * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view() 174 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,
|
| 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/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/arch/s390/kernel/ |
| H A D | debug.c | 52 struct debug_view *view; /* used view of debug info */ member 80 struct debug_view *view, char *out_buf, 82 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view, 86 struct debug_view *view, char *out_buf, 88 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view, 91 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view, 94 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, 391 struct debug_view *view = p_info->view; in debug_format_entry() local 397 if (view->prolog_proc) { in debug_format_entry() 398 len += view->prolog_proc(id_snap, view, p_info->temp_buf, in debug_format_entry() [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/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/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/drivers/gpu/drm/i915/display/ |
| H A D | intel_fb.c | 1059 plane_state->view.color_plane[color_plane].mapping_stride, in intel_plane_adjust_aligned_offset() 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() 1541 drm_WARN_ON(display->drm, view->gtt.type != I915_GTT_VIEW_REMAPPED); in calc_plane_remap_info() 1543 check_array_bounds(display, view->gtt.remapped.plane, color_plane); in calc_plane_remap_info() [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/i915/gem/ |
| H A D | i915_gem_mman.c | 204 struct i915_gtt_view view; in compute_partial_view() local 209 view.type = I915_GTT_VIEW_PARTIAL; in compute_partial_view() 210 view.partial.offset = rounddown(page_offset, chunk); in compute_partial_view() 211 view.partial.size = in compute_partial_view() 213 (obj->base.size >> PAGE_SHIFT) - view.partial.offset); in compute_partial_view() 217 view.type = I915_GTT_VIEW_NORMAL; in compute_partial_view() 219 return view; in compute_partial_view() 394 struct i915_gtt_view view = in vm_fault_gtt() local 399 if (view.type == I915_GTT_VIEW_NORMAL) in vm_fault_gtt() 407 vma = i915_gem_object_ggtt_pin_ww(obj, &ww, &view, 0, 0, flags); in vm_fault_gtt() [all …]
|
| /linux/drivers/android/binder/ |
| H A D | thread.rs | 654 view: &mut AllocationView<'_>, in translate_object() 670 security::binder_transfer_binder(&self.process.cred, &view.alloc.process.cred)?; in translate_object() 671 view.transfer_binder_object(offset, obj, strong, node)?; in translate_object() 678 security::binder_transfer_binder(&self.process.cred, &view.alloc.process.cred)?; in translate_object() 679 view.transfer_binder_object(offset, obj, strong, node)?; in translate_object() 694 &view.alloc.process.cred, in translate_object() 703 view.write::<BinderFdObject>(offset, &obj_write)?; in translate_object() 710 view.alloc.info_add_fd(file, field_offset, false)?; in translate_object() 740 let buffer_ptr_in_user_space = (view.alloc.ptr + alloc_offset) as u64; in translate_object() 788 view.write::<BinderBufferObject>(offset, &obj_write)?; in translate_object() [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_vma.c | 150 const struct i915_gtt_view *view) in vma_create() argument 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->rotated); in vma_create() 195 } else if (view->type == I915_GTT_VIEW_REMAPPED) { in vma_create() [all …]
|
| /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/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/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_mman.c | 100 struct i915_gtt_view view; in check_partial_mapping() local 129 view = compute_partial_view(obj, page, MIN_CHUNK_PAGES); in check_partial_mapping() 131 vma = i915_gem_object_ggtt_pin(obj, &view, 0, 0, PIN_MAPPABLE); in check_partial_mapping() 138 n = page - view.partial.offset; in check_partial_mapping() 139 GEM_BUG_ON(n >= view.partial.size); in check_partial_mapping() 165 view.partial.offset, in check_partial_mapping() 166 view.partial.size, in check_partial_mapping() 217 struct i915_gtt_view view = in check_partial_mappings() local 225 GEM_BUG_ON(view.partial.size > nreal); in check_partial_mappings() 228 vma = i915_gem_object_ggtt_pin(obj, &view, 0, 0, PIN_MAPPABLE); in check_partial_mappings() [all …]
|