/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | dma-resv.c | 358 /* Restart the unlocked iteration by initializing the cursor object. */ 359 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 in dma_resv_iter_restart_unlocked() 370 dma_resv_iter_walk_unlocked(struct dma_resv_iter *cursor) dma_resv_iter_walk_unlocked() argument 412 dma_resv_iter_first_unlocked(struct dma_resv_iter *cursor) dma_resv_iter_first_unlocked() argument 435 dma_resv_iter_next_unlocked(struct dma_resv_iter *cursor) dma_resv_iter_next_unlocked() argument 463 dma_resv_iter_first(struct dma_resv_iter *cursor) dma_resv_iter_first() argument 485 dma_resv_iter_next(struct dma_resv_iter *cursor) dma_resv_iter_next() argument 515 struct dma_resv_iter cursor; dma_resv_copy_fences() local 564 struct dma_resv_iter cursor; dma_resv_get_fences() local 674 struct dma_resv_iter cursor; dma_resv_wait_timeout() local 704 struct dma_resv_iter cursor; dma_resv_set_deadline() local 730 struct dma_resv_iter cursor; dma_resv_test_signaled() local 754 struct dma_resv_iter cursor; dma_resv_describe() local [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() 28 * @cursor: current position inside the containers 34 struct dma_fence_unwrap *cursor) in dma_fence_unwrap_first() 36 cursor->chain = dma_fence_get(head); in dma_fence_unwrap_first() 37 return __dma_fence_unwrap_array(cursor); in dma_fence_unwrap_first() 43 * @cursor 33 dma_fence_unwrap_first(struct dma_fence *head, struct dma_fence_unwrap *cursor) dma_fence_unwrap_first() argument 48 dma_fence_unwrap_next(struct dma_fence_unwrap *cursor) dma_fence_unwrap_next() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
H A D | sti_cursor.c | 55 * @regs: cursor registers 56 * @width: cursor width 57 * @height: cursor height 60 * @pixmap: pixmap dma buffer (clut8-format cursor) 80 readl(cursor->regs + reg)) 93 struct sti_cursor *cursor, u32 val) in cursor_dbg_pml() 95 if (cursor->pixmap.paddr == val) in cursor_dbg_pml() 96 seq_printf(s, "\tVirt @: %p", cursor->pixmap.base); in cursor_dbg_pml() 100 struct sti_cursor *cursor, u32 val) in cursor_dbg_cml() 102 if (cursor in cursor_dbg_cml() 92 cursor_dbg_pml(struct seq_file *s, struct sti_cursor *cursor, u32 val) cursor_dbg_pml() argument 99 cursor_dbg_cml(struct seq_file *s, struct sti_cursor *cursor, u32 val) cursor_dbg_cml() argument 109 struct sti_cursor *cursor = (struct sti_cursor *)node->info_ent->data; cursor_dbg_show() local 134 cursor_debugfs_init(struct sti_cursor *cursor, struct drm_minor *minor) cursor_debugfs_init() argument 147 sti_cursor_argb8888_to_clut8(struct sti_cursor *cursor, u32 *src) sti_cursor_argb8888_to_clut8() argument 167 sti_cursor_init(struct sti_cursor *cursor) sti_cursor_init() argument 187 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_atomic_check() local 259 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_atomic_update() local 343 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_late_register() local 365 struct sti_cursor *cursor; sti_cursor_create() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
H A D | sti_cursor.c | 56 * @regs: cursor registers 57 * @width: cursor width 58 * @height: cursor height 61 * @pixmap: pixmap dma buffer (clut8-format cursor) 81 readl(cursor->regs + reg)) 94 struct sti_cursor *cursor, u32 val) in cursor_dbg_pml() 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() 103 if (cursor in cursor_dbg_cml() 93 cursor_dbg_pml(struct seq_file *s, struct sti_cursor *cursor, u32 val) cursor_dbg_pml() argument 100 cursor_dbg_cml(struct seq_file *s, struct sti_cursor *cursor, u32 val) cursor_dbg_cml() argument 110 struct sti_cursor *cursor = (struct sti_cursor *)node->info_ent->data; cursor_dbg_show() local 135 cursor_debugfs_init(struct sti_cursor *cursor, struct drm_minor *minor) cursor_debugfs_init() argument 148 sti_cursor_argb8888_to_clut8(struct sti_cursor *cursor, u32 *src) sti_cursor_argb8888_to_clut8() argument 168 sti_cursor_init(struct sti_cursor *cursor) sti_cursor_init() argument 190 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_atomic_check() local 265 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_atomic_update() local 344 struct sti_cursor *cursor = to_sti_cursor(plane); sti_cursor_late_register() local 366 struct sti_cursor *cursor; sti_cursor_create() local [all...] |
/kernel/linux/linux-6.6/tools/verification/dot2/ |
H A D | automata.py | 43 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 [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | asn1_compiler.c | 806 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 in parse_type() local 1151 struct token *cursor = *_cursor, *name; parse_compound() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm_pt.c | 168 * @cursor: state to initialize 174 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_start() 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() 186 * @cursor: current state 193 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_descendant() 197 if ((cursor->level == AMDGPU_VM_PTB) || !cursor in amdgpu_vm_pt_descendant() 172 amdgpu_vm_pt_start(struct amdgpu_device *adev, struct amdgpu_vm *vm, uint64_t start, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_start() argument 192 amdgpu_vm_pt_descendant(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_descendant() argument 221 amdgpu_vm_pt_sibling(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_sibling() argument 255 amdgpu_vm_pt_ancestor(struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_ancestor() argument 274 amdgpu_vm_pt_next(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_next() argument 301 amdgpu_vm_pt_first_dfs(struct amdgpu_device *adev, struct amdgpu_vm *vm, struct amdgpu_vm_pt_cursor *start, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_first_dfs() argument 338 amdgpu_vm_pt_next_dfs(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_next_dfs() argument 596 amdgpu_vm_pt_alloc(struct amdgpu_device *adev, struct amdgpu_vm *vm, struct amdgpu_vm_pt_cursor *cursor, bool immediate) amdgpu_vm_pt_alloc() argument 696 struct amdgpu_vm_pt_cursor cursor; amdgpu_vm_pt_free_dfs() local 940 struct amdgpu_vm_pt_cursor cursor; amdgpu_vm_ptes_update() local 1091 struct amdgpu_vm_pt_cursor cursor; amdgpu_vm_pt_map_tables() local [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | asn1_compiler.c | 806 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 in parse_type() local 1151 struct token *cursor = *_cursor, *name; parse_compound() local [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | dma-resv.h | 219 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); 226 * @cursor: The dma_resv_iter object to initialize 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() 241 * @cursor 246 dma_resv_iter_end(struct dma_resv_iter *cursor) dma_resv_iter_end() argument 258 dma_resv_iter_usage(struct dma_resv_iter *cursor) dma_resv_iter_usage() argument 269 dma_resv_iter_is_restarted(struct dma_resv_iter *cursor) dma_resv_iter_is_restarted() argument [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_attr_list.c | 41 #define XFS_ISRESET_CURSOR(cursor) \ 42 (!((cursor)->initted) && !((cursor)->hashval) && \ 43 !((cursor)->blkno) && !((cursor)->offset)) 55 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list() local 72 * If the buffer is large enough and the cursor is at the start, in xfs_attr_shortform_list() 74 * one buffer and another call using the cursor won't need to be in xfs_attr_shortform_list() 81 (XFS_ISRESET_CURSOR(cursor) in xfs_attr_shortform_list() 201 xfs_attr_node_list_lookup( struct xfs_attr_list_context *context, struct xfs_attrlist_cursor_kern *cursor, struct xfs_buf **pbp) xfs_attr_node_list_lookup() argument 286 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; xfs_attr_node_list() local 391 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; xfs_attr3_leaf_list_int() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_attr_list.c | 42 #define XFS_ISRESET_CURSOR(cursor) \ 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 72 * If the buffer is large enough and the cursor is at the start, in xfs_attr_shortform_list() 74 * one buffer and another call using the cursor won't need to be in xfs_attr_shortform_list() 81 (XFS_ISRESET_CURSOR(cursor) in xfs_attr_shortform_list() 201 xfs_attr_node_list_lookup( struct xfs_attr_list_context *context, struct xfs_attrlist_cursor_kern *cursor, struct xfs_buf **pbp) xfs_attr_node_list_lookup() argument 286 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; xfs_attr_node_list() local 391 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; xfs_attr3_leaf_list_int() local [all...] |
/kernel/linux/linux-6.6/net/ceph/ |
H A D | messenger.c | 724 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 in ceph_msg_data_bio_next() 750 ceph_msg_data_bio_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_bio_advance() argument 780 ceph_msg_data_bvecs_cursor_init(struct ceph_msg_data_cursor *cursor, size_t length) ceph_msg_data_bvecs_cursor_init() argument 793 ceph_msg_data_bvecs_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_bvecs_next() argument 805 ceph_msg_data_bvecs_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_bvecs_advance() argument 831 ceph_msg_data_pages_cursor_init(struct ceph_msg_data_cursor *cursor, size_t length) ceph_msg_data_pages_cursor_init() argument 852 ceph_msg_data_pages_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_pages_next() argument 867 ceph_msg_data_pages_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_pages_advance() argument 896 ceph_msg_data_pagelist_cursor_init(struct ceph_msg_data_cursor *cursor, size_t length) ceph_msg_data_pagelist_cursor_init() argument 920 ceph_msg_data_pagelist_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_pagelist_next() argument 940 ceph_msg_data_pagelist_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_pagelist_advance() argument 972 ceph_msg_data_iter_cursor_init(struct ceph_msg_data_cursor *cursor, size_t length) ceph_msg_data_iter_cursor_init() argument 983 ceph_msg_data_iter_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_iter_next() argument 1012 ceph_msg_data_iter_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_iter_advance() argument 1036 __ceph_msg_data_cursor_init(struct ceph_msg_data_cursor *cursor) __ceph_msg_data_cursor_init() argument 1066 ceph_msg_data_cursor_init(struct ceph_msg_data_cursor *cursor, struct ceph_msg *msg, size_t length) ceph_msg_data_cursor_init() argument 1085 ceph_msg_data_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_next() argument 1126 ceph_msg_data_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_advance() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/sm750fb/ |
H A D | sm750_cursor.c | 23 writel((data), cursor->mmio + (addr)) 25 /* cursor control for voyager and 718/750*/ 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, u3 argument 85 sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop, const u8 *pcol, const u8 *pmsk) sm750_hw_cursor_setData() argument 135 sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop, const u8 *pcol, const u8 *pmsk) sm750_hw_cursor_setData2() argument [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,
|
/kernel/linux/linux-6.6/drivers/staging/sm750fb/ |
H A D | sm750_cursor.c | 22 writel((data), cursor->mmio + (addr)) 24 /* cursor control for voyager and 718/750*/ 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, u3 argument 84 sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop, const u8 *pcol, const u8 *pmsk) sm750_hw_cursor_setData() argument 134 sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop, const u8 *pcol, const u8 *pmsk) sm750_hw_cursor_setData2() argument [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,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
H A D | lsdc_plane.c | 188 drm_dbg(plane->dev, "unsupported cursor size: %ux%u\n", in lsdc_cursor_plane_atomic_async_check() 194 drm_dbg(plane->dev, "unsupported cursor size: %ux%u\n", in lsdc_cursor_plane_atomic_async_check() 223 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() 267 /* ls7a1000 cursor plane helpers */ 285 drm_dbg(plane->dev, "unsupported cursor size: %ux%u\n", in ls7a1000_cursor_plane_atomic_check() 302 struct lsdc_cursor *cursor in ls7a1000_cursor_plane_atomic_update() local 324 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); ls7a1000_cursor_plane_atomic_disable() local 383 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); ls7a2000_cursor_plane_atomic_update() local 420 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); ls7a2000_cursor_plane_atomic_disable() local 577 lsdc_cursor0_update_bo_addr(struct lsdc_cursor *cursor, u64 addr) lsdc_cursor0_update_bo_addr() argument 586 lsdc_cursor0_update_position(struct lsdc_cursor *cursor, int x, int y) lsdc_cursor0_update_position() argument 599 lsdc_cursor0_update_cfg(struct lsdc_cursor *cursor, enum lsdc_cursor_size cursor_size, enum lsdc_cursor_format fmt) lsdc_cursor0_update_cfg() argument 615 lsdc_cursor1_update_bo_addr(struct lsdc_cursor *cursor, u64 addr) lsdc_cursor1_update_bo_addr() argument 624 lsdc_cursor1_update_position(struct lsdc_cursor *cursor, int x, int y) lsdc_cursor1_update_position() argument 637 lsdc_cursor1_update_cfg(struct lsdc_cursor *cursor, enum lsdc_cursor_size cursor_size, enum lsdc_cursor_format fmt) lsdc_cursor1_update_cfg() argument 668 lsdc_cursor1_update_bo_addr_quirk(struct lsdc_cursor *cursor, u64 addr) lsdc_cursor1_update_bo_addr_quirk() argument 677 lsdc_cursor1_update_position_quirk(struct lsdc_cursor *cursor, int x, int y) lsdc_cursor1_update_position_quirk() argument 690 lsdc_cursor1_update_cfg_quirk(struct lsdc_cursor *cursor, enum lsdc_cursor_size cursor_size, enum lsdc_cursor_format fmt) lsdc_cursor1_update_cfg_quirk() argument 749 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); ls7a1000_cursor_plane_init() local 774 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); ls7a2000_cursor_plane_init() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | callchain.h | 138 * A callchain cursor is a single linked list that 147 /* Indicate valid cursor node for LBR stitch */ 160 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, 209 /* Close a cursor writing session. Initialize for the reader */ 210 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument 212 if (cursor in callchain_cursor_commit() 220 callchain_cursor_current(struct callchain_cursor *cursor) callchain_cursor_current() argument 228 callchain_cursor_advance(struct callchain_cursor *cursor) callchain_cursor_advance() argument [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/ |
H A D | mach64_cursor.c | 21 * The hardware cursor definition requires 2 bits per pixel. The 22 * Cursor size reguardless of the visible cursor size is 64 pixels 23 * by 64 lines. The total memory required to define the cursor is 25 * must be in a contigiuos format. The 2 bit cursor code values are 47 * cursor is specificed by CURS_HORZ_VERT_POSN. Care must be taken 48 * when the cursor hot spot is not the top left corner and the 49 * physical cursor position becomes negative. It will be be displayed 50 * if either the horizontal or vertical cursor position is negative 52 * If x becomes negative the cursor manager must adjust the CURS_HORZ_OFFSET 56 * CUR_OFFSET must be adjusted to a point to the appropriate line in the cursor 68 atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor) atyfb_cursor() argument [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/ |
H A D | mach64_cursor.c | 21 * The hardware cursor definition requires 2 bits per pixel. The 22 * Cursor size reguardless of the visible cursor size is 64 pixels 23 * by 64 lines. The total memory required to define the cursor is 25 * must be in a contigiuos format. The 2 bit cursor code values are 47 * cursor is specificed by CURS_HORZ_VERT_POSN. Care must be taken 48 * when the cursor hot spot is not the top left corner and the 49 * physical cursor position becomes negative. It will be displayed 50 * if either the horizontal or vertical cursor position is negative 52 * If x becomes negative the cursor manager must adjust the CURS_HORZ_OFFSET 56 * CUR_OFFSET must be adjusted to a point to the appropriate line in the cursor 68 atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor) atyfb_cursor() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | callchain.h | 138 * A callchain cursor is a single linked list that 147 /* Indicate valid cursor node for LBR stitch */ 160 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, 211 /* Close a cursor writing session. Initialize for the reader */ 212 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument 214 cursor in callchain_cursor_commit() 220 callchain_cursor_current(struct callchain_cursor *cursor) callchain_cursor_current() argument 228 callchain_cursor_advance(struct callchain_cursor *cursor) callchain_cursor_advance() argument [all...] |
/kernel/linux/linux-5.10/drivers/firmware/google/ |
H A D | memconsole-coreboot.c | 23 u32 cursor; member 37 * ring buffer with more lines after we have already read |cursor|. It should be 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() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/google/ |
H A D | memconsole-coreboot.c | 23 u32 cursor; member 37 * ring buffer with more lines after we have already read |cursor|. It should be 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() [all...] |
/kernel/linux/linux-5.10/net/ceph/ |
H A D | messenger.c | 807 static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_cursor_init() argument 810 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init() 811 struct ceph_bio_iter *it = &cursor->bio_iter; in ceph_msg_data_bio_cursor_init() 813 cursor->resid = min_t(size_t, length, data->bio_length); in ceph_msg_data_bio_cursor_init() 815 if (cursor->resid < it->iter.bi_size) in ceph_msg_data_bio_cursor_init() 816 it->iter.bi_size = cursor->resid; in ceph_msg_data_bio_cursor_init() 818 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_cursor_init() 819 cursor->last_piece = cursor->resid == bio_iter_len(it->bio, it->iter); in ceph_msg_data_bio_cursor_init() 822 static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_next() argument 834 ceph_msg_data_bio_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_bio_advance() argument 868 ceph_msg_data_bvecs_cursor_init(struct ceph_msg_data_cursor *cursor, size_t length) ceph_msg_data_bvecs_cursor_init() argument 883 ceph_msg_data_bvecs_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_bvecs_next() argument 895 ceph_msg_data_bvecs_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_bvecs_advance() argument 926 ceph_msg_data_pages_cursor_init(struct ceph_msg_data_cursor *cursor, size_t length) ceph_msg_data_pages_cursor_init() argument 948 ceph_msg_data_pages_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_pages_next() argument 967 ceph_msg_data_pages_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_pages_advance() argument 998 ceph_msg_data_pagelist_cursor_init(struct ceph_msg_data_cursor *cursor, size_t length) ceph_msg_data_pagelist_cursor_init() argument 1023 ceph_msg_data_pagelist_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length) ceph_msg_data_pagelist_next() argument 1047 ceph_msg_data_pagelist_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_pagelist_advance() argument 1089 __ceph_msg_data_cursor_init(struct ceph_msg_data_cursor *cursor) __ceph_msg_data_cursor_init() argument 1118 struct ceph_msg_data_cursor *cursor = &msg->cursor; ceph_msg_data_cursor_init() local 1135 ceph_msg_data_next(struct ceph_msg_data_cursor *cursor, size_t *page_offset, size_t *length, bool *last_piece) ceph_msg_data_next() argument 1176 ceph_msg_data_advance(struct ceph_msg_data_cursor *cursor, size_t bytes) ceph_msg_data_advance() argument 1555 struct ceph_msg_data_cursor *cursor = &msg->cursor; write_partial_message_data() local 2313 struct ceph_msg_data_cursor *cursor = &msg->cursor; read_partial_msg_data() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_cursor.c | 104 "Arbitrary cursor panning not supported\n"); in intel_cursor_check_surface() 141 drm_dbg_kms(&i915->drm, "cursor cannot be tiled\n"); in intel_check_cursor() 223 /* if we want to turn off the cursor ignore width and height */ in i845_check_cursor() 227 /* Check for which cursor types we support */ in i845_check_cursor() 246 drm_dbg_kms(&i915->drm, "Invalid cursor stride (%u)\n", in i845_check_cursor() 278 * whilst the cursor is disabled. in i845_cursor_update_arm() 280 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 in i845_cursor_update_arm() 763 struct intel_plane *cursor; intel_cursor_plane_create() local [all...] |