/linux/tools/perf/ |
H A D | builtin-top.c | 541 top->sym_evsel = evlist__first(top->evlist); in perf_top__handle_keypress() 550 top->sym_evsel = evlist__first(top->evlist); in perf_top__handle_keypress() 583 top->hide_user_symbols = !top->hide_user_symbols; in perf_top__handle_keypress() 586 top->zero = !top->zero; in perf_top__handle_keypress() 1086 if (top->qe.in == &top->qe.data[1]) in rotate_queues() 1087 top->qe.in = &top->qe.data[0]; in rotate_queues() 1089 top->qe.in = &top->qe.data[1]; in rotate_queues() 1110 cond_wait(&top->qe.cond, &top->qe.mutex); in process_thread() 1224 top->qe.in = &top->qe.data[0]; in init_process_thread() 1306 top->session->evlist = top->evlist; in __cmd_top() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
H A D | base.c | 47 struct nvkm_top *top = device->top; in nvkm_top_addr() local 50 if (top) { in nvkm_top_addr() 63 struct nvkm_top *top = device->top; in nvkm_top_reset() local 66 if (top) { 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() 95 struct nvkm_top *top = device->top; in nvkm_top_fault_id() local 109 struct nvkm_top *top = device->top; in nvkm_top_fault() local 123 struct nvkm_top *top = device->top; in nvkm_top_parse() local 125 if (!top || !list_empty(&top->device)) in nvkm_top_parse() [all …]
|
/linux/tools/perf/util/ |
H A D | top.c | 33 if (top->samples) { in perf_top__header_snprintf() 34 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf() 35 ksamples_per_sec = top->kernel_samples / top->delay_secs; in perf_top__header_snprintf() 36 esamples_percent = (100.0 * top->exact_samples) / top->samples; in perf_top__header_snprintf() 51 top->lost, top->lost_total, top->drop, top->drop_total); in perf_top__header_snprintf() 53 float us_samples_per_sec = top->us_samples / top->delay_secs; in perf_top__header_snprintf() 54 float guest_kernel_samples_per_sec = top->guest_kernel_samples / top->delay_secs; in perf_top__header_snprintf() 55 float guest_us_samples_per_sec = top->guest_us_samples / top->delay_secs; in perf_top__header_snprintf() 116 top->samples = top->us_samples = top->kernel_samples = in perf_top__reset_sample_counters() 117 top->exact_samples = top->guest_kernel_samples = in perf_top__reset_sample_counters() [all …]
|
H A 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() 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() 82 if (pstack->top == 0) in pstack__peek() [all …]
|
/linux/include/media/ |
H A 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() 154 r->top = ((r->top - from->top) * to->height) / from->height; in v4l2_rect_scale() 181 if (r1->top >= r2->top + r2->height || in v4l2_rect_overlap() 182 r2->top >= r1->top + r1->height) in v4l2_rect_overlap() 197 if (r1->left < r2->left || r1->top < r2->top) in v4l2_rect_enclosed() [all …]
|
/linux/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_qmr.c | 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() 574 for (top = 0; top < EHEA_MAP_ENTRIES; top++) { in ehea_rebuild_busmap() 578 if (!ehea_bmap->top[top]) in ehea_rebuild_busmap() 637 if (!ehea_bmap->top[top]) in ehea_update_busmap() 737 for (top = 0; top < EHEA_MAP_ENTRIES; top++) { in ehea_destroy_busmap() 738 if (!ehea_bmap->top[top]) in ehea_destroy_busmap() 767 if (!ehea_bmap->top[top]) in ehea_map_vaddr() 890 for (top = 0; top < EHEA_MAP_ENTRIES; top++) { in ehea_reg_kernel_mr() [all …]
|
/linux/tools/tracing/rtla/src/ |
H A D | timerlat_top.c | 198 struct osnoise_tool *top; in timerlat_top_handler() local 202 params = top->params; in timerlat_top_handler() 874 if (!top) in timerlat_init_top() 878 if (!top->data) in timerlat_init_top() 881 top->params = params; in timerlat_init_top() 886 return top; in timerlat_init_top() 931 if (!top) { in timerlat_top_main() 942 trace = &top->trace; in timerlat_top_main() 997 aa = top; in timerlat_top_main() 1012 if (aa != top) { in timerlat_top_main() [all …]
|
/linux/arch/powerpc/mm/nohash/ |
H A D | 8xx.c | 129 WARN_ON(!IS_ALIGNED(offset, SZ_512K) || !IS_ALIGNED(top, SZ_512K)); in mmu_mapin_ram_chunk() 133 for (; p < ALIGN_DOWN(top, SZ_8M) && p < top && !err; p += SZ_8M, v += SZ_8M) in mmu_mapin_ram_chunk() 135 for (; p < ALIGN_DOWN(top, SZ_512K) && p < top && !err; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk() 139 flush_tlb_kernel_range(PAGE_OFFSET + v, PAGE_OFFSET + top); in mmu_mapin_ram_chunk() 152 WARN_ON(top < einittext8); in mmu_mapin_ram() 158 top = boundary; in mmu_mapin_ram() 161 mmu_mapin_ram_chunk(einittext8, top, PAGE_KERNEL, true); in mmu_mapin_ram() 164 if (top > SZ_32M) in mmu_mapin_ram() 165 memblock_set_current_limit(top); in mmu_mapin_ram() 167 block_mapped_ram = top; in mmu_mapin_ram() [all …]
|
/linux/arch/x86/um/os-Linux/ |
H A 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() 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/fs/jfs/ |
H A D | jfs_btree.h | 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))\ 157 release_metapage((BTSTACK)->top->mp);\
|
/linux/drivers/clk/starfive/ |
H A D | clk-starfive-jh7110-isp.c | 92 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_ispcrg_suspend() local 94 clk_bulk_disable_unprepare(top->top_clks_num, top->top_clks); in jh7110_ispcrg_suspend() 101 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_ispcrg_resume() local 103 return clk_bulk_prepare_enable(top->top_clks_num, top->top_clks); in jh7110_ispcrg_resume() 114 struct jh7110_top_sysclk *top; in jh7110_ispcrg_probe() local 124 top = devm_kzalloc(&pdev->dev, sizeof(*top), GFP_KERNEL); in jh7110_ispcrg_probe() 125 if (!top) in jh7110_ispcrg_probe() 134 top->top_clks = jh7110_isp_top_clks; in jh7110_ispcrg_probe() 135 top->top_clks_num = ARRAY_SIZE(jh7110_isp_top_clks); in jh7110_ispcrg_probe() 136 ret = devm_clk_bulk_get(priv->dev, top->top_clks_num, top->top_clks); in jh7110_ispcrg_probe() [all …]
|
H A D | clk-starfive-jh7110-vout.c | 97 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_voutcrg_suspend() local 99 clk_bulk_disable_unprepare(top->top_clks_num, top->top_clks); in jh7110_voutcrg_suspend() 106 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_voutcrg_resume() local 108 return clk_bulk_prepare_enable(top->top_clks_num, top->top_clks); in jh7110_voutcrg_resume() 119 struct jh7110_top_sysclk *top; in jh7110_voutcrg_probe() local 129 top = devm_kzalloc(&pdev->dev, sizeof(*top), GFP_KERNEL); in jh7110_voutcrg_probe() 130 if (!top) in jh7110_voutcrg_probe() 139 top->top_clks = jh7110_vout_top_clks; in jh7110_voutcrg_probe() 140 top->top_clks_num = ARRAY_SIZE(jh7110_vout_top_clks); in jh7110_voutcrg_probe() 141 ret = devm_clk_bulk_get(priv->dev, top->top_clks_num, top->top_clks); in jh7110_voutcrg_probe() [all …]
|
/linux/arch/x86/math-emu/ |
H A 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()
|
/linux/drivers/mfd/ |
H A D | exynos-lpass.c | 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() 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() 94 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, 0); in exynos_lpass_disable() 125 lpass->top = regmap_init_mmio(dev, base_top, in exynos_lpass_probe() 127 if (IS_ERR(lpass->top)) { in exynos_lpass_probe() 129 return PTR_ERR(lpass->top); in exynos_lpass_probe() [all …]
|
/linux/Documentation/devicetree/bindings/arm/amlogic/ |
H A 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";
|
/linux/Documentation/admin-guide/cifs/ |
H A D | winucase_convert.pl | 28 $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/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 294 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo() 315 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo() 436 btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_set_dma() 557 struct btcx_riscmem *top; in bttv_buffer_activate_vbi() local 562 top = NULL; in bttv_buffer_activate_vbi() 587 top = &vbi->top; in bttv_buffer_activate_vbi() 611 if (set->top->list.next) in bttv_buffer_activate_video() 614 if (set->top->list.next) in bttv_buffer_activate_video() 621 bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, in bttv_buffer_activate_video() 630 if (set->top->list.next) in bttv_buffer_activate_video() [all …]
|
/linux/arch/powerpc/mm/book3s32/ |
H A D | mmu.c | 106 unsigned int block_shift = (fls(top - base) - 1) & 31; in bat_block_size() 147 unsigned int size = bat_block_size(base, top); in __mmu_mapin_ram() 171 if (top >= border) in mmu_mapin_ram() 172 top = border; in mmu_mapin_ram() 176 return __mmu_mapin_ram(base, top); in mmu_mapin_ram() 182 return __mmu_mapin_ram(border, top); in mmu_mapin_ram() 205 for (i = 0; i < nb - 1 && base < top;) { in mmu_mark_initmem_nx() 206 size = bat_block_size(base, top); in mmu_mark_initmem_nx() 210 if (base < top) { in mmu_mark_initmem_nx() 211 size = bat_block_size(base, top); in mmu_mark_initmem_nx() [all …]
|
/linux/kernel/trace/ |
H A D | trace_btf.c | 79 int i, top = 0; in btf_find_struct_member() local 95 top < BTF_ANON_STACK_MAX) { in btf_find_struct_member() 96 anon_stack[top].tid = tid; in btf_find_struct_member() 97 anon_stack[top++].offset = in btf_find_struct_member() 109 if (top > 0) { in btf_find_struct_member() 111 tid = anon_stack[--top].tid; in btf_find_struct_member() 112 cur_offset = anon_stack[top].offset; in btf_find_struct_member()
|
/linux/drivers/media/platform/ti/omap/ |
H A D | omap_voutlib.c | 53 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/drivers/gpu/drm/amd/display/dmub/src/ |
H A D | dmub_dcn30.c | 106 DMCUB_REGION3_CW0_TOP_ADDRESS, cw0->region.top, in dmub_dcn30_backdoor_load() 115 DMCUB_REGION3_CW1_TOP_ADDRESS, cw1->region.top, in dmub_dcn30_backdoor_load() 136 if (cw2->region.base != cw2->region.top) { in dmub_dcn30_setup_windows() 141 DMCUB_REGION3_CW2_TOP_ADDRESS, cw2->region.top, in dmub_dcn30_setup_windows() 156 DMCUB_REGION3_CW3_TOP_ADDRESS, cw3->region.top, in dmub_dcn30_setup_windows() 167 DMCUB_REGION3_CW4_TOP_ADDRESS, cw4->region.top, in dmub_dcn30_setup_windows() 174 cw4->region.top - cw4->region.base - 1, in dmub_dcn30_setup_windows() 184 DMCUB_REGION3_CW5_TOP_ADDRESS, cw5->region.top, in dmub_dcn30_setup_windows() 191 cw5->region.top - cw5->region.base - 1, in dmub_dcn30_setup_windows() 200 DMCUB_REGION3_CW6_TOP_ADDRESS, cw6->region.top, in dmub_dcn30_setup_windows()
|
/linux/Documentation/userspace-api/media/v4l/ |
H A 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 36 two successive top and bottom, or bottom and top fields yield a valid 48 bus in the same order they were captured, so if the top field was 92 - Images consist of the top (aka odd) field only. 102 order of the fields (whether the top or bottom field is older) 104 field is the older field. In all other standards the top field 115 first in memory, immediately followed by the top field lines. 122 parity (whether the current field is a top or bottom field) the 131 since there is no way to communicate if a field was a top or [all …]
|
/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 95 drawable->self_bitmap_area.top = 0; in make_drawable() 142 int left, right, top, bottom; in qxl_draw_dirty_fb() local 166 top = clips->y1; in qxl_draw_dirty_fb() 174 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb() 179 height = bottom - top; in qxl_draw_dirty_fb() 198 drawable_rect.top = top; in qxl_draw_dirty_fb() 213 top, width, height, depth, stride); in qxl_draw_dirty_fb() 229 drawable->u.copy.src_area.top = 0; in qxl_draw_dirty_fb() 248 rects[i].top = clips_ptr->y1; in qxl_draw_dirty_fb()
|
/linux/drivers/video/fbdev/omap/ |
H A D | lcd_dma.c | 135 unsigned long top, bottom; in set_b1_regs() local 170 top = PIXADDR(0, 0); in set_b1_regs() 180 top = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 190 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 210 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 220 top = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 225 top = PIXADDR(0, 0); in set_b1_regs() 239 omap_writew(top >> 16, OMAP1510_DMA_LCD_TOP_F1_U); in set_b1_regs() 240 omap_writew(top, OMAP1510_DMA_LCD_TOP_F1_L); in set_b1_regs() 248 omap_writew(top >> 16, OMAP1610_DMA_LCD_TOP_B1_U); in set_b1_regs() [all …]
|
/linux/drivers/gpu/drm/sti/ |
H A D | sti_hqvdp.c | 314 struct sti_hqvdp_top top; member 486 switch (c->top.config) { in hqvdp_dbg_dump_cmd() 506 c->top.chroma_src_pitch); in hqvdp_dbg_dump_cmd() 508 c->top.input_frame_size); in hqvdp_dbg_dump_cmd() 511 c->top.input_frame_size >> 16); in hqvdp_dbg_dump_cmd() 513 c->top.input_viewport_size); in hqvdp_dbg_dump_cmd() 831 btm_cmd->top.current_luma += in sti_hqvdp_vtg_cb() 832 btm_cmd->top.luma_src_pitch / 2; in sti_hqvdp_vtg_cb() 833 btm_cmd->top.current_chroma += in sti_hqvdp_vtg_cb() 1215 cmd->top.luma_src_pitch *= 2; in sti_hqvdp_atomic_update() [all …]
|