Home
last modified time | relevance | path

Searched full:cursor (Results 1 – 25 of 1301) sorted by relevance

12345678910>>...53

/kernel/linux/linux-6.6/drivers/gpu/drm/sti/
Dsti_cursor.c52 * STI Cursor structure
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() 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
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_cursor.c51 * STI Cursor structure
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() argument
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() argument
[all …]
/kernel/linux/linux-6.6/drivers/dma-buf/
Ddma-resv.c358 /* 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->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()
[all …]
Ddma-fence-unwrap.c19 __dma_fence_unwrap_array(struct dma_fence_unwrap *cursor) in __dma_fence_unwrap_array() argument
21 cursor->array = dma_fence_chain_contained(cursor->chain); in __dma_fence_unwrap_array()
22 cursor->index = 0; in __dma_fence_unwrap_array()
23 return dma_fence_array_first(cursor->array); in __dma_fence_unwrap_array()
29 * @cursor: current position inside the containers
35 struct dma_fence_unwrap *cursor) in dma_fence_unwrap_first() argument
37 cursor->chain = dma_fence_get(head); in dma_fence_unwrap_first()
38 return __dma_fence_unwrap_array(cursor); in dma_fence_unwrap_first()
44 * @cursor: current position inside the containers
49 struct dma_fence *dma_fence_unwrap_next(struct dma_fence_unwrap *cursor) in dma_fence_unwrap_next() argument
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/
Dmach64_cursor.c3 * ATI Mach64 CT/VT/GT/LT Cursor Support
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
33 * Cursor Offset 64 pixels Actual Displayed Area
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
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_pt.c168 * @cursor: state to initialize
174 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()
186 * @cursor: current state
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()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
Dmach64_cursor.c3 * ATI Mach64 CT/VT/GT/LT Cursor Support
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
33 * Cursor Offset 64 pixels Actual Displayed Area
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
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/
Dlsdc_plane.c188 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 = to_lsdc_cursor(plane); in ls7a1000_cursor_plane_atomic_update() local
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_attr_list.c41 #define XFS_ISRESET_CURSOR(cursor) \ argument
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()
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()
[all …]
/kernel/linux/linux-6.6/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
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()
155 cursor->initted = 1; in xfs_attr_shortform_list()
156 cursor->blkno = 0; in xfs_attr_shortform_list()
158 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
Dintel_cursor.c28 /* Cursor formats */
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()
230 "Cursor dimension %dx%d not supported\n", 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()
[all …]
/kernel/linux/linux-5.10/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
863 top = element = alloc_elem(cursor); in parse_type()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/tools/perf/util/
Dcallchain.h138 * 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 == NULL) in callchain_cursor_commit()
[all …]
/kernel/linux/linux-6.6/drivers/staging/sm750fb/
Dsm750_cursor.c22 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, u32 fg, u32 bg) in sm750_hw_cursor_setColor() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/sm750fb/
Dsm750_cursor.c23 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, u32 fg, u32 bg) in sm750_hw_cursor_setColor() argument
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dcallchain.h138 * 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->curr = cursor->first; in callchain_cursor_commit()
[all …]
/kernel/linux/linux-6.6/include/video/
Ds1d13xxxfb.h82 #define S1DREG_LCD_CUR_CTL 0x0070 /* LCD Ink/Cursor Control Register */
83 #define S1DREG_LCD_CUR_START 0x0071 /* LCD Ink/Cursor Start Address Register */
84 #define S1DREG_LCD_CUR_XPOS0 0x0072 /* LCD Cursor X Position Register 0 */
85 #define S1DREG_LCD_CUR_XPOS1 0x0073 /* LCD Cursor X Position Register 1 */
86 #define S1DREG_LCD_CUR_YPOS0 0x0074 /* LCD Cursor Y Position Register 0 */
87 #define S1DREG_LCD_CUR_YPOS1 0x0075 /* LCD Cursor Y Position Register 1 */
88 #define S1DREG_LCD_CUR_BCTL0 0x0076 /* LCD Ink/Cursor Blue Color 0 Register */
89 #define S1DREG_LCD_CUR_GCTL0 0x0077 /* LCD Ink/Cursor Green Color 0 Register */
90 #define S1DREG_LCD_CUR_RCTL0 0x0078 /* LCD Ink/Cursor Red Color 0 Register */
91 #define S1DREG_LCD_CUR_BCTL1 0x007A /* LCD Ink/Cursor Blue Color 1 Register */
[all …]
/kernel/linux/linux-5.10/include/video/
Ds1d13xxxfb.h82 #define S1DREG_LCD_CUR_CTL 0x0070 /* LCD Ink/Cursor Control Register */
83 #define S1DREG_LCD_CUR_START 0x0071 /* LCD Ink/Cursor Start Address Register */
84 #define S1DREG_LCD_CUR_XPOS0 0x0072 /* LCD Cursor X Position Register 0 */
85 #define S1DREG_LCD_CUR_XPOS1 0x0073 /* LCD Cursor X Position Register 1 */
86 #define S1DREG_LCD_CUR_YPOS0 0x0074 /* LCD Cursor Y Position Register 0 */
87 #define S1DREG_LCD_CUR_YPOS1 0x0075 /* LCD Cursor Y Position Register 1 */
88 #define S1DREG_LCD_CUR_BCTL0 0x0076 /* LCD Ink/Cursor Blue Color 0 Register */
89 #define S1DREG_LCD_CUR_GCTL0 0x0077 /* LCD Ink/Cursor Green Color 0 Register */
90 #define S1DREG_LCD_CUR_RCTL0 0x0078 /* LCD Ink/Cursor Red Color 0 Register */
91 #define S1DREG_LCD_CUR_BCTL1 0x007A /* LCD Ink/Cursor Blue Color 1 Register */
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c41 /* for unref'ing cursor bo's after scanout completes: */
53 /* protect REG_MDP5_LM_CURSOR* registers and cursor scanout_bo*/
56 /* current cursor being scanned out: */
61 } cursor; member
548 * Restore LM cursor state, as it might have been lost in mdp5_crtc_atomic_enable()
551 if (mdp5_crtc->cursor.iova) { in mdp5_crtc_atomic_enable()
554 spin_lock_irqsave(&mdp5_crtc->cursor.lock, flags); in mdp5_crtc_atomic_enable()
556 spin_unlock_irqrestore(&mdp5_crtc->cursor.lock, flags); in mdp5_crtc_atomic_enable()
749 /* trigger a warning if cursor isn't the highest zorder */ in mdp5_crtc_atomic_check()
837 * Cursor Region Of Interest (ROI) is a plane read from cursor in get_roi()
[all …]
/kernel/linux/linux-6.6/drivers/accessibility/speakup/
DDefaultKeyAssignments12 InsKeyPad-8 say from top of screen to reading cursor.
18 InsKeyPad-4 say from left edge of line to reading cursor.
20 InsKeyPad-6 Say from reading cursor to right edge of line.
26 InsKeyPad-plus Say from reading cursor line to bottom of screen.
27 KeyPad-Minus Park reading cursor (toggle)
31 InsKeyPad-9 Move reading cursor to top of screen (insert pgup)
32 InsKeyPad-3 Move reading cursor to bottom of screen (insert pgdn)
33 InsKeyPad-7 Move reading cursor to left edge of screen (insert home)
34 InsKeyPad-1 Move reading cursor to right edge of screen (insert end)
35 ControlKeyPad-1 Move reading cursor to last character on current line.
[all …]
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
DDefaultKeyAssignments12 InsKeyPad-8 say from top of screen to reading cursor.
18 InsKeyPad-4 say from left edge of line to reading cursor.
20 InsKeyPad-6 Say from reading cursor to right edge of line.
26 InsKeyPad-plus Say from reading cursor line to bottom of screen.
27 KeyPad-Minus Park reading cursor (toggle)
31 InsKeyPad-9 Move reading cursor to top of screen (insert pgup)
32 InsKeyPad-3 Move reading cursor to bottom of screen (insert pgdn)
33 InsKeyPad-7 Move reading cursor to left edge of screen (insert home)
34 InsKeyPad-1 Move reading cursor to right edge of screen (insert end)
35 ControlKeyPad-1 Move reading cursor to last character on current line.
[all …]

12345678910>>...53