Home
last modified time | relevance | path

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

1234567891011

/linux-6.1.9/drivers/dma-buf/ !
Ddma-resv.c354 static void dma_resv_iter_restart_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_restart_unlocked() argument
356 cursor->index = 0; in dma_resv_iter_restart_unlocked()
357 cursor->num_fences = 0; in dma_resv_iter_restart_unlocked()
358 cursor->fences = dma_resv_fences_list(cursor->obj); in dma_resv_iter_restart_unlocked()
359 if (cursor->fences) in dma_resv_iter_restart_unlocked()
360 cursor->num_fences = cursor->fences->num_fences; in dma_resv_iter_restart_unlocked()
361 cursor->is_restarted = true; in dma_resv_iter_restart_unlocked()
365 static void dma_resv_iter_walk_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_walk_unlocked() argument
367 if (!cursor->fences) in dma_resv_iter_walk_unlocked()
372 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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/drivers/staging/sm750fb/ !
Dsm750_cursor.c23 writel((data), cursor->mmio + (addr))
48 void sm750_hw_cursor_enable(struct lynx_cursor *cursor) in sm750_hw_cursor_enable() argument
52 reg = (cursor->offset & HWC_ADDRESS_ADDRESS_MASK) | HWC_ADDRESS_ENABLE; in sm750_hw_cursor_enable()
56 void sm750_hw_cursor_disable(struct lynx_cursor *cursor) in sm750_hw_cursor_disable() argument
61 void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h) in sm750_hw_cursor_setSize() argument
63 cursor->w = w; in sm750_hw_cursor_setSize()
64 cursor->h = h; in sm750_hw_cursor_setSize()
67 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y) in sm750_hw_cursor_setPos() argument
76 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg) in sm750_hw_cursor_setColor() argument
85 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.1.9/net/ceph/ !
Dmessenger.c719 static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_cursor_init() argument
722 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init()
723 struct ceph_bio_iter *it = &cursor->bio_iter; in ceph_msg_data_bio_cursor_init()
725 cursor->resid = min_t(size_t, length, data->bio_length); in ceph_msg_data_bio_cursor_init()
727 if (cursor->resid < it->iter.bi_size) in ceph_msg_data_bio_cursor_init()
728 it->iter.bi_size = cursor->resid; in ceph_msg_data_bio_cursor_init()
730 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_cursor_init()
733 static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_next() argument
737 struct bio_vec bv = bio_iter_iovec(cursor->bio_iter.bio, in ceph_msg_data_bio_next()
738 cursor->bio_iter.iter); in ceph_msg_data_bio_next()
[all …]
/linux-6.1.9/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.1.9/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()
538 if (plane->cursor.base != base || in i9xx_cursor_update_arm()
539 plane->cursor.size != fbc_ctl || in i9xx_cursor_update_arm()
540 plane->cursor.cntl != cntl) { in i9xx_cursor_update_arm()
548 plane->cursor.base = base; in i9xx_cursor_update_arm()
[all …]
/linux-6.1.9/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.1.9/tools/perf/util/ !
Dcallchain.h160 struct callchain_cursor_node cursor; member
197 struct callchain_cursor *cursor,
200 int callchain_merge(struct callchain_cursor *cursor,
203 void callchain_cursor_reset(struct callchain_cursor *cursor);
205 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip,
212 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument
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->pos == cursor->nr) in callchain_cursor_current()
[all …]
Dcallchain.c572 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument
576 node->val_nr = cursor->nr - cursor->pos; in fill_node()
580 cursor_node = callchain_cursor_current(cursor); in fill_node()
629 callchain_cursor_advance(cursor); in fill_node()
630 cursor_node = callchain_cursor_current(cursor); in fill_node()
637 struct callchain_cursor *cursor, in add_child() argument
646 if (fill_node(new, cursor) < 0) { in add_child()
796 struct callchain_cursor *cursor, in split_add_child() argument
828 if (idx_total < cursor->nr) { in split_add_child()
839 node = callchain_cursor_current(cursor); in split_add_child()
[all …]
/linux-6.1.9/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.1.9/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()
Dbitblit.c239 struct fb_cursor cursor; in bit_cursor() local
248 cursor.set = 0; in bit_cursor()
257 cursor.set |= FB_CUR_SETIMAGE; in bit_cursor()
277 cursor.set |= FB_CUR_SETCMAP; in bit_cursor()
285 cursor.set |= FB_CUR_SETPOS; in bit_cursor()
293 cursor.set |= FB_CUR_SETSIZE; in bit_cursor()
298 ops->cursor_state.hot.x = cursor.hot.y = 0; in bit_cursor()
299 cursor.set |= FB_CUR_SETHOT; in bit_cursor()
302 if (cursor.set & FB_CUR_SETSIZE || in bit_cursor()
317 cursor.set |= FB_CUR_SETSHAPE; in bit_cursor()
[all …]
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 …]
Dfbcon_ccw.c224 struct fb_cursor cursor; in ccw_cursor() local
237 cursor.set = 0; in ccw_cursor()
246 cursor.set |= FB_CUR_SETIMAGE; in ccw_cursor()
266 cursor.set |= FB_CUR_SETCMAP; in ccw_cursor()
274 cursor.set |= FB_CUR_SETSIZE; in ccw_cursor()
285 cursor.set |= FB_CUR_SETPOS; in ccw_cursor()
290 ops->cursor_state.hot.x = cursor.hot.y = 0; in ccw_cursor()
291 cursor.set |= FB_CUR_SETHOT; in ccw_cursor()
294 if (cursor.set & FB_CUR_SETSIZE || in ccw_cursor()
317 cursor.set |= FB_CUR_SETSHAPE; in ccw_cursor()
[all …]
Dfbcon_ud.c254 struct fb_cursor cursor; in ud_cursor() local
268 cursor.set = 0; in ud_cursor()
277 cursor.set |= FB_CUR_SETIMAGE; in ud_cursor()
297 cursor.set |= FB_CUR_SETCMAP; in ud_cursor()
305 cursor.set |= FB_CUR_SETSIZE; in ud_cursor()
316 cursor.set |= FB_CUR_SETPOS; in ud_cursor()
321 ops->cursor_state.hot.x = cursor.hot.y = 0; in ud_cursor()
322 cursor.set |= FB_CUR_SETHOT; in ud_cursor()
325 if (cursor.set & FB_CUR_SETSIZE || in ud_cursor()
340 cursor.set |= FB_CUR_SETSHAPE; in ud_cursor()
[all …]
/linux-6.1.9/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.1.9/crypto/asymmetric_keys/ !
Dverify_pefile.c32 size_t cursor, datalen = pelen; in pefile_parse_binary() local
45 cursor = sizeof(*mz); in pefile_parse_binary()
47 chkaddr(cursor, mz->peaddr, sizeof(*pe)); in pefile_parse_binary()
51 cursor = mz->peaddr + sizeof(*pe); in pefile_parse_binary()
53 chkaddr(0, cursor, sizeof(pe32->magic)); in pefile_parse_binary()
54 pe32 = pebuf + cursor; in pefile_parse_binary()
55 pe64 = pebuf + cursor; in pefile_parse_binary()
59 chkaddr(0, cursor, sizeof(*pe32)); in pefile_parse_binary()
63 cursor += sizeof(*pe32); in pefile_parse_binary()
68 chkaddr(0, cursor, sizeof(*pe64)); in pefile_parse_binary()
[all …]

1234567891011