Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_cursor.c79 struct sti_cursor *cursor = to_sti_cursor(layer); in sti_cursor_argb8888_to_clut8() local
81 u8 *dst = cursor->pixmap.base; in sti_cursor_argb8888_to_clut8()
85 for (i = 0; i < cursor->height; i++) { in sti_cursor_argb8888_to_clut8()
86 for (j = 0; j < cursor->width; j++) { in sti_cursor_argb8888_to_clut8()
101 struct sti_cursor *cursor = to_sti_cursor(layer); in sti_cursor_prepare_layer() local
120 if (!cursor->pixmap.base || in sti_cursor_prepare_layer()
121 (cursor->width != layer->src_w) || in sti_cursor_prepare_layer()
122 (cursor->height != layer->src_h)) { in sti_cursor_prepare_layer()
123 cursor->width = layer->src_w; in sti_cursor_prepare_layer()
124 cursor->height = layer->src_h; in sti_cursor_prepare_layer()
[all …]
Dsti_compositor.c96 struct drm_plane *cursor = NULL; in sti_compositor_bind() local
112 cursor = sti_drm_plane_init(drm_dev, in sti_compositor_bind()
132 primary, cursor); in sti_compositor_bind()
134 cursor = NULL; in sti_compositor_bind()
Dsti_drm_crtc.h15 struct drm_plane *primary, struct drm_plane *cursor);
DNOTES12 - The cursor handles ... a cursor.
Dsti_drm_crtc.c304 struct drm_plane *primary, struct drm_plane *cursor) in sti_drm_crtc_init() argument
309 res = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor, in sti_drm_crtc_init()
/linux-4.1.27/scripts/
Dasn1_compiler.c779 struct token *cursor; in parse() local
785 cursor = type->name; in parse()
787 if (cursor[0].token_type != TOKEN_TYPE_NAME || in parse()
788 cursor[1].token_type != TOKEN_ASSIGNMENT) in parse()
790 cursor += 2; in parse()
792 type->element = parse_type(&cursor, type[1].name, NULL); in parse()
795 if (cursor != type[1].name) { in parse()
797 filename, cursor->line, in parse()
798 (int)cursor->size, (int)cursor->size, cursor->value); in parse()
832 struct token *cursor = *_cursor; in parse_type() local
[all …]
Dsign-file121 my ($cursor, $expected_tag, $optional) = @_;
124 if ($cursor->[1] == 0 && $optional);
126 die $x509, ": ", $cursor->[0], ": ASN.1 data underrun (elem ", $cursor->[1], ")\n"
127 if ($cursor->[1] < 2);
129 my ($tag, $len) = unpack("CC", substr(${$cursor->[2]}, $cursor->[0], 2));
134 die $x509, ": ", $cursor->[0], ": ASN.1 unexpected tag (", $tag,
138 $cursor->[0] += 2;
139 $cursor->[1] -= 2;
141 die $x509, ": ", $cursor->[0], ": ASN.1 long tag\n"
143 die $x509, ": ", $cursor->[0], ": ASN.1 indefinite length\n"
[all …]
Danalyze_suspend.py2376 ….timeline {position: relative; font-size: 14px;cursor: pointer;width: 100%; overflow: hidden; back…
/linux-4.1.27/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.c199 struct attrlist_cursor_kern cursor = { 0 }; in xfs_vn_listxattr() local
208 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.c404 attrlist_cursor_kern_t *cursor; in xfs_attrlist_by_handle() local
431 cursor = (attrlist_cursor_kern_t *)&al_hreq.pos; in xfs_attrlist_by_handle()
433 al_hreq.flags, cursor); in xfs_attrlist_by_handle()
/linux-4.1.27/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
64 reg = FIELD_VALUE(0,HWC_ADDRESS,ADDRESS,cursor->offset)| in hw_cursor_enable()
69 void hw_cursor_disable(struct lynx_cursor * cursor) in hw_cursor_disable() argument
74 void hw_cursor_setSize(struct lynx_cursor * cursor, in hw_cursor_setSize() argument
77 cursor->w = w; in hw_cursor_setSize()
78 cursor->h = h; in hw_cursor_setSize()
80 void hw_cursor_setPos(struct lynx_cursor * cursor, in hw_cursor_setPos() argument
88 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.c133 struct lynx_cursor *cursor; in lynxfb_ops_cursor() local
137 cursor = &crtc->cursor; in lynxfb_ops_cursor()
139 if (fbcursor->image.width > cursor->maxW || in lynxfb_ops_cursor()
140 fbcursor->image.height > cursor->maxH || in lynxfb_ops_cursor()
145 cursor->disable(cursor); in lynxfb_ops_cursor()
147 cursor->setSize(cursor, in lynxfb_ops_cursor()
152 cursor->setPos(cursor, in lynxfb_ops_cursor()
168 cursor->setColor(cursor, fg, bg); in lynxfb_ops_cursor()
173 cursor->setData(cursor, in lynxfb_ops_cursor()
180 cursor->enable(cursor); in lynxfb_ops_cursor()
[all …]
Dsm750.h127 struct lynx_cursor cursor; member
Dreadme13 Disable MTRR,Disable 2d acceleration,Disable hardware cursor,
/linux-4.1.27/tools/perf/util/
Dcallchain.h120 struct callchain_cursor *cursor,
123 int callchain_merge(struct callchain_cursor *cursor,
130 static inline void callchain_cursor_reset(struct callchain_cursor *cursor) in callchain_cursor_reset() argument
132 cursor->nr = 0; in callchain_cursor_reset()
133 cursor->last = &cursor->first; in callchain_cursor_reset()
136 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip,
140 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument
142 cursor->curr = cursor->first; in callchain_cursor_commit()
143 cursor->pos = 0; in callchain_cursor_commit()
148 callchain_cursor_current(struct callchain_cursor *cursor) in callchain_cursor_current() argument
[all …]
Dcallchain.c445 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument
449 node->val_nr = cursor->nr - cursor->pos; in fill_node()
453 cursor_node = callchain_cursor_current(cursor); in fill_node()
468 callchain_cursor_advance(cursor); in fill_node()
469 cursor_node = callchain_cursor_current(cursor); in fill_node()
475 struct callchain_cursor *cursor, in add_child() argument
481 fill_node(new, cursor); in add_child()
507 struct callchain_cursor *cursor, in split_add_child() argument
534 if (idx_total < cursor->nr) { in split_add_child()
543 node = callchain_cursor_current(cursor); in split_add_child()
[all …]
Dhist.c782 struct callchain_cursor cursor; in iter_add_next_cumulative_entry() local
784 callchain_cursor_snapshot(&cursor, &callchain_cursor); in iter_add_next_cumulative_entry()
810 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
Dmachine.c1716 struct callchain_cursor *cursor = arg; in unwind_entry() local
1717 return callchain_cursor_append(cursor, entry->ip, in unwind_entry()
/linux-4.1.27/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()
96 &mdev->cursor.pixels_1_gpu_addr); in mga_crtc_cursor_set()
102 &mdev->cursor.pixels_2_gpu_addr); in mga_crtc_cursor_set()
[all …]
Dmgag200_main.c234 &mdev->cursor.pixels_1); in mgag200_driver_load()
236 &mdev->cursor.pixels_2); in mgag200_driver_load()
237 if (!mdev->cursor.pixels_2 || !mdev->cursor.pixels_1) in mgag200_driver_load()
239 mdev->cursor.pixels_current = mdev->cursor.pixels_1; in mgag200_driver_load()
240 mdev->cursor.pixels_prev = mdev->cursor.pixels_2; in mgag200_driver_load()
243 mdev->cursor.pixels_1 = NULL; in mgag200_driver_load()
244 mdev->cursor.pixels_2 = NULL; in mgag200_driver_load()
Dmgag200_drv.h199 struct mga_cursor cursor; member
/linux-4.1.27/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.1.27/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_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_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_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
220 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()
1327 ops->cursor(vc, info, mode, y, get_color(vc, info, c, 1), in fbcon_cursor()
/linux-4.1.27/net/ceph/
Dmessenger.c828 static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_cursor_init() argument
831 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init()
839 cursor->resid = min(length, data->bio_length); in ceph_msg_data_bio_cursor_init()
840 cursor->bio = bio; in ceph_msg_data_bio_cursor_init()
841 cursor->bvec_iter = bio->bi_iter; in ceph_msg_data_bio_cursor_init()
842 cursor->last_piece = in ceph_msg_data_bio_cursor_init()
843 cursor->resid <= bio_iter_len(bio, cursor->bvec_iter); in ceph_msg_data_bio_cursor_init()
846 static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_next() argument
850 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_next()
856 bio = cursor->bio; in ceph_msg_data_bio_next()
[all …]
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_crtc.c48 } cursor; member
377 spin_lock_irqsave(&mdp4_crtc->cursor.lock, flags); in update_cursor()
378 if (mdp4_crtc->cursor.stale) { in update_cursor()
379 struct drm_gem_object *next_bo = mdp4_crtc->cursor.next_bo; in update_cursor()
380 struct drm_gem_object *prev_bo = mdp4_crtc->cursor.scanout_bo; in update_cursor()
381 uint32_t iova = mdp4_crtc->cursor.next_iova; in update_cursor()
390 MDP4_DMA_CURSOR_SIZE_WIDTH(mdp4_crtc->cursor.width) | in update_cursor()
391 MDP4_DMA_CURSOR_SIZE_HEIGHT(mdp4_crtc->cursor.height)); in update_cursor()
406 mdp4_crtc->cursor.scanout_bo = next_bo; in update_cursor()
407 mdp4_crtc->cursor.stale = false; in update_cursor()
[all …]
/linux-4.1.27/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.c704 enum msg_index_t cursor; in message_show_helper() local
708 for (cursor = first; cursor <= last; cursor++, index++) { in message_show_helper()
712 index, spk_msg_get(cursor)); in message_show_helper()
/linux-4.1.27/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.c361 struct asymmetric_key_parser *cursor; in register_asymmetric_key_parser() local
366 list_for_each_entry(cursor, &asymmetric_key_parsers, link) { in register_asymmetric_key_parser()
367 if (strcmp(cursor->name, parser->name) == 0) { in register_asymmetric_key_parser()
/linux-4.1.27/drivers/video/fbdev/intelfb/
Dintelfbdrv.c158 struct fb_cursor *cursor);
642 dinfo->cursor.size = HW_CURSOR_SIZE; in intelfb_pci_register()
668 dinfo->cursor.offset = offset + in intelfb_pci_register()
673 + (dinfo->cursor.size >> 12); in intelfb_pci_register()
724 agp_allocate_memory(bridge, dinfo->cursor.size >> 12, in intelfb_pci_register()
732 dinfo->cursor.offset)) { in intelfb_pci_register()
739 dinfo->cursor.physical in intelfb_pci_register()
742 dinfo->cursor.physical = dinfo->aperture.physical in intelfb_pci_register()
743 + (dinfo->cursor.offset << 12); in intelfb_pci_register()
744 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.h296 struct intelfb_heap_data cursor; member
/linux-4.1.27/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.1.27/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.txt3949 vt.cur_default= [VT] Default cursor shape.
3982 Set system-wide default for whether a cursor
/linux-4.1.27/drivers/video/fbdev/
Dpm2fb.c1264 static int pm2vfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in pm2vfb_cursor() argument
1268 int x = cursor->image.dx - info->var.xoffset; in pm2vfb_cursor()
1269 int y = cursor->image.dy - info->var.yoffset; in pm2vfb_cursor()
1271 if (cursor->enable) in pm2vfb_cursor()
1276 if (!cursor->enable) in pm2vfb_cursor()
1288 if (!cursor->set) in pm2vfb_cursor()
1291 if (cursor->set & FB_CUR_SETHOT) { in pm2vfb_cursor()
1293 cursor->hot.x & 0x3f); in pm2vfb_cursor()
1295 cursor->hot.y & 0x3f); in pm2vfb_cursor()
1298 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()
1002 __le16 *cursor = data->cursor; in fsl_diu_load_cursor_image() local
1012 cursor[w] = (line & mask) ? _fg : _bg; in fsl_diu_load_cursor_image()
1016 cursor += MAX_CURS; in fsl_diu_load_cursor_image()
1025 static int fsl_diu_cursor(struct fb_info *info, struct fb_cursor *cursor) in fsl_diu_cursor() argument
1031 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) in fsl_diu_cursor()
1035 if (cursor->set & FB_CUR_SETSIZE) { in fsl_diu_cursor()
1043 memset(data->cursor, 0, sizeof(data->cursor)); in fsl_diu_cursor()
1047 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.c619 static int pm3fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in pm3fb_cursor() argument
628 if (cursor->image.width > 64 || in pm3fb_cursor()
629 cursor->image.height > 64 || in pm3fb_cursor()
630 cursor->image.depth > 1) in pm3fb_cursor()
634 if (cursor->enable) in pm3fb_cursor()
644 if (!cursor->set) in pm3fb_cursor()
647 if (cursor->set & FB_CUR_SETPOS) { in pm3fb_cursor()
648 int x = cursor->image.dx - info->var.xoffset; in pm3fb_cursor()
649 int y = cursor->image.dy - info->var.yoffset; in pm3fb_cursor()
657 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.c1058 static int tdfxfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in tdfxfb_cursor() argument
1067 if (cursor->image.width > 64 || in tdfxfb_cursor()
1068 cursor->image.height > 64 || in tdfxfb_cursor()
1069 cursor->image.depth > 1) in tdfxfb_cursor()
1073 if (cursor->enable) in tdfxfb_cursor()
1083 if (!cursor->set) in tdfxfb_cursor()
1087 if (cursor->set & FB_CUR_SETCMAP) { in tdfxfb_cursor()
1089 u32 bg_idx = cursor->image.bg_color; in tdfxfb_cursor()
1090 u32 fg_idx = cursor->image.fg_color; in tdfxfb_cursor()
1104 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.c124 static void vt8623fb_tilecursor(struct fb_info *info, struct fb_tilecursor *cursor) in vt8623fb_tilecursor() argument
128 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.c160 static void arkfb_tilecursor(struct fb_info *info, struct fb_tilecursor *cursor) in arkfb_tilecursor() argument
164 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.c323 static void s3fb_tilecursor(struct fb_info *info, struct fb_tilecursor *cursor) in s3fb_tilecursor() argument
327 svga_tilecursor(par->state.vgabase, info, cursor); in s3fb_tilecursor()
Dbfin-lq035q1-fb.c490 int bfin_lq035q1_fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in bfin_lq035q1_fb_cursor() argument
Dbfin_adv7393fb.c677 int bfin_adv7393_fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in bfin_adv7393_fb_cursor() argument
Dcg6.c251 u32 cursor; member
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_crtc.c67 } cursor; member
430 *roi_w = min(mdp5_crtc->cursor.width, xres - in get_roi()
431 mdp5_crtc->cursor.x); in get_roi()
432 *roi_h = min(mdp5_crtc->cursor.height, yres - in get_roi()
433 mdp5_crtc->cursor.y); in get_roi()
479 spin_lock_irqsave(&mdp5_crtc->cursor.lock, flags); in mdp5_crtc_cursor_set()
480 old_bo = mdp5_crtc->cursor.scanout_bo; in mdp5_crtc_cursor_set()
482 mdp5_crtc->cursor.scanout_bo = cursor_bo; in mdp5_crtc_cursor_set()
483 mdp5_crtc->cursor.width = width; in mdp5_crtc_cursor_set()
484 mdp5_crtc->cursor.height = height; in mdp5_crtc_cursor_set()
[all …]
/linux-4.1.27/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.1.27/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.1.27/mm/
Dnobootmem.c72 unsigned long cursor, end; in free_bootmem_late() local
76 cursor = PFN_UP(addr); in free_bootmem_late()
79 for (; cursor < end; cursor++) { in free_bootmem_late()
80 __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.c406 struct page *cursor, *valid_page = NULL; in isolate_freepages_block() local
411 cursor = pfn_to_page(blockpfn); in isolate_freepages_block()
414 for (; blockpfn < end_pfn; blockpfn++, cursor++) { in isolate_freepages_block()
416 struct page *page = cursor; in isolate_freepages_block()
481 cursor += isolated - 1; in isolate_freepages_block()
Dmemblock.c1309 u64 cursor, end; in __memblock_free_late() local
1315 cursor = PFN_UP(base); in __memblock_free_late()
1318 for (; cursor < end; cursor++) { in __memblock_free_late()
1319 __free_pages_bootmem(pfn_to_page(cursor), cursor, 0); in __memblock_free_late()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/gpu/drm/nouveau/
Dnouveau_display.c572 if (nv_crtc->cursor.nvbo) { in nouveau_display_suspend()
573 if (nv_crtc->cursor.set_offset) in nouveau_display_suspend()
574 nouveau_bo_unmap(nv_crtc->cursor.nvbo); in nouveau_display_suspend()
575 nouveau_bo_unpin(nv_crtc->cursor.nvbo); in nouveau_display_suspend()
604 if (!nv_crtc->cursor.nvbo) in nouveau_display_resume()
607 ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, TTM_PL_FLAG_VRAM, true); in nouveau_display_resume()
608 if (!ret && nv_crtc->cursor.set_offset) in nouveau_display_resume()
609 ret = nouveau_bo_map(nv_crtc->cursor.nvbo); in nouveau_display_resume()
639 if (!nv_crtc->cursor.nvbo) in nouveau_display_resume()
642 if (nv_crtc->cursor.set_offset) in nouveau_display_resume()
[all …]
Dnouveau_crtc.h63 } cursor; member
Dnv50_display.c931 evo_data(push, nv_crtc->cursor.nvbo->bo.offset >> 8); in nv50_crtc_cursor_show()
936 evo_data(push, nv_crtc->cursor.nvbo->bo.offset >> 8); in nv50_crtc_cursor_show()
942 evo_data(push, nv_crtc->cursor.nvbo->bo.offset >> 8); in nv50_crtc_cursor_show()
948 nv_crtc->cursor.visible = true; in nv50_crtc_cursor_show()
974 nv_crtc->cursor.visible = false; in nv50_crtc_cursor_hide()
982 if (show && nv_crtc->cursor.nvbo && nv_crtc->base.enabled) in nv50_crtc_cursor_show_hide()
1300 if (nv_crtc->cursor.nvbo) in nv50_crtc_cursor_set()
1301 nouveau_bo_unpin(nv_crtc->cursor.nvbo); in nv50_crtc_cursor_set()
1302 nouveau_bo_ref(nvbo, &nv_crtc->cursor.nvbo); in nv50_crtc_cursor_set()
1374 if (nv_crtc->cursor.nvbo) in nv50_crtc_destroy()
[all …]
/linux-4.1.27/kernel/
Daudit_tree.c585 struct list_head cursor; in audit_trim_trees() local
588 list_add(&cursor, &tree_list); in audit_trim_trees()
589 while (cursor.next != &tree_list) { in audit_trim_trees()
596 tree = container_of(cursor.next, struct audit_tree, list); in audit_trim_trees()
598 list_del(&cursor); in audit_trim_trees()
599 list_add(&cursor, &tree->list); in audit_trim_trees()
627 list_del(&cursor); in audit_trim_trees()
779 struct list_head cursor, barrier; in audit_tag_tree() local
801 list_add(&cursor, &barrier); in audit_tag_tree()
803 while (cursor.next != &tree_list) { in audit_tag_tree()
[all …]
/linux-4.1.27/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.1.27/drivers/video/fbdev/nvidia/
Dnvidia.c534 static int nvidiafb_cursor(struct fb_info *info, struct fb_cursor *cursor) in nvidiafb_cursor() argument
538 int i, set = cursor->set; in nvidiafb_cursor()
541 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) in nvidiafb_cursor()
557 yy = cursor->image.dy - info->var.yoffset; in nvidiafb_cursor()
558 xx = cursor->image.dx - info->var.xoffset; in nvidiafb_cursor()
566 u32 bg_idx = cursor->image.bg_color; in nvidiafb_cursor()
567 u32 fg_idx = cursor->image.fg_color; in nvidiafb_cursor()
568 u32 s_pitch = (cursor->image.width + 7) >> 3; in nvidiafb_cursor()
570 u8 *dat = (u8 *) cursor->image.data; in nvidiafb_cursor()
571 u8 *msk = (u8 *) cursor->mask; in nvidiafb_cursor()
[all …]
/linux-4.1.27/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.1.27/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.1.27/arch/x86/kernel/
Duprobes.c346 u8 *cursor; in riprel_analyze() local
359 cursor = auprobe->insn + insn_offset_rex_prefix(insn); in riprel_analyze()
361 *cursor &= 0xfe; in riprel_analyze()
376 cursor = auprobe->insn + insn_offset_vex_prefix(insn) + 1; in riprel_analyze()
377 *cursor |= 0x20; in riprel_analyze()
456 cursor = auprobe->insn + insn_offset_modrm(insn); in riprel_analyze()
462 *cursor = 0x80 | (reg << 3) | reg2; in riprel_analyze()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_display.c302 struct qxl_cursor *cursor; in qxl_crtc_cursor_set2() local
349 ret = qxl_bo_kmap(cursor_bo, (void **)&cursor); in qxl_crtc_cursor_set2()
353 cursor->header.unique = 0; in qxl_crtc_cursor_set2()
354 cursor->header.type = SPICE_CURSOR_TYPE_ALPHA; in qxl_crtc_cursor_set2()
355 cursor->header.width = 64; in qxl_crtc_cursor_set2()
356 cursor->header.height = 64; in qxl_crtc_cursor_set2()
357 cursor->header.hot_spot_x = hot_x; in qxl_crtc_cursor_set2()
358 cursor->header.hot_spot_y = hot_y; in qxl_crtc_cursor_set2()
359 cursor->data_size = size; in qxl_crtc_cursor_set2()
360 cursor->chunk.next_chunk = 0; in qxl_crtc_cursor_set2()
[all …]
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_pm.c709 const struct intel_watermark_params *cursor, in g4x_compute_wm0() argument
722 *cursor_wm = cursor->guard_size; in g4x_compute_wm0()
746 entries = line_count * crtc->cursor->state->crtc_w * pixel_size; in g4x_compute_wm0()
747 tlb_miss = cursor->fifo_size*cursor->cacheline_size - hdisplay * 8; in g4x_compute_wm0()
750 entries = DIV_ROUND_UP(entries, cursor->cacheline_size); in g4x_compute_wm0()
751 *cursor_wm = entries + cursor->guard_size; in g4x_compute_wm0()
752 if (*cursor_wm > (int)cursor->max_wm) in g4x_compute_wm0()
753 *cursor_wm = (int)cursor->max_wm; in g4x_compute_wm0()
768 const struct intel_watermark_params *cursor) in g4x_check_srwm() argument
779 if (cursor_wm > cursor->max_wm) { in g4x_check_srwm()
[all …]
Dintel_lrc.c370 struct drm_i915_gem_request *cursor = NULL, *tmp = NULL; in execlists_context_unqueue() local
378 list_for_each_entry_safe(cursor, tmp, &ring->execlist_queue, in execlists_context_unqueue()
381 req0 = cursor; in execlists_context_unqueue()
382 } else if (req0->ctx == cursor->ctx) { in execlists_context_unqueue()
385 cursor->elsp_submitted = req0->elsp_submitted; in execlists_context_unqueue()
389 req0 = cursor; in execlists_context_unqueue()
391 req1 = cursor; in execlists_context_unqueue()
522 struct drm_i915_gem_request *cursor; in execlists_context_queue() local
553 list_for_each_entry(cursor, &ring->execlist_queue, execlist_link) in execlists_context_queue()
Dintel_display.c8652 unsigned int width = intel_crtc->base.cursor->state->crtc_w; in i845_update_cursor()
8653 unsigned int height = intel_crtc->base.cursor->state->crtc_h; in i845_update_cursor()
8717 switch (intel_crtc->base.cursor->state->crtc_w) { in i9xx_update_cursor()
8728 MISSING_CASE(intel_crtc->base.cursor->state->crtc_w); in i9xx_update_cursor()
8737 if (crtc->cursor->state->rotation == BIT(DRM_ROTATE_180)) in i9xx_update_cursor()
8775 if (x + intel_crtc->base.cursor->state->crtc_w <= 0) in intel_crtc_update_cursor()
8784 if (y + intel_crtc->base.cursor->state->crtc_h <= 0) in intel_crtc_update_cursor()
8799 crtc->cursor->state->rotation == BIT(DRM_ROTATE_180)) { in intel_crtc_update_cursor()
8800 base += (intel_crtc->base.cursor->state->crtc_h * in intel_crtc_update_cursor()
8801 intel_crtc->base.cursor->state->crtc_w - 1) * 4; in intel_crtc_update_cursor()
[all …]
Di915_drv.h1419 uint8_t cursor; member
1424 uint8_t cursor; member
1428 uint8_t cursor; member
1455 struct skl_ddb_entry cursor[I915_MAX_PIPES]; member
1463 uint32_t cursor[I915_MAX_PIPES][8]; member
Di915_debugfs.c1978 struct list_head *cursor; in i915_execlists() local
2024 list_for_each(cursor, &ring->execlist_queue) in i915_execlists()
2688 x, y, crtc->base.cursor->state->crtc_w, in i915_display_info()
2689 crtc->base.cursor->state->crtc_h, in i915_display_info()
2872 entry = &ddb->cursor[pipe]; in i915_ddb_info()
/linux-4.1.27/drivers/video/fbdev/i810/
Di810_main.c80 static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor);
1477 static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in i810fb_cursor() argument
1485 if (cursor->image.width > 64 || cursor->image.height > 64) in i810fb_cursor()
1490 cursor->set |= FB_CUR_SETALL; in i810fb_cursor()
1495 if (cursor->set & FB_CUR_SETPOS) { in i810fb_cursor()
1498 tmp = (cursor->image.dx - info->var.xoffset) & 0xffff; in i810fb_cursor()
1499 tmp |= (cursor->image.dy - info->var.yoffset) << 16; in i810fb_cursor()
1503 if (cursor->set & FB_CUR_SETSIZE) in i810fb_cursor()
1506 if (cursor->set & FB_CUR_SETCMAP) in i810fb_cursor()
1507 i810_load_cursor_colors(cursor->image.fg_color, in i810fb_cursor()
[all …]
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c344 planes->cursor ? &planes->cursor->base : NULL, in atmel_hlcdc_crtc_create()
351 if (planes->cursor) in atmel_hlcdc_crtc_create()
352 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.c255 if (planes->cursor) in atmel_hlcdc_dc_modeset_init()
256 dc->layers[planes->cursor->layer.desc->id] = in atmel_hlcdc_dc_modeset_init()
257 &planes->cursor->layer; in atmel_hlcdc_dc_modeset_init()
Datmel_hlcdc_plane.c1037 if (planes->cursor) in atmel_hlcdc_create_planes()
1039 planes->cursor = plane; in atmel_hlcdc_create_planes()
/linux-4.1.27/drivers/video/fbdev/riva/
Dfbdev.c1582 static int rivafb_cursor(struct fb_info *info, struct fb_cursor *cursor) in rivafb_cursor() argument
1586 int i, set = cursor->set; in rivafb_cursor()
1589 if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) in rivafb_cursor()
1605 yy = cursor->image.dy - info->var.yoffset; in rivafb_cursor()
1606 xx = cursor->image.dx - info->var.xoffset; in rivafb_cursor()
1615 u32 bg_idx = cursor->image.bg_color; in rivafb_cursor()
1616 u32 fg_idx = cursor->image.fg_color; in rivafb_cursor()
1617 u32 s_pitch = (cursor->image.width+7) >> 3; in rivafb_cursor()
1619 u8 *dat = (u8 *) cursor->image.data; in rivafb_cursor()
1620 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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.h672 int cursor; member
/linux-4.1.27/drivers/net/ethernet/sfc/
Dptp.c920 struct list_head *cursor; in efx_ptp_drop_time_expired_events() local
929 list_for_each_safe(cursor, next, &ptp->evt_list) { in efx_ptp_drop_time_expired_events()
932 evt = list_entry(cursor, struct efx_ptp_event_rx, in efx_ptp_drop_time_expired_events()
949 struct list_head *cursor; in efx_ptp_match_rx() local
966 list_for_each_safe(cursor, next, &ptp->evt_list) { in efx_ptp_match_rx()
969 evt = list_entry(cursor, struct efx_ptp_event_rx, link); in efx_ptp_match_rx()
1117 struct list_head *cursor; in efx_ptp_stop() local
1134 list_for_each_safe(cursor, next, &efx->ptp_data->evt_list) { in efx_ptp_stop()
1135 list_move(cursor, &efx->ptp_data->evt_free_list); in efx_ptp_stop()
/linux-4.1.27/fs/
Dlibfs.c112 struct dentry *cursor = file->private_data; in dcache_dir_lseek() local
117 list_del(&cursor->d_child); in dcache_dir_lseek()
128 list_add_tail(&cursor->d_child, p); in dcache_dir_lseek()
152 struct dentry *cursor = file->private_data; in dcache_readdir() local
153 struct list_head *p, *q = &cursor->d_child; in dcache_readdir()
/linux-4.1.27/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.1.27/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.1.27/arch/x86/mm/
Dpat.c624 u64 cursor = from; in range_is_allowed() local
629 while (cursor < to) { in range_is_allowed()
635 cursor += PAGE_SIZE; in range_is_allowed()
/linux-4.1.27/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.1.27/include/media/davinci/
Dvpbe_osd.h382 struct osd_cursor_state cursor; member
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddc.c1640 struct drm_plane *cursor = NULL; in tegra_dc_init() local
1662 cursor = tegra_dc_cursor_plane_create(drm, dc); in tegra_dc_init()
1663 if (IS_ERR(cursor)) { in tegra_dc_init()
1664 err = PTR_ERR(cursor); in tegra_dc_init()
1669 err = drm_crtc_init_with_planes(drm, &dc->base, primary, cursor, in tegra_dc_init()
1747 if (cursor) in tegra_dc_init()
1748 drm_plane_cleanup(cursor); in tegra_dc_init()
/linux-4.1.27/tools/perf/ui/browsers/
Dannotate.c218 struct disasm_line *cursor = ab->selection, *target; in annotate_browser__draw_current_jump() local
229 if (!disasm_line__is_valid_jump(cursor, sym)) in annotate_browser__draw_current_jump()
232 target = ab->offsets[cursor->ops.target.offset]; in annotate_browser__draw_current_jump()
236 bcursor = disasm_line__browser(cursor); in annotate_browser__draw_current_jump()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c94 SVGAFifoCmdDefineAlphaCursor cursor; in vmw_cursor_update_image() member
113 cmd->cursor.id = cpu_to_le32(0); in vmw_cursor_update_image()
114 cmd->cursor.width = cpu_to_le32(width); in vmw_cursor_update_image()
115 cmd->cursor.height = cpu_to_le32(height); in vmw_cursor_update_image()
116 cmd->cursor.hotspotX = cpu_to_le32(hotspotX); in vmw_cursor_update_image()
117 cmd->cursor.hotspotY = cpu_to_le32(hotspotY); in vmw_cursor_update_image()
255 drm_modeset_lock_crtc(crtc, crtc->cursor); in vmw_du_crtc_cursor_set()
284 drm_modeset_lock_crtc(crtc, crtc->cursor); in vmw_du_crtc_cursor_move()
/linux-4.1.27/include/linux/ceph/
Dmessenger.h159 struct ceph_msg_data_cursor cursor; member
/linux-4.1.27/drivers/gpu/drm/
Ddrm_crtc.c657 struct drm_plane *cursor, in drm_crtc_init_with_planes() argument
664 WARN_ON(cursor && cursor->type != DRM_PLANE_TYPE_CURSOR); in drm_crtc_init_with_planes()
681 crtc->cursor = cursor; in drm_crtc_init_with_planes()
684 if (cursor) in drm_crtc_init_with_planes()
685 cursor->possible_crtcs = 1 << drm_crtc_index(crtc); in drm_crtc_init_with_planes()
2942 BUG_ON(!crtc->cursor); in drm_mode_cursor_universal()
2943 WARN_ON(crtc->cursor->crtc != crtc && crtc->cursor->crtc != NULL); in drm_mode_cursor_universal()
2961 fb = crtc->cursor->fb; in drm_mode_cursor_universal()
2985 ret = __setplane_internal(crtc->cursor, crtc, fb, in drm_mode_cursor_universal()
3021 drm_modeset_lock_crtc(crtc, crtc->cursor); in drm_mode_cursor_common()
[all …]
Ddrm_plane_helper.c468 if (crtc[i]->cursor == plane) in drm_plane_helper_commit()
Ddrm_atomic_helper.c1316 if (plane == crtc->cursor) in drm_atomic_helper_update_plane()
1394 if (plane == plane->crtc->cursor) in drm_atomic_helper_disable_plane()
/linux-4.1.27/Documentation/arm/
DSetup60 This describes the character position of cursor on VGA console, and
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_ea.c53 int cursor; member
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1182 struct drm_plane *primary = NULL, *cursor = NULL, *plane; in vop_create_crtc() local
1215 cursor = plane; in vop_create_crtc()
1218 ret = drm_crtc_init_with_planes(drm_dev, crtc, primary, cursor, in vop_create_crtc()
/linux-4.1.27/drivers/hsi/clients/
Dcmt_speech.c1331 struct list_head *cursor, *next; in cs_free_char_queue() local
1334 list_for_each_safe(cursor, next, head) { in cs_free_char_queue()
1335 entry = list_entry(cursor, struct char_queue, list); in cs_free_char_queue()
/linux-4.1.27/drivers/net/usb/
Dr8152.c1353 struct list_head *cursor; in r8152_get_tx_agg() local
1355 cursor = tp->tx_free.next; in r8152_get_tx_agg()
1356 list_del_init(cursor); in r8152_get_tx_agg()
1357 agg = list_entry(cursor, struct tx_agg, list); in r8152_get_tx_agg()
1663 struct list_head *cursor, *next, rx_queue; in rx_bottom() local
1692 list_for_each_safe(cursor, next, &rx_queue) { in rx_bottom()
1699 list_del_init(cursor); in rx_bottom()
1701 agg = list_entry(cursor, struct rx_agg, list); in rx_bottom()
/linux-4.1.27/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.1.27/include/drm/
Ddrm_crtc.h440 struct drm_plane *cursor; member
1197 struct drm_plane *cursor,
/linux-4.1.27/drivers/usb/serial/
Dmos7720.c290 struct list_head *cursor, *next; in send_deferred_urbs() local
321 list_for_each_safe(cursor, next, &mos_parport->deferred_urbs) in send_deferred_urbs()
322 list_move_tail(cursor, &mos_parport->active_urbs); in send_deferred_urbs()
/linux-4.1.27/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.1.27/Documentation/cpu-freq/
Dcpu-drivers.txt264 Use arguments "pos" - a cpufreq_frequency_table * as a loop cursor and
/linux-4.1.27/drivers/mtd/nand/
Dnand_base.c3061 uint8_t *cursor; in nand_flash_detect_ext_param_page() local
3096 cursor = (uint8_t *)(ep + 1); in nand_flash_detect_ext_param_page()
3101 cursor += s->length * 16; in nand_flash_detect_ext_param_page()
3109 ecc = (struct onfi_ext_ecc_info *)cursor; in nand_flash_detect_ext_param_page()
/linux-4.1.27/Documentation/ioctl/
Dbotching-up-ioctls.txt90 server doesn't bother with clamping itself and the cursor wraps around the
/linux-4.1.27/drivers/video/fbdev/vermilion/
Dvermilion.c1025 static int vmlfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in vmlfb_cursor() argument
/linux-4.1.27/Documentation/serial/
Dmoxa-smartio447 on the port, that cursor stay, to view the port's communication
/linux-4.1.27/Documentation/s390/
DDebugging390.txt1753 e.g. hit br <TAB> & cursor up & down :-).