/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-top.c | 3 * builtin-top.c 5 * Builtin top command: Display a continuously updated profile of 39 #include "util/top.h" 94 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument 96 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries() 104 static void perf_top__resize(struct perf_top *top) in perf_top__resize() argument 106 get_term_dimensions(&top->winsize); in perf_top__resize() 107 perf_top__update_print_entries(top); in perf_top__resize() 110 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source() argument 140 if (!symbol__hists(sym, top->evlist->core.nr_entries)) { in perf_top__parse_source() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | top.c | 5 * Refactored from builtin-top.c, see that files for further copyright notes. 13 #include "top.h" 23 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument 28 struct record_opts *opts = &top->record_opts; in perf_top__header_snprintf() 32 if (top->samples) { in perf_top__header_snprintf() 33 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf() 34 ksamples_per_sec = top->kernel_samples / top->delay_secs; in perf_top__header_snprintf() 35 esamples_percent = (100.0 * top->exact_samples) / top->samples; in perf_top__header_snprintf() 50 top->lost, top->lost_total, top->drop, top->drop_total); in perf_top__header_snprintf() 52 float us_samples_per_sec = top->us_samples / top->delay_secs; in perf_top__header_snprintf() [all …]
|
D | pstack.c | 16 unsigned short top; member 37 return pstack->top == 0; in pstack__empty() 42 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove() 50 --pstack->top; in pstack__remove() 59 if (pstack->top == pstack->max_nr_entries) { in pstack__push() 60 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push() 63 pstack->entries[pstack->top++] = key; in pstack__push() 70 if (pstack->top == 0) { in pstack__pop() 75 ret = pstack->entries[--pstack->top]; in pstack__pop() 76 pstack->entries[pstack->top] = NULL; in pstack__pop() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
D | base.c | 27 nvkm_top_device_new(struct nvkm_top *top) in nvkm_top_device_new() argument 38 list_add_tail(&info->head, &top->device); in nvkm_top_device_new() 46 struct nvkm_top *top = device->top; in nvkm_top_addr() local 49 if (top) { in nvkm_top_addr() 50 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr() 62 struct nvkm_top *top = device->top; in nvkm_top_reset() local 65 if (top) { in nvkm_top_reset() 66 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset() 78 struct nvkm_top *top = device->top; in nvkm_top_intr_mask() local 81 if (top) { in nvkm_top_intr_mask() [all …]
|
/kernel/linux/linux-5.10/include/media/ |
D | v4l2-rect.h | 64 if (r->top < boundary->top) in v4l2_rect_map_inside() 65 r->top = boundary->top; in v4l2_rect_map_inside() 68 if (r->top + r->height > boundary->top + boundary->height) in v4l2_rect_map_inside() 69 r->top = boundary->top + boundary->height - r->height; in v4l2_rect_map_inside() 95 return r1->top == r2->top && r1->left == r2->left; in v4l2_rect_same_position() 123 r->top = max(r1->top, r2->top); in v4l2_rect_intersect() 125 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect() 127 r->height = max(0, bottom - r->top); in v4l2_rect_intersect() 149 r->left = r->top = r->width = r->height = 0; in v4l2_rect_scale() 154 r->top = ((r->top - from->top) * to->height) / from->height; in v4l2_rect_scale() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/ |
D | ehea_qmr.c | 552 static inline int ehea_init_bmap(struct ehea_bmap *ehea_bmap, int top, int dir) in ehea_init_bmap() argument 554 if (!ehea_bmap->top[top]) { in ehea_init_bmap() 555 ehea_bmap->top[top] = in ehea_init_bmap() 557 if (!ehea_bmap->top[top]) in ehea_init_bmap() 560 return ehea_init_top_bmap(ehea_bmap->top[top], dir); in ehea_init_bmap() 572 int top, dir, idx; in ehea_rebuild_busmap() local 574 for (top = 0; top < EHEA_MAP_ENTRIES; top++) { in ehea_rebuild_busmap() 578 if (!ehea_bmap->top[top]) in ehea_rebuild_busmap() 580 ehea_top = ehea_bmap->top[top]; in ehea_rebuild_busmap() 602 ehea_bmap->top[top] = NULL; in ehea_rebuild_busmap() [all …]
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
D | field-order.rst | 29 combine to frames. We distinguish between top (aka odd) and bottom (aka 30 even) fields, the *spatial order*: The first line of the top field is 35 whether a frame commences with the top or bottom field is pointless. Any 36 two successive top and bottom, or bottom and top fields yield a valid 41 Counter to intuition the top field is not necessarily the older field. 42 Whether the older field contains the top or bottom lines is a convention 48 bus in the same order they were captured, so if the top field was 49 captured first (is the older field), the top field is also transmitted 92 - Images consist of the top (aka odd) field only. 102 order of the fields (whether the top or bottom field is older) [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
D | allwinner,sun8i-r40-tcon-top.yaml | 4 $id: http://devicetree.org/schemas/display/allwinner,sun8i-r40-tcon-top.yaml# 7 title: Allwinner R40 TCON TOP Device Tree Bindings 26 TCON-TOP 29 | TCON-TOP - HDMI 33 Note that both TCON TOP references same physical unit. Both mixers 34 can be connected to any TCON. Not all TCON TOP variants support all 43 - allwinner,sun8i-r40-tcon-top 44 - allwinner,sun50i-h6-tcon-top 53 - description: The TCON TOP interface clock 54 - description: The TCON TOP TV0 clock [all …]
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | exynos-lpass.c | 10 * This module provides regmap for the Top SFR region and instantiates 27 /* LPASS Top register definitions */ 53 /* pointer to the LPASS TOP regmap */ 54 struct regmap *top; member 62 regmap_read(lpass->top, SFR_LPASS_CORE_SW_RESET, &val); in exynos_lpass_core_sw_reset() 65 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset() 70 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset() 78 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, in exynos_lpass_enable() 81 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, in exynos_lpass_enable() 94 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, 0); in exynos_lpass_disable() [all …]
|
/kernel/linux/linux-5.10/fs/jfs/ |
D | jfs_btree.h | 96 * top frame record the leaf page/entry selected. 106 struct btframe *top; member 112 (btstack)->top = (btstack)->stack 115 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1])) 120 (BTSTACK)->top->bn = BN;\ 121 (BTSTACK)->top->index = INDEX;\ 122 ++(BTSTACK)->top;\ 126 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top ) 129 ( (btstack)->top == (btstack)->stack ? NULL : (btstack)->top ) 156 if (! BT_IS_ROOT((BTSTACK)->top->mp))\ [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
D | 8xx.c | 129 static void mmu_mapin_ram_chunk(unsigned long offset, unsigned long top, in mmu_mapin_ram_chunk() argument 135 WARN_ON(!IS_ALIGNED(offset, SZ_512K) || !IS_ALIGNED(top, SZ_512K)); in mmu_mapin_ram_chunk() 137 for (; p < ALIGN(p, SZ_8M) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk() 139 for (; p < ALIGN_DOWN(top, SZ_8M) && p < top; p += SZ_8M, v += SZ_8M) in mmu_mapin_ram_chunk() 141 for (; p < ALIGN_DOWN(top, SZ_512K) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk() 145 flush_tlb_kernel_range(PAGE_OFFSET + v, PAGE_OFFSET + top); in mmu_mapin_ram_chunk() 148 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument 156 WARN_ON(top < einittext8); in mmu_mapin_ram() 165 top = boundary; in mmu_mapin_ram() 168 mmu_mapin_ram_chunk(einittext8, top, PAGE_KERNEL, true); in mmu_mapin_ram() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/amlogic/ |
D | analog-top.txt | 1 Amlogic Meson8 and Meson8b "analog top" registers: 4 The analog top registers contain information about the so-called 8 - reg: the register range of the analog top registers 10 - "amlogic,meson8-analog-top" 11 - "amlogic,meson8b-analog-top" 17 analog_top: analog-top@81a8 { 18 compatible = "amlogic,meson8-analog-top", "syscon";
|
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
D | btcx-risc.c | 90 clips[n].c.top = 0; in btcx_screen_clips() 98 clips[n].c.top = 0; in btcx_screen_clips() 103 if (win->top < 0) { in btcx_screen_clips() 104 /* top */ in btcx_screen_clips() 106 clips[n].c.top = 0; in btcx_screen_clips() 108 clips[n].c.height = -win->top; in btcx_screen_clips() 111 if (win->top + win->height > sheight) { in btcx_screen_clips() 114 clips[n].c.top = sheight - win->top; in btcx_screen_clips() 116 clips[n].c.height = win->height - clips[n].c.top; in btcx_screen_clips() 137 win->width, win->height, win->left, win->top, dx); in btcx_align() [all …]
|
D | bttv-risc.c | 267 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay() 383 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo() 404 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo() 459 if (NULL != btv->curr.top) btv->cap_ctl |= 0x02; in bttv_set_dma() 468 d2printk("%d: capctl=%x lirq=%d top=%08llx/%08llx even=%08llx/%08llx\n", in bttv_set_dma() 470 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_set_dma() 471 btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_set_dma() 520 /* top field */ in bttv_risc_init_main() 536 /* jump back to top field */ in bttv_risc_init_main() 580 btcx_riscmem_free(btv->c.pci,&buf->top); in bttv_dma_free() [all …]
|
/kernel/linux/linux-5.10/arch/x86/um/os-Linux/ |
D | task_size.c | 80 unsigned long top = 0xffffd000 >> UM_KERN_PAGE_SHIFT; in os_get_top_address() local 101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address() 107 if (bottom == top) { in os_get_top_address() 114 printf("Locating the top of the address space ... "); in os_get_top_address() 120 if (page_ok(top)) in os_get_top_address() 124 test = bottom + (top - bottom) / 2; in os_get_top_address() 128 top = test; in os_get_top_address() 129 } while (top - bottom > 1); in os_get_top_address() 137 top <<= UM_KERN_PAGE_SHIFT; in os_get_top_address() 138 printf("0x%lx\n", top); in os_get_top_address() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_top.h | 48 * @mdp: top level status 72 * struct dpu_hw_mdp_ops - interface to the MDP TOP Hw driver functions 81 * @mdp : mdp top context driver 89 * @mdp : mdp top context driver 97 * @mdp: mdp top context driver 107 * @mdp: mdp top context driver 115 * @mdp: mdp top context driver 123 * @mdp: mdp top context driver 131 * @mdp: mdp top context driver 140 /* top */ [all …]
|
/kernel/linux/linux-5.10/drivers/soc/bcm/brcmstb/ |
D | common.c | 52 { .compatible = "brcm,bcm7125-sun-top-ctrl", }, 53 { .compatible = "brcm,bcm7346-sun-top-ctrl", }, 54 { .compatible = "brcm,bcm7358-sun-top-ctrl", }, 55 { .compatible = "brcm,bcm7360-sun-top-ctrl", }, 56 { .compatible = "brcm,bcm7362-sun-top-ctrl", }, 57 { .compatible = "brcm,bcm7420-sun-top-ctrl", }, 58 { .compatible = "brcm,bcm7425-sun-top-ctrl", }, 59 { .compatible = "brcm,bcm7429-sun-top-ctrl", }, 60 { .compatible = "brcm,bcm7435-sun-top-ctrl", }, 61 { .compatible = "brcm,brcmstb-sun-top-ctrl", },
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_srv.c | 262 inst->top = inst->base + params->inst_const_size; in dmub_srv_calc_region_info() 264 data->base = dmub_align(inst->top, 256); in dmub_srv_calc_region_info() 265 data->top = data->base + params->bss_data_size; in dmub_srv_calc_region_info() 272 stack->base = dmub_align(data->top, 256); in dmub_srv_calc_region_info() 273 stack->top = stack->base + DMUB_STACK_SIZE + DMUB_CONTEXT_SIZE; in dmub_srv_calc_region_info() 275 bios->base = dmub_align(stack->top, 256); in dmub_srv_calc_region_info() 276 bios->top = bios->base + params->vbios_size; in dmub_srv_calc_region_info() 278 mail->base = dmub_align(bios->top, 256); in dmub_srv_calc_region_info() 279 mail->top = mail->base + DMUB_MAILBOX_SIZE; in dmub_srv_calc_region_info() 298 trace_buff->base = dmub_align(mail->top, 256); in dmub_srv_calc_region_info() [all …]
|
/kernel/linux/linux-5.10/include/sound/sof/ |
D | control.h | 42 SOF_CHMAP_TC, /**< top centre */ 43 SOF_CHMAP_TFL, /**< top front left */ 44 SOF_CHMAP_TFR, /**< top front right */ 45 SOF_CHMAP_TFC, /**< top front centre */ 46 SOF_CHMAP_TRL, /**< top rear left */ 47 SOF_CHMAP_TRR, /**< top rear right */ 48 SOF_CHMAP_TRC, /**< top rear centre */ 49 SOF_CHMAP_TFLC, /**< top front left centre */ 50 SOF_CHMAP_TFRC, /**< top front right centre */ 51 SOF_CHMAP_TSL, /**< top side left */ [all …]
|
/kernel/linux/linux-5.10/arch/openrisc/kernel/ |
D | unwinder.c | 22 unsigned long top; member 29 * top of the next frame up. 35 frameinfo->fp > &frameinfo->top)) && in or1k_frameinfo_valid() 42 * pointer with the top of the stack address every time we find a valid 53 * SP -> (top of stack) 58 * FP -> (previous top of stack) / 70 top); in unwind_stack() 75 next_fp == &frameinfo->top)) { in unwind_stack()
|
/kernel/linux/linux-5.10/arch/x86/math-emu/ |
D | fpu_tags.c | 20 fpu_tag_word |= 3 << ((top & 7) * 2); in FPU_pop() 21 top++; in FPU_pop() 26 return (fpu_tag_word >> ((top & 7) * 2)) & 3; in FPU_gettag0() 31 return (fpu_tag_word >> (((top + stnr) & 7) * 2)) & 3; in FPU_gettagi() 41 int regnr = top; in FPU_settag0() 49 int regnr = stnr + top; in FPU_settagi() 83 int regnr = (top + stnr) & 7; in FPU_empty_i() 92 return ((fpu_tag_word >> (((top - 1) & 7) * 2)) & 3) != TAG_Empty; in FPU_stackoverflow() 109 int regnr = top; in FPU_copy_to_reg0()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | iowait.c | 104 * iowait_priority_update_top - update the top priority entry 106 * @top: a pointer to the top priority entry 108 * @top_idx: the array index for the iowait entry that has the top priority 111 * iowait with the given top priority entry. The top index will 115 struct iowait *top, in iowait_priority_update_top() argument 122 tcnt = (top->priority << IOWAIT_PRIORITY_STARVE_SHIFT) + in iowait_priority_update_top() 123 top->starved_cnt; in iowait_priority_update_top()
|
/kernel/linux/linux-5.10/fs/autofs/ |
D | expire.c | 32 struct dentry *top = dentry; in autofs_mount_busy() local 61 ino = autofs_dentry_ino(top); in autofs_mount_busy() 113 * Calculate and dget next entry in top down tree traversal. 151 struct dentry *top, in autofs_direct_busy() argument 155 pr_debug("top %p %pd\n", top, top); in autofs_direct_busy() 165 ino = autofs_dentry_ino(top); in autofs_direct_busy() 171 /* Timeout of a direct mount is determined by its top dentry */ in autofs_direct_busy() 172 if (!autofs_can_expire(top, timeout, how)) in autofs_direct_busy() 183 struct dentry *top, in autofs_tree_busy() argument 187 struct autofs_info *top_ino = autofs_dentry_ino(top); in autofs_tree_busy() [all …]
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | dumpstack.c | 66 unsigned long frame_size, top; in in_irq_stack() local 69 top = S390_lowcore.async_stack + frame_size; in in_irq_stack() 70 return in_stack(sp, info, STACK_TYPE_IRQ, top - THREAD_SIZE, top); in in_irq_stack() 75 unsigned long frame_size, top; in in_nodat_stack() local 78 top = S390_lowcore.nodat_stack + frame_size; in in_nodat_stack() 79 return in_stack(sp, info, STACK_TYPE_NODAT, top - THREAD_SIZE, top); in in_nodat_stack() 84 unsigned long frame_size, top; in in_restart_stack() local 87 top = S390_lowcore.restart_stack + frame_size; in in_restart_stack() 88 return in_stack(sp, info, STACK_TYPE_RESTART, top - THREAD_SIZE, top); in in_restart_stack()
|
/kernel/linux/linux-5.10/tools/perf/ui/ |
D | browser.c | 116 pos = browser->top; in ui_browser__list_head_seek() 135 browser->top = pos; in ui_browser__list_head_seek() 148 nd = browser->top; in ui_browser__rb_tree_seek() 165 browser->top = nd; in ui_browser__rb_tree_seek() 173 if (browser->top == NULL) in ui_browser__rb_tree_refresh() 174 browser->top = rb_first(browser->entries); in ui_browser__rb_tree_refresh() 176 nd = browser->top; in ui_browser__rb_tree_refresh() 365 * that is why we do a SEEK_SET. Think about 'perf top' in the hists browser 382 browser->top = NULL; in ui_browser__update_nr_entries() 504 if (browser->top == NULL || browser->top == browser->entries) in ui_browser__list_head_refresh() [all …]
|