/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_so.c | 128 struct vmw_view *view = vmw_view(res); in vmw_view_commit_notify() local 133 struct vmw_surface *srf = vmw_res_to_srf(view->srf); in vmw_view_commit_notify() 135 list_add_tail(&view->srf_head, &srf->view_list); in vmw_view_commit_notify() 136 vmw_cotable_add_resource(view->cotable, &view->cotable_head); in vmw_view_commit_notify() 137 view->committed = true; in vmw_view_commit_notify() 138 res->id = view->view_id; in vmw_view_commit_notify() 141 list_del_init(&view->cotable_head); in vmw_view_commit_notify() 142 list_del_init(&view->srf_head); in vmw_view_commit_notify() 143 view->committed = false; in vmw_view_commit_notify() 159 struct vmw_view *view = vmw_view(res); in vmw_view_create() local [all …]
|
/Linux-v4.19/drivers/s390/char/ |
D | raw3270.c | 46 struct raw3270_view *view; /* Active view. */ member 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 274 spin_lock_irqsave(get_ccwdev_lock(view->dev->cdev), flags); in raw3270_start() [all …]
|
D | con3270.c | 42 struct raw3270_view view; member 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() 119 codepage_convert(cp->view.ascebc, cp->status->string + 24, 7); in con3270_create_status() 135 raw3270_buffer_address(cp->view.dev, s->string + s->len - 3, in con3270_update_string() 136 cp->view.cols * (nr + 1)); in con3270_update_string() [all …]
|
D | tty3270.c | 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() 183 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_prompt() [all …]
|
D | fs3270.c | 33 struct raw3270_view view; member 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() 81 rc = raw3270_start(view, rq); in fs3270_do_io() 98 fp = (struct fs3270 *) rq->view; in fs3270_reset_callback() 108 fp = (struct fs3270 *) rq->view; in fs3270_restore_callback() 119 fs3270_activate(struct raw3270_view *view) in fs3270_activate() argument 125 fp = (struct fs3270 *) view; in fs3270_activate() 152 rc = fp->init->rc = raw3270_start_locked(view, fp->init); in fs3270_activate() 168 fp = (struct fs3270 *) rq->view; in fs3270_save_callback() [all …]
|
D | raw3270.h | 100 struct raw3270_view *view; /* view of this request */ member 175 raw3270_get_view(struct raw3270_view *view) in raw3270_get_view() argument 177 atomic_inc(&view->ref_count); in raw3270_get_view() 183 raw3270_put_view(struct raw3270_view *view) in raw3270_put_view() argument 185 if (atomic_dec_return(&view->ref_count) == 0) in raw3270_put_view()
|
/Linux-v4.19/drivers/usb/phy/ |
D | phy-ulpi-viewport.c | 21 static int ulpi_viewport_wait(void __iomem *view, u32 mask) in ulpi_viewport_wait() argument 26 if (!(readl(view) & mask)) in ulpi_viewport_wait() 38 void __iomem *view = otg->io_priv; in ulpi_viewport_read() local 40 writel(ULPI_VIEW_WAKEUP | ULPI_VIEW_WRITE, view); in ulpi_viewport_read() 41 ret = ulpi_viewport_wait(view, ULPI_VIEW_WAKEUP); in ulpi_viewport_read() 45 writel(ULPI_VIEW_RUN | ULPI_VIEW_READ | ULPI_VIEW_ADDR(reg), view); in ulpi_viewport_read() 46 ret = ulpi_viewport_wait(view, ULPI_VIEW_RUN); in ulpi_viewport_read() 50 return ULPI_VIEW_DATA_READ(readl(view)); in ulpi_viewport_read() 56 void __iomem *view = otg->io_priv; in ulpi_viewport_write() local 58 writel(ULPI_VIEW_WAKEUP | ULPI_VIEW_WRITE, view); in ulpi_viewport_write() [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/ |
D | head.c | 48 if (asyh->set.view ) head->func->view (head, asyh); in nv50_head_flush_set() 138 asyh->view.iW = umode->hdisplay; in nv50_head_atomic_check_view() 139 asyh->view.iH = umode_vdisplay; in nv50_head_atomic_check_view() 142 asyh->view.oW = omode_hdisplay; in nv50_head_atomic_check_view() 143 asyh->view.oH = omode_vdisplay; in nv50_head_atomic_check_view() 154 u32 r = (asyh->view.oH << 19) / asyh->view.oW; in nv50_head_atomic_check_view() 157 asyh->view.oW -= (bX * 2); in nv50_head_atomic_check_view() 158 if (bY) asyh->view.oH -= (bY * 2); in nv50_head_atomic_check_view() 159 else asyh->view.oH = ((asyh->view.oW * r) + (r / 2)) >> 19; in nv50_head_atomic_check_view() 161 asyh->view.oW -= (asyh->view.oW >> 4) + 32; in nv50_head_atomic_check_view() [all …]
|
D | head907d.c | 256 evo_data(push, asyh->view.iH << 16 | asyh->view.iW); in head907d_view() 258 evo_data(push, asyh->view.oH << 16 | asyh->view.oW); in head907d_view() 259 evo_data(push, asyh->view.oH << 16 | asyh->view.oW); in head907d_view() 260 evo_data(push, asyh->view.oH << 16 | asyh->view.oW); in head907d_view() 267 .view = head907d_view,
|
D | head507d.c | 299 evo_data(push, asyh->view.iH << 16 | asyh->view.iW); in head507d_view() 301 evo_data(push, asyh->view.oH << 16 | asyh->view.oW); in head507d_view() 302 evo_data(push, asyh->view.oH << 16 | asyh->view.oW); in head507d_view() 309 .view = head507d_view,
|
D | headc37d.c | 191 evo_data(push, (asyh->view.iH << 16) | asyh->view.iW); in headc37d_view() 193 evo_data(push, (asyh->view.oH << 16) | asyh->view.oW); in headc37d_view() 200 .view = headc37d_view,
|
/Linux-v4.19/drivers/gpu/drm/i915/selftests/ |
D | i915_vma.c | 61 struct i915_ggtt_view *view) in checked_vma_instance() argument 66 vma = i915_vma_instance(obj, vm, view); in checked_vma_instance() 83 if (i915_vma_compare(vma, vm, view)) { in checked_vma_instance() 440 struct i915_ggtt_view view; in igt_vma_rotate() local 448 view.type = I915_GGTT_VIEW_ROTATED; in igt_vma_rotate() 449 view.rotated.plane[0] = *a; in igt_vma_rotate() 450 view.rotated.plane[1] = *b; in igt_vma_rotate() 452 for_each_prime_number_from(view.rotated.plane[0].offset, 0, max_offset) { in igt_vma_rotate() 453 for_each_prime_number_from(view.rotated.plane[1].offset, 0, max_offset) { in igt_vma_rotate() 457 vma = checked_vma_instance(obj, vm, &view); in igt_vma_rotate() [all …]
|
/Linux-v4.19/security/apparmor/ |
D | policy_ns.c | 41 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible() argument 43 if (curr == view) in aa_ns_visible() 49 for ( ; view; view = view->parent) { in aa_ns_visible() 50 if (view->parent == curr) in aa_ns_visible() 65 const char *aa_ns_name(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_name() argument 68 if (curr == view) in aa_ns_name() 71 if (aa_ns_visible(curr, view, subns)) { in aa_ns_name() 78 return view->base.hname + strlen(curr->base.hname) + 2; in aa_ns_name() 204 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n) in __aa_lookupn_ns() argument 206 struct aa_ns *ns = view; in __aa_lookupn_ns() [all …]
|
/Linux-v4.19/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, 94 struct debug_view *view, char *out_buf, 96 static int debug_raw_header_fn(debug_info_t *id, struct debug_view *view, 99 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, [all …]
|
/Linux-v4.19/tools/perf/ui/gtk/ |
D | hists.c | 279 static void on_row_activated(GtkTreeView *view, GtkTreePath *path, in on_row_activated() argument 283 bool expanded = gtk_tree_view_row_expanded(view, path); in on_row_activated() 286 gtk_tree_view_collapse_row(view, path); in on_row_activated() 288 gtk_tree_view_expand_row(view, path, FALSE); in on_row_activated() 299 GtkWidget *view; in perf_gtk__show_hists() local 317 view = gtk_tree_view_new(); in perf_gtk__show_hists() 334 gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view), in perf_gtk__show_hists() 343 column = gtk_tree_view_get_column(GTK_TREE_VIEW(view), col_idx); in perf_gtk__show_hists() 347 gtk_tree_view_set_expander_column(GTK_TREE_VIEW(view), in perf_gtk__show_hists() 352 gtk_tree_view_set_model(GTK_TREE_VIEW(view), GTK_TREE_MODEL(store)); in perf_gtk__show_hists() [all …]
|
D | annotate.c | 99 GtkWidget *view; in perf_gtk__annotate_symbol() local 110 view = gtk_tree_view_new(); in perf_gtk__annotate_symbol() 114 gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view), in perf_gtk__annotate_symbol() 119 gtk_tree_view_set_model(GTK_TREE_VIEW(view), GTK_TREE_MODEL(store)); in perf_gtk__annotate_symbol() 149 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__annotate_symbol()
|
/Linux-v4.19/scripts/kconfig/ |
D | gconf.c | 225 GtkTreeView *view = GTK_TREE_VIEW(tree1_w); in init_left_tree() local 230 gtk_tree_view_set_model(view, model1); in init_left_tree() 231 gtk_tree_view_set_headers_visible(view, TRUE); in init_left_tree() 232 gtk_tree_view_set_rules_hint(view, TRUE); in init_left_tree() 235 gtk_tree_view_append_column(view, column); in init_left_tree() 256 sel = gtk_tree_view_get_selection(view); in init_left_tree() 267 GtkTreeView *view = GTK_TREE_VIEW(tree2_w); in init_right_tree() local 273 gtk_tree_view_set_model(view, model2); in init_right_tree() 274 gtk_tree_view_set_headers_visible(view, TRUE); in init_right_tree() 275 gtk_tree_view_set_rules_hint(view, TRUE); in init_right_tree() [all …]
|
/Linux-v4.19/security/apparmor/include/ |
D | policy_ns.h | 87 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns); 96 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n); 97 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n); 163 static inline struct aa_ns *aa_lookup_ns(struct aa_ns *view, const char *name) in aa_lookup_ns() argument 165 return aa_lookupn_ns(view, name, strlen(name)); in aa_lookup_ns()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_vma.h | 139 const struct i915_ggtt_view *view); 229 const struct i915_ggtt_view *view) in i915_vma_compare() argument 233 GEM_BUG_ON(view && !i915_is_ggtt(vm)); in i915_vma_compare() 241 if (!view) in i915_vma_compare() 244 cmp -= view->type; in i915_vma_compare() 260 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare() 261 offsetof(typeof(*view), partial)); in i915_vma_compare() 262 return memcmp(&vma->ggtt_view.partial, &view->partial, view->type); in i915_vma_compare()
|
D | i915_vma.c | 131 const struct i915_ggtt_view *view) in vma_create() argument 154 if (view && view->type != I915_GGTT_VIEW_NORMAL) { in vma_create() 155 vma->ggtt_view = *view; in vma_create() 156 if (view->type == I915_GGTT_VIEW_PARTIAL) { in vma_create() 158 view->partial.offset, in vma_create() 159 view->partial.size, in vma_create() 161 vma->size = view->partial.size; in vma_create() 164 } else if (view->type == I915_GGTT_VIEW_ROTATED) { in vma_create() 165 vma->size = intel_rotation_info_size(&view->rotated); in vma_create() 212 if (i915_vma_compare(pos, vm, view) < 0) in vma_create() [all …]
|
/Linux-v4.19/arch/sparc/kernel/ |
D | ptrace_32.c | 346 const struct user_regset_view *view; in arch_ptrace() local 351 view = task_user_regset_view(current); in arch_ptrace() 358 ret = copy_regset_to_user(child, view, REGSET_GENERAL, in arch_ptrace() 363 copy_regset_to_user(child, view, REGSET_GENERAL, in arch_ptrace() 371 ret = copy_regset_from_user(child, view, REGSET_GENERAL, in arch_ptrace() 376 copy_regset_from_user(child, view, REGSET_GENERAL, in arch_ptrace() 384 ret = copy_regset_to_user(child, view, REGSET_FP, in arch_ptrace() 389 ret = copy_regset_to_user(child, view, REGSET_FP, in arch_ptrace() 405 ret = copy_regset_from_user(child, view, REGSET_FP, in arch_ptrace() 410 ret = copy_regset_from_user(child, view, REGSET_FP, in arch_ptrace()
|
D | ptrace_64.c | 912 const struct user_regset_view *view = task_user_regset_view(current); in compat_arch_ptrace() local 930 ret = copy_regset_to_user(child, view, REGSET_GENERAL, in compat_arch_ptrace() 935 ret = copy_regset_to_user(child, view, REGSET_GENERAL, in compat_arch_ptrace() 942 ret = copy_regset_from_user(child, view, REGSET_GENERAL, in compat_arch_ptrace() 947 ret = copy_regset_from_user(child, view, REGSET_GENERAL, in compat_arch_ptrace() 954 ret = copy_regset_to_user(child, view, REGSET_FP, in compat_arch_ptrace() 959 ret = copy_regset_to_user(child, view, REGSET_FP, in compat_arch_ptrace() 973 ret = copy_regset_from_user(child, view, REGSET_FP, in compat_arch_ptrace() 978 ret = copy_regset_from_user(child, view, REGSET_FP, in compat_arch_ptrace() 1023 const struct user_regset_view *view = task_user_regset_view(current); in arch_ptrace() local [all …]
|
/Linux-v4.19/arch/s390/include/asm/ |
D | debug.h | 55 struct debug_view *view, 61 struct debug_view *view, char *out_buf, 64 struct debug_view *view, 67 struct debug_view *view, 72 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view, 233 int debug_register_view(debug_info_t *id, struct debug_view *view); 234 int debug_unregister_view(debug_info_t *id, struct debug_view *view);
|
/Linux-v4.19/Documentation/s390/ |
D | s390dbf.txt | 66 a view can be inspected simply by reading the corresponding debugfs file. 299 int debug_register_view (debug_info_t * id, struct debug_view *view); 302 view: pointer to debug view struct 307 Description: registers new debug view and creates debugfs dir entry 310 int debug_unregister_view (debug_info_t * id, struct debug_view *view); 313 view: pointer to debug view struct 318 Description: unregisters debug view and removes debugfs dir entry 333 * hex_ascii- + raw-view Example 367 * sprintf-view Example 498 The hex_ascii view shows the data field in hex and ascii representation [all …]
|
/Linux-v4.19/include/linux/ |
D | regset.h | 369 const struct user_regset_view *view, in copy_regset_to_user() argument 374 const struct user_regset *regset = &view->regsets[setno]; in copy_regset_to_user() 395 const struct user_regset_view *view, in copy_regset_from_user() argument 400 const struct user_regset *regset = &view->regsets[setno]; in copy_regset_from_user()
|