| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
| 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. 53 * @view_type: View type. 54 * @view_id: User-space per context view id. Currently used also as per 55 * context device view id. [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/drivers/s390/char/ |
| D | raw3270.c | 48 struct raw3270_view *view; /* Active view. */ member 92 * Wait queue for device init/delete, view delete. 123 x = max_t(int, 0, rp->view->cols + x); in raw3270_buffer_address() 125 y = max_t(int, 0, rp->view->rows + y); in raw3270_buffer_address() 126 addr = (y * rp->view->cols) + x; in raw3270_buffer_address() 244 static int __raw3270_start(struct raw3270 *rp, struct raw3270_view *view, in __raw3270_start() argument 247 rq->view = view; in __raw3270_start() 248 raw3270_get_view(view); in __raw3270_start() 255 raw3270_put_view(view); in __raw3270_start() 263 int raw3270_view_active(struct raw3270_view *view) in raw3270_view_active() argument [all …]
|
| 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, 66 * View structure chaining. The raw3270_view structure is meant to 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 */ [all …]
|
| 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() 104 fp = (struct fs3270 *)rq->view; in fs3270_restore_callback() [all …]
|
| D | con3270.c | 74 * The main tty view data structure. 81 struct raw3270_view view; member 147 return tp->view.rows - TTY3270_INPUT_AREA_ROWS; in tty3270_tty_rows() 153 raw3270_buffer_address(tp->view.dev, cp, x, y); in tty3270_add_ba() 223 *cp++ = tp->view.ascebc['>']; in tty3270_add_prompt() 228 tp->view.cols * 2 - TTY3270_STATUS_AREA_SIZE - 2); in tty3270_add_prompt() 236 if (count < tp->view.cols * 2 - 11) in tty3270_add_prompt() 244 *d++ = tp->view.ascebc[(int)*s++]; in tty3270_ebcdic_convert() 275 codepage_convert(tp->view.ascebc, cp, len); in tty3270_add_status() 303 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); in tty3270_write_callback() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/ |
| D | omap_dmm_tiler.h | 50 0 0 0 0-degree view Natural view 51 0 0 1 0-degree view with vertical mirror 180-degree view with horizontal mirror 52 0 1 0 0-degree view with horizontal mirror 180-degree view with vertical mirror 53 0 1 1 180-degree view 54 1 0 0 90-degree view with vertical mirror 270-degree view with horizontal mirror 55 1 0 1 270-degree view 56 1 1 0 90-degree view 57 1 1 1 90-degree view with horizontal mirror 270-degree view with vertical mirror 73 /* create tsptr by adding view orientation and access mode */
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 */
|
| /kernel/linux/linux-6.6/security/apparmor/ |
| D | policy_ns.c | 33 * aa_ns_visible - test if @view is visible from @curr 35 * @view: namespace to test if visible from @curr (NOT NULL) 36 * @subns: whether view of a subns is allowed 38 * Returns: true if @view is visible from @curr else false 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() 57 * aa_ns_name - Find the ns name to display for @view from @curr 59 * @view: namespace attempting to view (NOT NULL) [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
| D | head.c | 67 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
| D | head.c | 67 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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.10/arch/s390/kernel/ |
| D | debug.c | 52 struct debug_view *view; /* used view of debug info */ member 80 struct debug_view *view, char *out_buf); 81 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view, 85 struct debug_view *view, char *out_buf); 86 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view, 89 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view, 92 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, 94 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, 389 struct debug_view *view = p_info->view; in debug_format_entry() local 395 if (view->prolog_proc) in debug_format_entry() [all …]
|
| /kernel/linux/linux-6.6/arch/s390/kernel/ |
| D | debug.c | 52 struct debug_view *view; /* used view of debug info */ member 80 struct debug_view *view, char *out_buf); 81 static int debug_input_level_fn(debug_info_t *id, struct debug_view *view, 85 struct debug_view *view, char *out_buf); 86 static int debug_input_pages_fn(debug_info_t *id, struct debug_view *view, 89 static int debug_input_flush_fn(debug_info_t *id, struct debug_view *view, 92 static int debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, 94 static int debug_sprintf_format_fn(debug_info_t *id, struct debug_view *view, 389 struct debug_view *view = p_info->view; in debug_format_entry() local 395 if (view->prolog_proc) in debug_format_entry() [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
| D | i915_vma_types.h | 41 * singular instances with a view representing all of the object's backing pages 42 * in a linear fashion. This view will be called a normal view. 46 * is not linear, concept of a GGTT view was added. 48 * One example of an alternative view is a stereo display driven by a single 55 * Above would represent a normal GGTT view as normally mapped for GPU or CPU 57 * view which could look something like this: 62 * In this example both the size and layout of pages in the alternative view is 63 * different from the normal view. 73 * parameter encapsulating all metadata required to implement a view. 75 * As a helper for callers which are only interested in the normal view, [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/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 …]
|