/Linux-v4.19/tools/perf/ |
D | builtin-top.c | 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 128 if (!symbol__hists(sym, top->evlist->nr_entries)) { in perf_top__parse_source() 136 err = symbol__annotate(sym, map, evsel, 0, &top->annotation_opts, NULL); in perf_top__parse_source() 138 top->sym_filter_entry = he; in perf_top__parse_source() 182 static void perf_top__record_precise_ip(struct perf_top *top, in perf_top__record_precise_ip() argument [all …]
|
/Linux-v4.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 …]
|
/Linux-v4.19/tools/perf/util/ |
D | top.c | 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() 54 float guest_us_samples_per_sec = top->guest_us_samples / top->delay_secs; in perf_top__header_snprintf() 73 if (top->evlist->nr_entries == 1) { 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 …]
|
/Linux-v4.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->height) in v4l2_rect_map_inside() 69 r->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() 155 if (r1->top >= r2->top + r2->height || in v4l2_rect_overlap() [all …]
|
/Linux-v4.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 …]
|
/Linux-v4.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 …]
|
/Linux-v4.19/arch/x86/um/os-Linux/ |
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-v4.19/fs/jfs/ |
D | jfs_btree.h | 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))\ 170 release_metapage((BTSTACK)->top->mp);\
|
/Linux-v4.19/arch/x86/math-emu/ |
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-v4.19/drivers/mfd/ |
D | exynos-lpass.c | 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() 96 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, 0); in exynos_lpass_disable() 129 lpass->top = regmap_init_mmio(dev, base_top, in exynos_lpass_probe() 131 if (IS_ERR(lpass->top)) { in exynos_lpass_probe() [all …]
|
/Linux-v4.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";
|
/Linux-v4.19/Documentation/filesystems/cifs/ |
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-v4.19/drivers/media/pci/bt8xx/ |
D | btcx-risc.c | 102 clips[n].c.top = 0; in btcx_screen_clips() 110 clips[n].c.top = 0; in btcx_screen_clips() 115 if (win->top < 0) { in btcx_screen_clips() 118 clips[n].c.top = 0; in btcx_screen_clips() 120 clips[n].c.height = -win->top; in btcx_screen_clips() 123 if (win->top + win->height > sheight) { in btcx_screen_clips() 126 clips[n].c.top = sheight - win->top; in btcx_screen_clips() 128 clips[n].c.height = win->height - clips[n].c.top; in btcx_screen_clips() 149 win->width, win->height, win->left, win->top, dx); in btcx_align() 161 clips[i].c.left, clips[i].c.top); in btcx_align() [all …]
|
D | bttv-risc.c | 279 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay() 395 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo() 416 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo() 471 if (NULL != btv->curr.top) btv->cap_ctl |= 0x02; in bttv_set_dma() 482 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_set_dma() 483 btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_set_dma() 592 btcx_riscmem_free(btv->c.pci,&buf->top); in bttv_dma_free() 600 struct btcx_riscmem *top; in bttv_buffer_activate_vbi() local 605 top = NULL; in bttv_buffer_activate_vbi() 631 top = &vbi->top; in bttv_buffer_activate_vbi() [all …]
|
/Linux-v4.19/drivers/media/platform/omap/ |
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() 180 if (try_crop.top < 0) { in omap_vout_new_crop() 181 try_crop.height += try_crop.top; in omap_vout_new_crop() 182 try_crop.top = 0; in omap_vout_new_crop() 190 if (try_crop.top + try_crop.height > pix->height) in omap_vout_new_crop() [all …]
|
/Linux-v4.19/arch/powerpc/mm/ |
D | pgtable_32.c | 239 static void __init __mapin_ram_chunk(unsigned long offset, unsigned long top) in __mapin_ram_chunk() argument 248 for (; s < top; s += PAGE_SIZE) { in __mapin_ram_chunk() 264 unsigned long s, top; in mapin_ram() local 267 top = total_lowmem; in mapin_ram() 268 s = mmu_mapin_ram(top); in mapin_ram() 269 __mapin_ram_chunk(s, top); in mapin_ram() 275 top = wii_hole_start; in mapin_ram() 276 s = mmu_mapin_ram(top); in mapin_ram() 277 __mapin_ram_chunk(s, top); in mapin_ram() 279 top = memblock_end_of_DRAM(); in mapin_ram() [all …]
|
/Linux-v4.19/arch/arm/mach-omap1/ |
D | lcd_dma.c | 136 unsigned long top, bottom; in set_b1_regs() local 171 top = PIXADDR(0, 0); in set_b1_regs() 181 top = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 191 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 196 top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 206 top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 211 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 221 top = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 226 top = PIXADDR(0, 0); in set_b1_regs() 240 omap_writew(top >> 16, OMAP1510_DMA_LCD_TOP_F1_U); in set_b1_regs() [all …]
|
/Linux-v4.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 …]
|
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_doorbell.c | 62 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()
|
/Linux-v4.19/drivers/gpu/drm/sti/ |
D | sti_hqvdp.c | 306 struct sti_hqvdp_top top; member 477 seq_printf(s, "\n\t %-20s 0x%08X", "Config", c->top.config); in hqvdp_dbg_dump_cmd() 478 switch (c->top.config) { in hqvdp_dbg_dump_cmd() 493 seq_printf(s, "\n\t %-20s 0x%08X", "MemFormat", c->top.mem_format); in hqvdp_dbg_dump_cmd() 494 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentY", c->top.current_luma); in hqvdp_dbg_dump_cmd() 495 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentC", c->top.current_chroma); in hqvdp_dbg_dump_cmd() 496 seq_printf(s, "\n\t %-20s 0x%08X", "YSrcPitch", c->top.luma_src_pitch); in hqvdp_dbg_dump_cmd() 498 c->top.chroma_src_pitch); in hqvdp_dbg_dump_cmd() 500 c->top.input_frame_size); in hqvdp_dbg_dump_cmd() 502 c->top.input_frame_size & 0x0000FFFF, in hqvdp_dbg_dump_cmd() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_alloc.c | 45 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) in hns_roce_bitmap_alloc() 55 *obj |= bitmap->top; in hns_roce_bitmap_alloc() 86 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) in hns_roce_bitmap_alloc_range() 101 *obj |= bitmap->top; in hns_roce_bitmap_alloc_range() 125 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) in hns_roce_bitmap_free_range() 139 bitmap->top = 0; in hns_roce_bitmap_init()
|
/Linux-v4.19/arch/powerpc/xmon/ |
D | ppc-dis.c | 55 unsigned long top = operand->bitm; in operand_value_powerpc() local 58 top |= (top & -top) - 1; in operand_value_powerpc() 59 top &= ~(top >> 1); in operand_value_powerpc() 60 value = (value ^ top) - top; in operand_value_powerpc()
|
/Linux-v4.19/tools/perf/ui/ |
D | browser.c | 117 pos = browser->top; in ui_browser__list_head_seek() 136 browser->top = pos; in ui_browser__list_head_seek() 149 nd = browser->top; in ui_browser__rb_tree_seek() 166 browser->top = nd; in ui_browser__rb_tree_seek() 174 if (browser->top == NULL) in ui_browser__rb_tree_refresh() 175 browser->top = rb_first(browser->entries); in ui_browser__rb_tree_refresh() 177 nd = browser->top; in ui_browser__rb_tree_refresh() 381 browser->top = NULL; in ui_browser__update_nr_entries() 503 if (browser->top == NULL || browser->top == browser->entries) in ui_browser__list_head_refresh() 504 browser->top = ui_browser__list_head_filter_entries(browser, head->next); in ui_browser__list_head_refresh() [all …]
|
/Linux-v4.19/drivers/md/bcache/ |
D | extents.c | 270 struct btree_iter_set *top = iter->data, *i = top + 1; in bch_extent_sort_fixup() local 276 if (bkey_cmp(top->k, &START_KEY(i->k)) <= 0) in bch_extent_sort_fixup() 281 heap_sift(iter, i - top, bch_extent_sort_cmp); in bch_extent_sort_fixup() 285 if (top->k > i->k) { in bch_extent_sort_fixup() 286 if (bkey_cmp(top->k, i->k) >= 0) in bch_extent_sort_fixup() 289 bch_cut_front(top->k, i->k); in bch_extent_sort_fixup() 291 heap_sift(iter, i - top, bch_extent_sort_cmp); in bch_extent_sort_fixup() 294 BUG_ON(!bkey_cmp(&START_KEY(top->k), &START_KEY(i->k))); in bch_extent_sort_fixup() 296 if (bkey_cmp(i->k, top->k) < 0) { in bch_extent_sort_fixup() 297 bkey_copy(tmp, top->k); in bch_extent_sort_fixup() [all …]
|