| /Linux-v5.4/drivers/gpu/drm/sti/ |
| D | sti_cursor.c | 80 readl(cursor->regs + reg)) 93 struct sti_cursor *cursor, u32 val) in cursor_dbg_pml() argument 95 if (cursor->pixmap.paddr == val) in cursor_dbg_pml() 96 seq_printf(s, "\tVirt @: %p", cursor->pixmap.base); in cursor_dbg_pml() 100 struct sti_cursor *cursor, u32 val) in cursor_dbg_cml() argument 102 if (cursor->clut_paddr == val) in cursor_dbg_cml() 103 seq_printf(s, "\tVirt @: %p", cursor->clut); in cursor_dbg_cml() 109 struct sti_cursor *cursor = (struct sti_cursor *)node->info_ent->data; in cursor_dbg_show() local 112 sti_plane_to_str(&cursor->plane), cursor->regs); in cursor_dbg_show() 116 cursor_dbg_vpo(s, readl(cursor->regs + CUR_VPO)); in cursor_dbg_show() [all …]
|
| /Linux-v5.4/fs/xfs/ |
| D | xfs_attr_list.c | 41 #define XFS_ISRESET_CURSOR(cursor) \ argument 42 (!((cursor)->initted) && !((cursor)->hashval) && \ 43 !((cursor)->blkno) && !((cursor)->offset)) 54 attrlist_cursor_kern_t *cursor; in xfs_attr_shortform_list() local 69 cursor = context->cursor; in xfs_attr_shortform_list() 70 ASSERT(cursor != NULL); in xfs_attr_shortform_list() 84 (XFS_ISRESET_CURSOR(cursor) && in xfs_attr_shortform_list() 152 cursor->initted = 1; in xfs_attr_shortform_list() 153 cursor->blkno = 0; in xfs_attr_shortform_list() 155 if (sbp->hash == cursor->hashval) { in xfs_attr_shortform_list() [all …]
|
| /Linux-v5.4/scripts/ |
| D | asn1_compiler.c | 806 struct token *cursor; in parse() local 812 cursor = type->name; in parse() 814 if (cursor[0].token_type != TOKEN_TYPE_NAME || in parse() 815 cursor[1].token_type != TOKEN_ASSIGNMENT) in parse() 817 cursor += 2; in parse() 819 type->element = parse_type(&cursor, type[1].name, NULL); in parse() 822 if (cursor != type[1].name) { in parse() 824 filename, cursor->line, cursor->content); in parse() 858 struct token *cursor = *_cursor; in parse_type() local 863 top = element = alloc_elem(cursor); in parse_type() [all …]
|
| /Linux-v5.4/drivers/staging/sm750fb/ |
| D | sm750_cursor.c | 23 writel((data), cursor->mmio + (addr)) 48 void sm750_hw_cursor_enable(struct lynx_cursor *cursor) in sm750_hw_cursor_enable() argument 52 reg = (cursor->offset & HWC_ADDRESS_ADDRESS_MASK) | HWC_ADDRESS_ENABLE; in sm750_hw_cursor_enable() 56 void sm750_hw_cursor_disable(struct lynx_cursor *cursor) in sm750_hw_cursor_disable() argument 61 void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h) in sm750_hw_cursor_setSize() argument 63 cursor->w = w; in sm750_hw_cursor_setSize() 64 cursor->h = h; in sm750_hw_cursor_setSize() 67 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y) in sm750_hw_cursor_setPos() argument 76 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg) in sm750_hw_cursor_setColor() argument 85 void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop, in sm750_hw_cursor_setData() argument [all …]
|
| D | sm750_cursor.h | 6 void sm750_hw_cursor_enable(struct lynx_cursor *cursor); 7 void sm750_hw_cursor_disable(struct lynx_cursor *cursor); 8 void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, 10 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, 12 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, 14 void sm750_hw_cursor_setData(struct lynx_cursor *cursor, 16 void sm750_hw_cursor_setData2(struct lynx_cursor *cursor,
|
| /Linux-v5.4/drivers/video/fbdev/aty/ |
| D | mach64_cursor.c | 68 static int atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in atyfb_cursor() argument 82 if (cursor->enable) in atyfb_cursor() 90 if (cursor->set & FB_CUR_SETPOS) { in atyfb_cursor() 91 x = cursor->image.dx - cursor->hot.x - info->var.xoffset; in atyfb_cursor() 99 y = cursor->image.dy - cursor->hot.y - info->var.yoffset; in atyfb_cursor() 107 h = cursor->image.height; in atyfb_cursor() 125 if (cursor->set & FB_CUR_SETCMAP) { in atyfb_cursor() 128 fg_idx = cursor->image.fg_color; in atyfb_cursor() 129 bg_idx = cursor->image.bg_color; in atyfb_cursor() 144 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) { in atyfb_cursor() [all …]
|
| /Linux-v5.4/net/ceph/ |
| D | messenger.c | 814 static void ceph_msg_data_bio_cursor_init(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_cursor_init() argument 817 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init() 818 struct ceph_bio_iter *it = &cursor->bio_iter; in ceph_msg_data_bio_cursor_init() 820 cursor->resid = min_t(size_t, length, data->bio_length); in ceph_msg_data_bio_cursor_init() 822 if (cursor->resid < it->iter.bi_size) in ceph_msg_data_bio_cursor_init() 823 it->iter.bi_size = cursor->resid; in ceph_msg_data_bio_cursor_init() 825 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_cursor_init() 826 cursor->last_piece = cursor->resid == bio_iter_len(it->bio, it->iter); in ceph_msg_data_bio_cursor_init() 829 static struct page *ceph_msg_data_bio_next(struct ceph_msg_data_cursor *cursor, in ceph_msg_data_bio_next() argument 833 struct bio_vec bv = bio_iter_iovec(cursor->bio_iter.bio, in ceph_msg_data_bio_next() [all …]
|
| /Linux-v5.4/drivers/firmware/google/ |
| D | memconsole-coreboot.c | 23 u32 cursor; member 42 u32 cursor = cbmem_console->cursor & CURSOR_MASK; in memconsole_coreboot_read() local 43 u32 flags = cbmem_console->cursor & ~CURSOR_MASK; in memconsole_coreboot_read() 53 if (cursor > size) /* Shouldn't really happen, but... */ in memconsole_coreboot_read() 54 cursor = 0; in memconsole_coreboot_read() 55 seg[0] = (struct seg){.phys = cursor, .len = size - cursor}; in memconsole_coreboot_read() 56 seg[1] = (struct seg){.phys = 0, .len = cursor}; in memconsole_coreboot_read() 58 seg[0] = (struct seg){.phys = 0, .len = min(cursor, size)}; in memconsole_coreboot_read()
|
| /Linux-v5.4/drivers/video/fbdev/ |
| D | pmag-aa-fb.c | 104 static int aafb_cursor(struct fb_info *info, struct fb_cursor *cursor) in aafb_cursor() argument 108 if (cursor->image.height > BT431_CURSOR_SIZE || in aafb_cursor() 109 cursor->image.width > BT431_CURSOR_SIZE) { in aafb_cursor() 114 if (!cursor->enable) in aafb_cursor() 117 if (cursor->set & FB_CUR_SETPOS) in aafb_cursor() 119 cursor->image.dx, cursor->image.dy); in aafb_cursor() 120 if (cursor->set & FB_CUR_SETCMAP) { in aafb_cursor() 121 u8 fg = cursor->image.fg_color ? 0xf : 0x0; in aafb_cursor() 122 u8 bg = cursor->image.bg_color ? 0xf : 0x0; in aafb_cursor() 128 if (cursor->set & (FB_CUR_SETSIZE | FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) in aafb_cursor() [all …]
|
| /Linux-v5.4/tools/perf/util/ |
| D | callchain.h | 189 struct callchain_cursor *cursor, 192 int callchain_merge(struct callchain_cursor *cursor, 195 void callchain_cursor_reset(struct callchain_cursor *cursor); 197 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip, 204 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument 206 cursor->curr = cursor->first; in callchain_cursor_commit() 207 cursor->pos = 0; in callchain_cursor_commit() 212 callchain_cursor_current(struct callchain_cursor *cursor) in callchain_cursor_current() argument 214 if (cursor->pos == cursor->nr) in callchain_cursor_current() 217 return cursor->curr; in callchain_cursor_current() [all …]
|
| D | callchain.c | 566 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument 570 node->val_nr = cursor->nr - cursor->pos; in fill_node() 574 cursor_node = callchain_cursor_current(cursor); in fill_node() 623 callchain_cursor_advance(cursor); in fill_node() 624 cursor_node = callchain_cursor_current(cursor); in fill_node() 631 struct callchain_cursor *cursor, in add_child() argument 640 if (fill_node(new, cursor) < 0) { in add_child() 790 struct callchain_cursor *cursor, in split_add_child() argument 822 if (idx_total < cursor->nr) { in split_add_child() 833 node = callchain_cursor_current(cursor); in split_add_child() [all …]
|
| /Linux-v5.4/drivers/video/fbdev/core/ |
| D | tileblit.c | 85 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 …]
|
| D | softcursor.c | 22 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()
|
| D | bitblit.c | 239 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 …]
|
| D | fbcon_ccw.c | 224 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() 326 cursor.set |= FB_CUR_SETSHAPE; in ccw_cursor() [all …]
|
| D | fbcon_cw.c | 207 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() 309 cursor.set |= FB_CUR_SETSHAPE; in cw_cursor() [all …]
|
| D | fbcon_ud.c | 254 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 …]
|
| /Linux-v5.4/net/rxrpc/ |
| D | peer_event.c | 309 u8 cursor = peer->rtt_cursor, usage = peer->rtt_usage; in rxrpc_peer_add_rtt() local 318 sum -= peer->rtt_cache[cursor]; in rxrpc_peer_add_rtt() 320 peer->rtt_cache[cursor] = rtt; in rxrpc_peer_add_rtt() 321 peer->rtt_cursor = (cursor + 1) & (RXRPC_RTT_CACHE_SIZE - 1); in rxrpc_peer_add_rtt() 350 u8 cursor) in rxrpc_peer_keepalive_dispatch() argument 372 cursor, peer->debug_id, slot, &peer->srx.transport); in rxrpc_peer_keepalive_dispatch() 383 slot += cursor; in rxrpc_peer_keepalive_dispatch() 403 u8 cursor, stop; in rxrpc_peer_keepalive_worker() local 408 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker() 409 _enter("%lld,%u", base - now, cursor); in rxrpc_peer_keepalive_worker() [all …]
|
| /Linux-v5.4/crypto/asymmetric_keys/ |
| D | verify_pefile.c | 32 size_t cursor, datalen = pelen; in pefile_parse_binary() local 45 cursor = sizeof(*mz); in pefile_parse_binary() 47 chkaddr(cursor, mz->peaddr, sizeof(*pe)); in pefile_parse_binary() 51 cursor = mz->peaddr + sizeof(*pe); in pefile_parse_binary() 53 chkaddr(0, cursor, sizeof(pe32->magic)); in pefile_parse_binary() 54 pe32 = pebuf + cursor; in pefile_parse_binary() 55 pe64 = pebuf + cursor; in pefile_parse_binary() 59 chkaddr(0, cursor, sizeof(*pe32)); in pefile_parse_binary() 63 cursor += sizeof(*pe32); in pefile_parse_binary() 68 chkaddr(0, cursor, sizeof(*pe64)); in pefile_parse_binary() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/msm/disp/mdp4/ |
| D | mdp4_crtc.c | 38 } cursor; member 362 spin_lock_irqsave(&mdp4_crtc->cursor.lock, flags); in update_cursor() 363 if (mdp4_crtc->cursor.stale) { in update_cursor() 364 struct drm_gem_object *next_bo = mdp4_crtc->cursor.next_bo; in update_cursor() 365 struct drm_gem_object *prev_bo = mdp4_crtc->cursor.scanout_bo; in update_cursor() 366 uint64_t iova = mdp4_crtc->cursor.next_iova; in update_cursor() 375 MDP4_DMA_CURSOR_SIZE_WIDTH(mdp4_crtc->cursor.width) | in update_cursor() 376 MDP4_DMA_CURSOR_SIZE_HEIGHT(mdp4_crtc->cursor.height)); in update_cursor() 391 mdp4_crtc->cursor.scanout_bo = next_bo; in update_cursor() 392 mdp4_crtc->cursor.stale = false; in update_cursor() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_vm.c | 366 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_start() argument 368 cursor->pfn = start; in amdgpu_vm_pt_start() 369 cursor->parent = NULL; in amdgpu_vm_pt_start() 370 cursor->entry = &vm->root; in amdgpu_vm_pt_start() 371 cursor->level = adev->vm_manager.root_level; in amdgpu_vm_pt_start() 385 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_descendant() argument 389 if (!cursor->entry->entries) in amdgpu_vm_pt_descendant() 392 BUG_ON(!cursor->entry->base.bo); in amdgpu_vm_pt_descendant() 393 mask = amdgpu_vm_entries_mask(adev, cursor->level); in amdgpu_vm_pt_descendant() 394 shift = amdgpu_vm_level_shift(adev, cursor->level); in amdgpu_vm_pt_descendant() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/ |
| D | disp.c | 66 if (nv_crtc->cursor.nvbo) { in nv04_display_fini() 67 if (nv_crtc->cursor.set_offset) in nv04_display_fini() 68 nouveau_bo_unmap(nv_crtc->cursor.nvbo); in nv04_display_fini() 69 nouveau_bo_unpin(nv_crtc->cursor.nvbo); in nv04_display_fini() 120 if (!nv_crtc->cursor.nvbo) in nv04_display_init() 123 ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, TTM_PL_FLAG_VRAM, true); in nv04_display_init() 124 if (!ret && nv_crtc->cursor.set_offset) in nv04_display_init() 125 ret = nouveau_bo_map(nv_crtc->cursor.nvbo); in nv04_display_init() 150 if (!nv_crtc->cursor.nvbo) in nv04_display_init() 153 if (nv_crtc->cursor.set_offset) in nv04_display_init() [all …]
|
| /Linux-v5.4/drivers/staging/speakup/ |
| D | DefaultKeyAssignments | 12 InsKeyPad-8 say from top of screen to reading cursor. 18 InsKeyPad-4 say from left edge of line to reading cursor. 20 InsKeyPad-6 Say from reading cursor to right edge of line. 26 InsKeyPad-plus Say from reading cursor line to bottom of screen. 27 KeyPad-Minus Park reading cursor (toggle) 31 InsKeyPad-9 Move reading cursor to top of screen (insert pgup) 32 InsKeyPad-3 Move reading cursor to bottom of screen (insert pgdn) 33 InsKeyPad-7 Move reading cursor to left edge of screen (insert home) 34 InsKeyPad-1 Move reading cursor to right edge of screen (insert end) 35 ControlKeyPad-1 Move reading cursor to last character on current line. [all …]
|
| /Linux-v5.4/drivers/video/fbdev/intelfb/ |
| D | intelfbdrv.c | 154 struct fb_cursor *cursor); 610 dinfo->cursor.size = HW_CURSOR_SIZE; in intelfb_pci_register() 636 dinfo->cursor.offset = offset + in intelfb_pci_register() 641 + (dinfo->cursor.size >> 12); in intelfb_pci_register() 692 agp_allocate_memory(bridge, dinfo->cursor.size >> 12, in intelfb_pci_register() 700 dinfo->cursor.offset)) { in intelfb_pci_register() 707 dinfo->cursor.physical in intelfb_pci_register() 710 dinfo->cursor.physical = dinfo->aperture.physical in intelfb_pci_register() 711 + (dinfo->cursor.offset << 12); in intelfb_pci_register() 712 dinfo->cursor.virtual = dinfo->aperture.virtual in intelfb_pci_register() [all …]
|
| /Linux-v5.4/lib/ |
| D | assoc_array.c | 27 const struct assoc_array_ptr *cursor, *ptr, *parent; in assoc_array_subtree_iterate() local 31 cursor = root; in assoc_array_subtree_iterate() 34 if (assoc_array_ptr_is_shortcut(cursor)) { in assoc_array_subtree_iterate() 36 shortcut = assoc_array_ptr_to_shortcut(cursor); in assoc_array_subtree_iterate() 37 cursor = READ_ONCE(shortcut->next_node); /* Address dependency. */ in assoc_array_subtree_iterate() 40 node = assoc_array_ptr_to_node(cursor); in assoc_array_subtree_iterate() 79 node = assoc_array_ptr_to_node(cursor); in assoc_array_subtree_iterate() 83 cursor = ptr; in assoc_array_subtree_iterate() 97 cursor = parent; in assoc_array_subtree_iterate() 105 cursor = parent; in assoc_array_subtree_iterate() [all …]
|