Home
last modified time | relevance | path

Searched refs:cursor (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/linux-6.6.21/drivers/dma-buf/
Ddma-resv.c359 static void dma_resv_iter_restart_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_restart_unlocked() argument
361 cursor->index = 0; in dma_resv_iter_restart_unlocked()
362 cursor->num_fences = 0; in dma_resv_iter_restart_unlocked()
363 cursor->fences = dma_resv_fences_list(cursor->obj); in dma_resv_iter_restart_unlocked()
364 if (cursor->fences) in dma_resv_iter_restart_unlocked()
365 cursor->num_fences = cursor->fences->num_fences; in dma_resv_iter_restart_unlocked()
366 cursor->is_restarted = true; in dma_resv_iter_restart_unlocked()
370 static void dma_resv_iter_walk_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_walk_unlocked() argument
372 if (!cursor->fences) in dma_resv_iter_walk_unlocked()
377 dma_fence_put(cursor->fence); in dma_resv_iter_walk_unlocked()
[all …]
Ddma-fence-unwrap.c18 __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()
48 struct dma_fence *dma_fence_unwrap_next(struct dma_fence_unwrap *cursor) in dma_fence_unwrap_next() argument
52 ++cursor->index; in dma_fence_unwrap_next()
53 tmp = dma_fence_array_next(cursor->array, cursor->index); in dma_fence_unwrap_next()
[all …]
/linux-6.6.21/drivers/gpu/drm/sti/
Dsti_cursor.c81 readl(cursor->regs + reg))
94 struct sti_cursor *cursor, u32 val) in cursor_dbg_pml() argument
96 if (cursor->pixmap.paddr == val) in cursor_dbg_pml()
97 seq_printf(s, "\tVirt @: %p", cursor->pixmap.base); in cursor_dbg_pml()
101 struct sti_cursor *cursor, u32 val) in cursor_dbg_cml() argument
103 if (cursor->clut_paddr == val) in cursor_dbg_cml()
104 seq_printf(s, "\tVirt @: %p", cursor->clut); in cursor_dbg_cml()
110 struct sti_cursor *cursor = (struct sti_cursor *)node->info_ent->data; in cursor_dbg_show() local
113 sti_plane_to_str(&cursor->plane), cursor->regs); in cursor_dbg_show()
117 cursor_dbg_vpo(s, readl(cursor->regs + CUR_VPO)); in cursor_dbg_show()
[all …]
/linux-6.6.21/tools/verification/dot2/
Dautomata.py43 cursor = 0
54 line = dot_lines[cursor].split()
59 cursor += 1
63 cursor = 0
64 while self.__dot_lines[cursor].split()[0] != "{node":
65 cursor += 1
66 return cursor
69 cursor = 0
70 while self.__dot_lines[cursor].split()[0] != "{node":
71 cursor += 1
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_pt.c174 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_start() argument
176 cursor->pfn = start; in amdgpu_vm_pt_start()
177 cursor->parent = NULL; in amdgpu_vm_pt_start()
178 cursor->entry = &vm->root; in amdgpu_vm_pt_start()
179 cursor->level = adev->vm_manager.root_level; in amdgpu_vm_pt_start()
193 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_descendant() argument
197 if ((cursor->level == AMDGPU_VM_PTB) || !cursor->entry || in amdgpu_vm_pt_descendant()
198 !cursor->entry->bo) in amdgpu_vm_pt_descendant()
201 mask = amdgpu_vm_pt_entries_mask(adev, cursor->level); in amdgpu_vm_pt_descendant()
202 shift = amdgpu_vm_pt_level_shift(adev, cursor->level); in amdgpu_vm_pt_descendant()
[all …]
/linux-6.6.21/scripts/
Dasn1_compiler.c806 struct token *cursor; in parse() local
812 cursor = type->name; in parse()
814 if (cursor[0].token_type != TOKEN_TYPE_NAME || in parse()
815 cursor[1].token_type != TOKEN_ASSIGNMENT) in parse()
817 cursor += 2; in parse()
819 type->element = parse_type(&cursor, type[1].name, NULL); in parse()
822 if (cursor != type[1].name) { in parse()
824 filename, cursor->line, cursor->content); in parse()
858 struct token *cursor = *_cursor; in parse_type() local
866 element->tag = token_to_tag[cursor->token_type]; in parse_type()
[all …]
/linux-6.6.21/fs/xfs/
Dxfs_attr_list.c42 #define XFS_ISRESET_CURSOR(cursor) \ argument
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
81 (XFS_ISRESET_CURSOR(cursor) && in xfs_attr_shortform_list()
153 cursor->initted = 1; in xfs_attr_shortform_list()
154 cursor->blkno = 0; in xfs_attr_shortform_list()
156 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list()
157 if (cursor->offset == count) { in xfs_attr_shortform_list()
161 } else if (sbp->hash > cursor->hashval) { in xfs_attr_shortform_list()
[all …]
/linux-6.6.21/include/linux/
Ddma-resv.h219 struct dma_fence *dma_resv_iter_first_unlocked(struct dma_resv_iter *cursor);
220 struct dma_fence *dma_resv_iter_next_unlocked(struct dma_resv_iter *cursor);
221 struct dma_fence *dma_resv_iter_first(struct dma_resv_iter *cursor);
222 struct dma_fence *dma_resv_iter_next(struct dma_resv_iter *cursor);
230 static inline void dma_resv_iter_begin(struct dma_resv_iter *cursor, in dma_resv_iter_begin() argument
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()
246 static inline void dma_resv_iter_end(struct dma_resv_iter *cursor) in dma_resv_iter_end() argument
248 dma_fence_put(cursor->fence); in dma_resv_iter_end()
[all …]
/linux-6.6.21/net/ceph/
Dmessenger.c724 static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_cursor_init() argument
727 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init()
728 struct ceph_bio_iter *it = &cursor->bio_iter; in ceph_msg_data_bio_cursor_init()
730 cursor->resid = min_t(size_t, length, data->bio_length); in ceph_msg_data_bio_cursor_init()
732 if (cursor->resid < it->iter.bi_size) in ceph_msg_data_bio_cursor_init()
733 it->iter.bi_size = cursor->resid; in ceph_msg_data_bio_cursor_init()
735 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_cursor_init()
738 static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_next() argument
742 struct bio_vec bv = bio_iter_iovec(cursor->bio_iter.bio, in ceph_msg_data_bio_next()
743 cursor->bio_iter.iter); in ceph_msg_data_bio_next()
[all …]
/linux-6.6.21/drivers/staging/sm750fb/
Dsm750_cursor.c22 writel((data), cursor->mmio + (addr))
47 void sm750_hw_cursor_enable(struct lynx_cursor *cursor) in sm750_hw_cursor_enable() argument
51 reg = (cursor->offset & HWC_ADDRESS_ADDRESS_MASK) | HWC_ADDRESS_ENABLE; in sm750_hw_cursor_enable()
55 void sm750_hw_cursor_disable(struct lynx_cursor *cursor) in sm750_hw_cursor_disable() argument
60 void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h) in sm750_hw_cursor_setSize() argument
62 cursor->w = w; in sm750_hw_cursor_setSize()
63 cursor->h = h; in sm750_hw_cursor_setSize()
66 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y) in sm750_hw_cursor_setPos() argument
75 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg) in sm750_hw_cursor_setColor() argument
84 void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop, in sm750_hw_cursor_setData() argument
[all …]
Dsm750_cursor.h6 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,
/linux-6.6.21/drivers/video/fbdev/aty/
Dmach64_cursor.c68 static int atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in atyfb_cursor() argument
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()
144 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { in atyfb_cursor()
[all …]
/linux-6.6.21/drivers/gpu/drm/ci/xfails/
Dmsm-sdm845-fails.txt18 kms_cursor_legacy@basic-flip-after-cursor-atomic,Fail
19 kms_cursor_legacy@basic-flip-after-cursor-legacy,Fail
20 kms_cursor_legacy@basic-flip-after-cursor-varying-size,Fail
21 kms_cursor_legacy@basic-flip-before-cursor-atomic,Fail
22 kms_cursor_legacy@basic-flip-before-cursor-legacy,Fail
23 kms_cursor_legacy@basic-flip-before-cursor-varying-size,Fail
24 kms_cursor_legacy@cursor-vs-flip-atomic,Fail
25 kms_cursor_legacy@cursor-vs-flip-atomic-transitions,Fail
26 kms_cursor_legacy@cursor-vs-flip-atomic-transitions-varying-size,Fail
27 kms_cursor_legacy@cursor-vs-flip-legacy,Fail
[all …]
/linux-6.6.21/drivers/gpu/drm/loongson/
Dlsdc_plane.c223 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); in lsdc_cursor_plane_atomic_async_update() local
224 const struct lsdc_cursor_plane_ops *ops = cursor->ops; in lsdc_cursor_plane_atomic_async_update()
258 ops->update_position(cursor, new_state->crtc_x, new_state->crtc_y); in lsdc_cursor_plane_atomic_async_update()
260 ops->update_cfg(cursor, cursor_size, CURSOR_FORMAT_ARGB8888); in lsdc_cursor_plane_atomic_async_update()
263 ops->update_bo_addr(cursor, lsdc_fb_base_addr(new_fb)); in lsdc_cursor_plane_atomic_async_update()
302 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); in ls7a1000_cursor_plane_atomic_update() local
307 const struct lsdc_cursor_plane_ops *ops = cursor->ops; in ls7a1000_cursor_plane_atomic_update()
313 ops->update_position(cursor, new_plane_state->crtc_x, new_plane_state->crtc_y); in ls7a1000_cursor_plane_atomic_update()
316 ops->update_bo_addr(cursor, addr); in ls7a1000_cursor_plane_atomic_update()
318 ops->update_cfg(cursor, CURSOR_SIZE_32X32, CURSOR_FORMAT_ARGB8888); in ls7a1000_cursor_plane_atomic_update()
[all …]
/linux-6.6.21/tools/perf/util/
Dcallchain.h160 struct callchain_cursor_node cursor; member
195 struct callchain_cursor *cursor,
198 int callchain_merge(struct callchain_cursor *cursor,
201 void callchain_cursor_reset(struct callchain_cursor *cursor);
203 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip,
210 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument
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
[all …]
Dcallchain.c573 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument
577 node->val_nr = cursor->nr - cursor->pos; in fill_node()
581 cursor_node = callchain_cursor_current(cursor); in fill_node()
631 callchain_cursor_advance(cursor); in fill_node()
632 cursor_node = callchain_cursor_current(cursor); in fill_node()
639 struct callchain_cursor *cursor, in add_child() argument
648 if (fill_node(new, cursor) < 0) { in add_child()
799 struct callchain_cursor *cursor, in split_add_child() argument
831 if (idx_total < cursor->nr) { in split_add_child()
842 node = callchain_cursor_current(cursor); in split_add_child()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_cursor.c280 if (plane->cursor.base != base || in i845_cursor_update_arm()
281 plane->cursor.size != size || in i845_cursor_update_arm()
282 plane->cursor.cntl != cntl) { in i845_cursor_update_arm()
289 plane->cursor.base = base; in i845_cursor_update_arm()
290 plane->cursor.size = size; in i845_cursor_update_arm()
291 plane->cursor.cntl = cntl; in i845_cursor_update_arm()
539 if (plane->cursor.base != base || in i9xx_cursor_update_arm()
540 plane->cursor.size != fbc_ctl || in i9xx_cursor_update_arm()
541 plane->cursor.cntl != cntl) { in i9xx_cursor_update_arm()
549 plane->cursor.base = base; in i9xx_cursor_update_arm()
[all …]
/linux-6.6.21/drivers/firmware/google/
Dmemconsole-coreboot.c23 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()
/linux-6.6.21/drivers/video/fbdev/
Dpmag-aa-fb.c104 static int aafb_cursor(struct fb_info *info, struct fb_cursor *cursor) in aafb_cursor() argument
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()
128 if (cursor->set & (FB_CUR_SETSIZE | FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) in aafb_cursor()
[all …]
/linux-6.6.21/drivers/video/fbdev/core/
Dtileblit.c85 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()
90 cursor.mode = (mode == CM_ERASE || use_sw) ? 0 : 1; 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()
102 cursor.shape = FB_TILE_CURSOR_LOWER_THIRD; in tile_cursor()
105 cursor.shape = FB_TILE_CURSOR_LOWER_HALF; in tile_cursor()
[all …]
Dsoftcursor.c22 int soft_cursor(struct fb_info *info, struct fb_cursor *cursor) in soft_cursor() argument
34 s_pitch = (cursor->image.width + 7) >> 3; in soft_cursor()
35 dsize = s_pitch * cursor->image.height; in soft_cursor()
50 *image = cursor->image; in soft_cursor()
57 if (cursor->enable) { in soft_cursor()
58 switch (cursor->rop) { in soft_cursor()
61 src[i] = image->data[i] ^ cursor->mask[i]; in soft_cursor()
66 src[i] = image->data[i] & cursor->mask[i]; in soft_cursor()
Dfbcon_cw.c207 struct fb_cursor cursor; in cw_cursor() local
220 cursor.set = 0; in cw_cursor()
229 cursor.set |= FB_CUR_SETIMAGE; in cw_cursor()
249 cursor.set |= FB_CUR_SETCMAP; in cw_cursor()
257 cursor.set |= FB_CUR_SETSIZE; in cw_cursor()
268 cursor.set |= FB_CUR_SETPOS; in cw_cursor()
273 ops->cursor_state.hot.x = cursor.hot.y = 0; in cw_cursor()
274 cursor.set |= FB_CUR_SETHOT; in cw_cursor()
277 if (cursor.set & FB_CUR_SETSIZE || in cw_cursor()
300 cursor.set |= FB_CUR_SETSHAPE; in cw_cursor()
[all …]
Dbitblit.c239 struct fb_cursor cursor; in bit_cursor() local
248 cursor.set = 0; in bit_cursor()
260 cursor.set |= FB_CUR_SETIMAGE; in bit_cursor()
280 cursor.set |= FB_CUR_SETCMAP; in bit_cursor()
288 cursor.set |= FB_CUR_SETPOS; in bit_cursor()
296 cursor.set |= FB_CUR_SETSIZE; in bit_cursor()
301 ops->cursor_state.hot.x = cursor.hot.y = 0; in bit_cursor()
302 cursor.set |= FB_CUR_SETHOT; in bit_cursor()
305 if (cursor.set & FB_CUR_SETSIZE || in bit_cursor()
320 cursor.set |= FB_CUR_SETSHAPE; in bit_cursor()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_wait.c38 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()
79 dma_resv_for_each_fence_unlocked(&cursor, fence) { 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()
[all …]
/linux-6.6.21/net/rxrpc/
Dpeer_event.c233 u8 cursor) in rxrpc_peer_keepalive_dispatch() argument
258 cursor, peer->debug_id, slot, &peer->srx.transport); in rxrpc_peer_keepalive_dispatch()
270 slot += cursor; in rxrpc_peer_keepalive_dispatch()
294 u8 cursor, stop; in rxrpc_peer_keepalive_worker() local
299 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker()
300 _enter("%lld,%u", base - now, cursor); in rxrpc_peer_keepalive_worker()
315 stop = cursor + ARRAY_SIZE(rxnet->peer_keepalive); in rxrpc_peer_keepalive_worker()
316 while (base <= now && (s8)(cursor - stop) < 0) { in rxrpc_peer_keepalive_worker()
317 list_splice_tail_init(&rxnet->peer_keepalive[cursor & mask], in rxrpc_peer_keepalive_worker()
320 cursor++; in rxrpc_peer_keepalive_worker()
[all …]

12345678910>>...12