/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 | 7 kms_cursor_crc@cursor-alpha-opaque,Fail 8 kms_cursor_crc@cursor-alpha-transparent,Fail 9 kms_cursor_crc@cursor-dpms,Fail 10 kms_cursor_crc@cursor-offscreen-32x10,Fail 11 kms_cursor_crc@cursor-offscreen-32x32,Fail 12 kms_cursor_crc@cursor-offscreen-64x21,Fail 13 kms_cursor_crc@cursor-offscreen-64x64,Fail 14 kms_cursor_crc@cursor-onscreen-32x10,Fail 15 kms_cursor_crc@cursor-onscreen-32x32,Fail 16 kms_cursor_crc@cursor-onscreen-64x21,Fail [all …]
|
H A D | vkms-none-fails.txt | 1 kms_cursor_crc@cursor-rapid-movement-256x85,Fail 2 kms_cursor_crc@cursor-rapid-movement-32x10,Fail 3 kms_cursor_crc@cursor-rapid-movement-64x64,Fail 4 kms_cursor_legacy@basic-flip-before-cursor-atomic,Fail 5 kms_cursor_legacy@basic-flip-before-cursor-legacy,Fail 6 kms_cursor_legacy@cursor-vs-flip-atomic,Fail 7 kms_cursor_legacy@cursor-vs-flip-legacy,Fail 8 kms_cursor_legacy@cursor-vs-flip-toggle,Fail 9 kms_cursor_legacy@cursor-vs-flip-varying-size,Fail 10 kms_cursor_legacy@flip-vs-cursor-atomic,Fail [all …]
|
/linux/drivers/dma-buf/ |
H A D | dma-resv.c | 366 /* Restart the unlocked iteration by initializing the cursor object. */ 367 static void dma_resv_iter_restart_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_restart_unlocked() argument 369 cursor->index = 0; in dma_resv_iter_restart_unlocked() 370 cursor->num_fences = 0; in dma_resv_iter_restart_unlocked() 371 cursor->fences = dma_resv_fences_list(cursor->obj); in dma_resv_iter_restart_unlocked() 372 if (cursor->fences) in dma_resv_iter_restart_unlocked() 373 cursor->num_fences = cursor->fences->num_fences; in dma_resv_iter_restart_unlocked() 374 cursor->is_restarted = true; in dma_resv_iter_restart_unlocked() 378 static void dma_resv_iter_walk_unlocked(struct dma_resv_iter *cursor) in dma_resv_iter_walk_unlocked() argument 380 if (!cursor->fences) in dma_resv_iter_walk_unlocked() [all …]
|
/linux/drivers/video/fbdev/aty/ |
H A D | mach64_cursor.c | 3 * ATI Mach64 CT/VT/GT/LT Cursor Support 20 * The hardware cursor definition requires 2 bits per pixel. The 21 * Cursor size reguardless of the visible cursor size is 64 pixels 22 * by 64 lines. The total memory required to define the cursor is 24 * must be in a contigiuos format. The 2 bit cursor code values are 32 * Cursor Offset 64 pixels Actual Displayed Area 46 * cursor is specificed by CURS_HORZ_VERT_POSN. Care must be taken 47 * when the cursor hot spot is not the top left corner and the 48 * physical cursor position becomes negative. It will be displayed 49 * if either the horizontal or vertical cursor position is negative [all …]
|
/linux/tools/verification/rvgen/rvgen/ |
H A D | automata.py | 44 cursor = 0 55 line = dot_lines[cursor].split() 60 cursor += 1 64 cursor = 0 65 while self.__dot_lines[cursor].split()[0] != "{node": 66 cursor += 1 67 return cursor 70 cursor = 0 71 while self.__dot_lines[cursor].split()[0] != "{node": 72 cursor += 1 [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/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cursor_plane.c | 27 SVGAFifoCmdDefineAlphaCursor cursor; member 31 * vmw_send_define_cursor_cmd - queue a define cursor command 33 * @image: buffer which holds the cursor image 34 * @width: width of the mouse cursor image 35 * @height: height of the mouse cursor image 64 cmd->cursor.id = 0; in vmw_send_define_cursor_cmd() 65 cmd->cursor.width = width; in vmw_send_define_cursor_cmd() 66 cmd->cursor.height = height; in vmw_send_define_cursor_cmd() 67 cmd->cursor.hotspotX = hotspotX; in vmw_send_define_cursor_cmd() 68 cmd->cursor.hotspotY = hotspotY; in vmw_send_define_cursor_cmd() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_cursor.c | 31 /* Cursor formats */ 59 * MAX(-1 * <Cursor vertical size from CUR_CTL base on cursor mode in intel_cursor_position() 117 "[PLANE:%d:%s] arbitrary cursor panning not supported\n", in intel_cursor_check_surface() 156 drm_dbg_kms(display->drm, "[PLANE:%d:%s] cursor cannot be tiled\n", in intel_check_cursor() 247 /* if we want to turn off the cursor ignore width and height */ in i845_check_cursor() 251 /* Check for which cursor types we support */ in i845_check_cursor() 254 "[PLANE:%d:%s] cursor dimension %dx%d not supported\n", in i845_check_cursor() 271 drm_dbg_kms(display->drm, "[PLANE:%d:%s] invalid cursor stride (%u)\n", in i845_check_cursor() 305 * whilst the cursor is disabled. in i845_cursor_update_arm() 307 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_set_size(struct lynx_cursor *cursor, int w, int h) in sm750_hw_cursor_set_size() argument 62 cursor->w = w; in sm750_hw_cursor_set_size() 63 cursor->h = h; in sm750_hw_cursor_set_size() 66 void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y) in sm750_hw_cursor_set_pos() argument 75 void sm750_hw_cursor_set_color(struct lynx_cursor *cursor, u32 fg, u32 bg) in sm750_hw_cursor_set_color() 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_set_size(struct lynx_cursor *cursor, int w, int h); 9 void sm750_hw_cursor_set_pos(struct lynx_cursor *cursor, int x, int y); 10 void sm750_hw_cursor_set_color(struct lynx_cursor *cursor, u32 fg, u32 bg); 11 void sm750_hw_cursor_set_data(struct lynx_cursor *cursor, u16 rop, 13 void sm750_hw_cursor_set_data2(struct lynx_cursor *cursor, u16 rop,
|
/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() 638 callchain_cursor_advance(cursor); in fill_node() 639 cursor_node = callchain_cursor_current(cursor); in fill_node() 646 struct callchain_cursor *cursor, in add_child() argument 655 if (fill_node(new, cursor) < 0) { in add_child() 814 struct callchain_cursor *cursor, in split_add_child() argument 846 if (idx_total < cursor->nr) { in split_add_child() 857 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/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/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/drivers/video/fbdev/ |
H A D | pmag-aa-fb.c | 24 * Hardware cursor support. 54 * Bt431 cursor generator offset (rel. to TC slot base address). 104 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() [all …]
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_crtc.c | 33 /* next cursor to scan-out: */ 37 /* current cursor being scanned out: */ 39 } cursor; member 54 /* for unref'ing cursor bo's after scanout completes: */ 349 /* called from IRQ to update cursor related registers (if needed). The 350 * cursor registers, other than x/y position, appear not to be double 362 spin_lock_irqsave(&mdp4_crtc->cursor.lock, flags); in update_cursor() 363 if (mdp4_crtc->cursor.stale) { in update_cursor() 364 struct drm_gem_object *next_bo = mdp4_crtc->cursor.next_bo; in update_cursor() 365 struct drm_gem_object *prev_bo = mdp4_crtc->cursor.scanout_bo; in update_cursor() [all …]
|
/linux/drivers/video/fbdev/core/ |
H A D | fbcon_cw.c | 206 struct fb_cursor cursor; in cw_cursor() local 219 cursor.set = 0; in cw_cursor() 228 cursor.set |= FB_CUR_SETIMAGE; in cw_cursor() 248 cursor.set |= FB_CUR_SETCMAP; in cw_cursor() 256 cursor.set |= FB_CUR_SETSIZE; in cw_cursor() 267 cursor.set |= FB_CUR_SETPOS; in cw_cursor() 272 ops->cursor_state.hot.x = cursor.hot.y = 0; in cw_cursor() 273 cursor.set |= FB_CUR_SETHOT; in cw_cursor() 276 if (cursor.set & FB_CUR_SETSIZE || in cw_cursor() 299 cursor.set |= FB_CUR_SETSHAPE; in cw_cursor() [all …]
|
H A D | fbcon_ccw.c | 223 struct fb_cursor cursor; in ccw_cursor() local 236 cursor.set = 0; in ccw_cursor() 245 cursor.set |= FB_CUR_SETIMAGE; in ccw_cursor() 265 cursor.set |= FB_CUR_SETCMAP; in ccw_cursor() 273 cursor.set |= FB_CUR_SETSIZE; in ccw_cursor() 284 cursor.set |= FB_CUR_SETPOS; in ccw_cursor() 289 ops->cursor_state.hot.x = cursor.hot.y = 0; in ccw_cursor() 290 cursor.set |= FB_CUR_SETHOT; in ccw_cursor() 293 if (cursor.set & FB_CUR_SETSIZE || in ccw_cursor() 316 cursor.set |= FB_CUR_SETSHAPE; in ccw_cursor() [all …]
|
H A D | fbcon_ud.c | 253 struct fb_cursor cursor; in ud_cursor() local 267 cursor.set = 0; in ud_cursor() 276 cursor.set |= FB_CUR_SETIMAGE; in ud_cursor() 296 cursor.set |= FB_CUR_SETCMAP; in ud_cursor() 304 cursor.set |= FB_CUR_SETSIZE; in ud_cursor() 315 cursor.set |= FB_CUR_SETPOS; in ud_cursor() 320 ops->cursor_state.hot.x = cursor.hot.y = 0; in ud_cursor() 321 cursor.set |= FB_CUR_SETHOT; in ud_cursor() 324 if (cursor.set & FB_CUR_SETSIZE || in ud_cursor() 339 cursor.set |= FB_CUR_SETSHAPE; in ud_cursor() [all …]
|
/linux/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() 58 seg[0] = (struct seg){.phys = 0, .len = min(cursor, size)}; in memconsole_coreboot_read()
|