| /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-4.19/tools/perf/ |
| D | builtin-top.c | 2 * builtin-top.c 4 * Builtin top command: Display a continuously updated profile of 36 #include "util/top.h" 84 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument 86 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries() 94 static void perf_top__resize(struct perf_top *top) in perf_top__resize() argument 96 get_term_dimensions(&top->winsize); in perf_top__resize() 97 perf_top__update_print_entries(top); in perf_top__resize() 100 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source() argument 130 if (!symbol__hists(sym, top->evlist->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-4.19/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_reset() local 49 if (top) { in nvkm_top_reset() 50 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset() 62 struct nvkm_top *top = device->top; in nvkm_top_intr_mask() local 65 if (top) { in nvkm_top_intr_mask() 66 list_for_each_entry(info, &top->device, head) { in nvkm_top_intr_mask() 78 struct nvkm_top *top = device->top; in nvkm_top_intr() local 83 if (top) { in nvkm_top_intr() [all …]
|
| /kernel/linux/linux-4.19/tools/perf/util/ |
| D | top.c | 4 * Refactored from builtin-top.c, see that files for further copyright notes. 15 #include "top.h" 24 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument 29 struct record_opts *opts = &top->record_opts; in perf_top__header_snprintf() 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() 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() [all …]
|
| D | pstack.c | 15 unsigned short top; member 36 return pstack->top == 0; in pstack__empty() 41 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove() 49 --pstack->top; in pstack__remove() 58 if (pstack->top == pstack->max_nr_entries) { in pstack__push() 59 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push() 62 pstack->entries[pstack->top++] = key; in pstack__push() 69 if (pstack->top == 0) { in pstack__pop() 74 ret = pstack->entries[--pstack->top]; in pstack__pop() 75 pstack->entries[pstack->top] = NULL; in pstack__pop() [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-4.19/drivers/net/ethernet/ibm/ehea/ |
| D | ehea_qmr.c | 572 static inline int ehea_init_bmap(struct ehea_bmap *ehea_bmap, int top, int dir) in ehea_init_bmap() argument 574 if (!ehea_bmap->top[top]) { in ehea_init_bmap() 575 ehea_bmap->top[top] = in ehea_init_bmap() 577 if (!ehea_bmap->top[top]) in ehea_init_bmap() 580 return ehea_init_top_bmap(ehea_bmap->top[top], dir); in ehea_init_bmap() 592 int top, dir, idx; in ehea_rebuild_busmap() local 594 for (top = 0; top < EHEA_MAP_ENTRIES; top++) { in ehea_rebuild_busmap() 598 if (!ehea_bmap->top[top]) in ehea_rebuild_busmap() 600 ehea_top = ehea_bmap->top[top]; in ehea_rebuild_busmap() 622 ehea_bmap->top[top] = NULL; in ehea_rebuild_busmap() [all …]
|
| /kernel/linux/linux-4.19/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() 97 r->top = max(r1->top, r2->top); in v4l2_rect_intersect() 99 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect() 101 r->height = max(0, bottom - r->top); in v4l2_rect_intersect() 123 r->left = r->top = r->width = r->height = 0; in v4l2_rect_scale() 128 r->top = ((r->top - from->top) * to->height) / from->height; in v4l2_rect_scale() 151 * IF the top side of r1 is below the bottom of r2 OR in v4l2_rect_overlap() [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-4.19/Documentation/media/uapi/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 87 - Images consist of the top (aka odd) field only. 97 order of the fields (whether the top or bottom field is first 99 transmits the bottom field first, all other standards the top 103 - Images contain both fields, the top field lines are stored first [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-4.19/drivers/mfd/ |
| D | exynos-lpass.c | 9 * This module provides regmap for the Top SFR region and instantiates 30 /* LPASS Top register definitions */ 56 /* pointer to the LPASS TOP regmap */ 57 struct regmap *top; member 65 regmap_read(lpass->top, SFR_LPASS_CORE_SW_RESET, &val); in exynos_lpass_core_sw_reset() 68 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset() 73 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset() 81 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, in exynos_lpass_enable() 84 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, in exynos_lpass_enable() 95 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, 0); in exynos_lpass_disable() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/soc_camera/ |
| D | soc_scale_crop.c | 35 return r1->left > r2->left || r1->top > r2->top || in is_inside() 37 r1->top + r1->height < r2->top + r2->height; in is_inside() 81 if (rect->top > subrect->top) in move_and_crop_subrect() 82 subrect->top = rect->top; in move_and_crop_subrect() 83 else if (rect->top + rect->height < in move_and_crop_subrect() 84 subrect->top + subrect->height) in move_and_crop_subrect() 85 subrect->top = rect->top + rect->height - in move_and_crop_subrect() 127 rect->width, rect->height, rect->left, rect->top); in soc_camera_client_s_selection() 135 cam_rect->left, cam_rect->top, in soc_camera_client_s_selection() 136 rect->width, rect->height, rect->left, rect->top); in soc_camera_client_s_selection() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_top.h | 64 * @mdp: top level status 88 * struct dpu_hw_mdp_ops - interface to the MDP TOP Hw driver functions 98 * @mdp : mdp top context driver 106 * @mdp : mdp top context driver 114 * @mdp : mdp top context driver 122 * @mdp: mdp top context driver 132 * @mdp: mdp top context driver 140 * @mdp: mdp top context driver 148 * @mdp: mdp top context driver 155 * reset_ubwc - reset top level UBWC configuration [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-4.19/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/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-4.19/fs/jfs/ |
| D | jfs_btree.h | 109 * top frame record the leaf page/entry selected. 119 struct btframe *top; member 125 (btstack)->top = (btstack)->stack 128 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1])) 133 (BTSTACK)->top->bn = BN;\ 134 (BTSTACK)->top->index = INDEX;\ 135 ++(BTSTACK)->top;\ 139 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top ) 142 ( (btstack)->top == (btstack)->stack ? NULL : (btstack)->top ) 169 if (! BT_IS_ROOT((BTSTACK)->top->mp))\ [all …]
|
| /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 …]
|