Home
last modified time | relevance | path

Searched refs:top (Results 1 – 200 of 640) sorted by relevance

1234

/linux-4.1.27/tools/perf/
Dbuiltin-top.c75 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument
77 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries()
83 struct perf_top *top = arg; in perf_top__sig_winch() local
85 get_term_dimensions(&top->winsize); in perf_top__sig_winch()
86 perf_top__update_print_entries(top); in perf_top__sig_winch()
89 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source() argument
132 top->sym_filter_entry = he; in perf_top__parse_source()
172 static void perf_top__record_precise_ip(struct perf_top *top, in perf_top__record_precise_ip() argument
181 ((top->sym_filter_entry == NULL || in perf_top__record_precise_ip()
182 top->sym_filter_entry->ms.sym != he->ms.sym) && use_browser != 1)) in perf_top__record_precise_ip()
[all …]
D.gitignore12 perf-top
Dcommand-list.txt27 perf-top mainporcelain common
DBuild14 perf-y += builtin-top.o
/linux-4.1.27/tools/perf/util/
Dtop.c24 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 …]
Dpstack.c14 unsigned short top; member
35 return pstack->top == 0; in pstack__empty()
40 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove()
48 --pstack->top; in pstack__remove()
57 if (pstack->top == pstack->max_nr_entries) { in pstack__push()
58 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push()
61 pstack->entries[pstack->top++] = key; in pstack__push()
68 if (pstack->top == 0) { in pstack__pop()
73 ret = pstack->entries[--pstack->top]; in pstack__pop()
74 pstack->entries[pstack->top] = NULL; in pstack__pop()
Dtop.h45 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size);
46 void perf_top__reset_sample_counters(struct perf_top *top);
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c572 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-4.1.27/drivers/media/platform/soc_camera/
Dsoc_scale_crop.c35 return r1->left > r2->left || r1->top > r2->top || in is_inside()
37 r1->top + r1->height < r2->top + r2->height; in is_inside()
82 if (rect->top > subrect->top) in update_subrect()
83 subrect->top = rect->top; in update_subrect()
84 else if (rect->top + rect->height > in update_subrect()
85 subrect->top + subrect->height) in update_subrect()
86 subrect->top = rect->top + rect->height - in update_subrect()
118 rect->width, rect->height, rect->left, rect->top); in soc_camera_client_s_crop()
126 cam_rect->left, cam_rect->top, in soc_camera_client_s_crop()
127 rect->width, rect->height, rect->left, rect->top); in soc_camera_client_s_crop()
[all …]
Dsoc_camera_platform.c82 a->c.top = 0; in soc_camera_platform_g_crop()
96 a->bounds.top = 0; in soc_camera_platform_cropcap()
/linux-4.1.27/arch/x86/um/os-Linux/
Dtask_size.c79 unsigned long top = 0xffffd000 >> UM_KERN_PAGE_SHIFT; in os_get_top_address() local
100 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address()
106 if (bottom == top) { in os_get_top_address()
119 if (page_ok(top)) in os_get_top_address()
123 test = bottom + (top - bottom) / 2; in os_get_top_address()
127 top = test; in os_get_top_address()
128 } while (top - bottom > 1); in os_get_top_address()
136 top <<= UM_KERN_PAGE_SHIFT; in os_get_top_address()
137 printf("0x%x\n", top); in os_get_top_address()
139 return top; in os_get_top_address()
/linux-4.1.27/fs/jfs/
Djfs_btree.h119 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);\
Djfs_xtree.c188 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup()
359 btsp = btstack->top; in xtSearch()
406 btsp = btstack->top; in xtSearch()
464 btsp = btstack->top; in xtSearch()
569 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtInsert()
1385 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtExtend()
1552 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtTailgate()
1733 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate()
2047 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate()
2208 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtAppend()
[all …]
/linux-4.1.27/arch/x86/math-emu/
Dfpu_tags.c19 fpu_tag_word |= 3 << ((top & 7) * 2); in FPU_pop()
20 top++; in FPU_pop()
25 return (fpu_tag_word >> ((top & 7) * 2)) & 3; in FPU_gettag0()
30 return (fpu_tag_word >> (((top + stnr) & 7) * 2)) & 3; in FPU_gettagi()
40 int regnr = top; in FPU_settag0()
48 int regnr = stnr + top; in FPU_settagi()
82 int regnr = (top + stnr) & 7; in FPU_empty_i()
91 return ((fpu_tag_word >> (((top - 1) & 7) * 2)) & 3) != TAG_Empty; in FPU_stackoverflow()
108 int regnr = top; in FPU_copy_to_reg0()
Dload_store.c34 #define pop_0() { FPU_settag0(TAG_Empty); top++; }
99 top--; in FPU_load_store()
121 top++; in FPU_load_store()
140 top++; in FPU_load_store()
Dfpu_emu.h146 #define st(x) ( * ((FPU_REG *)( register_base + 10 * ((top+x) & 7) )) )
156 #define push() { top--; }
Dstatus_w.h50 ((partial_status & ~SW_Top & 0xffff) | ((top << SW_Top_Shift) & SW_Top))
/linux-4.1.27/Documentation/filesystems/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-4.1.27/drivers/media/pci/bt8xx/
Dbtcx-risc.c94 clips[n].c.top = 0; in btcx_screen_clips()
102 clips[n].c.top = 0; in btcx_screen_clips()
107 if (win->top < 0) { in btcx_screen_clips()
110 clips[n].c.top = 0; in btcx_screen_clips()
112 clips[n].c.height = -win->top; in btcx_screen_clips()
115 if (win->top + win->height > sheight) { in btcx_screen_clips()
118 clips[n].c.top = sheight - win->top; in btcx_screen_clips()
120 clips[n].c.height = win->height - clips[n].c.top; in btcx_screen_clips()
142 win->width, win->height, win->left, win->top, dx); in btcx_align()
155 clips[i].c.left, clips[i].c.top); in btcx_align()
[all …]
Dbttv-risc.c277 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay()
393 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
414 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
469 if (NULL != btv->curr.top) btv->cap_ctl |= 0x02; in bttv_set_dma()
480 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_set_dma()
481 btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_set_dma()
590 btcx_riscmem_free(btv->c.pci,&buf->top); in bttv_dma_free()
598 struct btcx_riscmem *top; in bttv_buffer_activate_vbi() local
603 top = NULL; in bttv_buffer_activate_vbi()
629 top = &vbi->top; in bttv_buffer_activate_vbi()
[all …]
Dbttv-driver.c273 .cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \
279 .cropcap.defrect.top = (videostart0) * 2, \
704 __s32 top = btv->crop[!!fh->do_crop].rect.top; in check_alloc_btres_lock() local
706 if (btv->vbi_end > top) in check_alloc_btres_lock()
711 btv->crop_start = top; in check_alloc_btres_lock()
758 btv->crop_start = tvnorm->cropcap.bounds.top in disclaim_video_lines()
1163 btv->crop_start = tvnorm->cropcap.bounds.top in set_tvnorm()
1588 if (btv->vbi_end > bttv_tvnorms[norm].cropcap.defrect.top) { in bttv_prepare_buffer()
1627 buf->crop.top != c.rect.top || in bttv_prepare_buffer()
1973 max_top = b->top + b->height - c->rect.height; in bttv_crop_adjust()
[all …]
Dbttv-vbi.c165 rc = bttv_risc_packed(btv, &buf->top, in vbi_buffer_prepare()
192 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare()
193 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare()
201 vb, &buf->top, &buf->bottom, in vbi_buffer_prepare()
259 max_end = (tvnorm->cropcap.bounds.top in try_fmt()
395 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap()
442 real_count = ((tvnorm->cropcap.defrect.top >> 1) in bttv_vbi_fmt_reset()
/linux-4.1.27/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()
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 …]
Domap_vout_vrfb.c329 ctop = (pix->height - crop->height) - crop->top; in omap_vout_calculate_vrfb_offset()
342 temp_ps * cleft + crop->top * temp_ps; in omap_vout_calculate_vrfb_offset()
345 cleft + crop->top * temp_ps + (line_length * in omap_vout_calculate_vrfb_offset()
381 crop->top + (crop->left / vr_ps) * ps; in omap_vout_calculate_vrfb_offset()
384 crop->top + (crop->left / vr_ps) * ps + in omap_vout_calculate_vrfb_offset()
389 *cropped_offset = (line_length * ps * crop->top) / in omap_vout_calculate_vrfb_offset()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-vid-common.c627 if (r->top < boundary->top) in rect_map_inside()
628 r->top = boundary->top; in rect_map_inside()
631 if (r->top + r->height > boundary->height) in rect_map_inside()
632 r->top = boundary->height - r->height; in rect_map_inside()
647 r.top = max(a->top, b->top); in rect_intersect()
649 bottom = min(a->top + a->height, b->top + b->height); in rect_intersect()
651 r.height = max(0, bottom - r.top); in rect_intersect()
664 r->left = r->top = r->width = r->height = 0; in rect_scale()
669 r->top = ((r->top - from->top) * to->height) / from->height; in rect_scale()
688 if (r1->top >= r2->top + r2->height || in rect_overlap()
[all …]
Dvivid-kthread-cap.c66 int top = dev->overlay_out_top; in copy_pix() local
68 int fb_y = win_y + top; in copy_pix()
78 win_y -= dev->compose_out.top; in copy_pix()
86 if (fb_y >= r->top && fb_y < r->top + r->height && in copy_pix()
192 dev->loop_vid_out.top += dev->crop_out.top; in vivid_precalc_copy_rects()
200 dev->loop_vid_copy.left, dev->loop_vid_copy.top, in vivid_precalc_copy_rects()
202 dev->loop_vid_out.left, dev->loop_vid_out.top, in vivid_precalc_copy_rects()
204 dev->loop_vid_cap.left, dev->loop_vid_cap.top); in vivid_precalc_copy_rects()
210 r_overlay.top += dev->compose_out.top - dev->overlay_out_top; in vivid_precalc_copy_rects()
217 dev->loop_fb_copy.top -= dev->compose_out.top - dev->overlay_out_top; in vivid_precalc_copy_rects()
[all …]
Dvivid-tpg.c395 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
398 tpg->compose.top = tpg->compose.left = 0; in tpg_reset_source()
1220 tpg->square.top = (h - sq_h) / 2; in tpg_calculate_square_border()
1223 tpg->border.top = 0; in tpg_calculate_square_border()
1237 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1242 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1253 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1258 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1269 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1421 y += tpg->compose.top; in tpg_gen_text()
[all …]
Dvivid-vid-out.c520 crop->top *= factor; in vivid_s_fmt_vid_out()
524 crop->top /= factor; in vivid_s_fmt_vid_out()
628 sel->r.left = sel->r.top = 0; in vivid_vid_out_g_selection()
709 s->r.top *= factor; in vivid_vid_out_s_selection()
714 s->r.top /= factor; in vivid_vid_out_s_selection()
732 s->r.top /= factor; in vivid_vid_out_s_selection()
777 s->r.top *= factor; in vivid_vid_out_s_selection()
828 win->w.top = dev->overlay_out_top; in vidioc_g_fmt_vid_out_overlay()
865 win->w.top = clamp_t(int, win->w.top, in vidioc_try_fmt_vid_out_overlay()
885 r->top = clamp_t(s32, r->top, 0, dev->display_height - 1); in vidioc_try_fmt_vid_out_overlay()
[all …]
Dvivid-vid-cap.c709 compose->top *= factor; in vivid_s_fmt_vid_cap()
713 compose->top /= factor; in vivid_s_fmt_vid_cap()
824 sel->r.left = sel->r.top = 0; in vivid_vid_cap_g_selection()
883 s->r.top /= factor; in vivid_vid_cap_s_selection()
930 s->r.top *= factor; in vivid_vid_cap_s_selection()
967 s->r.top *= factor; in vivid_vid_cap_s_selection()
972 s->r.top /= factor; in vivid_vid_cap_s_selection()
1049 win->w.top = dev->overlay_cap_top; in vidioc_g_fmt_vid_overlay()
1085 win->w.top = clamp_t(int, win->w.top, in vidioc_try_fmt_vid_overlay()
1104 r->top = clamp_t(s32, r->top, 0, dev->fb_cap.fmt.height - 1); in vidioc_try_fmt_vid_overlay()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c71 struct lu_object_header *top; in lu_object_put() local
77 top = o->lo_header; in lu_object_put()
88 LASSERT(top->loh_hash.next == NULL in lu_object_put()
89 && top->loh_hash.pprev == NULL); in lu_object_put()
90 LASSERT(list_empty(&top->loh_lru)); in lu_object_put()
91 if (!atomic_dec_and_test(&top->loh_ref)) in lu_object_put()
93 list_for_each_entry_reverse(o, &top->loh_layers, lo_linkage) { in lu_object_put()
101 cfs_hash_bd_get(site->ls_obj_hash, &top->loh_fid, &bd); in lu_object_put()
104 if (!cfs_hash_bd_dec_and_lock(site->ls_obj_hash, &bd, &top->loh_ref)) { in lu_object_put()
105 if (lu_object_is_dying(top)) { in lu_object_put()
[all …]
Dcl_object.c163 struct cl_object *top; in cl_object_top() local
168 top = lu2cl(lu_object_top(&hdr->coh_lu)); in cl_object_top()
169 CDEBUG(D_TRACE, "%p -> %p\n", o, top); in cl_object_top()
170 return top; in cl_object_top()
222 struct lu_object_header *top; in cl_object_attr_get() local
227 top = obj->co_lu.lo_header; in cl_object_attr_get()
229 list_for_each_entry(obj, &top->loh_layers, co_lu.lo_linkage) { in cl_object_attr_get()
253 struct lu_object_header *top; in cl_object_attr_set() local
258 top = obj->co_lu.lo_header; in cl_object_attr_set()
260 list_for_each_entry_reverse(obj, &top->loh_layers, in cl_object_attr_set()
[all …]
/linux-4.1.27/scripts/rt-tester/
Drt-tester.py78 def analyse(val, top, arg): argument
82 if top[0] == "M":
85 argval = top[2]
86 elif top[0] == "O":
93 if top[1] == "eq" and intval == argval:
95 if top[1] == "lt" and intval < argval:
97 if top[1] == "gt" and intval > argval:
/linux-4.1.27/arch/powerpc/mm/
Dpgtable_32.c315 void __init __mapin_ram_chunk(unsigned long offset, unsigned long top) in __mapin_ram_chunk() argument
324 for (; s < top; s += PAGE_SIZE) { in __mapin_ram_chunk()
339 unsigned long s, top; in mapin_ram() local
342 top = total_lowmem; in mapin_ram()
343 s = mmu_mapin_ram(top); in mapin_ram()
344 __mapin_ram_chunk(s, top); in mapin_ram()
350 top = wii_hole_start; in mapin_ram()
351 s = mmu_mapin_ram(top); in mapin_ram()
352 __mapin_ram_chunk(s, top); in mapin_ram()
354 top = memblock_end_of_DRAM(); in mapin_ram()
[all …]
Dmmu_decl.h128 extern unsigned long wii_mmu_mapin_mem2(unsigned long top);
137 #define mmu_mapin_ram(top) (0UL) argument
141 extern unsigned long mmu_mapin_ram(unsigned long top);
149 extern unsigned long mmu_mapin_ram(unsigned long top);
166 extern unsigned long mmu_mapin_ram(unsigned long top);
Dppc_mmu_32.c75 unsigned long __init mmu_mapin_ram(unsigned long top) in mmu_mapin_ram() argument
89 tot = top; in mmu_mapin_ram()
D40x_mmu.c96 unsigned long __init mmu_mapin_ram(unsigned long top) in mmu_mapin_ram() argument
/linux-4.1.27/arch/arm/mach-omap1/
Dlcd_dma.c136 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-4.1.27/tools/perf/ui/
Dbrowser.c88 pos = browser->top; in ui_browser__list_head_seek()
107 browser->top = pos; in ui_browser__list_head_seek()
120 nd = browser->top; in ui_browser__rb_tree_seek()
137 browser->top = nd; in ui_browser__rb_tree_seek()
145 if (browser->top == NULL) in ui_browser__rb_tree_refresh()
146 browser->top = rb_first(browser->entries); in ui_browser__rb_tree_refresh()
148 nd = browser->top; in ui_browser__rb_tree_refresh()
351 browser->top = NULL; in ui_browser__update_nr_entries()
459 if (browser->top == NULL || browser->top == browser->entries) in ui_browser__list_head_refresh()
460 browser->top = ui_browser__list_head_filter_entries(browser, head->next); in ui_browser__list_head_refresh()
[all …]
Dbrowser.h16 void *top, *entries; member
/linux-4.1.27/drivers/md/bcache/
Dextents.c268 struct btree_iter_set *top = iter->data, *i = top + 1; in bch_extent_sort_fixup() local
274 if (bkey_cmp(top->k, &START_KEY(i->k)) <= 0) in bch_extent_sort_fixup()
279 heap_sift(iter, i - top, bch_extent_sort_cmp); in bch_extent_sort_fixup()
283 if (top->k > i->k) { in bch_extent_sort_fixup()
284 if (bkey_cmp(top->k, i->k) >= 0) in bch_extent_sort_fixup()
287 bch_cut_front(top->k, i->k); in bch_extent_sort_fixup()
289 heap_sift(iter, i - top, bch_extent_sort_cmp); in bch_extent_sort_fixup()
292 BUG_ON(!bkey_cmp(&START_KEY(top->k), &START_KEY(i->k))); in bch_extent_sort_fixup()
294 if (bkey_cmp(i->k, top->k) < 0) { in bch_extent_sort_fixup()
295 bkey_copy(tmp, top->k); in bch_extent_sort_fixup()
[all …]
Dbset.h467 struct bkey *top; member
484 l->top = bkey_next(k); in bch_keylist_init_single()
489 l->top = bkey_next(l->top); in bch_keylist_push()
494 bkey_copy(l->top, k); in bch_keylist_add()
500 return l->top == l->keys; in bch_keylist_empty()
505 l->top = l->keys; in bch_keylist_reset()
/linux-4.1.27/fs/autofs4/
Dexpire.c40 struct dentry *top = dentry; in autofs4_mount_busy() local
61 struct autofs_info *ino = autofs4_dentry_ino(top); in autofs4_mount_busy()
190 struct dentry *top, in autofs4_direct_busy() argument
194 DPRINTK("top %p %pd", top, top); in autofs4_direct_busy()
198 struct autofs_info *ino = autofs4_dentry_ino(top); in autofs4_direct_busy()
205 if (!autofs4_can_expire(top, timeout, do_now)) in autofs4_direct_busy()
215 struct dentry *top, in autofs4_tree_busy() argument
219 struct autofs_info *top_ino = autofs4_dentry_ino(top); in autofs4_tree_busy()
222 DPRINTK("top %p %pd", top, top); in autofs4_tree_busy()
225 if (!simple_positive(top)) in autofs4_tree_busy()
[all …]
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_mrmw.c84 struct ehca_top_bmap *top[EHCA_MAP_ENTRIES]; member
1523 static inline void *ehca_calc_sectbase(int top, int dir, int idx) in ehca_calc_sectbase() argument
1527 ret |= top << EHCA_TOP_INDEX_SHIFT; in ehca_calc_sectbase()
1534 static u64 ehca_reg_mr_section(int top, int dir, int idx, u64 *kpage, in ehca_reg_mr_section() argument
1543 void *sectbase = ehca_calc_sectbase(top, dir, idx); in ehca_reg_mr_section()
1571 static u64 ehca_reg_mr_sections(int top, int dir, u64 *kpage, in ehca_reg_mr_sections() argument
1579 if (!ehca_bmap_valid(ehca_bmap->top[top]->dir[dir]->ent[idx])) in ehca_reg_mr_sections()
1582 hret = ehca_reg_mr_section(top, dir, idx, kpage, shca, mr, in ehca_reg_mr_sections()
1590 static u64 ehca_reg_mr_dir_sections(int top, u64 *kpage, struct ehca_shca *shca, in ehca_reg_mr_dir_sections() argument
1598 if (!ehca_bmap_valid(ehca_bmap->top[top]->dir[dir])) in ehca_reg_mr_dir_sections()
[all …]
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_hqvdp.c306 struct sti_hqvdp_top top; member
555 cmd->top.config = TOP_CONFIG_PROGRESSIVE; in sti_hqvdp_prepare_layer()
556 cmd->top.mem_format = TOP_MEM_FORMAT_DFLT; in sti_hqvdp_prepare_layer()
568 cmd->top.current_luma = (u32) layer->paddr + layer->offsets[0]; in sti_hqvdp_prepare_layer()
569 cmd->top.current_chroma = (u32) layer->paddr + layer->offsets[1]; in sti_hqvdp_prepare_layer()
572 cmd->top.luma_processed_pitch = cmd->top.luma_src_pitch = in sti_hqvdp_prepare_layer()
574 cmd->top.chroma_processed_pitch = cmd->top.chroma_src_pitch = in sti_hqvdp_prepare_layer()
591 cmd->top.input_viewport_size = cmd->top.input_frame_size = in sti_hqvdp_prepare_layer()
594 cmd->top.input_viewport_ori = layer->src_y << 16 | layer->src_x; in sti_hqvdp_prepare_layer()
599 cmd->top.config = TOP_CONFIG_INTER_TOP; in sti_hqvdp_prepare_layer()
[all …]
DKconfig17 Choose this option to enable FBDEV on top of DRM for STM stiH41x chipset
/linux-4.1.27/arch/blackfin/kernel/
Ddebug-mmrs.c583 struct dentry *top, *parent; in bfin_debug_mmrs_init() local
587 top = debugfs_create_dir("blackfin", NULL); in bfin_debug_mmrs_init()
588 if (top == NULL) in bfin_debug_mmrs_init()
591 parent = debugfs_create_dir("core_regs", top); in bfin_debug_mmrs_init()
602 parent = debugfs_create_dir("ctimer", top); in bfin_debug_mmrs_init()
608 parent = debugfs_create_dir("cec", top); in bfin_debug_mmrs_init()
631 parent = debugfs_create_dir("debug", top); in bfin_debug_mmrs_init()
635 parent = debugfs_create_dir("mmu", top); in bfin_debug_mmrs_init()
717 parent = debugfs_create_dir("perf", top); in bfin_debug_mmrs_init()
722 parent = debugfs_create_dir("trace", top); in bfin_debug_mmrs_init()
[all …]
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_draw.c92 drawable->self_bitmap_area.top = 0; in make_drawable()
199 rect.top = y; in qxl_draw_opaque_fb()
230 drawable->u.copy.src_area.top = 0; in qxl_draw_opaque_fb()
281 int left, right, top, bottom; in qxl_draw_dirty_fb() local
301 top = clips->y1; in qxl_draw_dirty_fb()
309 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb()
314 height = bottom - top; in qxl_draw_dirty_fb()
333 drawable_rect.top = top; in qxl_draw_dirty_fb()
347 left, top, width, height, depth, stride); in qxl_draw_dirty_fb()
362 drawable->u.copy.src_area.top = 0; in qxl_draw_dirty_fb()
[all …]
Dqxl_ioctl.c320 .top = update_area->top, in qxl_update_area_ioctl()
328 update_area->top >= update_area->bottom) in qxl_update_area_ioctl()
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
DMakefile5 OFFICIAL_INCDIR = /n/asic/projects/guinness/releases/$(RELEASE)/design/top/sw/include/
51 REGDESC += $(DESIGNDIR)/top/rtl/config_regs.r
92 config_defs.h: $(DESIGNDIR)/top/rtl/config_regs.r
94 config_defs_asm.h: $(DESIGNDIR)/top/rtl/config_regs.r
127 reg_map.h: $(DESIGNDIR)/top/rtl/global.rmap $(DESIGNDIR)/top/mod/modreg.rmap
129 reg_map_asm.h: $(DESIGNDIR)/top/rtl/global.rmap $(DESIGNDIR)/top/mod/modreg.rmap
132 reg_rdwr.h: $(DESIGNDIR)/top/sw/include/reg_rdwr.h
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_rwpf.c136 crop->top = 0; in vsp1_rwpf_set_format()
168 sel->r.top = 0; in vsp1_rwpf_get_selection()
201 sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); in vsp1_rwpf_set_selection()
204 sel->r.top = min_t(unsigned int, sel->r.top, 255); in vsp1_rwpf_set_selection()
209 format->height - sel->r.top); in vsp1_rwpf_set_selection()
Dvsp1_bru.c303 compose->top = 0; in bru_set_format()
334 sel->r.top = 0; in bru_get_selection()
368 sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); in bru_set_selection()
Dvsp1_rpf.c105 rpf->offsets[0] = crop->top * format->plane_fmt[0].bytesperline in rpf_s_stream()
114 rpf->offsets[1] = crop->top * format->plane_fmt[1].bytesperline in rpf_s_stream()
148 (rpf->location.top << VI6_RPF_LOC_VCOORD_SHIFT)); in rpf_s_stream()
Dvsp1_rwpf.h37 unsigned int top; member
/linux-4.1.27/lib/
Didr.c229 p = idp->top; in sub_alloc()
299 p = idp->top; in idr_get_empty_slot()
328 for (new = p; p && p != idp->top; new = p) { in idr_get_empty_slot()
346 rcu_assign_pointer(idp->top, p); in idr_get_empty_slot()
510 struct idr_layer *p = idp->top; in sub_remove()
517 *++paa = &idp->top; in sub_remove()
564 if (idp->top && idp->top->count == 1 && (idp->layers > 1) && in idr_remove()
565 idp->top->ary[0]) { in idr_remove()
572 to_free = idp->top; in idr_remove()
573 p = idp->top->ary[0]; in idr_remove()
[all …]
Dplist.c45 static void plist_check_list(struct list_head *top) in plist_check_list() argument
47 struct list_head *prev = top, *next = top->next; in plist_check_list()
49 plist_check_prev_next(top, prev, next); in plist_check_list()
50 while (next != top) { in plist_check_list()
53 plist_check_prev_next(top, prev, next); in plist_check_list()
/linux-4.1.27/arch/s390/kernel/
Drelocate_kernel.S54 j .top
57 .top: label
66 j .top # ...next iteration
72 j .top # and read next...
79 je .top # NO, ignore it...
84 j .top
/linux-4.1.27/scripts/
Dheaderdep.pl144 my $top = pop @queue;
145 my $name = $top->[-1]->[1];
148 my $chain = [@$top, [$dep->[0], $dep->[1]]];
152 if(grep { $_->[1] eq $dep->[1] } @$top) {
/linux-4.1.27/net/dccp/
Dqpolicy.c75 struct sk_buff* (*top) (struct sock *sk); member
82 .top = qpolicy_simple_top,
88 .top = qpolicy_prio_best_skb,
116 return qpol_table[dccp_sk(sk)->dccps_qpolicy].top(sk); in dccp_qpolicy_top()
/linux-4.1.27/arch/sh/kernel/
Ddumpstack.c20 void dump_mem(const char *str, unsigned long bottom, unsigned long top) in dump_mem() argument
25 printk("%s(0x%08lx to 0x%08lx)\n", str, bottom, top); in dump_mem()
27 for (p = bottom & ~31; p < top; ) { in dump_mem()
33 if (p < bottom || p >= top) in dump_mem()
/linux-4.1.27/drivers/media/
Dmedia-entity.c106 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push()
110 graph->top++; in stack_push()
111 graph->stack[graph->top].link = 0; in stack_push()
112 graph->stack[graph->top].entity = entity; in stack_push()
119 entity = graph->stack[graph->top].entity; in stack_pop()
120 graph->top--; in stack_pop()
125 #define link_top(en) ((en)->stack[(en)->top].link)
126 #define stack_top(en) ((en)->stack[(en)->top].entity)
141 graph->top = 0; in media_entity_graph_walk_start()
142 graph->stack[graph->top].entity = NULL; in media_entity_graph_walk_start()
/linux-4.1.27/block/
Dblk-settings.c543 unsigned int top, bottom, alignment, ret = 0; in blk_stack_limits() local
570 top = max(t->physical_block_size, t->io_min) in blk_stack_limits()
575 if (max(top, bottom) % min(top, bottom)) { in blk_stack_limits()
634 top = t->discard_granularity + t->discard_alignment; in blk_stack_limits()
638 if ((max(top, bottom) % min(top, bottom)) != 0) in blk_stack_limits()
692 char top[BDEVNAME_SIZE], bottom[BDEVNAME_SIZE]; in disk_stack_limits() local
694 disk_name(disk, 0, top); in disk_stack_limits()
698 top, bottom); in disk_stack_limits()
/linux-4.1.27/drivers/video/fbdev/msm/
Dmsm_fb.c74 int top; member
146 y = msmfb->update_info.top; in msmfb_start_dma()
151 msmfb->update_info.top = msmfb->yres + 1; in msmfb_start_dma()
193 static void msmfb_pan_update(struct fb_info *info, uint32_t left, uint32_t top, in msmfb_pan_update() argument
204 left, top, eright, ebottom, yoffset, pan_display); in msmfb_pan_update()
254 if (left == 0 && top == 0 && eright == info->var.xres && in msmfb_pan_update()
267 if (top < msmfb->update_info.top) in msmfb_pan_update()
268 msmfb->update_info.top = top; in msmfb_pan_update()
274 msmfb->update_info.left, msmfb->update_info.top, in msmfb_pan_update()
293 static void msmfb_update(struct fb_info *info, uint32_t left, uint32_t top, in msmfb_update() argument
[all …]
/linux-4.1.27/arch/unicore32/kernel/
Dtraps.c65 unsigned long top) in dump_mem() argument
80 lvl, str, bottom, top); in dump_mem()
82 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
89 for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { in dump_mem()
90 if (p >= bottom && p < top) { in dump_mem()
/linux-4.1.27/drivers/staging/wlan-ng/
Dprism2sta.c681 hw->cap_sup_mfi.top = le16_to_cpu(hw->cap_sup_mfi.top); in prism2sta_getcardinfo()
687 hw->cap_sup_mfi.top); in prism2sta_getcardinfo()
704 hw->cap_sup_cfi.top = le16_to_cpu(hw->cap_sup_cfi.top); in prism2sta_getcardinfo()
710 hw->cap_sup_cfi.top); in prism2sta_getcardinfo()
727 hw->cap_sup_pri.top = le16_to_cpu(hw->cap_sup_pri.top); in prism2sta_getcardinfo()
733 hw->cap_sup_pri.top); in prism2sta_getcardinfo()
750 hw->cap_sup_sta.top = le16_to_cpu(hw->cap_sup_sta.top); in prism2sta_getcardinfo()
757 hw->cap_sup_sta.top); in prism2sta_getcardinfo()
763 hw->cap_sup_sta.top); in prism2sta_getcardinfo()
781 hw->cap_act_pri_cfi.top = le16_to_cpu(hw->cap_act_pri_cfi.top); in prism2sta_getcardinfo()
[all …]
Dprism2fw.c311 priid.top = *data++; in prism2_fwapply()
613 rfid.top = le16_to_cpu(rfid.top); in mkpdrlist()
622 macid.top = le16_to_cpu(macid.top); in mkpdrlist()
1133 rfid.id, rfid.variant, rfid.bottom, rfid.top); in validate_identity()
1135 macid.id, macid.variant, macid.bottom, macid.top); in validate_identity()
1137 priid.id, priid.variant, priid.bottom, priid.top); in validate_identity()
1154 s3info[i].info.compat.top); in validate_identity()
1168 if ((s3info[i].info.compat.bottom > priid.top) in validate_identity()
1169 || (s3info[i].info.compat.top < in validate_identity()
/linux-4.1.27/drivers/media/pci/saa7134/
Dsaa7134-go7007.c60 u8 *top; member
250 go7007_parse_video_stream(go, saa->top, PAGE_SIZE); in saa7134_go7007_irq_ts_done()
260 saa->top_dma = dma_map_page(&dev->pci->dev, virt_to_page(saa->top), in saa7134_go7007_stream_start()
449 saa->top = (u8 *)get_zeroed_page(GFP_KERNEL); in saa7134_go7007_init()
450 if (!saa->top) in saa7134_go7007_init()
476 if (saa->top) in saa7134_go7007_init()
477 free_page((unsigned long)saa->top); in saa7134_go7007_init()
499 free_page((unsigned long)saa->top); in saa7134_go7007_fini()
Dsaa7134-video.c397 dev->crop_bounds.top = (norm->vbi_v_stop_0+1)*2; in set_tvnorm()
398 dev->crop_defrect.top = norm->video_v_start*2; in set_tvnorm()
400 - dev->crop_bounds.top; in set_tvnorm()
558 v_start = dev->crop_current.top/2; in set_size()
560 v_stop = (dev->crop_current.top + dev->crop_current.height -1)/2; in set_size()
665 row[rows].position = clip_range(clips[i].c.top / div); in setup_clipping()
668 row[rows].position = clip_range((clips[i].c.top + clips[i].c.height) in setup_clipping()
735 dev->win.w.left, dev->win.w.top, in start_preview()
751 base += dev->ovbuf.fmt.bytesperline * dev->win.w.top; in start_preview()
1631 if (c->top < b->top) in saa7134_s_crop()
[all …]
/linux-4.1.27/fs/nfs/blocklayout/
Ddev.c313 struct pnfs_block_dev *top; in bl_alloc_deviceid_node() local
343 top = kzalloc(sizeof(*top), gfp_mask); in bl_alloc_deviceid_node()
344 if (!top) in bl_alloc_deviceid_node()
347 ret = bl_parse_deviceid(server, top, volumes, nr_volumes - 1, gfp_mask); in bl_alloc_deviceid_node()
349 bl_free_device(top); in bl_alloc_deviceid_node()
350 kfree(top); in bl_alloc_deviceid_node()
354 node = &top->node; in bl_alloc_deviceid_node()
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_allocator.c49 alloc->top = (alloc->top + alloc->max) & alloc->mask; in mthca_alloc()
55 obj |= alloc->top; in mthca_alloc()
74 alloc->top = (alloc->top + alloc->max) & alloc->mask; in mthca_free()
89 alloc->top = 0; in mthca_alloc_init()
/linux-4.1.27/drivers/uwb/
Ddrp-avail.c144 size_t top = itr + len; in get_val() local
148 while (itr < top) { in get_val()
150 val |= array[top - 1]; in get_val()
151 top--; in get_val()
/linux-4.1.27/Documentation/video4linux/cx2341x/
DREADME.hm1213 and from top to bottom. Each block is transmitted in turn, line-by-line.
15 So the first 16 bytes are the first line of the top-left block, the
16 second 16 bytes are the second line of the top-left block, etc. After
21 to right, top to bottom. Each block is transmitted in turn, line-by-line.
23 So the first 16 bytes are the first line of the top-left block and
25 second line of 8 UV pairs of the top-left block, etc. After transmitting
Dfw-osd-api.txt104 top left horizontal offset
106 top left vertical offset
119 top left horizontal offset
121 top left vertical offset
319 top left window corner horizontal offset
321 top left window corner vertical offset
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dpistachio-clock.txt5 general control, and top general control) which are instantiated individually
31 top-level general control.
102 The top-level general control block contains miscellaneous control registers and
106 - compatible: Must include "img,pistachio-cr-top" and "syscon".
107 - reg: Must contain the base address and length of the top-level
117 compatible = "img,pistachio-cr-top", "syscon";
Dvf610-clock.txt15 Input clocks for top clock controller:
/linux-4.1.27/drivers/gpu/ipu-v3/
Dipu-cpmem.c609 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image()
611 image->rect.top) - offset; in ipu_cpmem_set_image()
613 image->rect.top) - offset; in ipu_cpmem_set_image()
620 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image()
622 image->rect.top) - offset; in ipu_cpmem_set_image()
624 image->rect.top) - offset; in ipu_cpmem_set_image()
631 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image()
633 image->rect.top) - offset; in ipu_cpmem_set_image()
641 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image()
643 image->rect.top) - offset; in ipu_cpmem_set_image()
[all …]
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_ds.c503 struct bts_record *at, *top; in intel_pmu_drain_bts_buffer() local
516 top = (struct bts_record *)(unsigned long)ds->bts_index; in intel_pmu_drain_bts_buffer()
518 if (top <= at) in intel_pmu_drain_bts_buffer()
534 if (perf_output_begin(&handle, event, header.size * (top - at))) in intel_pmu_drain_bts_buffer()
537 for (; at < top; at++) { in intel_pmu_drain_bts_buffer()
973 struct pebs_record_core *at, *top; in intel_pmu_drain_pebs_core() local
980 top = (struct pebs_record_core *)(unsigned long)ds->pebs_index; in intel_pmu_drain_pebs_core()
995 n = top - at; in intel_pmu_drain_pebs_core()
1014 void *at, *top; in intel_pmu_drain_pebs_nhm() local
1022 top = (struct pebs_record_nhm *)(unsigned long)ds->pebs_index; in intel_pmu_drain_pebs_nhm()
[all …]
/linux-4.1.27/tools/perf/Documentation/
Dperfconfig.example4 top = red, lightgray
16 top = on
Dperf-script.txt15 'perf script' [<options>] <top-script> [script-args]
59 'perf script <top-script>' to both record the events required for
60 <top-script> and to run the <top-script> using 'live-mode'
61 i.e. without writing anything to disk. <top-script> is the name
63 script name minus any language extension; a <top-script> is defined
64 as any script name ending with the string 'top'.
68 <top-script> 'live-mode' or 'perf script report' variants.
Dperf-kvm.txt13 {top|record|report|diff|buildid-list} [<options>]
15 | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} [<options>]
22 'perf kvm [options] top <command>' to generates and displays
87 #perf kvm --host --guest --guestmount=~/guestmount top
156 linkperf:perf-top[1], linkperf:perf-record[1], linkperf:perf-report[1],
Dperf-buildid-list.txt42 linkperf:perf-record[1], linkperf:perf-top[1],
Dperf.txt39 linkperf:perf-stat[1], linkperf:perf-top[1],
Dperf-top.txt1 perf-top(1)
6 perf-top - System profiling tool.
11 'perf top' [-e <EVENT> | --event=EVENT] [<options>]
/linux-4.1.27/arch/arm/mach-sti/
DKconfig32 Electronics family StiH415 parts, primarily targeted at set-top-box
42 Electronics family StiH416 parts, primarily targeted at set-top-box
52 Electronics family StiH407 parts, targetted at set-top-box
/linux-4.1.27/drivers/scsi/
Dscsi_devinfo.c643 struct list_head *top; member
651 list_entry(dl->top, struct scsi_dev_info_list_table, node); in devinfo_seq_show()
673 list_for_each(dl->top, &scsi_dev_info_list) { in devinfo_seq_start()
675 list_entry(dl->top, struct scsi_dev_info_list_table, in devinfo_seq_start()
690 list_entry(dl->top, struct scsi_dev_info_list_table, node); in devinfo_seq_next()
695 dl->top = dl->top->next; in devinfo_seq_next()
696 if (dl->top == &scsi_dev_info_list) { in devinfo_seq_next()
700 devinfo_table = list_entry(dl->top, in devinfo_seq_next()
/linux-4.1.27/tools/thermal/tmon/
Dtui.c47 static PANEL *top; variable
181 top = data_panel; in setup_windows()
447 top = (PANEL *)panel_userptr(top); in handle_input_val()
448 top_panel(top); in handle_input_val()
504 top = (PANEL *)panel_userptr(top); in handle_tui_events()
505 top_panel(top); in handle_tui_events()
506 if (top == dialogue_panel) { in handle_tui_events()
/linux-4.1.27/drivers/video/fbdev/
Dsh_mipi_dsi.c135 u32 tmp, top, bottom, delay, div; in sh_mipi_setup() local
310 top = linelength << 16; /* RGBLEN */ in sh_mipi_setup()
314 iowrite32(top | bottom , mipi->linkbase + VMLEN1); in sh_mipi_setup()
322 top = 0x00010000; in sh_mipi_setup()
333 top = mode->hsync_len + mode->left_margin; in sh_mipi_setup()
334 top = ((pdata->lane * top / div) - 10) << 16; in sh_mipi_setup()
348 iowrite32(top | (bottom + delay) , mipi->linkbase + VMLEN2); in sh_mipi_setup()
Darcfb.c299 static void arcfb_lcd_update_vert(struct arcfb_par *par, unsigned int top, in arcfb_lcd_update_vert() argument
304 distance = (bottom - top) + 1; in arcfb_lcd_update_vert()
305 upper = top; in arcfb_lcd_update_vert()
306 lower = top + 7; in arcfb_lcd_update_vert()
322 unsigned int right, unsigned int top, unsigned int h) in arcfb_lcd_update_horiz() argument
327 upper = floor8(top); in arcfb_lcd_update_horiz()
/linux-4.1.27/arch/sparc/kernel/
Dsetup_32.c346 unsigned long top; in setup_arch() local
350 top = sp_banks[i].base_addr + in setup_arch()
352 if (highest_paddr < top) in setup_arch()
353 highest_paddr = top; in setup_arch()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-power56 entering top-off charging mode. When charging current in fast
58 interrupt and start top-off charging mode.
71 charger operates in top-off charge mode. When the timer expires
72 the device will terminate top-off charge mode (charging current
/linux-4.1.27/Documentation/sound/alsa/
DChannel-Mapping-API.txt102 SNDRV_CHMAP_TC, /* top center */
103 SNDRV_CHMAP_TFL, /* top front left */
104 SNDRV_CHMAP_TFR, /* top front right */
105 SNDRV_CHMAP_TFC, /* top front center */
106 SNDRV_CHMAP_TRL, /* top rear left */
107 SNDRV_CHMAP_TRR, /* top rear right */
108 SNDRV_CHMAP_TRC, /* top rear center */
/linux-4.1.27/drivers/mtd/ubi/
DKconfig6 logical volumes on top of MTD devices, hides some complexities of
84 devices on top of UBI volumes: for each UBI volumes an MTD device is
87 work on top of UBI. Do not enable this unless you use legacy
91 bool "Read-only block devices on top of UBI volumes"
96 devices will be layered on top of UBI volumes, which means that the
98 bit-flips. You can put any block-oriented file system on top of UBI
/linux-4.1.27/drivers/md/persistent-data/
Ddm-btree.c166 int top; member
172 if (s->top < 0) { in top_frame()
177 *f = s->spine + s->top; in top_frame()
184 return s->top >= 0; in unprocessed_frames()
206 if (s->top >= MAX_SPINE_DEPTH - 1) { in push_frame()
224 struct frame *f = s->spine + ++s->top; in push_frame()
228 s->top--; in push_frame()
247 struct frame *f = s->spine + s->top--; in pop_frame()
263 s->top = -1; in dm_btree_del()
599 int r, i = *index, top = 1; in btree_insert_raw() local
[all …]
/linux-4.1.27/sound/
Dsound_core.c174 …nit * s, struct sound_unit **list, const struct file_operations *fops, int index, int low, int top) in __sound_insert_unit() argument
183 while(n<top) in __sound_insert_unit()
192 if(n>=top) in __sound_insert_unit()
254 …d_unit **list, const struct file_operations *fops, int index, int low, int top, const char *name, … in sound_insert_unit() argument
264 r = __sound_insert_unit(s, list, fops, index, low, top); in sound_insert_unit()
/linux-4.1.27/Documentation/video4linux/
Dsh_mobile_ceu_camera.txt45 S_CROP(left / top = (5) - (1), width / height = (5') - (5))
51 (1) to (2) - sensor cropped left or top
54 (3) to (4) - CEU cropped left or top
57 (2) to (5) - reverse sensor scale applied to CEU cropped left or top
DREADME.pvrusb245 The most important shearing layer is between the top 2 layers. A
47 conceivable API can be laid on top of the core driver. (Yes, the
171 pvrusb2-ioread.[ch] - This module layers on top of pvrusb2-io.[ch]
173 I/O. Right now this is the only layer on top of pvrusb2-io.[ch],
178 pvrusb2-main.c - This is the top level of the driver. Module level
/linux-4.1.27/tools/perf/ui/browsers/
Dhists.c453 struct hist_entry *h = rb_entry(browser->b.top, in hist_browser__run()
890 if (browser->top == NULL) { in ui_browser__hists_init_top()
894 browser->top = rb_first(&hb->hists->entries); in ui_browser__hists_init_top()
912 for (nd = browser->top; nd; nd = rb_next(nd)) { in hist_browser__refresh()
984 nd = browser->top; in ui_browser__hists_seek()
999 h = rb_entry(browser->top, struct hist_entry, rb_node); in ui_browser__hists_seek()
1027 browser->top = nd; in ui_browser__hists_seek()
1035 browser->top = nd; in ui_browser__hists_seek()
1048 browser->top = nd; in ui_browser__hists_seek()
1058 browser->top = nd; in ui_browser__hists_seek()
[all …]
/linux-4.1.27/arch/avr32/kernel/
Dprocess.c81 unsigned long bottom, unsigned long top) in dump_mem() argument
86 printk("%s%s(0x%08lx to 0x%08lx)\n", log_lvl, str, bottom, top); in dump_mem()
88 for (p = bottom & ~31; p < top; ) { in dump_mem()
94 if (p < bottom || p >= top) in dump_mem()
/linux-4.1.27/drivers/watchdog/
Ddw_wdt.c80 static inline int dw_wdt_top_in_seconds(unsigned top) in dw_wdt_top_in_seconds() argument
86 return (1 << (16 + top)) / clk_get_rate(dw_wdt.clk); in dw_wdt_top_in_seconds()
91 int top = readl(dw_wdt.regs + WDOG_TIMEOUT_RANGE_REG_OFFSET) & 0xF; in dw_wdt_get_top() local
93 return dw_wdt_top_in_seconds(top); in dw_wdt_get_top()
/linux-4.1.27/arch/arm64/kernel/
Dtraps.c55 unsigned long top) in dump_mem() argument
69 printk("%s%s(0x%016lx to 0x%016lx)\n", lvl, str, bottom, top); in dump_mem()
71 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
78 for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { in dump_mem()
79 if (p >= bottom && p < top) { in dump_mem()
/linux-4.1.27/fs/gfs2/
Dbmap.c717 struct buffer_head *bh, __be64 *top, __be64 *bottom, in do_strip() argument
735 if (!*top) in do_strip()
742 top++; in do_strip()
756 for (p = top; p < bottom; p++) { in do_strip()
808 for (p = top; p < bottom; p++) { in do_strip()
876 __be64 *top, *bottom; in recursive_scan() local
887 top = (__be64 *)(bh->b_data + sizeof(struct gfs2_dinode)) + mp->mp_list[0]; in recursive_scan()
894 top = (__be64 *)(bh->b_data + mh_size) + in recursive_scan()
900 error = do_strip(ip, dibh, bh, top, bottom, height, sm); in recursive_scan()
906 gfs2_metapath_ra(ip->i_gl, bh, top); in recursive_scan()
[all …]
/linux-4.1.27/include/media/
Dtuner.h157 #define TDA9887_TOP(top) (TDA9887_TOP_SET | (((16 + (top)) & 0x1f) << 8)) argument
/linux-4.1.27/drivers/usb/host/
Dhwa-hc.c644 void *itr, *top; in hwahc_security_create() local
654 top = itr + itr_size; in hwahc_security_create()
663 if (top - (void *)secd < needed) { in hwahc_security_create()
666 top - (void *) secd, needed); in hwahc_security_create()
670 if (top - (void *)secd < needed) { in hwahc_security_create()
673 top - (void *) secd, needed); in hwahc_security_create()
678 top = (void *) secd + le16_to_cpu(secd->wTotalLength); in hwahc_security_create()
681 while (itr < top) { in hwahc_security_create()
683 if (top - itr < sizeof(*etd)) { in hwahc_security_create()
686 top - itr, sizeof(*etd)); in hwahc_security_create()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c63 out_rects[k].top = y1; in vmw_clip_cliprects()
460 int left, right, top, bottom; in do_surface_dirty_sou() local
498 top = clips->y1; in do_surface_dirty_sou()
506 top = min_t(int, top, (int)clips_ptr->y1); in do_surface_dirty_sou()
516 cmd->body.srcRect.top = top; in do_surface_dirty_sou()
523 tmp[i].y1 = clips_ptr->y1 - top; in do_surface_dirty_sou()
524 tmp[i].y2 = clips_ptr->y2 - top; in do_surface_dirty_sou()
534 clip.y1 = top - unit->crtc.y; in do_surface_dirty_sou()
550 cmd->body.destRect.top = clip.y1; in do_surface_dirty_sou()
922 blits[hit_num].body.destRect.top = clip_y1 - move_y; in do_dmabuf_dirty_sou()
[all …]
/linux-4.1.27/include/linux/wimax/
Ddebug.h458 struct d_level *itr, *top; in d_submodule_set() local
461 for (itr = d_level, top = itr + d_level_size; itr < top; itr++) { in d_submodule_set()
/linux-4.1.27/drivers/pci/
Dbus.c340 void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), in pci_walk_bus() argument
348 bus = top; in pci_walk_bus()
350 next = top->devices.next; in pci_walk_bus()
354 if (bus == top) in pci_walk_bus()
/linux-4.1.27/drivers/base/regmap/
Dregcache-rbtree.c46 unsigned int *base, unsigned int *top) in regcache_rbtree_get_base_top_reg() argument
49 *top = rbnode->base_reg + ((rbnode->blklen - 1) * map->reg_stride); in regcache_rbtree_get_base_top_reg()
143 unsigned int base, top; in rbtree_show() local
160 regcache_rbtree_get_base_top_reg(map, n, &base, &top); in rbtree_show()
161 this_registers = ((top - base) / map->reg_stride) + 1; in rbtree_show()
162 seq_printf(s, "%x-%x (%d)\n", base, top, this_registers); in rbtree_show()
/linux-4.1.27/net/xfrm/
Dxfrm_replay.c443 u32 top = replay_esn->seq; in xfrm_replay_check_esn() local
444 u32 bottom = top - wsize + 1; in xfrm_replay_check_esn()
453 diff = top - seq; in xfrm_replay_check_esn()
455 if (likely(top >= wsize - 1)) { in xfrm_replay_check_esn()
457 if (likely(seq > top) || seq < bottom) in xfrm_replay_check_esn()
461 if (likely(seq > top && seq < bottom)) in xfrm_replay_check_esn()
464 diff = ~seq + top + 1; in xfrm_replay_check_esn()
/linux-4.1.27/drivers/media/i2c/
Dtvp5150.c860 __func__, rect.left, rect.top, rect.width, rect.height); in tvp5150_s_crop()
870 rect.top = clamp(rect.top, 0, TVP5150_MAX_CROP_TOP); in tvp5150_s_crop()
884 hmax - TVP5150_MAX_CROP_TOP - rect.top, in tvp5150_s_crop()
885 hmax - rect.top); in tvp5150_s_crop()
887 tvp5150_write(sd, TVP5150_VERT_BLANKING_START, rect.top); in tvp5150_s_crop()
889 rect.top + rect.height - hmax); in tvp5150_s_crop()
924 a->bounds.top = 0; in tvp5150_cropcap()
1173 core->rect.top = 0; in tvp5150_probe()
Dmt9t001.c313 ret = mt9t001_write(client, MT9T001_ROW_START, crop->top); in mt9t001_s_stream()
435 rect.top = clamp(ALIGN(sel->r.top, 2), in mt9t001_set_selection()
448 MT9T001_PIXEL_ARRAY_HEIGHT - rect.top); in mt9t001_set_selection()
795 crop->top = MT9T001_ROW_START_DEF; in mt9t001_open()
921 mt9t001->crop.top = MT9T001_ROW_START_DEF; in mt9t001_probe()
Dmt9m032.c243 sensor->crop.top); in mt9m032_update_geom_timing()
466 rect.top = clamp(ALIGN(sel->r.top, 2), MT9M032_ROW_START_MIN, in mt9m032_set_pad_selection()
476 MT9M032_PIXEL_ARRAY_HEIGHT - rect.top); in mt9m032_set_pad_selection()
762 sensor->crop.top = MT9M032_ROW_START_DEF; in mt9m032_probe()
Dmt9v032.c433 ret = regmap_write(map, MT9V032_ROW_START, crop->top); in mt9v032_s_stream()
589 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1, in mt9v032_set_selection()
602 rect.height, MT9V032_PIXEL_ARRAY_HEIGHT - rect.top); in mt9v032_set_selection()
818 crop->top = MT9V032_ROW_START_DEF; in mt9v032_open()
1023 mt9v032->crop.top = MT9V032_ROW_START_DEF; in mt9v032_probe()
Ds5k6aa.c661 ret = s5k6aa_write(c, REG_G_PREVZOOM_IN_YOFFS, r->top); in s5k6aa_set_input_params()
1153 crop->top = clamp_t(unsigned int, crop->top, 0, in s5k6aa_set_fmt()
1182 rect->left, rect->top, rect->width, rect->height); in s5k6aa_get_selection()
1217 sel->r.top = clamp_t(unsigned int, sel->r.top, 0, max_y); in s5k6aa_set_selection()
1224 crop_r->left, crop_r->top, crop_r->width, crop_r->height); in s5k6aa_set_selection()
1439 crop->top = 0; in s5k6aa_open()
1608 s5k6aa->ccd_rect.top = 0; in s5k6aa_probe()
Dmt9p031.c405 ret = mt9p031_write(client, MT9P031_ROW_START, crop->top); in mt9p031_set_params()
614 rect.top = clamp(ALIGN(sel->r.top, 2), MT9P031_ROW_START_MIN, in mt9p031_set_selection()
626 MT9P031_PIXEL_ARRAY_HEIGHT - rect.top); in mt9p031_set_selection()
951 crop->top = MT9P031_ROW_START_DEF; in mt9p031_open()
1124 mt9p031->crop.top = MT9P031_ROW_START_DEF; in mt9p031_probe()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c52 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) in mlx4_bitmap_alloc()
62 obj |= bitmap->top; in mlx4_bitmap_alloc()
122 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) in mlx4_bitmap_alloc_range()
135 obj |= bitmap->top; in mlx4_bitmap_alloc_range()
165 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) in mlx4_bitmap_free_range()
181 bitmap->top = 0; in mlx4_bitmap_init()
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dfimc-m2m.c410 cr->bounds.top = 0; in fimc_m2m_cropcap()
428 cr->c.top = frame->offs_v; in fimc_m2m_g_crop()
442 if (cr->c.top < 0 || cr->c.left < 0) { in fimc_m2m_try_crop()
474 if (cr->c.top + cr->c.height > f->o_height) in fimc_m2m_try_crop()
475 cr->c.top = f->o_height - cr->c.height; in fimc_m2m_try_crop()
478 cr->c.top = round_down(cr->c.top, fimc->variant->hor_offs_align); in fimc_m2m_try_crop()
481 cr->c.left, cr->c.top, cr->c.width, cr->c.height, in fimc_m2m_try_crop()
518 f->offs_v = cr.c.top; in fimc_m2m_s_crop()
Dfimc-lite.c632 r->top = clamp_t(u32, r->top, 0, frame->f_height - r->height); in fimc_lite_try_crop()
635 r->left, r->top, r->width, r->height, in fimc_lite_try_crop()
652 r->top = clamp_t(u32, r->top, 0, fimc->out_frame.f_height - r->height); in fimc_lite_try_compose()
655 r->left, r->top, r->width, r->height, in fimc_lite_try_compose()
899 if (a->left < b->left || a->top < b->top) in enclosed_rectangle()
903 if (a->top + a->height > b->top + b->height) in enclosed_rectangle()
922 sel->r.top = 0; in fimc_lite_g_selection()
1152 sink->rect.top = 0; in fimc_lite_subdev_set_fmt()
1185 sel->r.top = 0; in fimc_lite_subdev_get_selection()
1192 __func__, f->rect.left, f->rect.top, f->rect.width, in fimc_lite_subdev_get_selection()
[all …]
Dfimc-capture.c677 r->left = r->top = 0; in fimc_capture_try_selection()
720 r->top = clamp_t(u32, r->top, 0, sink->f_height - r->height); in fimc_capture_try_selection()
724 target, r->left, r->top, r->width, r->height, in fimc_capture_try_selection()
1293 s->r.top = 0; in fimc_cap_g_selection()
1302 s->r.top = f->offs_v; in fimc_cap_g_selection()
1314 if (a->left < b->left || a->top < b->top) in enclosed_rectangle()
1318 if (a->top + a->height > b->top + b->height) in enclosed_rectangle()
1355 set_frame_crop(f, s->r.left, s->r.top, s->r.width, in fimc_cap_s_selection()
1626 r->top = 0; in fimc_subdev_get_selection()
1646 r->top = f->offs_v; in fimc_subdev_get_selection()
[all …]
Dfimc-lite-reg.c168 cfg |= (f->rect.left << 16) | f->rect.top; in flite_hw_set_window_offset()
173 voff2 = f->f_height - f->rect.height - f->rect.top; in flite_hw_set_window_offset()
263 cfg |= (f->rect.top << 16) | f->rect.left; in flite_hw_set_dma_window()
/linux-4.1.27/drivers/media/i2c/soc_camera/
Dov6650.c458 rect.top = ALIGN(rect.top, 2); in ov6650_s_crop()
462 soc_camera_limit_side(&rect.top, &rect.height, in ov6650_s_crop()
473 ret = ov6650_reg_write(client, REG_VSTRT, rect.top >> 1); in ov6650_s_crop()
476 priv->rect.top = rect.top; in ov6650_s_crop()
478 (rect.top + rect.height) >> 1); in ov6650_s_crop()
492 a->bounds.top = DEF_VSTRT << 1; in ov6650_cropcap()
552 .top = priv->rect.top + (priv->rect.height >> 1) - in ov6650_s_fmt()
1012 priv->rect.top = DEF_VSTRT << 1; in ov6650_probe()
Dmt9t112.c344 static void mt9t112_frame_check(u32 *width, u32 *height, u32 *left, u32 *top) in mt9t112_frame_check() argument
347 soc_camera_limit_side(top, height, 0, 0, MAX_HEIGHT); in mt9t112_frame_check()
863 &priv->frame.left, &priv->frame.top); in mt9t112_set_params()
873 a->bounds.top = 0; in mt9t112_cropcap()
877 a->defrect.top = 0; in mt9t112_cropcap()
931 .top = priv->frame.top, in mt9t112_s_fmt()
948 unsigned int top, left; in mt9t112_try_fmt() local
962 mt9t112_frame_check(&mf->width, &mf->height, &left, &top); in mt9t112_try_fmt()
1079 .top = (MAX_HEIGHT - VGA_HEIGHT) / 2, in mt9t112_probe()
Dmt9t031.c238 rect->top &= ~1; in mt9t031_set_params()
241 xskip, yskip, rect->width, rect->height, rect->left, rect->top); in mt9t031_set_params()
263 rect->left, rect->top); in mt9t031_set_params()
272 ret = reg_write(client, MT9T031_ROW_START, rect->top); in mt9t031_set_params()
309 soc_camera_limit_side(&rect.top, &rect.height, in mt9t031_s_crop()
329 a->bounds.top = MT9T031_ROW_SKIP; in mt9t031_cropcap()
787 mt9t031->rect.top = MT9T031_ROW_SKIP; in mt9t031_probe()
Dmt9m001.c196 soc_camera_limit_side(&rect.top, &rect.height, in mt9m001_s_crop()
213 ret = reg_write(client, MT9M001_ROW_START, rect.top); in mt9m001_s_crop()
242 a->bounds.top = MT9M001_ROW_SKIP; in mt9m001_cropcap()
276 .top = mt9m001->rect.top, in mt9m001_s_fmt()
683 mt9m001->rect.top = MT9M001_ROW_SKIP; in mt9m001_probe()
Dov772x.c491 .top = 14,
500 .top = 6,
767 ret = ov772x_write(client, VSTART, win->rect.top >> 1); in ov772x_set_params()
780 ((win->rect.top & 1) << HREF_VSTART_SHIFT) | in ov772x_set_params()
857 a->c.top = 0; in ov772x_g_crop()
868 a->bounds.top = 0; in ov772x_cropcap()
Dmt9v022.c297 soc_camera_limit_side(&rect.top, &rect.height, in mt9v022_s_crop()
319 ret = reg_write(client, MT9V022_ROW_START, rect.top); in mt9v022_s_crop()
367 a->bounds.top = MT9V022_ROW_SKIP; in mt9v022_cropcap()
401 .top = mt9v022->rect.top, in mt9v022_s_fmt()
938 mt9v022->rect.top = MT9V022_ROW_SKIP; in mt9v022_probe()
Dov5642.c757 priv->crop_rect.top = start_y; in ov5642_set_resolution()
897 a->bounds.top = 0; in ov5642_cropcap()
1026 priv->crop_rect.top = (OV5642_MAX_HEIGHT - OV5642_DEFAULT_HEIGHT) / 2; in ov5642_probe()
/linux-4.1.27/kernel/trace/
Dtrace_stack.c77 unsigned long this_size, flags; unsigned long *p, *top, *start; in check_stack() local
129 top = (unsigned long *) in check_stack()
145 for (; p < top && i < max_stack_trace.nr_entries; p++) { in check_stack()
148 (top - p) * sizeof(unsigned long); in check_stack()
/linux-4.1.27/drivers/video/fbdev/sis/
Dsis_accel.h245 #define SiS300SetupClipLT(left,top) \ argument
247 MMIO_OUT32(ivideo->mmio_vbase, BR(13), ((left) & 0xFFFF) | (top)<<16 );\
371 #define SiS310SetupClipLT(left,top) \ argument
373 MMIO_OUT32(ivideo->mmio_vbase, LEFT_CLIP, ((left) & 0xFFFF) | (top)<<16 );\
/linux-4.1.27/drivers/media/usb/gspca/stv06xx/
Dstv06xx_hdcs.c76 int left, top; member
311 + hdcs->array.top; in hdcs_set_size()
316 y = hdcs->array.top + (hdcs->array.height - height) / 2; in hdcs_set_size()
389 hdcs->array.top = 8; in hdcs_probe_1x00()
451 hdcs->array.top = 4; in hdcs_probe_1020()
/linux-4.1.27/arch/arm/mm/
Dproc-feroceon.S262 add r1, r0, #PAGE_SZ - CACHE_DLINESIZE @ top addr is inclusive
266 mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top
308 subne r1, r1, #1 @ top address is inclusive
312 mcr p15, 5, r1, c15, c14, 1 @ D inv range top
340 subne r1, r1, #1 @ top address is inclusive
344 mcr p15, 5, r1, c15, c13, 1 @ D clean range top
371 subne r1, r1, #1 @ top address is inclusive
375 mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispresizer.c397 static void resizer_set_start(struct isp_res_device *res, u32 left, u32 top) in resizer_set_start() argument
404 rgval |= (top << ISPRSZ_IN_START_VERT_ST_SHIFT) in resizer_set_start()
899 input->top += (input->height - height) / 2; in resizer_calc_ratios()
927 res->crop_offset = (res->crop.active.top * input->width + in resizer_set_crop_params()
948 res->crop.active.top); in resizer_set_crop_params()
1210 crop->top = clamp_t(u32, crop->top, 0, sink->height - MIN_IN_HEIGHT); in resizer_try_crop()
1212 sink->height - crop->top); in resizer_try_crop()
1245 sel->r.top = 0; in resizer_get_selection()
1301 sel->r.left, sel->r.top, sel->r.width, sel->r.height, in resizer_set_selection()
1319 sel->r.left, sel->r.top, sel->r.width, sel->r.height, in resizer_set_selection()
[all …]
Disppreview.c1075 unsigned int slv = prev->crop.top; in preview_config_input_size()
1076 unsigned int elv = prev->crop.top + prev->crop.height - 1; in preview_config_input_size()
1827 unsigned int top = PREV_MARGIN_TOP; in preview_try_crop() local
1848 top += 2; in preview_try_crop()
1854 crop->top &= ~1; in preview_try_crop()
1857 crop->top = clamp_t(u32, crop->top, top, bottom - PREV_MIN_OUT_HEIGHT); in preview_try_crop()
1861 bottom - crop->top); in preview_try_crop()
1948 sel->r.top = 0; in preview_get_selection()
2060 crop->top = 0; in preview_set_format()
/linux-4.1.27/Documentation/isdn/
DREADME.x2534 useful to run X.25 on top of ISDN. If you want to try it, select
60 X.25 on top of isdn might be useful with two different scenarios:
81 box. A lot of those teleservices run on top of the ISO-8208
88 To use the X.25 protocol on top of isdn, just create an isdn network
99 connections on top of the isdnloop driver and the hisax driver.
138 To test X.25 on top of isdn, you need to get
178 provide useful examples for setting up X.25 on top of isdn.
/linux-4.1.27/drivers/usb/wusbcore/
Ddevconnect.c708 void *itr, *top; in wusb_dev_bos_grok() local
712 top = itr + desc_size - sizeof(*bos); in wusb_dev_bos_grok()
713 while (itr < top) { in wusb_dev_bos_grok()
717 if (top - itr < sizeof(*cap_hdr)) { in wusb_dev_bos_grok()
720 (int)(itr - (void *)bos), top - itr); in wusb_dev_bos_grok()
728 if (cap_size > top - itr) { in wusb_dev_bos_grok()
733 cap_type, cap_size, top - itr); in wusb_dev_bos_grok()
Dsecurity.c222 const void *itr, *top; in wusb_dev_sec_add() local
255 top = (void *)secd + result; in wusb_dev_sec_add()
256 while (itr < top) { in wusb_dev_sec_add()
258 if (top - itr < sizeof(*etd)) { in wusb_dev_sec_add()
261 top - itr, sizeof(*etd)); in wusb_dev_sec_add()
Dcbaf.c139 void *itr, *top; in cbaf_check() local
175 top = cbaf->buffer + assoc_size; in cbaf_check()
179 while (itr < top) { in cbaf_check()
186 if (top - itr < sizeof(*assoc_request)) { in cbaf_check()
189 top - itr, sizeof(*assoc_request)); in cbaf_check()
/linux-4.1.27/drivers/media/platform/s5p-tv/
Dmixer_video.c374 s->r.top = geo->src.y_offset; in mxr_g_selection()
381 s->r.top = 0; in mxr_g_selection()
388 s->r.top = geo->dst.y_offset; in mxr_g_selection()
395 s->r.top = 0; in mxr_g_selection()
411 if (a->top < b->top) in mxr_is_rect_inside()
415 if (a->top + a->height > b->top + b->height) in mxr_is_rect_inside()
433 s->r.width, s->r.height, s->r.left, s->r.top); in mxr_s_selection()
473 target->y_offset = s->r.top; in mxr_s_selection()
481 res.top = target->y_offset; in mxr_s_selection()
/linux-4.1.27/Documentation/arm64/
Dtagged-pointers.txt12 via TTBR0 (i.e. userspace mappings) have the top byte (bits 63:56) of
19 their top byte cleared before trapping to the kernel.
/linux-4.1.27/arch/x86/kernel/
Dprocess_64.c522 unsigned long start, bottom, top, sp, fp, ip; in get_wchan() local
550 top = start + THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; in get_wchan()
551 top -= 2 * sizeof(unsigned long); in get_wchan()
555 if (sp < bottom || sp > top) in get_wchan()
560 if (fp < bottom || fp > top) in get_wchan()
/linux-4.1.27/arch/microblaze/mm/
Dinit.c204 unsigned long top = reg->base + reg->size - 1; in setup_memory() local
207 (u32) reg->base, (u32) reg->size, top, in setup_memory()
210 if (top <= (memory_start + lowmem_size - 1)) { in setup_memory()
/linux-4.1.27/arch/sh/include/asm/
Dkdebug.h15 extern void dump_mem(const char *str, unsigned long bottom, unsigned long top);
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
Dentry.S59 mov r15,r2 ! r2 = user stack top
74 mov r2,r8 ! r8 = previus stack top
87 mov r2,r8 ! r8 = previous stack top
218 mov.l r2,@(OFF_SP,r0) ! point exception frame top
/linux-4.1.27/drivers/media/platform/s3c-camif/
Dcamif-capture.c60 f->dma_offset.initial = f->rect.top * f->f_width + f->rect.left; in camif_prepare_dma_offset()
815 out_frame->rect.top = 0; in s3c_camif_vidioc_s_fmt()
1011 sel->r.top = 0; in s3c_camif_g_selection()
1058 sel->r.left, sel->r.top, sel->r.width, sel->r.height); in s3c_camif_s_selection()
1341 crop->top = 0; in s3c_camif_subdev_set_fmt()
1392 sel->r.top = 0; in s3c_camif_subdev_get_selection()
1398 __func__, crop->left, crop->top, crop->width, in s3c_camif_subdev_get_selection()
1409 unsigned int top = 2 * r->top; in __camif_try_crop() local
1424 &top, 0, mf->height - r->height, 2, 0); in __camif_try_crop()
1427 r->top = top / 2; in __camif_try_crop()
[all …]
/linux-4.1.27/fs/btrfs/
Dreada.c68 struct btrfs_key top; member
104 struct btrfs_key *top, int level, u64 generation);
175 next_key = re->top; in __readahead_hook()
320 struct btrfs_key *top, int level) in reada_find_extent() argument
351 re->top = *top; in reada_find_extent()
557 struct btrfs_key *top, int level, u64 generation) in reada_add_block() argument
563 re = reada_find_extent(root, logical, top, level); /* takes one ref */ in reada_add_block()
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/
Dwii.c99 unsigned long __init wii_mmu_mapin_mem2(unsigned long top) in wii_mmu_mapin_mem2() argument
106 size = top - delta; in wii_mmu_mapin_mem2()
/linux-4.1.27/Documentation/devicetree/bindings/mmc/
Dsdhci-st.txt31 - reg-names: Should be "mmc" and "top-mmc-delay". "top-mmc-delay" is optional
99 reg-names = "mmc", "top-mmc-delay";
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dresource.c419 unsigned start, chunk, top; in c4iw_ocqp_pool_create() local
427 top = start + chunk; in c4iw_ocqp_pool_create()
429 while (start < top) { in c4iw_ocqp_pool_create()
430 chunk = min(top - start + 1, chunk); in c4iw_ocqp_pool_create()
437 start, top - start); in c4iw_ocqp_pool_create()
/linux-4.1.27/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c771 u32 left, right, top, bottom; in vidioc_g_crop() local
783 top = s5p_mfc_hw_call(dev->mfc_ops, get_crop_info_v, ctx); in vidioc_g_crop()
784 bottom = top >> S5P_FIMV_SHARED_CROP_BOTTOM_SHIFT; in vidioc_g_crop()
785 top = top & S5P_FIMV_SHARED_CROP_TOP_MASK; in vidioc_g_crop()
787 cr->c.top = top; in vidioc_g_crop()
789 cr->c.height = ctx->img_height - top - bottom; in vidioc_g_crop()
791 "w=%d h=%d (r=%d b=%d fw=%d fh=%d\n", left, top, in vidioc_g_crop()
796 cr->c.top = 0; in vidioc_g_crop()
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dcros-ec.txt8 its own driver which connects to the top level interface-agnostic EC driver.
10 the top-level driver.
/linux-4.1.27/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c435 if (a->left < b->left || a->top < b->top) in is_rectangle_enclosed()
441 if (a->top + a->height > b->top + b->height) in is_rectangle_enclosed()
467 s->r.top = 0; in gsc_m2m_g_selection()
475 s->r.top = frame->crop.top; in gsc_m2m_g_selection()
/linux-4.1.27/Documentation/arm/sti/
Dstih416-overview.txt7 The STiH416 is the next generation of HD, AVC set-top box processors
Dstih415-overview.txt7 The STiH415 is the next generation of HD, AVC set-top box processors
Dstih407-overview.txt7 The STiH407 is the new generation of SoC for Multi-HD, AVC set-top boxes
Dstih418-overview.txt7 The STiH418 is the new generation of SoC for UHDp60 set-top boxes
/linux-4.1.27/Documentation/devicetree/bindings/media/i2c/
Dths8200.txt4 recorders, set-top boxes.
/linux-4.1.27/drivers/media/pci/ivtv/
Divtvfb.c257 if (ivtv_window->top + ivtv_window->height > osd_height_limit) { in ivtvfb_set_display_window()
259 ivtv_window->top, ivtv_window->height); in ivtvfb_set_display_window()
260 ivtv_window->top = osd_height_limit - ivtv_window->height; in ivtvfb_set_display_window()
270 write_reg((ivtv_window->top << 16) | ivtv_window->left, 0x02a04); in ivtvfb_set_display_window()
273 …write_reg(((ivtv_window->top+ivtv_window->height) << 16) | (ivtv_window->left+ivtv_window->width),… in ivtvfb_set_display_window()
279 itv->yuv_info.osd_y_offset = ivtv_window->top; in ivtvfb_set_display_window()
598 ivtv_window.top = var->upper_margin - 1; in ivtvfb_set_var()
1036 start_window.top = osd_upper >= 0 ? osd_upper : ((max_height - start_window.height) / 2); in ivtvfb_init_vidmode()
1050 oi->ivtvfb_defined.upper_margin = start_window.top + 1; in ivtvfb_init_vidmode()
/linux-4.1.27/drivers/ssb/
DKconfig44 Support for a Sonics Silicon Backplane on top
64 Support for a Sonics Silicon Backplane on top
78 Support for a Sonics Silicon Backplane on top
/linux-4.1.27/mm/
Dtruncate.c294 unsigned int top = PAGE_CACHE_SIZE; in truncate_inode_pages_range() local
297 top = partial_end; in truncate_inode_pages_range()
301 zero_user_segment(page, partial_start, top); in truncate_inode_pages_range()
305 top - partial_start); in truncate_inode_pages_range()
/linux-4.1.27/arch/arm/kernel/
Dtraps.c97 unsigned long top) in dump_mem() argument
111 printk("%s%s(0x%08lx to 0x%08lx)\n", lvl, str, bottom, top); in dump_mem()
113 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
120 for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { in dump_mem()
121 if (p >= bottom && p < top) { in dump_mem()
/linux-4.1.27/Documentation/
Dkselftest.txt41 See the top-level tools/testing/selftests/Makefile for the list of all
68 * Don't cause the top-level "make run_tests" to fail if your feature is
/linux-4.1.27/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,brcmstb.txt19 - compatible: "brcm,bcm<chip_id>-sun-top-ctrl", "syscon"
31 compatible = "brcm,bcm7445-sun-top-ctrl", "syscon";
/linux-4.1.27/drivers/staging/speakup/
DDefaultKeyAssignments12 InsKeyPad-8 say from top of screen to reading cursor.
31 InsKeyPad-9 Move reading cursor to top of screen (insert pgup)
/linux-4.1.27/crypto/
Dalgapi.c83 struct list_head *top, in crypto_more_spawns() argument
101 return &n->list == stack ? top : &n->inst->alg.cra_users; in crypto_more_spawns()
135 LIST_HEAD(top); in crypto_remove_spawns()
142 list_move(&spawn->list, &top); in crypto_remove_spawns()
145 spawns = &top; in crypto_remove_spawns()
164 } while ((spawns = crypto_more_spawns(alg, &stack, &top, in crypto_remove_spawns()
/linux-4.1.27/arch/cris/boot/compressed/
Dhead_v32.S44 ;; the SP at the top for now.
/linux-4.1.27/Documentation/locking/
Drt-mutex-design.txt109 top waiter - The highest priority process waiting on a specific mutex.
111 top pi waiter - The highest priority process waiting on one of the mutexes
218 a list of all top waiters of the mutexes that are owned by the process.
219 Note that this list only holds the top waiters and not all waiters that are
222 The top of the task's PI list is always the highest priority task that
225 at the top of this list.
374 Since the pi_list of a task holds an order by priority list of all the top
376 to compare the top pi waiter to its own normal priority, and return the higher
397 by the task, so we only need to compare the priority of that top pi waiter
439 the top of the PI chain.
[all …]
/linux-4.1.27/drivers/media/platform/
Dsh_vou.c463 frame_out_top = rect->top / 2; in sh_vou_configure_geometry()
667 if (geo->output.top + best > height_max) in vou_adjust_output()
668 geo->output.top = height_max - best; in vou_adjust_output()
955 rect->width, rect->height, rect->left, rect->top); in sh_vou_s_crop()
971 if (rect->height + rect->top > img_height_max) in sh_vou_s_crop()
972 rect->top = img_height_max - rect->height; in sh_vou_s_crop()
1037 a->bounds.top = 0; in sh_vou_cropcap()
1042 a->defrect.top = 0; in sh_vou_cropcap()
1329 rect->top = 0; in sh_vou_probe()
/linux-4.1.27/drivers/media/platform/davinci/
Dvpbe_display.c534 int top, int left) in vpbe_disp_adj_position() argument
541 cfg->ypos = min((unsigned int)top, in vpbe_disp_adj_position()
558 if ((c->height == 0) || ((c->height + c->top) > in vpbe_disp_check_window_params()
560 c->height = vpbe_dev->current_timings.yres - c->top; in vpbe_disp_check_window_params()
672 if (rect.top < 0) in vpbe_display_s_crop()
673 rect.top = 0; in vpbe_display_s_crop()
685 vpbe_disp_adj_position(disp_dev, layer, rect.top, in vpbe_display_s_crop()
740 rect->top = cfg->ypos; in vpbe_display_g_crop()
758 cropcap->bounds.top = 0; in vpbe_display_cropcap()
/linux-4.1.27/drivers/connector/
DKconfig6 This is unified userspace <-> kernelspace connector working on top
/linux-4.1.27/drivers/staging/fwserial/
DTODO6 2. Implement _robust_ console on top of this. The existing prototype console
/linux-4.1.27/net/bluetooth/bnep/
DKconfig7 emulation layer on top of Bluetooth. BNEP is required for
/linux-4.1.27/fs/minix/
Ditree_common.c220 block_t *top) in find_shared() argument
225 *top = 0; in find_shared()
242 *top = *p->p; in find_shared()
/linux-4.1.27/Documentation/ABI/removed/
Ddv139411 transparently work on top of the newer firewire kernel drivers.
/linux-4.1.27/fs/ext4/
Ddir.c615 char *top; in ext4_check_all_de() local
618 top = buf + buf_size; in ext4_check_all_de()
619 while ((char *) de < top) { in ext4_check_all_de()
628 if ((char *) de > top) in ext4_check_all_de()
/linux-4.1.27/arch/x86/xen/
Dp2m.c126 static void p2m_top_mfn_init(unsigned long *top) in p2m_top_mfn_init() argument
131 top[i] = virt_to_mfn(p2m_mid_missing_mfn); in p2m_top_mfn_init()
134 static void p2m_top_mfn_p_init(unsigned long **top) in p2m_top_mfn_p_init() argument
139 top[i] = p2m_mid_missing_mfn; in p2m_top_mfn_p_init()
/linux-4.1.27/drivers/media/tuners/
Dmxl5005s.h103 u32 top; member
/linux-4.1.27/drivers/video/fbdev/kyro/
DSTG4000Interface.h56 u32 left, u32 top,
/linux-4.1.27/drivers/block/
Dcciss_scsi.c114 int top; member
149 if (stk->top < 0) in scsi_cmd_alloc()
151 c = stk->elem[stk->top]; in scsi_cmd_alloc()
165 stk->top--; in scsi_cmd_alloc()
188 stk->top++; in scsi_cmd_free()
189 if (stk->top >= stk->nelems) { in scsi_cmd_free()
194 stk->elem[stk->top] = (struct cciss_scsi_cmd_stack_elem_t *) c; in scsi_cmd_free()
236 stk->top = stk->nelems-1; in scsi_cmd_stack_setup()
249 if (stk->top != stk->nelems-1) { in scsi_cmd_stack_free()
252 stk->nelems - stk->top); in scsi_cmd_stack_free()
/linux-4.1.27/drivers/media/common/saa7146/
Dsaa7146_hlp.c310 int low = 0, high = 0, top = 0, temp = 0; in sort_and_eliminate() local
319 for( top = *count; top > 0; top--) { in sort_and_eliminate()
320 for( low = 0, high = 1; high < top; low++, high++) { in sort_and_eliminate()
369 y[i] = vv->ov.clips[i].c.top; in calculate_clipping_registers_rect()
656 …saa7146_set_position(dev, vv->ov.win.w.left, vv->ov.win.w.top, vv->ov.win.w.height, vv->ov.win.fie… in saa7146_enable_overlay()
/linux-4.1.27/arch/ia64/kernel/
Dunwind.c339 || (unsigned long) addr >= info->regstk.top) in unw_access_gr()
345 info->regstk.top); in unw_access_gr()
348 if ((unsigned long) nat_addr >= info->regstk.top) in unw_access_gr()
373 || (unsigned long) addr >= info->regstk.top) in unw_access_gr()
379 if ((unsigned long) nat_addr >= info->regstk.top) in unw_access_gr()
1877 return (loc >= info->regstk.limit && loc < info->regstk.top) || in unw_valid()
1878 (loc >= info->memstk.top && loc < info->memstk.limit); in unw_valid()
1933 if (info->bsp < info->regstk.limit || info->bsp > info->regstk.top) { in unw_unwind()
1935 __func__, info->bsp, info->regstk.limit, info->regstk.top); in unw_unwind()
1942 if (info->sp < info->memstk.top || info->sp > info->memstk.limit) { in unw_unwind()
[all …]
/linux-4.1.27/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1454 ctx->crop_rect.top = 0; in exynos3250_jpeg_try_downscale()
1464 if (a->left < b->left || a->top < b->top) in enclosed_rectangle()
1468 if (a->top + a->height > b->top + b->height) in enclosed_rectangle()
1496 base_rect.top = 0; in exynos3250_jpeg_try_crop()
1504 r->top = round_down(r->top, 2); in exynos3250_jpeg_try_crop()
1510 ctx->crop_rect.top = r->top; in exynos3250_jpeg_try_crop()
1541 s->r.top = 0; in s5p_jpeg_g_selection()
1549 s->r.top = ctx->crop_rect.top; in s5p_jpeg_g_selection()
2048 ctx->crop_rect.top); in exynos3250_jpeg_device_run()
/linux-4.1.27/include/video/
Dmbxfb.h82 __u8 top; member
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dxen.txt3 Xen ARM virtual platforms shall have a top-level "hypervisor" node with
/linux-4.1.27/arch/m68k/ifpsp060/
Disp.doc62 the installer should add a symbolic label to the top of the file.
72 (top of module)
103 with respect to the top of the package. The currently defined entry-points
116 point is located 0 bytes from the top of the "Entry-point" section.)
DTEST.DOC48 the installer should add symbolic labels to the top of the files.
58 (top of module)
90 with respect to the top of the package. The currently defined entry-points
102 0 bytes from the top of the "Entry-point" section.)
Dfpsp.doc54 the installer should add a symbolic label to the top of the file.
64 (top of module)
95 with respect to the top of the package. The currently defined entry-points
107 48 bytes from the top of the "Entry-point" section.)
/linux-4.1.27/include/uapi/drm/
Dqxl_drm.h97 uint32_t top; member
/linux-4.1.27/Documentation/kbuild/
Dmakefiles.txt60 Makefile the top Makefile.
66 The top Makefile reads the .config file, which comes from the kernel
69 The top Makefile is responsible for building two major products: vmlinux
74 configuration. The top Makefile textually includes an arch Makefile
76 architecture-specific information to the top Makefile.
303 This variable is necessary because the top Makefile owns the
772 This is only a special case used in the top level Kbuild file:
802 included in the top level makefile, and the kbuild infrastructure
810 The top level Makefile sets up the environment and does the preparation,
812 The top level makefile contains the generic part, whereas
[all …]
/linux-4.1.27/arch/x86/platform/efi/
Defi_64.c288 unsigned long top = last_map_pfn << PAGE_SHIFT; in efi_ioremap() local
289 efi_ioremap(top, size - (top - phys_addr), type, attribute); in efi_ioremap()
/linux-4.1.27/fs/ext3/
Dnamei.c563 struct ext3_dir_entry_2 *de, *top; in htree_dirblock_to_tree() local
572 top = (struct ext3_dir_entry_2 *) ((char *) de + in htree_dirblock_to_tree()
575 for (; de < top; de = ext3_next_entry(de)) { in htree_dirblock_to_tree()
727 struct dx_map_entry *p, *q, *top = map + count - 1; in dx_sort_map() local
735 for (p = top, q = p - count; q >= map; p--, q--) in dx_sort_map()
742 q = top; in dx_sort_map()
1252 char *top; in add_dirent_to_buf() local
1257 top = bh->b_data + dir->i_sb->s_blocksize - reclen; in add_dirent_to_buf()
1258 while ((char *) de <= top) { in add_dirent_to_buf()
1275 if ((char *) de > top) in add_dirent_to_buf()
[all …]
/linux-4.1.27/fs/ubifs/
DKconfig12 UBIFS is a file system for flash devices which works on top of UBI.
/linux-4.1.27/drivers/staging/panel/
Dlcd-panel-cgram.txt7 top of the character to the bottom. On a 5x7 matrix, only the 5 lower
/linux-4.1.27/drivers/gpu/drm/tegra/
DKconfig28 Note that this support also provides the Linux console on top of
/linux-4.1.27/drivers/media/platform/ti-vpe/
Dvpdma.c645 rect.top >>= 1; in vpdma_add_out_dtd()
651 dma_addr += rect.top * stride + (rect.left * depth >> 3); in vpdma_add_out_dtd()
716 rect.top >>= 1; in vpdma_add_in_dtd()
722 dma_addr += rect.top * stride + (rect.left * depth >> 3); in vpdma_add_in_dtd()
/linux-4.1.27/arch/arm/include/debug/
Dsa1100.S46 @ clear top bits, and generate both phys and virt addresses
/linux-4.1.27/Documentation/acpi/
Dinitrd_table_override.txt59 # concatenated on top of the uncompressed one.
69 # on top:
/linux-4.1.27/arch/xtensa/include/asm/
Duaccess.h485 unsigned long top = __kernel_ok ? ~0UL : TASK_SIZE - 1;
487 if ((unsigned long)str > top)
/linux-4.1.27/Documentation/filesystems/
Dubifs.txt35 UBIFS works on top of UBI. UBI is a separate software layer which may be
47 * JFFS2 works on top of MTD devices, UBIFS depends on UBI and works on
48 top of UBI volumes.
/linux-4.1.27/drivers/net/fddi/skfp/
Dsmt.c1184 int top ; in smt_fill_state() local
1191 top = 0 ; in smt_fill_state()
1193 top |= SMT_ST_WRAPPED ; /* state wrapped */ in smt_fill_state()
1197 top |= SMT_ST_UNATTACHED ; /* unattached concentrator */ in smt_fill_state()
1201 top |= SMT_ST_TWISTED_A ; /* twisted cable */ in smt_fill_state()
1204 top |= SMT_ST_TWISTED_B ; /* twisted cable */ in smt_fill_state()
1207 top |= SMT_ST_SRF ; in smt_fill_state()
1210 top |= SMT_ST_ROOTED_S ; in smt_fill_state()
1212 top |= SMT_ST_SYNC_SERVICE ; in smt_fill_state()
1213 state->st_topology = top ; in smt_fill_state()
/linux-4.1.27/Documentation/fb/
Dgxfb.txt14 * You can run XF68_FBDev on top of /dev/fb0
Dlxfb.txt14 * You can run XF68_FBDev on top of /dev/fb0
/linux-4.1.27/drivers/gpu/drm/msm/
DKconfig28 support on top of the MSM modesetting driver.

1234