Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_cursor.c77 static void sti_cursor_argb8888_to_clut8(struct sti_cursor *cursor, u32 *src) in sti_cursor_argb8888_to_clut8() argument
79 u8 *dst = cursor->pixmap.base; in sti_cursor_argb8888_to_clut8()
83 for (i = 0; i < cursor->height; i++) { in sti_cursor_argb8888_to_clut8()
84 for (j = 0; j < cursor->width; j++) { in sti_cursor_argb8888_to_clut8()
97 static void sti_cursor_init(struct sti_cursor *cursor) in sti_cursor_init() argument
99 unsigned short *base = cursor->clut; in sti_cursor_init()
118 struct sti_cursor *cursor = to_sti_cursor(plane); in sti_cursor_atomic_update() local
140 dev_dbg(cursor->dev, "%s %s\n", __func__, in sti_cursor_atomic_update()
153 if (!cursor->pixmap.base || in sti_cursor_atomic_update()
154 (cursor->width != src_w) || in sti_cursor_atomic_update()
[all …]
Dsti_compositor.c66 struct drm_plane *cursor = NULL; in sti_compositor_bind() local
111 cursor = sti_cursor_create(drm_dev, compo->dev, in sti_compositor_bind()
115 if (!cursor) { in sti_compositor_bind()
139 primary, cursor); in sti_compositor_bind()
141 cursor = NULL; in sti_compositor_bind()
Dsti_crtc.h15 struct drm_plane *primary, struct drm_plane *cursor);
DNOTES12 - The cursor handles ... a cursor.
Dsti_crtc.c364 struct drm_plane *primary, struct drm_plane *cursor) in sti_crtc_init() argument
369 res = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor, in sti_crtc_init()
/linux-4.4.14/scripts/
Dasn1_compiler.c810 struct token *cursor; in parse() local
816 cursor = type->name; in parse()
818 if (cursor[0].token_type != TOKEN_TYPE_NAME || in parse()
819 cursor[1].token_type != TOKEN_ASSIGNMENT) in parse()
821 cursor += 2; in parse()
823 type->element = parse_type(&cursor, type[1].name, NULL); in parse()
826 if (cursor != type[1].name) { in parse()
828 filename, cursor->line, cursor->content); in parse()
862 struct token *cursor = *_cursor; in parse_type() local
867 top = element = alloc_elem(cursor); in parse_type()
[all …]
Danalyze_suspend.py2376 ….timeline {position: relative; font-size: 14px;cursor: pointer;width: 100%; overflow: hidden; back…
/linux-4.4.14/fs/xfs/
Dxfs_attr_list.c58 #define XFS_ISRESET_CURSOR(cursor) \ argument
59 (!((cursor)->initted) && !((cursor)->hashval) && \
60 !((cursor)->blkno) && !((cursor)->offset))
71 attrlist_cursor_kern_t *cursor; in xfs_attr_shortform_list() local
87 cursor = context->cursor; in xfs_attr_shortform_list()
88 ASSERT(cursor != NULL); in xfs_attr_shortform_list()
102 (XFS_ISRESET_CURSOR(cursor) && in xfs_attr_shortform_list()
174 cursor->initted = 1; in xfs_attr_shortform_list()
175 cursor->blkno = 0; in xfs_attr_shortform_list()
177 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list()
[all …]
Dxfs_attr.h120 struct attrlist_cursor_kern *cursor; /* position in list */ member
151 int flags, struct attrlist_cursor_kern *cursor);
Dxfs_xattr.c228 struct attrlist_cursor_kern cursor = { 0 }; in xfs_vn_listxattr() local
237 context.cursor = &cursor; in xfs_vn_listxattr()
Dxfs_ioctl32.c348 attrlist_cursor_kern_t *cursor; in xfs_compat_attrlist_by_handle() local
377 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; in xfs_compat_attrlist_by_handle()
379 al_hreq.flags, cursor); in xfs_compat_attrlist_by_handle()
Dxfs_trace.h61 __entry->hashval = ctx->cursor->hashval;
62 __entry->blkno = ctx->cursor->blkno;
63 __entry->offset = ctx->cursor->offset;
185 __entry->hashval = ctx->cursor->hashval;
186 __entry->blkno = ctx->cursor->blkno;
187 __entry->offset = ctx->cursor->offset;
Dxfs_ioctl.c405 attrlist_cursor_kern_t *cursor; in xfs_attrlist_by_handle() local
432 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; in xfs_attrlist_by_handle()
434 al_hreq.flags, cursor); in xfs_attrlist_by_handle()
/linux-4.4.14/drivers/staging/sm750fb/
Dsm750_cursor.c24 readl(cursor->mmio + (addr))
27 writel((data), cursor->mmio + (addr))
61 void hw_cursor_enable(struct lynx_cursor *cursor) in hw_cursor_enable() argument
65 reg = FIELD_VALUE(0, HWC_ADDRESS, ADDRESS, cursor->offset)| in hw_cursor_enable()
70 void hw_cursor_disable(struct lynx_cursor *cursor) in hw_cursor_disable() argument
75 void hw_cursor_setSize(struct lynx_cursor *cursor, in hw_cursor_setSize() argument
78 cursor->w = w; in hw_cursor_setSize()
79 cursor->h = h; in hw_cursor_setSize()
81 void hw_cursor_setPos(struct lynx_cursor *cursor, in hw_cursor_setPos() argument
90 void hw_cursor_setColor(struct lynx_cursor *cursor, in hw_cursor_setColor() argument
[all …]
Dsm750_cursor.h5 void hw_cursor_enable(struct lynx_cursor *cursor);
6 void hw_cursor_disable(struct lynx_cursor *cursor);
7 void hw_cursor_setSize(struct lynx_cursor *cursor,
9 void hw_cursor_setPos(struct lynx_cursor *cursor,
11 void hw_cursor_setColor(struct lynx_cursor *cursor,
13 void hw_cursor_setData(struct lynx_cursor *cursor,
15 void hw_cursor_setData2(struct lynx_cursor *cursor,
Dsm750.c113 struct lynx_cursor *cursor; in lynxfb_ops_cursor() local
117 cursor = &crtc->cursor; in lynxfb_ops_cursor()
119 if (fbcursor->image.width > cursor->maxW || in lynxfb_ops_cursor()
120 fbcursor->image.height > cursor->maxH || in lynxfb_ops_cursor()
125 hw_cursor_disable(cursor); in lynxfb_ops_cursor()
127 hw_cursor_setSize(cursor, in lynxfb_ops_cursor()
132 hw_cursor_setPos(cursor, in lynxfb_ops_cursor()
148 hw_cursor_setColor(cursor, fg, bg); in lynxfb_ops_cursor()
152 hw_cursor_setData(cursor, in lynxfb_ops_cursor()
159 hw_cursor_enable(cursor); in lynxfb_ops_cursor()
[all …]
Dsm750.h143 struct lynx_cursor cursor; member
Dreadme13 Disable MTRR,Disable 2d acceleration,Disable hardware cursor,
/linux-4.4.14/tools/perf/util/
Dcallchain.h149 struct callchain_cursor *cursor,
152 int callchain_merge(struct callchain_cursor *cursor,
159 static inline void callchain_cursor_reset(struct callchain_cursor *cursor) in callchain_cursor_reset() argument
161 cursor->nr = 0; in callchain_cursor_reset()
162 cursor->last = &cursor->first; in callchain_cursor_reset()
165 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip,
169 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument
171 cursor->curr = cursor->first; in callchain_cursor_commit()
172 cursor->pos = 0; in callchain_cursor_commit()
177 callchain_cursor_current(struct callchain_cursor *cursor) in callchain_cursor_current() argument
[all …]
Dcallchain.c394 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument
398 node->val_nr = cursor->nr - cursor->pos; in fill_node()
402 cursor_node = callchain_cursor_current(cursor); in fill_node()
417 callchain_cursor_advance(cursor); in fill_node()
418 cursor_node = callchain_cursor_current(cursor); in fill_node()
424 struct callchain_cursor *cursor, in add_child() argument
430 fill_node(new, cursor); in add_child()
456 struct callchain_cursor *cursor, in split_add_child() argument
483 if (idx_total < cursor->nr) { in split_add_child()
492 node = callchain_cursor_current(cursor); in split_add_child()
[all …]
Dhist.c800 struct callchain_cursor cursor; in iter_add_next_cumulative_entry() local
802 callchain_cursor_snapshot(&cursor, &callchain_cursor); in iter_add_next_cumulative_entry()
828 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
Dmachine.c1865 struct callchain_cursor *cursor = arg; in unwind_entry() local
1866 return callchain_cursor_append(cursor, entry->ip, in unwind_entry()
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_cursor.c25 if (mdev->cursor.pixels_1->pin_count) in mga_hide_cursor()
26 mgag200_bo_unpin(mdev->cursor.pixels_1); in mga_hide_cursor()
27 if (mdev->cursor.pixels_2->pin_count) in mga_hide_cursor()
28 mgag200_bo_unpin(mdev->cursor.pixels_2); in mga_hide_cursor()
39 struct mgag200_bo *pixels_1 = mdev->cursor.pixels_1; in mga_crtc_cursor_set()
40 struct mgag200_bo *pixels_2 = mdev->cursor.pixels_2; in mga_crtc_cursor_set()
41 struct mgag200_bo *pixels_current = mdev->cursor.pixels_current; in mga_crtc_cursor_set()
42 struct mgag200_bo *pixels_prev = mdev->cursor.pixels_prev; in mga_crtc_cursor_set()
99 &mdev->cursor.pixels_1_gpu_addr); in mga_crtc_cursor_set()
105 &mdev->cursor.pixels_2_gpu_addr); in mga_crtc_cursor_set()
[all …]
Dmgag200_main.c241 &mdev->cursor.pixels_1); in mgag200_driver_load()
243 &mdev->cursor.pixels_2); in mgag200_driver_load()
244 if (!mdev->cursor.pixels_2 || !mdev->cursor.pixels_1) { in mgag200_driver_load()
245 mdev->cursor.pixels_1 = NULL; in mgag200_driver_load()
246 mdev->cursor.pixels_2 = NULL; in mgag200_driver_load()
250 mdev->cursor.pixels_current = mdev->cursor.pixels_1; in mgag200_driver_load()
251 mdev->cursor.pixels_prev = mdev->cursor.pixels_2; in mgag200_driver_load()
Dmgag200_drv.h200 struct mga_cursor cursor; member
/linux-4.4.14/drivers/video/fbdev/aty/
Dmach64_cursor.c67 static int atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in atyfb_cursor() argument
81 if (cursor->enable) in atyfb_cursor()
89 if (cursor->set & FB_CUR_SETPOS) { in atyfb_cursor()
90 x = cursor->image.dx - cursor->hot.x - info->var.xoffset; in atyfb_cursor()
98 y = cursor->image.dy - cursor->hot.y - info->var.yoffset; in atyfb_cursor()
106 h = cursor->image.height; in atyfb_cursor()
124 if (cursor->set & FB_CUR_SETCMAP) { in atyfb_cursor()
127 fg_idx = cursor->image.fg_color; in atyfb_cursor()
128 bg_idx = cursor->image.bg_color; in atyfb_cursor()
143 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { in atyfb_cursor()
[all …]
/linux-4.4.14/drivers/video/console/
Dtileblit.c85 struct fb_tilecursor cursor; in tile_cursor() local
88 cursor.sx = vc->vc_x; in tile_cursor()
89 cursor.sy = vc->vc_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()
Dfbcon_ccw.c224 struct fb_cursor cursor; in ccw_cursor() local
237 cursor.set = 0; in ccw_cursor()
255 cursor.set |= FB_CUR_SETIMAGE; in ccw_cursor()
275 cursor.set |= FB_CUR_SETCMAP; in ccw_cursor()
283 cursor.set |= FB_CUR_SETSIZE; in ccw_cursor()
294 cursor.set |= FB_CUR_SETPOS; in ccw_cursor()
299 ops->cursor_state.hot.x = cursor.hot.y = 0; in ccw_cursor()
300 cursor.set |= FB_CUR_SETHOT; in ccw_cursor()
303 if (cursor.set & FB_CUR_SETSIZE || in ccw_cursor()
325 cursor.set |= FB_CUR_SETSHAPE; in ccw_cursor()
[all …]
Dbitblit.c239 struct fb_cursor cursor; in bit_cursor() local
248 cursor.set = 0; in bit_cursor()
266 cursor.set |= FB_CUR_SETIMAGE; in bit_cursor()
286 cursor.set |= FB_CUR_SETCMAP; in bit_cursor()
294 cursor.set |= FB_CUR_SETPOS; in bit_cursor()
302 cursor.set |= FB_CUR_SETSIZE; in bit_cursor()
307 ops->cursor_state.hot.x = cursor.hot.y = 0; in bit_cursor()
308 cursor.set |= FB_CUR_SETHOT; in bit_cursor()
311 if (cursor.set & FB_CUR_SETSIZE || in bit_cursor()
326 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()
238 cursor.set |= FB_CUR_SETIMAGE; in cw_cursor()
258 cursor.set |= FB_CUR_SETCMAP; in cw_cursor()
266 cursor.set |= FB_CUR_SETSIZE; in cw_cursor()
277 cursor.set |= FB_CUR_SETPOS; in cw_cursor()
282 ops->cursor_state.hot.x = cursor.hot.y = 0; in cw_cursor()
283 cursor.set |= FB_CUR_SETHOT; in cw_cursor()
286 if (cursor.set & FB_CUR_SETSIZE || in cw_cursor()
308 cursor.set |= FB_CUR_SETSHAPE; in cw_cursor()
[all …]
Dfbcon_ud.c254 struct fb_cursor cursor; in ud_cursor() local
268 cursor.set = 0; in ud_cursor()
286 cursor.set |= FB_CUR_SETIMAGE; in ud_cursor()
306 cursor.set |= FB_CUR_SETCMAP; in ud_cursor()
314 cursor.set |= FB_CUR_SETSIZE; in ud_cursor()
325 cursor.set |= FB_CUR_SETPOS; in ud_cursor()
330 ops->cursor_state.hot.x = cursor.hot.y = 0; in ud_cursor()
331 cursor.set |= FB_CUR_SETHOT; in ud_cursor()
334 if (cursor.set & FB_CUR_SETSIZE || in ud_cursor()
349 cursor.set |= FB_CUR_SETSHAPE; in ud_cursor()
[all …]
Dfbcon.h64 void (*cursor)(struct vc_data *vc, struct fb_info *info, int mode, member
221 extern int soft_cursor(struct fb_info *info, struct fb_cursor *cursor);
Dfbcon.c394 ops->cursor(vc, info, mode, softback_lines, get_color(vc, info, c, 1), in fb_flashcursor()
1332 ops->cursor(vc, info, mode, y, get_color(vc, info, c, 1), in fbcon_cursor()
/linux-4.4.14/net/ceph/
Dmessenger.c825 static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_cursor_init() argument
828 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init()
836 cursor->resid = min(length, data->bio_length); in ceph_msg_data_bio_cursor_init()
837 cursor->bio = bio; in ceph_msg_data_bio_cursor_init()
838 cursor->bvec_iter = bio->bi_iter; in ceph_msg_data_bio_cursor_init()
839 cursor->last_piece = in ceph_msg_data_bio_cursor_init()
840 cursor->resid <= bio_iter_len(bio, cursor->bvec_iter); in ceph_msg_data_bio_cursor_init()
843 static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_next() argument
847 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_next()
853 bio = cursor->bio; in ceph_msg_data_bio_next()
[all …]
/linux-4.4.14/drivers/staging/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 …]
Dspkguide.txt178 keypad period -- speak current cursor position and announce current
199 "Press space to leave help, cursor up or down to scroll, or a letter to
207 through the list of available commands using the cursor keys. The list
741 In Speakup version 2.0 and later, cursor tracking is turned on by
744 cursor keys, and lines as you move up and down with the cursor keys.
745 This is the traditional sort of cursor tracking.
747 text that is spoken when the cursor is moved:
750 Sometimes, these modes get in your way, so you can disable cursor tracking
753 You may select among the various forms of cursor tracking using the keypad
756 the name of the new mode. The names for the four possible states of cursor
[all …]
Dkobjects.c705 enum msg_index_t cursor; in message_show_helper() local
709 for (cursor = first; cursor <= last; cursor++, index++) { in message_show_helper()
713 index, spk_msg_get(cursor)); in message_show_helper()
/linux-4.4.14/crypto/asymmetric_keys/
Dverify_pefile.c36 size_t cursor, datalen = pelen; in pefile_parse_binary() local
49 cursor = sizeof(*mz); in pefile_parse_binary()
51 chkaddr(cursor, mz->peaddr, sizeof(*pe)); in pefile_parse_binary()
55 cursor = mz->peaddr + sizeof(*pe); in pefile_parse_binary()
57 chkaddr(0, cursor, sizeof(pe32->magic)); in pefile_parse_binary()
58 pe32 = pebuf + cursor; in pefile_parse_binary()
59 pe64 = pebuf + cursor; in pefile_parse_binary()
63 chkaddr(0, cursor, sizeof(*pe32)); in pefile_parse_binary()
67 cursor += sizeof(*pe32); in pefile_parse_binary()
72 chkaddr(0, cursor, sizeof(*pe64)); in pefile_parse_binary()
[all …]
Dasymmetric_type.c380 struct asymmetric_key_parser *cursor; in register_asymmetric_key_parser() local
385 list_for_each_entry(cursor, &asymmetric_key_parsers, link) { in register_asymmetric_key_parser()
386 if (strcmp(cursor->name, parser->name) == 0) { in register_asymmetric_key_parser()
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbdrv.c154 struct fb_cursor *cursor);
611 dinfo->cursor.size = HW_CURSOR_SIZE; in intelfb_pci_register()
637 dinfo->cursor.offset = offset + in intelfb_pci_register()
642 + (dinfo->cursor.size >> 12); in intelfb_pci_register()
693 agp_allocate_memory(bridge, dinfo->cursor.size >> 12, in intelfb_pci_register()
701 dinfo->cursor.offset)) { in intelfb_pci_register()
708 dinfo->cursor.physical in intelfb_pci_register()
711 dinfo->cursor.physical = dinfo->aperture.physical in intelfb_pci_register()
712 + (dinfo->cursor.offset << 12); in intelfb_pci_register()
713 dinfo->cursor.virtual = dinfo->aperture.virtual in intelfb_pci_register()
[all …]
Dintelfbhw.c1848 if (!dinfo->cursor.physical) in intelfbhw_cursor_init()
1856 OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.physical); in intelfbhw_cursor_init()
1863 OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.offset << 12); in intelfbhw_cursor_init()
1880 if (!dinfo->cursor.physical) in intelfbhw_cursor_hide()
1887 OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.physical); in intelfbhw_cursor_hide()
1909 if (!dinfo->cursor.physical) in intelfbhw_cursor_show()
1916 OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.physical); in intelfbhw_cursor_show()
1943 OUTREG(CURSOR_A_BASEADDR, dinfo->cursor.physical); in intelfbhw_cursor_setpos()
1961 u8 __iomem *addr = (u8 __iomem *)dinfo->cursor.virtual; in intelfbhw_cursor_load()
1969 if (!dinfo->cursor.virtual) in intelfbhw_cursor_load()
[all …]
Dintelfb.h294 struct intelfb_heap_data cursor; member
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_crtc.c48 } cursor; member
386 spin_lock_irqsave(&mdp4_crtc->cursor.lock, flags); in update_cursor()
387 if (mdp4_crtc->cursor.stale) { in update_cursor()
388 struct drm_gem_object *next_bo = mdp4_crtc->cursor.next_bo; in update_cursor()
389 struct drm_gem_object *prev_bo = mdp4_crtc->cursor.scanout_bo; in update_cursor()
390 uint32_t iova = mdp4_crtc->cursor.next_iova; in update_cursor()
399 MDP4_DMA_CURSOR_SIZE_WIDTH(mdp4_crtc->cursor.width) | in update_cursor()
400 MDP4_DMA_CURSOR_SIZE_HEIGHT(mdp4_crtc->cursor.height)); in update_cursor()
415 mdp4_crtc->cursor.scanout_bo = next_bo; in update_cursor()
416 mdp4_crtc->cursor.stale = false; in update_cursor()
[all …]
/linux-4.4.14/lib/
Dassoc_array.c31 const struct assoc_array_ptr *cursor, *ptr, *parent; in assoc_array_subtree_iterate() local
35 cursor = root; in assoc_array_subtree_iterate()
38 if (assoc_array_ptr_is_shortcut(cursor)) { in assoc_array_subtree_iterate()
40 shortcut = assoc_array_ptr_to_shortcut(cursor); in assoc_array_subtree_iterate()
42 cursor = ACCESS_ONCE(shortcut->next_node); in assoc_array_subtree_iterate()
45 node = assoc_array_ptr_to_node(cursor); in assoc_array_subtree_iterate()
88 node = assoc_array_ptr_to_node(cursor); in assoc_array_subtree_iterate()
94 cursor = ptr; in assoc_array_subtree_iterate()
109 cursor = parent; in assoc_array_subtree_iterate()
117 cursor = parent; in assoc_array_subtree_iterate()
[all …]
/linux-4.4.14/Documentation/
DVGA-softcursor.txt1 Software cursor for VGA by Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
4 Linux now has some ability to manipulate cursor appearance. Normally, you
5 can set the size of hardware cursor (and also work around some ugly bugs in
7 vgacon.c). You can now play a few new tricks: you can make your cursor look
10 hardware cursor should remain visible or not. There may be other things I have
13 The cursor appearance is controlled by a "<ESC>[?1;2;3c" escape sequence
17 Parameter 1 specifies cursor size (0=default, 1=invisible, 2=underline, ...,
18 8=full block) + 16 if you want the software cursor to be applied + 32 if you
Dbraille-console.txt23 to the cursor, hence providing very basic screen reviewing facility.
Dsvga.txt57 Enter mode number or `scan': <flashing-cursor-here>
70 <flashing-cursor-here> encourages you to enter the item number or mode ID
Demail-clients.txt75 When composing the message, the cursor should be placed where the patch
D00-INDEX67 - how to change your VGA cursor from a blinking underscore.
Dkernel-parameters.txt4069 vt.cur_default= [VT] Default cursor shape.
4102 Set system-wide default for whether a cursor
/linux-4.4.14/drivers/video/fbdev/
Dpm2fb.c1257 static int pm2vfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in pm2vfb_cursor() argument
1261 int x = cursor->image.dx - info->var.xoffset; in pm2vfb_cursor()
1262 int y = cursor->image.dy - info->var.yoffset; in pm2vfb_cursor()
1264 if (cursor->enable) in pm2vfb_cursor()
1269 if (!cursor->enable) in pm2vfb_cursor()
1281 if (!cursor->set) in pm2vfb_cursor()
1284 if (cursor->set & FB_CUR_SETHOT) { in pm2vfb_cursor()
1286 cursor->hot.x & 0x3f); in pm2vfb_cursor()
1288 cursor->hot.y & 0x3f); in pm2vfb_cursor()
1291 if (cursor->set & FB_CUR_SETCMAP) { in pm2vfb_cursor()
[all …]
Dpmag-aa-fb.c87 struct aafb_cursor cursor; member
107 struct aafb_cursor *c = &info->cursor; in aafb_set_cursor()
119 struct aafb_cursor *c = &info->cursor; in aafbcon_cursor()
151 struct aafb_cursor *c = &info->cursor; in aafbcon_set_font()
168 struct aafb_cursor *c = &info->cursor; in aafb_cursor_timer_handler()
186 struct aafb_cursor *c = &info->cursor; in aafb_cursor_init()
203 struct aafb_cursor *c = &info->cursor; in aafb_cursor_exit()
215 .cursor = aafbcon_cursor,
384 aafbcon_cursor(disp, CM_ERASE, ip->cursor.x, ip->cursor.y); in aafb_update_var()
397 aafbcon_cursor(&ip->disp, CM_ERASE, ip->cursor.x, ip->cursor.y); in aafb_blank()
Dfsl-diu-fb.c381 __le16 cursor[MAX_CURS * MAX_CURS] __aligned(32); member
447 hw->pallete, hw->cursor, hw->curs_pos, hw->diu_mode, in fsl_diu_dump()
1005 __le16 *cursor = data->cursor; in fsl_diu_load_cursor_image() local
1015 cursor[w] = (line & mask) ? _fg : _bg; in fsl_diu_load_cursor_image()
1019 cursor += MAX_CURS; in fsl_diu_load_cursor_image()
1028 static int fsl_diu_cursor(struct fb_info *info, struct fb_cursor *cursor) in fsl_diu_cursor() argument
1034 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) in fsl_diu_cursor()
1038 if (cursor->set & FB_CUR_SETSIZE) { in fsl_diu_cursor()
1046 memset(data->cursor, 0, sizeof(data->cursor)); in fsl_diu_cursor()
1050 if (cursor->set & FB_CUR_SETPOS) { in fsl_diu_cursor()
[all …]
Dsm501fb.c108 struct sm501_mem cursor; member
1040 static int sm501fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in sm501fb_cursor() argument
1048 dev_dbg(fbi->dev, "%s(%p,%p)\n", __func__, info, cursor); in sm501fb_cursor()
1057 if (cursor->image.width > 64) in sm501fb_cursor()
1060 if (cursor->image.height > 64) in sm501fb_cursor()
1063 if (cursor->image.depth > 1) in sm501fb_cursor()
1068 if (cursor->enable) in sm501fb_cursor()
1076 if (cursor->set & FB_CUR_SETPOS) { in sm501fb_cursor()
1077 unsigned int x = cursor->image.dx; in sm501fb_cursor()
1078 unsigned int y = cursor->image.dy; in sm501fb_cursor()
[all …]
Dpm3fb.c612 static int pm3fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in pm3fb_cursor() argument
621 if (cursor->image.width > 64 || in pm3fb_cursor()
622 cursor->image.height > 64 || in pm3fb_cursor()
623 cursor->image.depth > 1) in pm3fb_cursor()
627 if (cursor->enable) in pm3fb_cursor()
637 if (!cursor->set) in pm3fb_cursor()
640 if (cursor->set & FB_CUR_SETPOS) { in pm3fb_cursor()
641 int x = cursor->image.dx - info->var.xoffset; in pm3fb_cursor()
642 int y = cursor->image.dy - info->var.yoffset; in pm3fb_cursor()
650 if (cursor->set & FB_CUR_SETHOT) { in pm3fb_cursor()
[all …]
Dcobalt_lcdfb.c291 static int cobalt_lcdfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in cobalt_lcdfb_cursor() argument
296 switch (cursor->set) { in cobalt_lcdfb_cursor()
298 x = cursor->image.dx; in cobalt_lcdfb_cursor()
299 y = cursor->image.dy; in cobalt_lcdfb_cursor()
318 if (cursor->enable) in cobalt_lcdfb_cursor()
Dleo.c186 struct leo_cursor __iomem *cursor; member
212 struct leo_cursor __iomem *cursor = par->cursor; in leo_switch_from_graph() local
245 sbus_writel(sbus_readl(&cursor->cur_misc) & ~LEO_CUR_ENABLE, &cursor->cur_misc); in leo_switch_from_graph()
543 if (par->cursor) in leo_unmap_regs()
545 par->cursor, sizeof(struct leo_cursor)); in leo_unmap_regs()
588 par->cursor = in leo_probe()
598 !par->cursor || in leo_probe()
Dg364fb.c111 static int g364fb_cursor(struct fb_info *info, struct fb_cursor *cursor);
125 int g364fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in g364fb_cursor() argument
128 switch (cursor->enable) { in g364fb_cursor()
Dtdfxfb.c1039 static int tdfxfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in tdfxfb_cursor() argument
1048 if (cursor->image.width > 64 || in tdfxfb_cursor()
1049 cursor->image.height > 64 || in tdfxfb_cursor()
1050 cursor->image.depth > 1) in tdfxfb_cursor()
1054 if (cursor->enable) in tdfxfb_cursor()
1064 if (!cursor->set) in tdfxfb_cursor()
1068 if (cursor->set & FB_CUR_SETCMAP) { in tdfxfb_cursor()
1070 u32 bg_idx = cursor->image.bg_color; in tdfxfb_cursor()
1071 u32 fg_idx = cursor->image.fg_color; in tdfxfb_cursor()
1085 if (cursor->set & FB_CUR_SETPOS) { in tdfxfb_cursor()
[all …]
Dimsttfb.c1199 imsttfb_cursor(struct fb_info *info, struct fb_cursor *cursor)
1202 u32 flags = cursor->set, fg, bg, xx, yy;
1204 if (cursor->dest == NULL && cursor->rop == ROP_XOR)
1207 imstt_set_cursor(info, cursor, 0);
1210 xx = cursor->image.dx - info->var.xoffset;
1211 yy = cursor->image.dy - info->var.yoffset;
1218 int fg_idx = cursor->image.fg_color;
1219 int width = (cursor->image.width+7)/8;
1220 u8 *dat = (u8 *) cursor->image.data;
1221 u8 *dst = (u8 *) cursor->dest;
[all …]
Dcg14.c193 struct cg14_cursor __iomem *cursor; member
458 if (par->cursor) in cg14_unmap_regs()
460 par->cursor, sizeof(struct cg14_cursor)); in cg14_unmap_regs()
504 par->cursor = of_ioremap(&op->resource[0], CG14_CURSORREGS, in cg14_probe()
510 if (!par->regs || !par->clut || !par->cursor || !info->screen_base) in cg14_probe()
Dbfin_adv7393fb.h317 int bfin_adv7393_fb_cursor(struct fb_info *info, struct fb_cursor *cursor);
Dskeletonfb.c580 int xxxfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in xxxfb_cursor() argument
Dbw2.c59 u32 cursor; member
Dcg3.c84 u32 cursor; member
Dvt8623fb.c114 static void vt8623fb_tilecursor(struct fb_info *info, struct fb_tilecursor *cursor) in vt8623fb_tilecursor() argument
118 svga_tilecursor(par->state.vgabase, info, cursor); in vt8623fb_tilecursor()
Dtcx.c103 u32 cursor; member
Dbfin-t350mcqb-fb.c295 int bfin_t350mcqb_fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in bfin_t350mcqb_fb_cursor() argument
Darkfb.c147 static void arkfb_tilecursor(struct fb_info *info, struct fb_tilecursor *cursor) in arkfb_tilecursor() argument
151 svga_tilecursor(par->state.vgabase, info, cursor); in arkfb_tilecursor()
Dbf54x-lq043fb.c373 int bfin_bf54x_fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in bfin_bf54x_fb_cursor() argument
Dbf537-lq035.c579 static int bfin_lq035_fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in bfin_lq035_fb_cursor() argument
Ds3fb.c312 static void s3fb_tilecursor(struct fb_info *info, struct fb_tilecursor *cursor) in s3fb_tilecursor() argument
316 svga_tilecursor(par->state.vgabase, info, cursor); in s3fb_tilecursor()
Dbfin_adv7393fb.c677 int bfin_adv7393_fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in bfin_adv7393_fb_cursor() argument
Dbfin-lq035q1-fb.c490 int bfin_lq035q1_fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in bfin_lq035q1_fb_cursor() argument
Dcg6.c251 u32 cursor; member
/linux-4.4.14/security/keys/
Dgc.c187 struct rb_node *cursor; in key_garbage_collector() local
216 cursor = rb_first(&key_serial_tree); in key_garbage_collector()
219 while (cursor) { in key_garbage_collector()
220 key = rb_entry(cursor, struct key, serial_node); in key_garbage_collector()
221 cursor = rb_next(cursor); in key_garbage_collector()
266 if (cursor) { in key_garbage_collector()
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Dcursor.c65 crtc->cursor.set_offset = nv04_cursor_set_offset; in nv04_cursor_init()
66 crtc->cursor.set_pos = nv04_cursor_set_pos; in nv04_cursor_init()
67 crtc->cursor.hide = nv04_cursor_hide; in nv04_cursor_init()
68 crtc->cursor.show = nv04_cursor_show; in nv04_cursor_init()
Dcrtc.c165 nv_crtc->cursor.set_offset(nv_crtc, nv_crtc->cursor.offset); in nv_crtc_calc_state_ext()
760 nouveau_bo_unmap(nv_crtc->cursor.nvbo); in nv_crtc_destroy()
761 nouveau_bo_unpin(nv_crtc->cursor.nvbo); in nv_crtc_destroy()
762 nouveau_bo_ref(NULL, &nv_crtc->cursor.nvbo); in nv_crtc_destroy()
993 struct nouveau_bo *cursor = NULL; in nv04_crtc_cursor_set() local
998 nv_crtc->cursor.hide(nv_crtc, true); in nv04_crtc_cursor_set()
1008 cursor = nouveau_gem_object(gem); in nv04_crtc_cursor_set()
1010 ret = nouveau_bo_map(cursor); in nv04_crtc_cursor_set()
1015 nv11_cursor_upload(dev, cursor, nv_crtc->cursor.nvbo); in nv04_crtc_cursor_set()
1017 nv04_cursor_upload(dev, cursor, nv_crtc->cursor.nvbo); in nv04_crtc_cursor_set()
[all …]
DKbuild3 nouveau-y += dispnv04/cursor.o
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_crtc.c77 } cursor; member
498 *roi_w = min(mdp5_crtc->cursor.width, xres - in get_roi()
499 mdp5_crtc->cursor.x); in get_roi()
500 *roi_h = min(mdp5_crtc->cursor.height, yres - in get_roi()
501 mdp5_crtc->cursor.y); in get_roi()
547 spin_lock_irqsave(&mdp5_crtc->cursor.lock, flags); in mdp5_crtc_cursor_set()
548 old_bo = mdp5_crtc->cursor.scanout_bo; in mdp5_crtc_cursor_set()
550 mdp5_crtc->cursor.scanout_bo = cursor_bo; in mdp5_crtc_cursor_set()
551 mdp5_crtc->cursor.width = width; in mdp5_crtc_cursor_set()
552 mdp5_crtc->cursor.height = height; in mdp5_crtc_cursor_set()
[all …]
/linux-4.4.14/net/unix/
Dgarbage.c275 struct list_head cursor; in unix_gc() local
329 list_add(&cursor, &gc_candidates); in unix_gc()
330 while (cursor.next != &gc_candidates) { in unix_gc()
331 u = list_entry(cursor.next, struct unix_sock, link); in unix_gc()
334 list_move(&cursor, &u->link); in unix_gc()
342 list_del(&cursor); in unix_gc()
/linux-4.4.14/arch/parisc/include/asm/
Dcacheflush.h60 void *cursor = vaddr; in invalidate_kernel_vmap_range() local
62 for ( ; cursor < vaddr + size; cursor += PAGE_SIZE) { in invalidate_kernel_vmap_range()
63 struct page *page = vmalloc_to_page(cursor); in invalidate_kernel_vmap_range()
/linux-4.4.14/mm/
Dnobootmem.c81 unsigned long cursor, end; in free_bootmem_late() local
85 cursor = PFN_UP(addr); in free_bootmem_late()
88 for (; cursor < end; cursor++) { in free_bootmem_late()
89 __free_pages_bootmem(pfn_to_page(cursor), cursor, 0); in free_bootmem_late()
Dbootmem.c159 unsigned long cursor, end; in free_bootmem_late() local
163 cursor = PFN_UP(physaddr); in free_bootmem_late()
166 for (; cursor < end; cursor++) { in free_bootmem_late()
167 __free_pages_bootmem(pfn_to_page(cursor), cursor, 0); in free_bootmem_late()
Dcompaction.c401 struct page *cursor, *valid_page = NULL; in isolate_freepages_block() local
406 cursor = pfn_to_page(blockpfn); in isolate_freepages_block()
409 for (; blockpfn < end_pfn; blockpfn++, cursor++) { in isolate_freepages_block()
411 struct page *page = cursor; in isolate_freepages_block()
441 cursor += (1UL << comp_order) - 1; in isolate_freepages_block()
494 cursor += isolated - 1; in isolate_freepages_block()
Dmemblock.c1416 u64 cursor, end; in __memblock_free_late() local
1422 cursor = PFN_UP(base); in __memblock_free_late()
1425 for (; cursor < end; cursor++) { in __memblock_free_late()
1426 __free_pages_bootmem(pfn_to_page(cursor), cursor, 0); in __memblock_free_late()
/linux-4.4.14/drivers/dma/ppc4xx/
Dadma.c126 struct ppc440spe_rxor *cursor, int index,
2078 static void ppc440spe_init_rxor_cursor(struct ppc440spe_rxor *cursor);
3240 struct ppc440spe_rxor *cursor, int index, int src_cnt) in ppc440spe_adma_dma2rxor_inc_addr() argument
3242 cursor->addr_count++; in ppc440spe_adma_dma2rxor_inc_addr()
3244 ppc440spe_desc_set_xor_src_cnt(desc, cursor->addr_count); in ppc440spe_adma_dma2rxor_inc_addr()
3245 } else if (cursor->addr_count == XOR_MAX_OPS) { in ppc440spe_adma_dma2rxor_inc_addr()
3246 ppc440spe_desc_set_xor_src_cnt(desc, cursor->addr_count); in ppc440spe_adma_dma2rxor_inc_addr()
3247 cursor->addr_count = 0; in ppc440spe_adma_dma2rxor_inc_addr()
3248 cursor->desc_count++; in ppc440spe_adma_dma2rxor_inc_addr()
3257 struct ppc440spe_rxor *cursor, int index, in ppc440spe_adma_dma2rxor_prep_src() argument
[all …]
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_display.c52 output->cursor.hdr.type = cpu_to_le32(VIRTIO_GPU_CMD_UPDATE_CURSOR); in virtio_gpu_hide_cursor()
53 output->cursor.resource_id = 0; in virtio_gpu_hide_cursor()
102 output->cursor.hdr.type = cpu_to_le32(VIRTIO_GPU_CMD_UPDATE_CURSOR); in virtio_gpu_crtc_cursor_set()
103 output->cursor.resource_id = cpu_to_le32(qobj->hw_res_handle); in virtio_gpu_crtc_cursor_set()
104 output->cursor.hot_x = cpu_to_le32(hot_x); in virtio_gpu_crtc_cursor_set()
105 output->cursor.hot_y = cpu_to_le32(hot_y); in virtio_gpu_crtc_cursor_set()
121 output->cursor.hdr.type = cpu_to_le32(VIRTIO_GPU_CMD_MOVE_CURSOR); in virtio_gpu_crtc_cursor_move()
122 output->cursor.pos.x = cpu_to_le32(x); in virtio_gpu_crtc_cursor_move()
123 output->cursor.pos.y = cpu_to_le32(y); in virtio_gpu_crtc_cursor_move()
Dvirtgpu_vq.c921 output->cursor.pos.scanout_id = cpu_to_le32(output->index); in virtio_gpu_cursor_ping()
923 memcpy(cur_p, &output->cursor, sizeof(output->cursor)); in virtio_gpu_cursor_ping()
Dvirtgpu_drv.h112 struct virtio_gpu_update_cursor cursor; member
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_display.c586 if (nv_crtc->cursor.nvbo) { in nouveau_display_suspend()
587 if (nv_crtc->cursor.set_offset) in nouveau_display_suspend()
588 nouveau_bo_unmap(nv_crtc->cursor.nvbo); in nouveau_display_suspend()
589 nouveau_bo_unpin(nv_crtc->cursor.nvbo); in nouveau_display_suspend()
618 if (!nv_crtc->cursor.nvbo) in nouveau_display_resume()
621 ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, TTM_PL_FLAG_VRAM, true); in nouveau_display_resume()
622 if (!ret && nv_crtc->cursor.set_offset) in nouveau_display_resume()
623 ret = nouveau_bo_map(nv_crtc->cursor.nvbo); in nouveau_display_resume()
653 if (!nv_crtc->cursor.nvbo) in nouveau_display_resume()
656 if (nv_crtc->cursor.set_offset) in nouveau_display_resume()
[all …]
Dnouveau_crtc.h63 } cursor; member
Dnv50_display.c950 evo_data(push, nv_crtc->cursor.nvbo->bo.offset >> 8); in nv50_crtc_cursor_show()
955 evo_data(push, nv_crtc->cursor.nvbo->bo.offset >> 8); in nv50_crtc_cursor_show()
961 evo_data(push, nv_crtc->cursor.nvbo->bo.offset >> 8); in nv50_crtc_cursor_show()
967 nv_crtc->cursor.visible = true; in nv50_crtc_cursor_show()
993 nv_crtc->cursor.visible = false; in nv50_crtc_cursor_hide()
1001 if (show && nv_crtc->cursor.nvbo && nv_crtc->base.enabled) in nv50_crtc_cursor_show_hide()
1319 if (nv_crtc->cursor.nvbo) in nv50_crtc_cursor_set()
1320 nouveau_bo_unpin(nv_crtc->cursor.nvbo); in nv50_crtc_cursor_set()
1321 nouveau_bo_ref(nvbo, &nv_crtc->cursor.nvbo); in nv50_crtc_cursor_set()
1393 if (nv_crtc->cursor.nvbo) in nv50_crtc_destroy()
[all …]
/linux-4.4.14/kernel/
Daudit_tree.c587 struct list_head cursor; in audit_trim_trees() local
590 list_add(&cursor, &tree_list); in audit_trim_trees()
591 while (cursor.next != &tree_list) { in audit_trim_trees()
598 tree = container_of(cursor.next, struct audit_tree, list); in audit_trim_trees()
600 list_del(&cursor); in audit_trim_trees()
601 list_add(&cursor, &tree->list); in audit_trim_trees()
629 list_del(&cursor); in audit_trim_trees()
781 struct list_head cursor, barrier; in audit_tag_tree() local
803 list_add(&cursor, &barrier); in audit_tag_tree()
805 while (cursor.next != &tree_list) { in audit_tag_tree()
[all …]
/linux-4.4.14/tools/perf/
Dbuiltin-timechart.c199 struct per_pid *cursor = tchart->all_data; in find_create_pid() local
201 while (cursor) { in find_create_pid()
202 if (cursor->pid == pid) in find_create_pid()
203 return cursor; in find_create_pid()
204 cursor = cursor->next; in find_create_pid()
206 cursor = zalloc(sizeof(*cursor)); in find_create_pid()
207 assert(cursor != NULL); in find_create_pid()
208 cursor->pid = pid; in find_create_pid()
209 cursor->next = tchart->all_data; in find_create_pid()
210 tchart->all_data = cursor; in find_create_pid()
[all …]
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnvidia.c529 static int nvidiafb_cursor(struct fb_info *info, struct fb_cursor *cursor) in nvidiafb_cursor() argument
533 int i, set = cursor->set; in nvidiafb_cursor()
536 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) in nvidiafb_cursor()
552 yy = cursor->image.dy - info->var.yoffset; in nvidiafb_cursor()
553 xx = cursor->image.dx - info->var.xoffset; in nvidiafb_cursor()
561 u32 bg_idx = cursor->image.bg_color; in nvidiafb_cursor()
562 u32 fg_idx = cursor->image.fg_color; in nvidiafb_cursor()
563 u32 s_pitch = (cursor->image.width + 7) >> 3; in nvidiafb_cursor()
565 u8 *dat = (u8 *) cursor->image.data; in nvidiafb_cursor()
566 u8 *msk = (u8 *) cursor->mask; in nvidiafb_cursor()
[all …]
/linux-4.4.14/drivers/video/fbdev/via/
Dviafbdev.c771 static int viafb_cursor(struct fb_info *info, struct fb_cursor *cursor) in viafb_cursor() argument
789 if (cursor->set & FB_CUR_SETHOT) { in viafb_cursor()
790 temp = (cursor->hot.x << 16) + cursor->hot.y; in viafb_cursor()
794 if (cursor->set & FB_CUR_SETPOS) { in viafb_cursor()
795 yy = cursor->image.dy - info->var.yoffset; in viafb_cursor()
796 xx = cursor->image.dx - info->var.xoffset; in viafb_cursor()
802 if (cursor->image.width <= 32 && cursor->image.height <= 32) in viafb_cursor()
804 else if (cursor->image.width <= 64 && cursor->image.height <= 64) in viafb_cursor()
808 "%dx%d", cursor->image.width, cursor->image.height); in viafb_cursor()
812 if (cursor->set & FB_CUR_SETSIZE) { in viafb_cursor()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/phy/
Dapm-xgene-phy.txt35 - apm,tx-pre-cursor1 : 1st pre-cursor emphasis taps control. Two set of
39 - apm,tx-pre-cursor2 : 2st pre-cursor emphasis taps control. Two set of
43 - apm,tx-post-cursor : Post-cursor emphasis taps control. Two set of
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_display.c310 struct qxl_cursor *cursor; in qxl_crtc_cursor_set2() local
357 ret = qxl_bo_kmap(cursor_bo, (void **)&cursor); in qxl_crtc_cursor_set2()
361 cursor->header.unique = 0; in qxl_crtc_cursor_set2()
362 cursor->header.type = SPICE_CURSOR_TYPE_ALPHA; in qxl_crtc_cursor_set2()
363 cursor->header.width = 64; in qxl_crtc_cursor_set2()
364 cursor->header.height = 64; in qxl_crtc_cursor_set2()
365 cursor->header.hot_spot_x = hot_x; in qxl_crtc_cursor_set2()
366 cursor->header.hot_spot_y = hot_y; in qxl_crtc_cursor_set2()
367 cursor->data_size = size; in qxl_crtc_cursor_set2()
368 cursor->chunk.next_chunk = 0; in qxl_crtc_cursor_set2()
[all …]
/linux-4.4.14/arch/x86/kernel/
Duprobes.c342 u8 *cursor; in riprel_analyze() local
355 cursor = auprobe->insn + insn_offset_rex_prefix(insn); in riprel_analyze()
357 *cursor &= 0xfe; in riprel_analyze()
372 cursor = auprobe->insn + insn_offset_vex_prefix(insn) + 1; in riprel_analyze()
373 *cursor |= 0x20; in riprel_analyze()
452 cursor = auprobe->insn + insn_offset_modrm(insn); in riprel_analyze()
458 *cursor = 0x80 | (reg << 3) | reg2; in riprel_analyze()
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_main.c81 static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor);
1478 static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in i810fb_cursor() argument
1486 if (cursor->image.width > 64 || cursor->image.height > 64) in i810fb_cursor()
1491 cursor->set |= FB_CUR_SETALL; in i810fb_cursor()
1496 if (cursor->set & FB_CUR_SETPOS) { in i810fb_cursor()
1499 tmp = (cursor->image.dx - info->var.xoffset) & 0xffff; in i810fb_cursor()
1500 tmp |= (cursor->image.dy - info->var.yoffset) << 16; in i810fb_cursor()
1504 if (cursor->set & FB_CUR_SETSIZE) in i810fb_cursor()
1507 if (cursor->set & FB_CUR_SETCMAP) in i810fb_cursor()
1508 i810_load_cursor_colors(cursor->image.fg_color, in i810fb_cursor()
[all …]
/linux-4.4.14/drivers/video/fbdev/riva/
Dfbdev.c1577 static int rivafb_cursor(struct fb_info *info, struct fb_cursor *cursor) in rivafb_cursor() argument
1581 int i, set = cursor->set; in rivafb_cursor()
1584 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) in rivafb_cursor()
1600 yy = cursor->image.dy - info->var.yoffset; in rivafb_cursor()
1601 xx = cursor->image.dx - info->var.xoffset; in rivafb_cursor()
1610 u32 bg_idx = cursor->image.bg_color; in rivafb_cursor()
1611 u32 fg_idx = cursor->image.fg_color; in rivafb_cursor()
1612 u32 s_pitch = (cursor->image.width+7) >> 3; in rivafb_cursor()
1614 u8 *dat = (u8 *) cursor->image.data; in rivafb_cursor()
1615 u8 *msk = (u8 *) cursor->mask; in rivafb_cursor()
[all …]
Driva_hw.c125 int cursor; in ShowHideCursor() local
126 cursor = chip->CurrentState->cursor1; in ShowHideCursor()
131 return (cursor & 0x01); in ShowHideCursor()
/linux-4.4.14/fs/overlayfs/
Dreaddir.c52 struct list_head *cursor; member
277 od->cursor = NULL; in ovl_dir_reset()
328 od->cursor = p; in ovl_seek_cursor()
386 while (od->cursor != &od->cache->entries) { in ovl_iterate()
387 p = list_entry(od->cursor, struct ovl_cache_entry, l_node); in ovl_iterate()
391 od->cursor = p->l_node.next; in ovl_iterate()
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c346 planes->cursor ? &planes->cursor->base : NULL, in atmel_hlcdc_crtc_create()
353 if (planes->cursor) in atmel_hlcdc_crtc_create()
354 planes->cursor->base.possible_crtcs = 1 << crtc->id; in atmel_hlcdc_crtc_create()
Datmel_hlcdc_dc.h116 struct atmel_hlcdc_plane *cursor; member
Datmel_hlcdc_dc.c458 if (planes->cursor) in atmel_hlcdc_dc_modeset_init()
459 dc->layers[planes->cursor->layer.desc->id] = in atmel_hlcdc_dc_modeset_init()
460 &planes->cursor->layer; in atmel_hlcdc_dc_modeset_init()
Datmel_hlcdc_plane.c1039 if (planes->cursor) in atmel_hlcdc_create_planes()
1041 planes->cursor = plane; in atmel_hlcdc_create_planes()
/linux-4.4.14/Documentation/fb/
Dvt8623fb.txt51 * hardware cursor
60 * cursor disable in text mode doesn't work
Darkfb.txt56 * hardware cursor
65 * character attributes (and cursor) in text mode are broken
Ds3fb.txt66 * hardware cursor
77 * cursor disable in text mode doesn't work
Dintelfb.txt60 enable cursor acceleration.
97 framebuffer will use 8 MB of System RAM. hw acceleration of text and cursor
Dmatroxfb.txt190 nohwcursor - disables hardware cursor (use software cursor instead).
191 hwcursor - enables hardware cursor. It is default. If you are using
193 cursor is used (except for text mode).
194 noblink - disables cursor blinking. Cursor in text mode always blinks (hw
196 blink - enables cursor blinking. It is default.
/linux-4.4.14/Documentation/input/
Datarikbd.txt51 within the ikbd, or by converting mouse motion into keyboard cursor control
92 The ikbd can translate mouse motion into the equivalent cursor keystrokes.
95 highest resolution available, and merely generates a pair of cursor key events
97 Mouse motion produces the cursor key make code immediately followed by the
98 break code for the appropriate cursor key. The mouse buttons produce scan
148 equivalent cursor control keystroke(s). The ikbd provides a single breakpoint
149 velocity joystick cursor.
151 for the appropriate cursor motion keys. The trigger or fire buttons of the
259 Set mouse monitoring routines to return cursor motion keycodes instead of
261 cursor keycode after mouse travel exceeding the user specified deltas in
[all …]
Delantech.txt234 smart edge cursor speed (0x02 = slow, 0x03 = medium, 0x04 = fast)
/linux-4.4.14/drivers/video/fbdev/core/
Dsvgalib.c302 void svga_tilecursor(void __iomem *regbase, struct fb_info *info, struct fb_tilecursor *cursor) in svga_tilecursor() argument
306 u16 pos = cursor->sx + (info->var.xoffset / 8) in svga_tilecursor()
307 + (cursor->sy + (info->var.yoffset / 16)) in svga_tilecursor()
310 if (! cursor -> mode) in svga_tilecursor()
315 if (cursor -> shape == FB_TILE_CURSOR_NONE) in svga_tilecursor()
318 switch (cursor -> shape) { in svga_tilecursor()
Dfbsysfs.c503 __ATTR(cursor, S_IRUGO|S_IWUSR, show_cursor, store_cursor),
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_pm.c684 const struct intel_watermark_params *cursor, in g4x_compute_wm0() argument
697 *cursor_wm = cursor->guard_size; in g4x_compute_wm0()
721 entries = line_count * crtc->cursor->state->crtc_w * pixel_size; in g4x_compute_wm0()
722 tlb_miss = cursor->fifo_size*cursor->cacheline_size - hdisplay * 8; in g4x_compute_wm0()
725 entries = DIV_ROUND_UP(entries, cursor->cacheline_size); in g4x_compute_wm0()
726 *cursor_wm = entries + cursor->guard_size; in g4x_compute_wm0()
727 if (*cursor_wm > (int)cursor->max_wm) in g4x_compute_wm0()
728 *cursor_wm = (int)cursor->max_wm; in g4x_compute_wm0()
743 const struct intel_watermark_params *cursor) in g4x_check_srwm() argument
754 if (cursor_wm > cursor->max_wm) { in g4x_check_srwm()
[all …]
Dintel_lrc.c407 struct drm_i915_gem_request *cursor = NULL, *tmp = NULL; in execlists_context_unqueue() local
421 list_for_each_entry_safe(cursor, tmp, &ring->execlist_queue, in execlists_context_unqueue()
424 req0 = cursor; in execlists_context_unqueue()
425 } else if (req0->ctx == cursor->ctx) { in execlists_context_unqueue()
428 cursor->elsp_submitted = req0->elsp_submitted; in execlists_context_unqueue()
432 req0 = cursor; in execlists_context_unqueue()
434 req1 = cursor; in execlists_context_unqueue()
566 struct drm_i915_gem_request *cursor; in execlists_context_queue() local
576 list_for_each_entry(cursor, &ring->execlist_queue, execlist_link) in execlists_context_queue()
Dintel_display.c9936 unsigned int width = intel_crtc->base.cursor->state->crtc_w; in i845_update_cursor()
9937 unsigned int height = intel_crtc->base.cursor->state->crtc_h; in i845_update_cursor()
10000 switch (intel_crtc->base.cursor->state->crtc_w) { in i9xx_update_cursor()
10011 MISSING_CASE(intel_crtc->base.cursor->state->crtc_w); in i9xx_update_cursor()
10020 if (crtc->cursor->state->rotation == BIT(DRM_ROTATE_180)) in i9xx_update_cursor()
10044 struct drm_plane_state *cursor_state = crtc->cursor->state; in intel_crtc_update_cursor()
10079 crtc->cursor->state->rotation == BIT(DRM_ROTATE_180)) { in intel_crtc_update_cursor()
13835 struct intel_plane *cursor; in intel_cursor_plane_create() local
13838 cursor = kzalloc(sizeof(*cursor), GFP_KERNEL); in intel_cursor_plane_create()
13839 if (cursor == NULL) in intel_cursor_plane_create()
[all …]
Di915_drv.h1544 uint8_t cursor; member
1549 uint8_t cursor; member
1556 uint8_t cursor; member
Di915_debugfs.c2057 struct list_head *cursor; in i915_execlists() local
2103 list_for_each(cursor, &ring->execlist_queue) in i915_execlists()
2978 x, y, crtc->base.cursor->state->crtc_w, in i915_display_info()
2979 crtc->base.cursor->state->crtc_h, in i915_display_info()
/linux-4.4.14/fs/configfs/
Ddir.c1506 struct configfs_dirent * cursor = file->private_data; in configfs_dir_close() local
1510 list_del_init(&cursor->s_sibling); in configfs_dir_close()
1514 release_configfs_dirent(cursor); in configfs_dir_close()
1530 struct configfs_dirent *cursor = file->private_data; in configfs_readdir() local
1531 struct list_head *p, *q = &cursor->s_sibling; in configfs_readdir()
1608 struct configfs_dirent *cursor = file->private_data; in configfs_dir_lseek() local
1613 list_del(&cursor->s_sibling); in configfs_dir_lseek()
1623 list_add_tail(&cursor->s_sibling, p); in configfs_dir_lseek()
/linux-4.4.14/include/linux/
Dfsl-diu-fb.h146 __be32 cursor; member
Dsvga.h112 void svga_tilecursor(void __iomem *regbase, struct fb_info *info, struct fb_tilecursor *cursor);
Dfb.h279 int (*fb_cursor) (struct fb_info *info, struct fb_cursor *cursor);
381 struct fb_tilecursor *cursor);
Dlibata.h673 int cursor; member
/linux-4.4.14/drivers/net/ethernet/sfc/
Dptp.c930 struct list_head *cursor; in efx_ptp_drop_time_expired_events() local
939 list_for_each_safe(cursor, next, &ptp->evt_list) { in efx_ptp_drop_time_expired_events()
942 evt = list_entry(cursor, struct efx_ptp_event_rx, in efx_ptp_drop_time_expired_events()
959 struct list_head *cursor; in efx_ptp_match_rx() local
976 list_for_each_safe(cursor, next, &ptp->evt_list) { in efx_ptp_match_rx()
979 evt = list_entry(cursor, struct efx_ptp_event_rx, link); in efx_ptp_match_rx()
1127 struct list_head *cursor; in efx_ptp_stop() local
1144 list_for_each_safe(cursor, next, &efx->ptp_data->evt_list) { in efx_ptp_stop()
1145 list_move(cursor, &efx->ptp_data->evt_free_list); in efx_ptp_stop()
/linux-4.4.14/fs/
Dlibfs.c107 struct dentry *cursor = file->private_data; in dcache_dir_lseek() local
112 list_del(&cursor->d_child); in dcache_dir_lseek()
123 list_add_tail(&cursor->d_child, p); in dcache_dir_lseek()
147 struct dentry *cursor = file->private_data; in dcache_readdir() local
148 struct list_head *p, *q = &cursor->d_child; in dcache_readdir()
/linux-4.4.14/drivers/net/wireless/libertas/
Dif_spi.c83 struct list_head *cursor, *next; in free_if_spi_card() local
86 list_for_each_safe(cursor, next, &card->cmd_packet_list) { in free_if_spi_card()
87 packet = container_of(cursor, struct if_spi_packet, list); in free_if_spi_card()
91 list_for_each_safe(cursor, next, &card->data_packet_list) { in free_if_spi_card()
92 packet = container_of(cursor, struct if_spi_packet, list); in free_if_spi_card()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c56 SVGAFifoCmdDefineAlphaCursor cursor; in vmw_cursor_update_image() member
75 cmd->cursor.id = 0; in vmw_cursor_update_image()
76 cmd->cursor.width = width; in vmw_cursor_update_image()
77 cmd->cursor.height = height; in vmw_cursor_update_image()
78 cmd->cursor.hotspotX = hotspotX; in vmw_cursor_update_image()
79 cmd->cursor.hotspotY = hotspotY; in vmw_cursor_update_image()
228 drm_modeset_lock_crtc(crtc, crtc->cursor); in vmw_du_crtc_cursor_set2()
259 drm_modeset_lock_crtc(crtc, crtc->cursor); in vmw_du_crtc_cursor_move()
/linux-4.4.14/drivers/char/
Dmem.c66 u64 cursor = from; in range_is_allowed() local
68 while (cursor < to) { in range_is_allowed()
75 cursor += PAGE_SIZE; in range_is_allowed()
/linux-4.4.14/include/media/davinci/
Dvpbe_osd.h382 struct osd_cursor_state cursor; member
/linux-4.4.14/scripts/coccinelle/iterators/
Ditnull.cocci4 //# or in cases when the loop cursor is reassigned. The latter should only
Dfen.cocci1 /// These iterators only exit normally when the loop cursor is NULL, so there
/linux-4.4.14/arch/x86/mm/
Dpat.c707 u64 cursor = from; in range_is_allowed() local
712 while (cursor < to) { in range_is_allowed()
718 cursor += PAGE_SIZE; in range_is_allowed()
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddc.c1701 struct drm_plane *cursor = NULL; in tegra_dc_init() local
1727 cursor = tegra_dc_cursor_plane_create(drm, dc); in tegra_dc_init()
1728 if (IS_ERR(cursor)) { in tegra_dc_init()
1729 err = PTR_ERR(cursor); in tegra_dc_init()
1734 err = drm_crtc_init_with_planes(drm, &dc->base, primary, cursor, in tegra_dc_init()
1817 if (cursor) in tegra_dc_init()
1818 drm_plane_cleanup(cursor); in tegra_dc_init()
/linux-4.4.14/include/linux/ceph/
Dmessenger.h155 struct ceph_msg_data_cursor cursor; member
/linux-4.4.14/drivers/gpu/drm/
Ddrm_crtc.c668 struct drm_plane *cursor, in drm_crtc_init_with_planes() argument
675 WARN_ON(cursor && cursor->type != DRM_PLANE_TYPE_CURSOR); in drm_crtc_init_with_planes()
691 crtc->cursor = cursor; in drm_crtc_init_with_planes()
694 if (cursor) in drm_crtc_init_with_planes()
695 cursor->possible_crtcs = 1 << drm_crtc_index(crtc); in drm_crtc_init_with_planes()
2819 BUG_ON(!crtc->cursor); in drm_mode_cursor_universal()
2820 WARN_ON(crtc->cursor->crtc != crtc && crtc->cursor->crtc != NULL); in drm_mode_cursor_universal()
2838 fb = crtc->cursor->fb; in drm_mode_cursor_universal()
2862 ret = __setplane_internal(crtc->cursor, crtc, fb, in drm_mode_cursor_universal()
2898 drm_modeset_lock_crtc(crtc, crtc->cursor); in drm_mode_cursor_common()
[all …]
Ddrm_plane_helper.c469 if (crtc[i]->cursor == plane) in drm_plane_helper_commit()
Ddrm_atomic_helper.c1495 if (plane == crtc->cursor) in drm_atomic_helper_update_plane()
1564 if (plane_state->crtc && (plane == plane->crtc->cursor)) in drm_atomic_helper_disable_plane()
/linux-4.4.14/tools/perf/ui/browsers/
Dannotate.c258 struct disasm_line *cursor = ab->selection, *target; in annotate_browser__draw_current_jump() local
269 if (!disasm_line__is_valid_jump(cursor, sym)) in annotate_browser__draw_current_jump()
272 target = ab->offsets[cursor->ops.target.offset]; in annotate_browser__draw_current_jump()
276 bcursor = disasm_line__browser(cursor); in annotate_browser__draw_current_jump()
/linux-4.4.14/Documentation/arm/
DSetup60 This describes the character position of cursor on VGA console, and
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_ea.c53 int cursor; member
/linux-4.4.14/drivers/hsi/clients/
Dcmt_speech.c1336 struct list_head *cursor, *next; in cs_free_char_queue() local
1339 list_for_each_safe(cursor, next, head) { in cs_free_char_queue()
1340 entry = list_entry(cursor, struct char_queue, list); in cs_free_char_queue()
/linux-4.4.14/drivers/net/usb/
Dr8152.c1367 struct list_head *cursor; in r8152_get_tx_agg() local
1369 cursor = tp->tx_free.next; in r8152_get_tx_agg()
1370 list_del_init(cursor); in r8152_get_tx_agg()
1371 agg = list_entry(cursor, struct tx_agg, list); in r8152_get_tx_agg()
1677 struct list_head *cursor, *next, rx_queue; in rx_bottom() local
1706 list_for_each_safe(cursor, next, &rx_queue) { in rx_bottom()
1713 list_del_init(cursor); in rx_bottom()
1715 agg = list_entry(cursor, struct rx_agg, list); in rx_bottom()
/linux-4.4.14/drivers/ata/
Dlibata-eh.c385 ering->cursor++; in ata_ering_record()
386 ering->cursor %= ATA_ERING_SIZE; in ata_ering_record()
388 ent = &ering->ring[ering->cursor]; in ata_ering_record()
396 struct ata_ering_entry *ent = &ering->ring[ering->cursor]; in ata_ering_top()
410 idx = ering->cursor; in ata_ering_map()
419 } while (idx != ering->cursor); in ata_ering_map()
/linux-4.4.14/include/drm/
Ddrm_crtc.h442 struct drm_plane *cursor; member
1189 struct drm_plane *cursor,
/linux-4.4.14/drivers/usb/serial/
Dmos7720.c291 struct list_head *cursor, *next; in send_deferred_urbs() local
322 list_for_each_safe(cursor, next, &mos_parport->deferred_urbs) in send_deferred_urbs()
323 list_move_tail(cursor, &mos_parport->active_urbs); in send_deferred_urbs()
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1458 struct drm_plane *primary = NULL, *cursor = NULL, *plane; in vop_create_crtc() local
1491 cursor = plane; in vop_create_crtc()
1494 ret = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor, in vop_create_crtc()
/linux-4.4.14/drivers/usb/core/
Dhub.c453 int cursor = -1; in led_work() local
466 cursor = i; in led_work()
506 cursor++; in led_work()
507 cursor %= hdev->maxchild; in led_work()
508 set_port_led(hub, cursor + 1, HUB_LED_GREEN); in led_work()
509 hub->indicator[cursor] = INDICATOR_CYCLE; in led_work()
/linux-4.4.14/Documentation/cpu-freq/
Dcpu-drivers.txt264 Use arguments "pos" - a cpufreq_frequency_table * as a loop cursor and
/linux-4.4.14/drivers/mtd/nand/
Dnand_base.c3203 uint8_t *cursor; in nand_flash_detect_ext_param_page() local
3238 cursor = (uint8_t *)(ep + 1); in nand_flash_detect_ext_param_page()
3243 cursor += s->length * 16; in nand_flash_detect_ext_param_page()
3251 ecc = (struct onfi_ext_ecc_info *)cursor; in nand_flash_detect_ext_param_page()
/linux-4.4.14/drivers/video/fbdev/vermilion/
Dvermilion.c1025 static int vmlfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in vmlfb_cursor() argument
/linux-4.4.14/Documentation/ioctl/
Dbotching-up-ioctls.txt90 server doesn't bother with clamping itself and the cursor wraps around the
/linux-4.4.14/Documentation/serial/
Dmoxa-smartio447 on the port, that cursor stay, to view the port's communication
/linux-4.4.14/Documentation/s390/
DDebugging390.txt1753 e.g. hit br <TAB> & cursor up & down :-).