/openbmc/linux/tools/perf/ |
H A D | builtin-top.c | 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 142 if (!symbol__hists(sym, top->evlist->core.nr_entries)) { in perf_top__parse_source() 152 top->sym_filter_entry = he; in perf_top__parse_source() 197 static void perf_top__record_precise_ip(struct perf_top *top, in perf_top__record_precise_ip() argument 208 (top->sym_filter_entry == NULL || in perf_top__record_precise_ip() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
H A D | base.c | 27 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 …]
|
/openbmc/linux/tools/perf/util/ |
H A D | top.c | 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() 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 …]
|
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() 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 …]
|
/openbmc/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() 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 …]
|
/openbmc/linux/tools/tracing/rtla/src/ |
H A D | timerlat_top.c | 162 struct osnoise_tool *top; in timerlat_top_handler() local 165 top = container_of(trace, struct osnoise_tool, trace); in timerlat_top_handler() 166 params = top->params; in timerlat_top_handler() 172 timerlat_top_update(top, cpu, thread, latency); in timerlat_top_handler() 181 static void timerlat_top_header(struct osnoise_tool *top) in timerlat_top_header() argument 183 struct timerlat_top_params *params = top->params; in timerlat_top_header() 184 struct trace_seq *s = top->trace.seq; in timerlat_top_header() 187 get_duration(top->start_time, duration, sizeof(duration)); in timerlat_top_header() 219 static void timerlat_top_print(struct osnoise_tool *top, int cpu) in timerlat_top_print() argument 222 struct timerlat_top_params *params = top->params; in timerlat_top_print() [all …]
|
/openbmc/linux/drivers/net/ethernet/ibm/ehea/ |
H A 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 …]
|
/openbmc/linux/arch/powerpc/mm/nohash/ |
H A D | 8xx.c | 121 static void mmu_mapin_ram_chunk(unsigned long offset, unsigned long top, in mmu_mapin_ram_chunk() argument 127 WARN_ON(!IS_ALIGNED(offset, SZ_512K) || !IS_ALIGNED(top, SZ_512K)); in mmu_mapin_ram_chunk() 129 for (; p < ALIGN(p, SZ_8M) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk() 131 for (; p < ALIGN_DOWN(top, SZ_8M) && p < top; p += SZ_8M, v += SZ_8M) in mmu_mapin_ram_chunk() 133 for (; p < ALIGN_DOWN(top, SZ_512K) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk() 137 flush_tlb_kernel_range(PAGE_OFFSET + v, PAGE_OFFSET + top); in mmu_mapin_ram_chunk() 140 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument 148 WARN_ON(top < einittext8); in mmu_mapin_ram() 154 top = boundary; in mmu_mapin_ram() 157 mmu_mapin_ram_chunk(einittext8, top, PAGE_KERNEL, true); in mmu_mapin_ram() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 274 | 38 '-F', iotests.imgfmt, top, str(size_long)) 49 vm.add_drive(top, 'backing=mid,node-name=top') 54 iotests.FilePath('top') as top: 62 iotests.qemu_io_log('-c', 'read -P 1 0 %d' % size_short, top) 63 iotests.qemu_io_log('-c', 'read -P 0 %d %d' % (size_short, size_diff), top) 77 top) 85 iotests.qemu_img_log('map', '--output=json', top) 86 iotests.qemu_img_log('map', '--output=human', top) 90 iotests.qemu_img_log('commit', top) 122 iotests.qemu_img_log('commit', '-b', base, top) [all …]
|
/openbmc/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);\
|
/openbmc/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()
|
/openbmc/linux/drivers/clk/starfive/ |
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 …]
|
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 …]
|
/openbmc/phosphor-webui/app/access-control/styles/ |
H A D | ldap.scss | 9 padding-top: 1.5em; 11 margin-top: 1em; 41 top: 5px; 52 margin-top: 1rem; 55 margin-top: 0; 61 margin-top: 0.5em; 81 margin-top: 0.5em; 92 margin-top: 0.25em; 115 top: 11px; 129 top: 3px; [all …]
|
/openbmc/openpower-hw-diags/analyzer/plugins/ |
H A D | p10-tod-plugins.cpp | 222 for (const auto top : {Topology::ACTIVE, Topology::BACKUP}) in collectTodFaultData() 226 bool isPriTop = (Configuration::PRIMARY == topConfig[top]); in collectTodFaultData() 245 static_cast<unsigned int>(top), in collectTodFaultData() 246 static_cast<unsigned int>(topConfig[top]), masterPathSelect, in collectTodFaultData() 249 o_data.setMdmtFault(top, i_chip); in collectTodFaultData() 284 static_cast<unsigned int>(top), in collectTodFaultData() 285 static_cast<unsigned int>(topConfig[top]), in collectTodFaultData() 289 o_data.setNetworkFault(top, chipSourcingClock, i_chip); in collectTodFaultData() 295 if (Topology::ACTIVE == top && errorReg.isBitSet(17)) in collectTodFaultData() 298 static_cast<unsigned int>(top), in collectTodFaultData() [all …]
|
/openbmc/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() 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() 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() [all …]
|
/openbmc/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()
|
/openbmc/qemu/block/ |
H A D | commit.c | 37 BlockBackend *top; member 72 BlockDriverState *top_bs = blk_bs(s->top); in commit_abort() 126 blk_unref(s->top); in commit_clean() 138 len = blk_co_getlength(s->top); in commit_run() 156 buf = blk_blockalign(s->top, COMMIT_BUFFER_SIZE); in commit_run() 170 ret = blk_co_is_allocated_above(s->top, s->base_overlay, true, in commit_run() 177 ret = blk_co_pread(s->top, offset, n, buf, 0); in commit_run() 256 BlockDriverState *base, BlockDriverState *top, in commit_start() argument 272 assert(top != bs); in commit_start() 274 if (bdrv_skip_filters(top) == bdrv_skip_filters(base)) { in commit_start() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/css/ |
H A D | default.css | 3 /* Set required top body padding for the fixed top navbard */ 4 body { padding-top: 50px; } 9 /* Style the Yocto Project logo and the Toaster name in the top navbar */ 15 /* Style the debugging information in the top navbar */ 35 …efinition lists inside popovers for the Toaster version information in the top navbar, and also in… 47 .build-result .project-name { margin-top: -10px; margin-bottom: 5px; } 72 span[class^="remove-search-btn-"] { position: absolute; right: 5px; top: 0; bottom: 0; height: 14px… 74 #no-results-special-selectpackagestable .form-inline { margin-top: 20px; } 76 [id^="pagination-"] .navbar-form { margin-top: 0; } 122 …t: bold; line-height: 20px; color: #999; text-transform: uppercase; margin-top: 20px !important; m… [all …]
|
/openbmc/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";
|
/openbmc/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() 386 if (btv->curr.top || btv->curr.bottom) in bttv_set_capture_control() 435 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_set_dma() 436 btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_set_dma() 529 r = bttv_risc_packed(btv, &buf->top, list, 0, bpl, padding, in bttv_buffer_risc_vbi() 544 if (btv->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in bttv_buffer_risc_vbi() 545 min_vdelay += btv->vbi_fmt.end - tvnorm->cropcap.bounds.top; in bttv_buffer_risc_vbi() 557 struct btcx_riscmem *top; in bttv_buffer_activate_vbi() local 562 top = NULL; in bttv_buffer_activate_vbi() [all …]
|
/openbmc/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]) {
|
/openbmc/qemu/tests/unit/ |
H A D | test-bdrv-graph-mod.c | 231 BlockDriverState *top = exclusive_writer_node("top"); in test_parallel_exclusive_write() local 248 bdrv_attach_child(top, fl1, "backing", &child_of_bds, in test_parallel_exclusive_write() 266 bdrv_unref(top); in test_parallel_exclusive_write() 350 BlockDriverState *top = no_perm_node("top"); in test_parallel_perm_update() local 367 bdrv_attach_child(top, ws, "file", &child_of_bds, BDRV_CHILD_DATA, in test_parallel_perm_update() 386 bdrv_child_refresh_perms(top, top->children.lh_first, &error_abort); in test_parallel_perm_update() 393 bdrv_child_refresh_perms(top, top->children.lh_first, &error_abort); in test_parallel_perm_update() 400 bdrv_child_refresh_perms(top, top->children.lh_first, &error_abort); in test_parallel_perm_update() 406 bdrv_unref(top); in test_parallel_perm_update() 429 BlockDriverState *top = exclusive_writer_node("top"); in test_append_greedy_filter() local [all …]
|
/openbmc/linux/arch/powerpc/mm/book3s32/ |
H A D | mmu.c | 102 unsigned int bat_block_size(unsigned long base, unsigned long top) in bat_block_size() argument 106 unsigned int block_shift = (fls(top - base) - 1) & 31; in bat_block_size() 142 static unsigned long __init __mmu_mapin_ram(unsigned long base, unsigned long top) in __mmu_mapin_ram() argument 146 while ((idx = find_free_bat()) != -1 && base != top) { in __mmu_mapin_ram() 147 unsigned int size = bat_block_size(base, top); in __mmu_mapin_ram() 158 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument 171 if (top >= border) in mmu_mapin_ram() 172 top = border; in mmu_mapin_ram() 175 if (!strict_kernel_rwx_enabled() || base >= border || top <= border) in mmu_mapin_ram() 176 return __mmu_mapin_ram(base, top); in mmu_mapin_ram() [all …]
|
/openbmc/phosphor-webui/app/configuration/styles/ |
H A D | network.scss | 6 margin-top: -17px; 10 margin-top: 0; 30 padding-top: 1em; 37 margin-top: 1em; 42 padding-top: 1em; 43 border-top: 1px solid $border-color-01; 44 margin-top: 2em;
|