/openbmc/openbmc/poky/bitbake/lib/hashserv/ |
H A D | sqlite.py | 122 with closing(db.cursor()) as cursor: 186 with closing(self.db.cursor()) as cursor: 228 with closing(self.db.cursor()) as cursor: 245 with closing(self.db.cursor()) as cursor: 262 with closing(self.db.cursor()) as cursor: 275 with closing(self.db.cursor()) as cursor: 291 with closing(self.db.cursor()) as cursor: 311 with closing(self.db.cursor()) as cursor: 332 with closing(self.db.cursor()) as cursor: 340 with closing(self.db.cursor()) as cursor: [all …]
|
/openbmc/linux/drivers/dma-buf/ |
H A D | dma-resv.c | 363 cursor->fences = dma_resv_fences_list(cursor->obj); in dma_resv_iter_restart_unlocked() 365 cursor->num_fences = cursor->fences->num_fences; in dma_resv_iter_restart_unlocked() 379 if (cursor->index >= cursor->num_fences) { in dma_resv_iter_walk_unlocked() 385 dma_resv_list_entry(cursor->fences, cursor->index++, in dma_resv_iter_walk_unlocked() 386 cursor->obj, &cursor->fence, in dma_resv_iter_walk_unlocked() 388 cursor->fence = dma_fence_get_rcu(cursor->fence); in dma_resv_iter_walk_unlocked() 395 cursor->usage >= cursor->fence_usage) in dma_resv_iter_walk_unlocked() 470 cursor->fences = dma_resv_fences_list(cursor->obj); in dma_resv_iter_first() 495 cursor->index >= cursor->fences->num_fences) in dma_resv_iter_next() 499 cursor->obj, &fence, &cursor->fence_usage); in dma_resv_iter_next() [all …]
|
H A D | dma-fence-unwrap.c | 18 __dma_fence_unwrap_array(struct dma_fence_unwrap *cursor) in __dma_fence_unwrap_array() argument 20 cursor->array = dma_fence_chain_contained(cursor->chain); in __dma_fence_unwrap_array() 21 cursor->index = 0; in __dma_fence_unwrap_array() 22 return dma_fence_array_first(cursor->array); in __dma_fence_unwrap_array() 34 struct dma_fence_unwrap *cursor) in dma_fence_unwrap_first() argument 36 cursor->chain = dma_fence_get(head); in dma_fence_unwrap_first() 37 return __dma_fence_unwrap_array(cursor); in dma_fence_unwrap_first() 52 ++cursor->index; in dma_fence_unwrap_next() 53 tmp = dma_fence_array_next(cursor->array, cursor->index); in dma_fence_unwrap_next() 57 cursor->chain = dma_fence_chain_walk(cursor->chain); in dma_fence_unwrap_next() [all …]
|
/openbmc/linux/drivers/gpu/drm/sti/ |
H A D | sti_cursor.c | 113 sti_plane_to_str(&cursor->plane), cursor->regs); in cursor_dbg_show() 119 cursor_dbg_pml(s, cursor, readl(cursor->regs + CUR_PML)); in cursor_dbg_show() 124 cursor_dbg_cml(s, cursor, readl(cursor->regs + CUR_CML)); in cursor_dbg_show() 231 dma_free_wc(cursor->dev, cursor->pixmap.size, in sti_cursor_atomic_check() 232 cursor->pixmap.base, cursor->pixmap.paddr); in sti_cursor_atomic_check() 234 cursor->pixmap.size = cursor->width * cursor->height; in sti_cursor_atomic_check() 236 cursor->pixmap.base = dma_alloc_wc(cursor->dev, in sti_cursor_atomic_check() 297 writel(cursor->pixmap.paddr, cursor->regs + CUR_PML); in sti_cursor_atomic_update() 298 writel(cursor->width, cursor->regs + CUR_PMP); in sti_cursor_atomic_update() 299 writel(cursor->height << 16 | cursor->width, cursor->regs + CUR_SIZE); in sti_cursor_atomic_update() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | persist_data.py | 78 with contextlib.closing(self.connection.cursor()) as cursor: 114 cursor.execute(*query) 125 self.cursor = cursor 144 cursor = self.connection.cursor() 146 cursor.execute(*query) 149 cursor.close() 162 row = cursor.fetchone() 186 row = cursor.fetchone() 200 def __len__(self, cursor): argument 202 row = cursor.fetchone() [all …]
|
/openbmc/linux/tools/verification/dot2/ |
H A D | automata.py | 43 cursor = 0 59 cursor += 1 63 cursor = 0 65 cursor += 1 66 return cursor 69 cursor = 0 71 cursor += 1 73 cursor += 1 75 cursor += 1 76 return cursor [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm_pt.c | 176 cursor->pfn = start; in amdgpu_vm_pt_start() 197 if ((cursor->level == AMDGPU_VM_PTB) || !cursor->entry || in amdgpu_vm_pt_descendant() 204 ++cursor->level; in amdgpu_vm_pt_descendant() 206 cursor->parent = cursor->entry; in amdgpu_vm_pt_descendant() 207 cursor->entry = &to_amdgpu_bo_vm(cursor->entry->bo)->entries[idx]; in amdgpu_vm_pt_descendant() 242 ++cursor->entry; in amdgpu_vm_pt_sibling() 260 --cursor->level; in amdgpu_vm_pt_ancestor() 261 cursor->entry = cursor->parent; in amdgpu_vm_pt_ancestor() 262 cursor->parent = amdgpu_vm_pt_parent(cursor->parent); in amdgpu_vm_pt_ancestor() 307 *cursor = *start; in amdgpu_vm_pt_first_dfs() [all …]
|
/openbmc/linux/scripts/ |
H A D | asn1_compiler.c | 824 filename, cursor->line, cursor->content); in parse() 892 filename, cursor->line, cursor->content); in parse_type() 900 filename, cursor->line, cursor->content); in parse_type() 907 if (p - cursor->content != cursor->size) in parse_type() 915 filename, cursor->line, cursor->content); in parse_type() 1016 filename, cursor->line, cursor->content); in parse_type() 1066 filename, cursor->line, cursor->content); in parse_type() 1084 filename, cursor->line, cursor->content); in parse_type() 1136 filename, cursor->line, cursor->content); in parse_type() 1155 filename, cursor->line, cursor->content); in parse_compound() [all …]
|
/openbmc/linux/include/linux/ |
H A D | dma-resv.h | 234 cursor->obj = obj; in dma_resv_iter_begin() 235 cursor->usage = usage; in dma_resv_iter_begin() 236 cursor->fence = NULL; in dma_resv_iter_begin() 248 dma_fence_put(cursor->fence); in dma_resv_iter_end() 258 dma_resv_iter_usage(struct dma_resv_iter *cursor) in dma_resv_iter_usage() argument 260 return cursor->fence_usage; in dma_resv_iter_usage() 271 return cursor->is_restarted; in dma_resv_iter_is_restarted() 290 for (fence = dma_resv_iter_first_unlocked(cursor); \ 307 for (dma_resv_iter_begin(cursor, obj, usage), \ 308 fence = dma_resv_iter_first(cursor); fence; \ [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_attr_list.c | 43 (!((cursor)->initted) && !((cursor)->hashval) && \ 44 !((cursor)->blkno) && !((cursor)->offset)) 56 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list() local 153 cursor->initted = 1; in xfs_attr_shortform_list() 154 cursor->blkno = 0; in xfs_attr_shortform_list() 189 cursor->offset++; in xfs_attr_shortform_list() 219 cursor->blkno = 0; in xfs_attr_node_list_lookup() 286 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_node_list() local 297 cursor->initted = 1; in xfs_attr_node_list() 391 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr3_leaf_list_int() local [all …]
|
/openbmc/linux/drivers/staging/sm750fb/ |
H A D | sm750_cursor.c | 22 writel((data), cursor->mmio + (addr)) 62 cursor->w = w; in sm750_hw_cursor_setSize() 63 cursor->h = h; in sm750_hw_cursor_setSize() 93 pitch = cursor->w >> 3; in sm750_hw_cursor_setData() 96 count = pitch * cursor->h; in sm750_hw_cursor_setData() 99 offset = cursor->max_w * 2 / 8; in sm750_hw_cursor_setData() 102 pstart = cursor->vstart; in sm750_hw_cursor_setData() 143 pitch = cursor->w >> 3; in sm750_hw_cursor_setData2() 146 count = pitch * cursor->h; in sm750_hw_cursor_setData2() 149 offset = cursor->max_w * 2 / 8; in sm750_hw_cursor_setData2() [all …]
|
H A D | sm750_cursor.h | 6 void sm750_hw_cursor_enable(struct lynx_cursor *cursor); 7 void sm750_hw_cursor_disable(struct lynx_cursor *cursor); 8 void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h); 9 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y); 10 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg); 11 void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop, 13 void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop,
|
/openbmc/linux/net/ceph/ |
H A D | messenger.c | 788 cursor->bvec_iter.bi_size = cursor->resid; in ceph_msg_data_bvecs_cursor_init() 790 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_cursor_init() 859 BUG_ON(cursor->page_index >= cursor->page_count); in ceph_msg_data_pages_next() 886 BUG_ON(cursor->page_index >= cursor->page_count); in ceph_msg_data_pages_advance() 932 BUG_ON(cursor->offset + cursor->resid != pagelist->length); in ceph_msg_data_pagelist_next() 951 BUG_ON(cursor->offset + cursor->resid != pagelist->length); in ceph_msg_data_pagelist_advance() 968 cursor->page = list_next_entry(cursor->page, lru); in ceph_msg_data_pagelist_advance() 980 cursor->resid = iov_iter_count(&cursor->iov_iter); in ceph_msg_data_iter_cursor_init() 990 iov_iter_revert(&cursor->iov_iter, cursor->lastlen); in ceph_msg_data_iter_next() 1021 iov_iter_advance(&cursor->iov_iter, bytes - cursor->lastlen); in ceph_msg_data_iter_advance() [all …]
|
/openbmc/libpldm/src/ |
H A D | msgbuf.h | 78 uint8_t *cursor; member 297 ctx->cursor = NULL; in pldm_msgbuf_destroy() 322 ctx->cursor = NULL; in pldm_msgbuf_destroy_consumed() 450 ctx->cursor++; in pldm__msgbuf_extract_uint8() 478 ctx->cursor++; in pldm__msgbuf_extract_int8() 1000 if (!ctx->cursor || !cursor || *cursor) { in pldm_msgbuf_span_required() 1019 *cursor = ctx->cursor; in pldm_msgbuf_span_required() 1030 if (!ctx->cursor || !cursor || *cursor || !len) { in pldm_msgbuf_span_remaining() 1039 *cursor = ctx->cursor; in pldm_msgbuf_span_remaining() 1070 if (!src->cursor || !dst->cursor || !description) { in pldm__msgbuf_copy() [all …]
|
H A D | utils.c | 126 char *cursor; in ver2str() local 140 cursor = buffer; in ver2str() 144 INSERT_INT(BCD_H(version->major), cursor, remaining) in ver2str() 145 INSERT_INT(BCD_L(version->major), cursor, remaining); in ver2str() 146 INSERT_CHAR('.', cursor, remaining); in ver2str() 149 INSERT_INT(BCD_H(version->minor), cursor, remaining); in ver2str() 150 INSERT_INT(BCD_L(version->minor), cursor, remaining); in ver2str() 153 INSERT_CHAR('.', cursor, remaining); in ver2str() 156 INSERT_INT(BCD_L(version->update), cursor, remaining); in ver2str() 160 INSERT_CHAR(version->alpha, cursor, remaining); in ver2str() [all …]
|
/openbmc/linux/drivers/video/fbdev/aty/ |
H A D | mach64_cursor.c | 82 if (cursor->enable) in atyfb_cursor() 90 if (cursor->set & FB_CUR_SETPOS) { in atyfb_cursor() 91 x = cursor->image.dx - cursor->hot.x - info->var.xoffset; in atyfb_cursor() 99 y = cursor->image.dy - cursor->hot.y - info->var.yoffset; in atyfb_cursor() 107 h = cursor->image.height; in atyfb_cursor() 125 if (cursor->set & FB_CUR_SETCMAP) { in atyfb_cursor() 128 fg_idx = cursor->image.fg_color; in atyfb_cursor() 129 bg_idx = cursor->image.bg_color; in atyfb_cursor() 145 u8 *src = (u8 *)cursor->image.data; in atyfb_cursor() 146 u8 *msk = (u8 *)cursor->mask; in atyfb_cursor() [all …]
|
/openbmc/linux/drivers/gpu/drm/ci/xfails/ |
H A D | msm-sdm845-fails.txt | 18 kms_cursor_legacy@basic-flip-after-cursor-atomic,Fail 19 kms_cursor_legacy@basic-flip-after-cursor-legacy,Fail 21 kms_cursor_legacy@basic-flip-before-cursor-atomic,Fail 24 kms_cursor_legacy@cursor-vs-flip-atomic,Fail 27 kms_cursor_legacy@cursor-vs-flip-legacy,Fail 28 kms_cursor_legacy@cursor-vs-flip-toggle,Fail 29 kms_cursor_legacy@cursor-vs-flip-varying-size,Fail 31 kms_cursor_legacy@flip-vs-cursor-atomic,Fail 32 kms_cursor_legacy@flip-vs-cursor-crc-atomic,Fail 33 kms_cursor_legacy@flip-vs-cursor-crc-legacy,Fail [all …]
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_plane.c | 316 ops->update_bo_addr(cursor, addr); in ls7a1000_cursor_plane_atomic_update() 399 ops->update_bo_addr(cursor, addr); in ls7a2000_cursor_plane_atomic_update() 579 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor0_update_bo_addr() 588 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor0_update_position() 603 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor0_update_cfg() 617 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor1_update_bo_addr() 626 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor1_update_position() 641 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor1_update_cfg() 670 struct lsdc_device *ldev = cursor->ldev; in lsdc_cursor1_update_bo_addr_quirk() 762 cursor->ldev = to_lsdc(ddev); in ls7a1000_cursor_plane_init() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | callchain.h | 160 struct callchain_cursor_node cursor; member 195 struct callchain_cursor *cursor, 198 int callchain_merge(struct callchain_cursor *cursor, 212 if (cursor == NULL) in callchain_cursor_commit() 214 cursor->curr = cursor->first; in callchain_cursor_commit() 215 cursor->pos = 0; in callchain_cursor_commit() 220 callchain_cursor_current(struct callchain_cursor *cursor) in callchain_cursor_current() argument 222 if (cursor == NULL || cursor->pos == cursor->nr) in callchain_cursor_current() 225 return cursor->curr; in callchain_cursor_current() 230 cursor->curr = cursor->curr->next; in callchain_cursor_advance() [all …]
|
/openbmc/linux/drivers/firmware/google/ |
H A D | memconsole-coreboot.c | 23 u32 cursor; member 42 u32 cursor = cbmem_console->cursor & CURSOR_MASK; in memconsole_coreboot_read() local 43 u32 flags = cbmem_console->cursor & ~CURSOR_MASK; in memconsole_coreboot_read() 53 if (cursor > size) /* Shouldn't really happen, but... */ in memconsole_coreboot_read() 54 cursor = 0; in memconsole_coreboot_read() 55 seg[0] = (struct seg){.phys = cursor, .len = size - cursor}; in memconsole_coreboot_read() 56 seg[1] = (struct seg){.phys = 0, .len = cursor}; in memconsole_coreboot_read() 58 seg[0] = (struct seg){.phys = 0, .len = min(cursor, size)}; in memconsole_coreboot_read()
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_cursor.c | 289 plane->cursor.base = base; in i845_cursor_update_arm() 290 plane->cursor.size = size; in i845_cursor_update_arm() 768 if (IS_ERR(cursor)) in intel_cursor_plane_create() 769 return cursor; in intel_cursor_plane_create() 771 cursor->pipe = pipe; in intel_cursor_plane_create() 774 cursor->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, cursor->id); in intel_cursor_plane_create() 790 cursor->cursor.base = ~0; in intel_cursor_plane_create() 791 cursor->cursor.cntl = ~0; in intel_cursor_plane_create() 794 cursor->cursor.size = ~0; in intel_cursor_plane_create() 825 return cursor; in intel_cursor_plane_create() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | pmag-aa-fb.c | 108 if (cursor->image.height > BT431_CURSOR_SIZE || in aafb_cursor() 109 cursor->image.width > BT431_CURSOR_SIZE) { in aafb_cursor() 114 if (!cursor->enable) in aafb_cursor() 117 if (cursor->set & FB_CUR_SETPOS) in aafb_cursor() 119 cursor->image.dx, cursor->image.dy); in aafb_cursor() 120 if (cursor->set & FB_CUR_SETCMAP) { in aafb_cursor() 121 u8 fg = cursor->image.fg_color ? 0xf : 0x0; in aafb_cursor() 122 u8 bg = cursor->image.bg_color ? 0xf : 0x0; in aafb_cursor() 130 cursor->image.data, cursor->mask, cursor->rop, in aafb_cursor() 131 cursor->image.width, cursor->image.height); in aafb_cursor() [all …]
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | tileblit.c | 85 struct fb_tilecursor cursor; in tile_cursor() local 88 cursor.sx = vc->state.x; in tile_cursor() 89 cursor.sy = vc->state.y; in tile_cursor() 91 cursor.fg = fg; in tile_cursor() 92 cursor.bg = bg; in tile_cursor() 96 cursor.shape = FB_TILE_CURSOR_NONE; in tile_cursor() 99 cursor.shape = FB_TILE_CURSOR_UNDERLINE; in tile_cursor() 105 cursor.shape = FB_TILE_CURSOR_LOWER_HALF; in tile_cursor() 108 cursor.shape = FB_TILE_CURSOR_TWO_THIRDS; in tile_cursor() 112 cursor.shape = FB_TILE_CURSOR_BLOCK; in tile_cursor() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_wait.c | 38 struct dma_resv_iter cursor; in i915_gem_object_boost() local 57 dma_resv_iter_begin(&cursor, resv, in i915_gem_object_boost() 59 dma_resv_for_each_fence_unlocked(&cursor, fence) in i915_gem_object_boost() 63 dma_resv_iter_end(&cursor); in i915_gem_object_boost() 71 struct dma_resv_iter cursor; in i915_gem_object_wait_reservation() local 77 dma_resv_iter_begin(&cursor, resv, in i915_gem_object_wait_reservation() 87 dma_resv_iter_end(&cursor); in i915_gem_object_wait_reservation() 152 struct dma_resv_iter cursor; in i915_gem_object_wait_priority() local 155 dma_resv_iter_begin(&cursor, obj->base.resv, in i915_gem_object_wait_priority() 157 dma_resv_for_each_fence_unlocked(&cursor, fence) in i915_gem_object_wait_priority() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | qxl-render.c | 252 c = cursor_alloc(cursor->header.width, cursor->header.height); in qxl_cursor() 256 cursor->header.width, cursor->header.height); in qxl_cursor() 260 c->hot_x = cursor->header.hot_spot_x; in qxl_cursor() 262 switch (cursor->header.type) { in qxl_cursor() 266 if (size != cursor->data_size) { in qxl_cursor() 271 and_mask = cursor->chunk.data; in qxl_cursor() 303 QXLCursor *cursor; in qxl_render_cursor() local 324 if (!cursor) { in qxl_render_cursor() 330 if (!cursor) { in qxl_render_cursor() 338 if (qxl->ssd.cursor) { in qxl_render_cursor() [all …]
|