/linux/fs/xfs/scrub/ |
H A D | dqiterate.c | 24 /* Initialize a dquot iteration cursor. */ 27 struct xchk_dqiter *cursor, in xchk_dqiter_init() argument 31 cursor->sc = sc; in xchk_dqiter_init() 32 cursor->bmap.br_startoff = NULLFILEOFF; in xchk_dqiter_init() 33 cursor->dqtype = dqtype & XFS_DQTYPE_REC_MASK; in xchk_dqiter_init() 34 cursor->quota_ip = xfs_quota_inode(sc->mp, cursor->dqtype); in xchk_dqiter_init() 35 cursor->id = 0; in xchk_dqiter_init() 39 * Ensure that the cached data fork mapping for the dqiter cursor is fresh and 40 * covers the dquot pointed to by the scan cursor. 44 struct xchk_dqiter *cursor) in xchk_dquot_iter_revalidate_bmap() argument [all …]
|
/linux/drivers/gpu/drm/sti/ |
H A D | sti_cursor.c | 52 * 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 …]
|
/linux/drivers/gpu/drm/ci/xfails/ |
H A D | rockchip-rk3399-fails.txt | 12 kms_cursor_crc@cursor-alpha-opaque,Fail 13 kms_cursor_crc@cursor-alpha-transparent,Fail 14 kms_cursor_crc@cursor-dpms,Fail 15 kms_cursor_crc@cursor-offscreen-32x10,Fail 16 kms_cursor_crc@cursor-offscreen-32x32,Fail 17 kms_cursor_crc@cursor-offscreen-64x21,Fail 18 kms_cursor_crc@cursor-offscreen-64x64,Fail 19 kms_cursor_crc@cursor-onscreen-32x10,Fail 20 kms_cursor_crc@cursor-onscreen-32x32,Fail 21 kms_cursor_crc@cursor-onscreen-64x21,Fail [all …]
|
H A D | vkms-none-fails.txt | 22 kms_cursor_crc@cursor-rapid-movement-128x128,Fail 23 kms_cursor_crc@cursor-rapid-movement-128x42,Fail 24 kms_cursor_crc@cursor-rapid-movement-256x256,Fail 25 kms_cursor_crc@cursor-rapid-movement-256x85,Fail 26 kms_cursor_crc@cursor-rapid-movement-32x10,Fail 27 kms_cursor_crc@cursor-rapid-movement-32x32,Fail 28 kms_cursor_crc@cursor-rapid-movement-512x170,Fail 29 kms_cursor_crc@cursor-rapid-movement-512x512,Fail 30 kms_cursor_crc@cursor-rapid-movement-64x21,Fail 31 kms_cursor_crc@cursor-rapid-movement-64x64,Fail [all …]
|
H A D | msm-sdm845-fails.txt | 14 kms_cursor_legacy@basic-flip-before-cursor-atomic,Fail 15 kms_cursor_legacy@basic-flip-before-cursor-legacy,Fail 16 kms_cursor_legacy@cursor-vs-flip-atomic,Fail 17 kms_cursor_legacy@cursor-vs-flip-atomic-transitions,Fail 18 kms_cursor_legacy@cursor-vs-flip-atomic-transitions-varying-size,Fail 19 kms_cursor_legacy@cursor-vs-flip-legacy,Fail 20 kms_cursor_legacy@cursor-vs-flip-toggle,Fail 21 kms_cursor_legacy@cursor-vs-flip-varying-size,Fail 22 kms_cursor_legacy@flip-vs-cursor-atomic,Fail 23 kms_cursor_legacy@flip-vs-cursor-crc-atomic,Fail [all …]
|
/linux/drivers/dma-buf/ |
H A D | dma-resv.c | 365 /* Restart the unlocked iteration by initializing the cursor object. */ 366 static void dma_resv_iter_restart_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_restart_unlocked() argument 368 cursor->index = 0; in dma_resv_iter_restart_unlocked() 369 cursor->num_fences = 0; in dma_resv_iter_restart_unlocked() 370 cursor->fences = dma_resv_fences_list(cursor->obj); in dma_resv_iter_restart_unlocked() 371 if (cursor->fences) in dma_resv_iter_restart_unlocked() 372 cursor->num_fences = cursor->fences->num_fences; in dma_resv_iter_restart_unlocked() 373 cursor->is_restarted = true; in dma_resv_iter_restart_unlocked() 377 static void dma_resv_iter_walk_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_walk_unlocked() argument 379 if (!cursor->fences) in dma_resv_iter_walk_unlocked() [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() 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() 43 * @cursor: current position inside the containers 48 struct dma_fence *dma_fence_unwrap_next(struct dma_fence_unwrap *cursor) in dma_fence_unwrap_next() argument [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm_pt.c | 152 * @cursor: state to initialize 158 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_start() argument 160 cursor->pfn = start; in amdgpu_vm_pt_start() 161 cursor->parent = NULL; in amdgpu_vm_pt_start() 162 cursor->entry = &vm->root; in amdgpu_vm_pt_start() 163 cursor->level = adev->vm_manager.root_level; in amdgpu_vm_pt_start() 170 * @cursor: current state 177 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_descendant() argument 181 if ((cursor->level == AMDGPU_VM_PTB) || !cursor->entry || in amdgpu_vm_pt_descendant() 182 !cursor->entry->bo) in amdgpu_vm_pt_descendant() [all …]
|
/linux/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 += 1 [all …]
|
/linux/drivers/video/fbdev/aty/ |
H A D | mach64_cursor.c | 3 * 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 …]
|
/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_plane.c | 187 drm_dbg(plane->dev, "unsupported cursor size: %ux%u\n", in lsdc_cursor_plane_atomic_async_check() 193 drm_dbg(plane->dev, "unsupported cursor size: %ux%u\n", in lsdc_cursor_plane_atomic_async_check() 222 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); in lsdc_cursor_plane_atomic_async_update() local 223 const struct lsdc_cursor_plane_ops *ops = cursor->ops; in lsdc_cursor_plane_atomic_async_update() 257 ops->update_position(cursor, new_state->crtc_x, new_state->crtc_y); in lsdc_cursor_plane_atomic_async_update() 259 ops->update_cfg(cursor, cursor_size, CURSOR_FORMAT_ARGB8888); in lsdc_cursor_plane_atomic_async_update() 262 ops->update_bo_addr(cursor, lsdc_fb_base_addr(new_fb)); in lsdc_cursor_plane_atomic_async_update() 266 /* ls7a1000 cursor plane helpers */ 284 drm_dbg(plane->dev, "unsupported cursor size: %ux%u\n", in ls7a1000_cursor_plane_atomic_check() 301 struct lsdc_cursor *cursor = to_lsdc_cursor(plane); in ls7a1000_cursor_plane_atomic_update() local [all …]
|
/linux/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 = *_cursor; in parse_type() local 866 element->tag = token_to_tag[cursor->token_type]; in parse_type() [all …]
|
/linux/fs/xfs/ |
H A D | xfs_attr_list.c | 43 #define XFS_ISRESET_CURSOR(cursor) \ argument 44 (!((cursor)->initted) && !((cursor)->hashval) && \ 45 !((cursor)->blkno) && !((cursor)->offset)) 57 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() 163 cursor->initted = 1; in xfs_attr_shortform_list() 164 cursor->blkno = 0; in xfs_attr_shortform_list() 166 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list() [all …]
|
/linux/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->bio_iter.iter); in ceph_msg_data_bio_next() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_cursor.c | 31 /* Cursor formats */ 60 * MAX(-1 * <Cursor vertical size from CUR_CTL base on cursor mode in intel_cursor_position() 118 "Arbitrary cursor panning not supported\n"); in intel_cursor_check_surface() 155 drm_dbg_kms(&i915->drm, "cursor cannot be tiled\n"); in intel_check_cursor() 244 /* if we want to turn off the cursor ignore width and height */ in i845_check_cursor() 248 /* Check for which cursor types we support */ in i845_check_cursor() 251 "Cursor dimension %dx%d not supported\n", in i845_check_cursor() 267 drm_dbg_kms(&i915->drm, "Invalid cursor stride (%u)\n", in i845_check_cursor() 299 * whilst the cursor is disabled. in i845_cursor_update_arm() 301 if (plane->cursor.base != base || in i845_cursor_update_arm() [all …]
|
/linux/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, u32 fg, u32 bg) in sm750_hw_cursor_setColor() argument [all …]
|
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_resource.c | 36 /* Detach the cursor from the bulk move list*/ 38 ttm_resource_cursor_clear_bulk(struct ttm_resource_cursor *cursor) in ttm_resource_cursor_clear_bulk() argument 40 lockdep_assert_held(&cursor->man->bdev->lru_lock); in ttm_resource_cursor_clear_bulk() 42 cursor->bulk = NULL; in ttm_resource_cursor_clear_bulk() 43 list_del_init(&cursor->bulk_link); in ttm_resource_cursor_clear_bulk() 46 /* Move the cursor to the end of the bulk move list it's in */ 48 struct ttm_resource_cursor *cursor) in ttm_resource_cursor_move_bulk_tail() argument 52 lockdep_assert_held(&cursor->man->bdev->lru_lock); in ttm_resource_cursor_move_bulk_tail() 54 if (WARN_ON_ONCE(bulk != cursor->bulk)) { in ttm_resource_cursor_move_bulk_tail() 55 list_del_init(&cursor->bulk_link); in ttm_resource_cursor_move_bulk_tail() [all …]
|
/linux/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 == NULL) in callchain_cursor_commit() [all …]
|
H A D | callchain.c | 573 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() 640 callchain_cursor_advance(cursor); in fill_node() 641 cursor_node = callchain_cursor_current(cursor); in fill_node() 648 struct callchain_cursor *cursor, in add_child() argument 657 if (fill_node(new, cursor) < 0) { in add_child() 816 struct callchain_cursor *cursor, in split_add_child() argument 848 if (idx_total < cursor->nr) { in split_add_child() 859 node = callchain_cursor_current(cursor); in split_add_child() [all …]
|
/linux/include/video/ |
H A D | s1d13xxxfb.h | 82 #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 …]
|
/linux/drivers/accessibility/speakup/ |
H A D | DefaultKeyAssignments | 12 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 …]
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_crtc.c | 45 /* for unref'ing cursor bo's after scanout completes: */ 57 /* protect REG_MDP5_LM_CURSOR* registers and cursor scanout_bo*/ 60 /* current cursor being scanned out: */ 65 } cursor; member 550 * Restore LM cursor state, as it might have been lost in mdp5_crtc_atomic_enable() 553 if (mdp5_crtc->cursor.iova) { in mdp5_crtc_atomic_enable() 556 spin_lock_irqsave(&mdp5_crtc->cursor.lock, flags); in mdp5_crtc_atomic_enable() 558 spin_unlock_irqrestore(&mdp5_crtc->cursor.lock, flags); in mdp5_crtc_atomic_enable() 761 /* trigger a warning if cursor isn't the highest zorder */ in mdp5_crtc_atomic_check() 849 * Cursor Region Of Interest (ROI) is a plane read from cursor in get_roi() [all …]
|
/linux/drivers/auxdisplay/ |
H A D | charlcd.h | 13 #define LCD_FLAG_C 0x0008 /* Cursor on */ 61 * @print: Print one character to the display at current cursor position. 62 * The buffered cursor position is advanced by charlcd. The cursor should not 64 * @gotoxy: Set cursor to x, y. The x and y values to set the cursor to are 66 * @home: Set cursor to 0, 0. The values in addr.x and addr.y are set to 0, 0 by 68 * @clear_display: Clear the whole display and set the cursor to 0, 0. The 72 * @shift_cursor: Shift cursor left or right one position. 75 * @cursor: Turn cursor on or off. 76 * @blink: Turn cursor blink on or off. 90 int (*cursor)(struct charlcd *lcd, enum charlcd_onoff on); member
|
/linux/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: the dma_resv_iter object which should be cleaned up [all …]
|
/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() 90 cursor.mode = enable && !use_sw; 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 …]
|