Home
last modified time | relevance | path

Searched full:top (Results 1 – 25 of 2826) sorted by relevance

12345678910>>...114

/Linux-v6.1/tools/perf/
Dbuiltin-top.c3 * builtin-top.c
5 * Builtin top command: Display a continuously updated profile of
40 #include "util/top.h"
95 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument
97 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries()
105 static void perf_top__resize(struct perf_top *top) in perf_top__resize() argument
107 get_term_dimensions(&top->winsize); in perf_top__resize()
108 perf_top__update_print_entries(top); in perf_top__resize()
111 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source() argument
141 if (!symbol__hists(sym, top->evlist->core.nr_entries)) { in perf_top__parse_source()
[all …]
/Linux-v6.1/tools/perf/util/
Dtop.c5 * 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 …]
Dpstack.c16 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 …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/top/
Dbase.c27 nvkm_top_device_new(struct nvkm_top *top) in nvkm_top_device_new() argument
39 list_add_tail(&info->head, &top->device); in nvkm_top_device_new()
47 struct nvkm_top *top = device->top; in nvkm_top_addr() local
50 if (top) { in nvkm_top_addr()
51 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr()
63 struct nvkm_top *top = device->top; in nvkm_top_reset() local
66 if (top) { in nvkm_top_reset()
67 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset()
79 struct nvkm_top *top = device->top; in nvkm_top_intr_mask() local
82 if (top) { in nvkm_top_intr_mask()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/display/
Dallwinner,sun8i-r40-tcon-top.yaml4 $id: http://devicetree.org/schemas/display/allwinner,sun8i-r40-tcon-top.yaml#
7 title: Allwinner R40 TCON TOP
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,sun20i-d1-tcon-top
45 - allwinner,sun50i-h6-tcon-top
122 const: allwinner,sun8i-r40-tcon-top
[all …]
/Linux-v6.1/include/media/
Dv4l2-rect.h64 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 …]
/Linux-v6.1/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c552 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 …]
/Linux-v6.1/tools/tracing/rtla/src/
Dtimerlat_top.c134 struct osnoise_tool *top; in timerlat_top_handler() local
137 top = container_of(trace, struct osnoise_tool, trace); in timerlat_top_handler()
142 timerlat_top_update(top, cpu, thread, latency); in timerlat_top_handler()
150 static void timerlat_top_header(struct osnoise_tool *top) in timerlat_top_header() argument
152 struct timerlat_top_params *params = top->params; in timerlat_top_header()
153 struct trace_seq *s = top->trace.seq; in timerlat_top_header()
156 get_duration(top->start_time, duration, sizeof(duration)); in timerlat_top_header()
176 static void timerlat_top_print(struct osnoise_tool *top, int cpu) in timerlat_top_print() argument
179 struct timerlat_top_params *params = top->params; in timerlat_top_print()
180 struct timerlat_top_data *data = top->data; in timerlat_top_print()
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dfield-order.rst29 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 …]
/Linux-v6.1/drivers/mfd/
Dexynos-lpass.c10 * This module provides regmap for the Top SFR region and instantiates
26 /* LPASS Top register definitions */
52 /* pointer to the LPASS TOP regmap */
53 struct regmap *top; member
61 regmap_read(lpass->top, SFR_LPASS_CORE_SW_RESET, &val); in exynos_lpass_core_sw_reset()
64 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset()
69 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset()
77 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, in exynos_lpass_enable()
80 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, in exynos_lpass_enable()
93 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, 0); in exynos_lpass_disable()
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
Dq_in_q_veto.sh57 check_fail $? "$netdev_proto vlan upper creation on top of an $bridge_proto bridge not rejected"
62 …check_err $? "$netdev_proto vlan upper creation on top of an $bridge_proto bridge rejected without…
64 log_test "create $netdev_proto vlan upper on top $bridge_proto bridge"
75 check_fail $? "802.1ad vlan upper creation on top of a front panel not rejected"
80 check_err $? "802.1ad vlan upper creation on top of a front panel rejected without extack"
82 log_test "create 802.1ad vlan upper on top of a front panel"
97 check_fail $? "802.1ad vlan upper creation on top of a bridge port not rejected"
102 check_err $? "802.1ad vlan upper creation on top of a bridge port rejected without extack"
104 log_test "create 802.1ad vlan upper on top of a bridge port"
119 check_fail $? "802.1ad vlan upper creation on top of a lag not rejected"
[all …]
/Linux-v6.1/arch/powerpc/mm/nohash/
D8xx.c119 static void mmu_mapin_ram_chunk(unsigned long offset, unsigned long top, in mmu_mapin_ram_chunk() argument
125 WARN_ON(!IS_ALIGNED(offset, SZ_512K) || !IS_ALIGNED(top, SZ_512K)); in mmu_mapin_ram_chunk()
127 for (; p < ALIGN(p, SZ_8M) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk()
129 for (; p < ALIGN_DOWN(top, SZ_8M) && p < top; p += SZ_8M, v += SZ_8M) in mmu_mapin_ram_chunk()
131 for (; p < ALIGN_DOWN(top, SZ_512K) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk()
135 flush_tlb_kernel_range(PAGE_OFFSET + v, PAGE_OFFSET + top); in mmu_mapin_ram_chunk()
138 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument
146 WARN_ON(top < einittext8); in mmu_mapin_ram()
152 top = boundary; in mmu_mapin_ram()
155 mmu_mapin_ram_chunk(einittext8, top, PAGE_KERNEL, true); in mmu_mapin_ram()
[all …]
/Linux-v6.1/fs/jfs/
Djfs_btree.h96 * 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 …]
/Linux-v6.1/drivers/media/pci/bt8xx/
Dbtcx-risc.c89 clips[n].c.top = 0; in btcx_screen_clips()
97 clips[n].c.top = 0; in btcx_screen_clips()
102 if (win->top < 0) { in btcx_screen_clips()
103 /* top */ in btcx_screen_clips()
105 clips[n].c.top = 0; in btcx_screen_clips()
107 clips[n].c.height = -win->top; in btcx_screen_clips()
110 if (win->top + win->height > sheight) { in btcx_screen_clips()
113 clips[n].c.top = sheight - win->top; in btcx_screen_clips()
115 clips[n].c.height = win->height - clips[n].c.top; in btcx_screen_clips()
136 win->width, win->height, win->left, win->top, dx); in btcx_align()
[all …]
Dbttv-risc.c267 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()
579 btcx_riscmem_free(btv->c.pci,&buf->top); in bttv_dma_free()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/arm/amlogic/
Danalog-top.txt1 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";
/Linux-v6.1/drivers/soc/bcm/brcmstb/
Dcommon.c30 { .compatible = "brcm,bcm7125-sun-top-ctrl", },
31 { .compatible = "brcm,bcm7346-sun-top-ctrl", },
32 { .compatible = "brcm,bcm7358-sun-top-ctrl", },
33 { .compatible = "brcm,bcm7360-sun-top-ctrl", },
34 { .compatible = "brcm,bcm7362-sun-top-ctrl", },
35 { .compatible = "brcm,bcm7420-sun-top-ctrl", },
36 { .compatible = "brcm,bcm7425-sun-top-ctrl", },
37 { .compatible = "brcm,bcm7429-sun-top-ctrl", },
38 { .compatible = "brcm,bcm7435-sun-top-ctrl", },
39 { .compatible = "brcm,brcmstb-sun-top-ctrl", },
/Linux-v6.1/arch/x86/um/os-Linux/
Dtask_size.c80 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 …]
/Linux-v6.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_top.h47 * @mdp: top level status
71 * struct dpu_hw_mdp_ops - interface to the MDP TOP Hw driver functions
80 * @mdp : mdp top context driver
88 * @mdp : mdp top context driver
96 * @mdp: mdp top context driver
106 * @mdp: mdp top context driver
114 * @mdp: mdp top context driver
122 * @mdp: mdp top context driver
130 * @mdp: mdp top context driver
139 /* top */
[all …]
/Linux-v6.1/arch/s390/kernel/
Ddumpstack.c66 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_mcck_stack() local
87 top = S390_lowcore.mcck_stack + frame_size; in in_mcck_stack()
88 return in_stack(sp, info, STACK_TYPE_MCCK, top - THREAD_SIZE, top); in in_mcck_stack()
93 unsigned long frame_size, top; in in_restart_stack() local
[all …]
/Linux-v6.1/include/sound/sof/
Dcontrol.h42 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 …]
/Linux-v6.1/arch/openrisc/kernel/
Dunwinder.c22 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()
/Linux-v6.1/arch/x86/math-emu/
Dfpu_tags.c20 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()
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Diowait.c104 * 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()
/Linux-v6.1/fs/autofs/
Dexpire.c32 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 …]

12345678910>>...114