Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 861) sorted by relevance

12345678910>>...35

/Linux-v5.10/tools/perf/
Dbuiltin-top.c94 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()
148 err = symbol__annotate(&he->ms, evsel, &top->annotation_opts, NULL); in perf_top__parse_source()
150 top->sym_filter_entry = he; in perf_top__parse_source()
194 static void perf_top__record_precise_ip(struct perf_top *top, in perf_top__record_precise_ip() argument
[all …]
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/top/
Dbase.c27 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 …]
/Linux-v5.10/tools/perf/util/
Dtop.c23 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()
53 float guest_kernel_samples_per_sec = top->guest_kernel_samples / top->delay_secs; in perf_top__header_snprintf()
54 float guest_us_samples_per_sec = top->guest_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-v5.10/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-v5.10/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-v5.10/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()
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()
140 return top; in os_get_top_address()
/Linux-v5.10/fs/jfs/
Djfs_btree.h106 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))\
157 release_metapage((BTSTACK)->top->mp);\
/Linux-v5.10/arch/powerpc/mm/nohash/
D8xx.c129 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 …]
/Linux-v5.10/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-v5.10/drivers/mfd/
Dexynos-lpass.c54 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()
95 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, 0); in exynos_lpass_disable()
128 lpass->top = regmap_init_mmio(dev, base_top, in exynos_lpass_probe()
130 if (IS_ERR(lpass->top)) { in exynos_lpass_probe()
[all …]
/Linux-v5.10/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-v5.10/Documentation/admin-guide/cifs/
Dwinucase_convert.pl28 $top[$firstchar][$secondchar] = $uppercase;
32 next if (!$top[$i]);
41 printf("0x%4.4x,", $top[$i][$j] ? $top[$i][$j] : 0);
50 } elsif ($top[$i]) {
56 if ($top[$i]) {
/Linux-v5.10/drivers/media/pci/bt8xx/
Dbtcx-risc.c90 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()
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()
149 clips[i].c.left, clips[i].c.top); 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()
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()
580 btcx_riscmem_free(btv->c.pci,&buf->top); in bttv_dma_free()
588 struct btcx_riscmem *top; in bttv_buffer_activate_vbi() local
593 top = NULL; in bttv_buffer_activate_vbi()
619 top = &vbi->top; in bttv_buffer_activate_vbi()
[all …]
/Linux-v5.10/arch/powerpc/mm/book3s32/
Dmmu.c99 static unsigned int block_size(unsigned long base, unsigned long top) in block_size() argument
103 unsigned int block_shift = (fls(top - base) - 1) & 31; in block_size()
139 static unsigned long __init __mmu_mapin_ram(unsigned long base, unsigned long top) in __mmu_mapin_ram() argument
143 while ((idx = find_free_bat()) != -1 && base != top) { in __mmu_mapin_ram()
144 unsigned int size = block_size(base, top); in __mmu_mapin_ram()
155 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument
167 if (top >= border) in mmu_mapin_ram()
168 top = border; in mmu_mapin_ram()
171 if (!strict_kernel_rwx_enabled() || base >= border || top <= border) in mmu_mapin_ram()
172 return __mmu_mapin_ram(base, top); in mmu_mapin_ram()
[all …]
/Linux-v5.10/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_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()
/Linux-v5.10/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_srv.c262 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 …]
Ddmub_dcn30.c102 DMCUB_REGION3_CW0_TOP_ADDRESS, cw0->region.top, in dmub_dcn30_backdoor_load()
111 DMCUB_REGION3_CW1_TOP_ADDRESS, cw1->region.top, in dmub_dcn30_backdoor_load()
131 if (cw2->region.base != cw2->region.top) { in dmub_dcn30_setup_windows()
136 DMCUB_REGION3_CW2_TOP_ADDRESS, cw2->region.top, in dmub_dcn30_setup_windows()
151 DMCUB_REGION3_CW3_TOP_ADDRESS, cw3->region.top, in dmub_dcn30_setup_windows()
162 DMCUB_REGION3_CW4_TOP_ADDRESS, cw4->region.top, in dmub_dcn30_setup_windows()
169 cw4->region.top - cw4->region.base - 1, in dmub_dcn30_setup_windows()
179 DMCUB_REGION3_CW5_TOP_ADDRESS, cw5->region.top, in dmub_dcn30_setup_windows()
188 DMCUB_REGION3_CW6_TOP_ADDRESS, cw6->region.top, in dmub_dcn30_setup_windows()
/Linux-v5.10/drivers/media/platform/omap/
Domap_voutlib.c53 crop->top = ((pix->height - crop->height) >> 1) & ~1; in omap_vout_default_crop()
78 if (try_win.top < 0) { in omap_vout_try_window()
79 try_win.height += try_win.top; in omap_vout_try_window()
80 try_win.top = 0; in omap_vout_try_window()
88 if (try_win.top + try_win.height > fbuf->fmt.height) in omap_vout_try_window()
89 try_win.height = fbuf->fmt.height - try_win.top; in omap_vout_try_window()
184 if (try_crop.top < 0) { in omap_vout_new_crop()
185 try_crop.height += try_crop.top; in omap_vout_new_crop()
186 try_crop.top = 0; in omap_vout_new_crop()
194 if (try_crop.top + try_crop.height > pix->height) in omap_vout_new_crop()
[all …]
/Linux-v5.10/drivers/gpu/drm/qxl/
Dqxl_draw.c90 drawable->self_bitmap_area.top = 0; in make_drawable()
137 int left, right, top, bottom; in qxl_draw_dirty_fb() local
160 top = clips->y1; in qxl_draw_dirty_fb()
168 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb()
173 height = bottom - top; in qxl_draw_dirty_fb()
192 drawable_rect.top = top; in qxl_draw_dirty_fb()
206 top, width, height, depth, stride); in qxl_draw_dirty_fb()
222 drawable->u.copy.src_area.top = 0; in qxl_draw_dirty_fb()
241 rects[i].top = clips_ptr->y1; in qxl_draw_dirty_fb()
/Linux-v5.10/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-v5.10/arch/arm/mach-omap1/
Dlcd_dma.c132 unsigned long top, bottom; in set_b1_regs() local
167 top = PIXADDR(0, 0); in set_b1_regs()
177 top = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs()
187 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs()
192 top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs()
202 top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs()
207 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs()
217 top = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs()
222 top = PIXADDR(0, 0); in set_b1_regs()
236 omap_writew(top >> 16, OMAP1510_DMA_LCD_TOP_F1_U); in set_b1_regs()
[all …]
/Linux-v5.10/drivers/gpu/drm/sti/
Dsti_hqvdp.c312 struct sti_hqvdp_top top; member
483 seq_printf(s, "\n\t %-20s 0x%08X", "Config", c->top.config); in hqvdp_dbg_dump_cmd()
484 switch (c->top.config) { in hqvdp_dbg_dump_cmd()
499 seq_printf(s, "\n\t %-20s 0x%08X", "MemFormat", c->top.mem_format); in hqvdp_dbg_dump_cmd()
500 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentY", c->top.current_luma); in hqvdp_dbg_dump_cmd()
501 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentC", c->top.current_chroma); in hqvdp_dbg_dump_cmd()
502 seq_printf(s, "\n\t %-20s 0x%08X", "YSrcPitch", c->top.luma_src_pitch); in hqvdp_dbg_dump_cmd()
504 c->top.chroma_src_pitch); in hqvdp_dbg_dump_cmd()
506 c->top.input_frame_size); in hqvdp_dbg_dump_cmd()
508 c->top.input_frame_size & 0x0000FFFF, in hqvdp_dbg_dump_cmd()
[all …]
/Linux-v5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_doorbell.c62 tbl->top = 0; in pvrdma_uar_table_init()
94 tbl->top = (tbl->top + tbl->max) & tbl->mask; in pvrdma_uar_alloc()
104 obj |= tbl->top; in pvrdma_uar_alloc()
125 tbl->top = (tbl->top + tbl->max) & tbl->mask; in pvrdma_uar_free()

12345678910>>...35