/openbmc/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 …]
|
/openbmc/linux/drivers/s390/char/ |
H A D | raw3270.c | 48 struct raw3270_view *view; /* Active view. */ member 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 265 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 | 34 struct raw3270_view view; member 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() 79 rc = raw3270_start(view, rq); in fs3270_do_io() 95 fp = (struct fs3270 *)rq->view; in fs3270_reset_callback() 104 fp = (struct fs3270 *)rq->view; in fs3270_restore_callback() 114 static int fs3270_activate(struct raw3270_view *view) in fs3270_activate() argument 120 fp = (struct fs3270 *)view; in fs3270_activate() 148 rc = raw3270_start_locked(view, fp->init); in fs3270_activate() 164 fp = (struct fs3270 *)rq->view; in fs3270_save_callback() [all …]
|
H A D | con3270.c | 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() 347 if (line->len < tp->view.cols) in tty3270_required_length() [all …]
|
/openbmc/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 …]
|
/openbmc/phosphor-webui/app/server-control/controllers/ |
H A D | virtual-media-controller.js | 243 var view = new DataView(resp, 0, 10); 246 view.setUint32(0, Math.floor(size / (2 ** 32))); 247 view.setUint32(4, size & 0xffffffff); 249 view.setUint16(8, NBD_FLAG_HAS_FLAGS | NBD_FLAG_READ_ONLY); 259 var view = new DataView(resp, 0, 20); 260 view.setUint32(0, 0x0003e889); 261 view.setUint32(4, 0x045565a9); 262 view.setUint32(8, opt); 263 view.setUint32(12, NBD_REP_ERR_UNSUP); 264 view.setUint32(16, 0); [all …]
|
/openbmc/webui-vue/src/utilities/ |
H A D | NBDServer.js | 157 var view = new DataView(resp, 0, 10); 161 view.setUint32(0, Math.floor(size / (2 ** 32))); 162 view.setUint32(4, size & 0xffffffff); 164 view.setUint16(8, NBD_FLAG_HAS_FLAGS | NBD_FLAG_READ_ONLY); 186 var view = new DataView(resp, 0, 16); 187 view.setUint32(0, 0x67446698); 188 view.setUint32(4, rc); 189 view.setUint32(8, req.handle_msB); 190 view.setUint32(12, req.handle_lsB); 198 var view = new DataView(buf, 0, 28); [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A 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 …]
|
/openbmc/qemu/system/ |
H A D | memory.c | 230 #define FOR_EACH_FLAT_RANGE(var, view) \ argument 231 for (var = (view)->ranges; var < (view)->ranges + (view)->nr; ++var) 261 FlatView *view; in flatview_new() local 263 view = g_new0(FlatView, 1); in flatview_new() 264 view->ref = 1; in flatview_new() 265 view->root = mr_root; in flatview_new() 267 trace_flatview_new(view, mr_root); in flatview_new() 269 return view; in flatview_new() 275 static void flatview_insert(FlatView *view, unsigned pos, FlatRange *range) in flatview_insert() argument 277 if (view->nr == view->nr_allocated) { in flatview_insert() [all …]
|
/openbmc/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() 211 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n) in __aa_lookupn_ns() argument 213 struct aa_ns *ns = view; in __aa_lookupn_ns() [all …]
|
/openbmc/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 …]
|
/openbmc/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() 591 struct i915_gtt_view view = { in igt_vma_rotate_remap() local 596 struct intel_remapped_plane_info *plane_info = view.remapped.plane; in igt_vma_rotate_remap() 605 plane_info[0].dst_stride = view.type == I915_GTT_VIEW_ROTATED ? in igt_vma_rotate_remap() 609 plane_info[1].dst_stride = view.type == I915_GTT_VIEW_ROTATED ? in igt_vma_rotate_remap() 619 vma = checked_vma_instance(obj, vm, &view); in igt_vma_rotate_remap() 631 expected_pages = remapped_size(view.type, &plane_info[0], &plane_info[1]); in igt_vma_rotate_remap() 633 if (view.type == I915_GTT_VIEW_ROTATED && in igt_vma_rotate_remap() [all …]
|
/openbmc/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); 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 …]
|
/openbmc/qemu/include/hw/xen/interface/hvm/ |
H A D | hvm_op.h | 26 uint16_t view; member 34 uint16_t view; member 237 uint16_t view; member 246 uint16_t view; member 259 uint16_t view; member 271 uint16_t view; member 288 uint16_t view; member 350 struct xen_hvm_altp2m_view view; member
|
/openbmc/u-boot/scripts/kconfig/ |
H A 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 …]
|
/openbmc/linux/scripts/kconfig/ |
H A D | gconf.c | 220 GtkTreeView *view = GTK_TREE_VIEW(tree1_w); in init_left_tree() local 225 gtk_tree_view_set_model(view, model1); in init_left_tree() 226 gtk_tree_view_set_headers_visible(view, TRUE); in init_left_tree() 227 gtk_tree_view_set_rules_hint(view, TRUE); in init_left_tree() 230 gtk_tree_view_append_column(view, column); in init_left_tree() 251 sel = gtk_tree_view_get_selection(view); in init_left_tree() 262 GtkTreeView *view = GTK_TREE_VIEW(tree2_w); in init_right_tree() local 268 gtk_tree_view_set_model(view, model2); in init_right_tree() 269 gtk_tree_view_set_headers_visible(view, TRUE); in init_right_tree() 270 gtk_tree_view_set_rules_hint(view, TRUE); in init_right_tree() [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | debug.h | 66 struct debug_view *view, 72 struct debug_view *view, char *out_buf, 75 struct debug_view *view, 78 struct debug_view *view, 83 int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view, 391 int debug_register_view(debug_info_t *id, struct debug_view *view); 393 int debug_unregister_view(debug_info_t *id, struct debug_view *view); 451 #define __REGISTER_STATIC_DEBUG_INFO(var, name, pages, areas, view) \ argument 455 debug_register_view(&var, (view)); \ 480 #define DEFINE_STATIC_DEBUG_INFO(var, name, pages, nr_areas, buf_size, view) \ argument [all …]
|
/openbmc/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->partial, view->type); in i915_vma_compare()
|
/openbmc/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); 93 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n); 94 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n); 160 static inline struct aa_ns *aa_lookup_ns(struct aa_ns *view, const char *name) in aa_lookup_ns() argument 162 return aa_lookupn_ns(view, name, strlen(name)); in aa_lookup_ns()
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastermain/ |
H A D | logs.py | 12 def log_api_request(request, response, view, logger_name='api'): argument 16 'view': view, 28 def log_view_mixin(view): argument 40 response = view(*args, **kwargs)
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 1045 self.view = QTreeView() 1046 self.view.setSelectionMode(QAbstractItemView.ContiguousSelection) 1047 self.view.CopyCellsToClipboard = CopyTreeCellsToClipboard 1049 self.context_menu = TreeContextMenu(self.view) 1062 self.view.setExpanded(parent, True) 1063 self.view.setCurrentIndex(child) 1071 self.view.setFocus() 1093 self.view.setModel(self.model) 1096 self.view.setColumnWidth(c, w) 1100 self.vbox = VBox(self.view, self.find_bar.Widget()) [all …]
|
/openbmc/webui-vue/src/components/Global/ |
H A D | InputPasswordToggle.vue | 11 <icon-view-off v-if="isVisible" /> 12 <icon-view v-else /> 19 import IconView from '@carbon/icons-vue/es/view/20'; 20 import IconViewOff from '@carbon/icons-vue/es/view--off/20';
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | npm.py | 200 view = json.loads(view_string) 202 error = view.get("error") 210 elif ud.version != view.get("version"): 213 return view 218 def _get_url(view): argument 219 tarball_url = view.get("dist", {}).get("tarball") 227 integrity = view.get("dist", {}).get("integrity") 228 shasum = view.get("dist", {}).get("shasum")
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_fb_pin.c | 21 const struct i915_gtt_view *view, in intel_pin_fb_obj_dpt() argument 73 vma = i915_vma_instance(obj, vm, view); in intel_pin_fb_obj_dpt() 108 const struct i915_gtt_view *view, in intel_pin_and_fence_fb_obj() argument 176 view, pinctl); in intel_pin_and_fence_fb_obj() 250 &plane_state->view.gtt, in intel_plane_pin_fb() 276 vma = intel_pin_fb_obj_dpt(fb, &plane_state->view.gtt, false, in intel_plane_pin_fb()
|