Home
last modified time | relevance | path

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

1234

/linux-4.4.14/tools/perf/
Dbuiltin-top.c76 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument
78 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries()
84 struct perf_top *top = arg; in perf_top__sig_winch() local
86 get_term_dimensions(&top->winsize); in perf_top__sig_winch()
87 perf_top__update_print_entries(top); in perf_top__sig_winch()
90 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) in perf_top__parse_source() argument
133 top->sym_filter_entry = he; in perf_top__parse_source()
173 static void perf_top__record_precise_ip(struct perf_top *top, in perf_top__record_precise_ip() argument
182 ((top->sym_filter_entry == NULL || in perf_top__record_precise_ip()
183 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
/linux-4.4.14/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()
[all …]
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.4.14/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.4.14/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.c85 a->c.top = 0; in soc_camera_platform_g_crop()
99 a->bounds.top = 0; in soc_camera_platform_cropcap()
/linux-4.4.14/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.4.14/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.4.14/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++; }
105 top--; in FPU_load_store()
128 top++; in FPU_load_store()
147 top++; in FPU_load_store()
Dfpu_aux.c136 int regnr = top & 7, regnri = ((regnr + i) & 7); in fxch_i()
179 int regnr = top & 7; in fcmovCC()
180 int regnri = (top + i) & 7; in fcmovCC()
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.4.14/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.4.14/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.4.14/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c72 struct lu_object_header *top; in lu_object_put() local
78 top = o->lo_header; in lu_object_put()
89 LASSERT(top->loh_hash.next == NULL in lu_object_put()
90 && top->loh_hash.pprev == NULL); in lu_object_put()
91 LASSERT(list_empty(&top->loh_lru)); in lu_object_put()
92 if (!atomic_dec_and_test(&top->loh_ref)) in lu_object_put()
94 list_for_each_entry_reverse(o, &top->loh_layers, lo_linkage) { in lu_object_put()
102 cfs_hash_bd_get(site->ls_obj_hash, &top->loh_fid, &bd); in lu_object_put()
105 if (!cfs_hash_bd_dec_and_lock(site->ls_obj_hash, &bd, &top->loh_ref)) { in lu_object_put()
106 if (lu_object_is_dying(top)) { in lu_object_put()
[all …]
Dcl_object.c153 struct cl_object *top; in cl_object_top() local
158 top = lu2cl(lu_object_top(&hdr->coh_lu)); in cl_object_top()
159 CDEBUG(D_TRACE, "%p -> %p\n", o, top); in cl_object_top()
160 return top; in cl_object_top()
212 struct lu_object_header *top; in cl_object_attr_get() local
217 top = obj->co_lu.lo_header; in cl_object_attr_get()
219 list_for_each_entry(obj, &top->loh_layers, co_lu.lo_linkage) { in cl_object_attr_get()
243 struct lu_object_header *top; in cl_object_attr_set() local
248 top = obj->co_lu.lo_header; in cl_object_attr_set()
250 list_for_each_entry_reverse(obj, &top->loh_layers, in cl_object_attr_set()
[all …]
/linux-4.4.14/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.4.14/drivers/media/platform/vivid/
Dvivid-vid-common.c652 if (r->top < boundary->top) in rect_map_inside()
653 r->top = boundary->top; in rect_map_inside()
656 if (r->top + r->height > boundary->height) in rect_map_inside()
657 r->top = boundary->height - r->height; in rect_map_inside()
672 r.top = max(a->top, b->top); in rect_intersect()
674 bottom = min(a->top + a->height, b->top + b->height); in rect_intersect()
676 r.height = max(0, bottom - r.top); in rect_intersect()
689 r->left = r->top = r->width = r->height = 0; in rect_scale()
694 r->top = ((r->top - from->top) * to->height) / from->height; in rect_scale()
713 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.c416 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source()
419 tpg->compose.top = tpg->compose.left = 0; in tpg_reset_source()
1385 tpg->square.top = (h - sq_h) / 2; in tpg_calculate_square_border()
1388 tpg->border.top = 0; in tpg_calculate_square_border()
1402 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1407 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1418 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1423 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1434 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1667 y += tpg->compose.top; in tpg_gen_text()
[all …]
Dvivid-vid-out.c527 crop->top *= factor; in vivid_s_fmt_vid_out()
531 crop->top /= factor; in vivid_s_fmt_vid_out()
636 sel->r.left = sel->r.top = 0; in vivid_vid_out_g_selection()
717 s->r.top *= factor; in vivid_vid_out_s_selection()
722 s->r.top /= factor; in vivid_vid_out_s_selection()
740 s->r.top /= factor; in vivid_vid_out_s_selection()
785 s->r.top *= factor; in vivid_vid_out_s_selection()
836 win->w.top = dev->overlay_out_top; in vidioc_g_fmt_vid_out_overlay()
873 win->w.top = clamp_t(int, win->w.top, in vidioc_try_fmt_vid_out_overlay()
893 r->top = clamp_t(s32, r->top, 0, dev->display_height - 1); in vidioc_try_fmt_vid_out_overlay()
[all …]
Dvivid-vid-cap.c722 compose->top *= factor; in vivid_s_fmt_vid_cap()
726 compose->top /= factor; in vivid_s_fmt_vid_cap()
837 sel->r.left = sel->r.top = 0; in vivid_vid_cap_g_selection()
896 s->r.top /= factor; in vivid_vid_cap_s_selection()
943 s->r.top *= factor; in vivid_vid_cap_s_selection()
980 s->r.top *= factor; in vivid_vid_cap_s_selection()
985 s->r.top /= factor; in vivid_vid_cap_s_selection()
1061 win->w.top = dev->overlay_cap_top; in vidioc_g_fmt_vid_overlay()
1097 win->w.top = clamp_t(int, win->w.top, in vidioc_try_fmt_vid_overlay()
1116 r->top = clamp_t(s32, r->top, 0, dev->fb_cap.fmt.height - 1); in vidioc_try_fmt_vid_overlay()
[all …]
/linux-4.4.14/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);
150 extern unsigned long mmu_mapin_ram(unsigned long top);
168 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.4.14/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.4.14/tools/perf/ui/
Dbrowser.c103 pos = browser->top; in ui_browser__list_head_seek()
122 browser->top = pos; in ui_browser__list_head_seek()
135 nd = browser->top; in ui_browser__rb_tree_seek()
152 browser->top = nd; in ui_browser__rb_tree_seek()
160 if (browser->top == NULL) in ui_browser__rb_tree_refresh()
161 browser->top = rb_first(browser->entries); in ui_browser__rb_tree_refresh()
163 nd = browser->top; in ui_browser__rb_tree_refresh()
366 browser->top = NULL; in ui_browser__update_nr_entries()
488 if (browser->top == NULL || browser->top == browser->entries) in ui_browser__list_head_refresh()
489 browser->top = ui_browser__list_head_filter_entries(browser, head->next); in ui_browser__list_head_refresh()
[all …]
/linux-4.4.14/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()
206 sel->r.top = ALIGN(sel->r.top, 2); in vsp1_rwpf_set_selection()
212 sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); in vsp1_rwpf_set_selection()
215 sel->r.top = min_t(unsigned int, sel->r.top, 255); in vsp1_rwpf_set_selection()
220 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.4.14/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.4.14/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.4.14/arch/s390/numa/
Dmode_emu.c339 struct cpu_topology_s390 *top; in toptree_from_topology() local
345 top = &per_cpu(cpu_topology, cpu); in toptree_from_topology()
347 book = toptree_get_child(node, top->book_id); in toptree_from_topology()
348 mc = toptree_get_child(book, top->socket_id); in toptree_from_topology()
349 core = toptree_get_child(mc, top->core_id); in toptree_from_topology()
363 struct cpu_topology_s390 *top; in topology_add_core() local
367 top = &per_cpu(cpu_topology, cpu); in topology_add_core()
368 cpumask_copy(&top->thread_mask, &core->mask); in topology_add_core()
369 cpumask_copy(&top->core_mask, &core_mc(core)->mask); in topology_add_core()
370 cpumask_copy(&top->book_mask, &core_book(core)->mask); in topology_add_core()
[all …]
/linux-4.4.14/drivers/staging/rdma/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.4.14/drivers/gpu/drm/sti/
Dsti_hqvdp.c307 struct sti_hqvdp_top top; member
592 btm_cmd->top.config = TOP_CONFIG_INTER_BTM; in sti_hqvdp_vtg_cb()
593 btm_cmd->top.current_luma += in sti_hqvdp_vtg_cb()
594 btm_cmd->top.luma_src_pitch / 2; in sti_hqvdp_vtg_cb()
595 btm_cmd->top.current_chroma += in sti_hqvdp_vtg_cb()
596 btm_cmd->top.chroma_src_pitch / 2; in sti_hqvdp_vtg_cb()
826 cmd->top.config = TOP_CONFIG_PROGRESSIVE; in sti_hqvdp_atomic_update()
827 cmd->top.mem_format = TOP_MEM_FORMAT_DFLT; in sti_hqvdp_atomic_update()
849 cmd->top.current_luma = (u32)cma_obj->paddr + fb->offsets[0]; in sti_hqvdp_atomic_update()
850 cmd->top.current_chroma = (u32)cma_obj->paddr + fb->offsets[1]; in sti_hqvdp_atomic_update()
[all …]
/linux-4.4.14/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.4.14/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.c306 .top = update_area->top, in qxl_update_area_ioctl()
314 update_area->top >= update_area->bottom) in qxl_update_area_ioctl()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_ds.c522 struct bts_record *at, *base, *top; in intel_pmu_drain_bts_buffer() local
536 top = (struct bts_record *)(unsigned long)ds->bts_index; in intel_pmu_drain_bts_buffer()
538 if (top <= base) in intel_pmu_drain_bts_buffer()
557 for (at = base; at < top; at++) { in intel_pmu_drain_bts_buffer()
576 (top - base - skip))) in intel_pmu_drain_bts_buffer()
579 for (at = base; at < top; at++) { in intel_pmu_drain_bts_buffer()
1107 get_next_pebs_record_by_bit(void *base, void *top, int bit) in get_next_pebs_record_by_bit() argument
1116 for (at = base; at < top; at += x86_pmu.pebs_record_size) { in get_next_pebs_record_by_bit()
1139 void *base, void *top, in __intel_pmu_pebs_event() argument
1144 void *at = get_next_pebs_record_by_bit(base, top, bit); in __intel_pmu_pebs_event()
[all …]
/linux-4.4.14/block/
Dblk-settings.c521 unsigned int top, bottom, alignment, ret = 0; in blk_stack_limits() local
551 top = max(t->physical_block_size, t->io_min) in blk_stack_limits()
556 if (max(top, bottom) % min(top, bottom)) { in blk_stack_limits()
615 top = t->discard_granularity + t->discard_alignment; in blk_stack_limits()
619 if ((max(top, bottom) % min(top, bottom)) != 0) in blk_stack_limits()
675 char top[BDEVNAME_SIZE], bottom[BDEVNAME_SIZE]; in disk_stack_limits() local
677 disk_name(disk, 0, top); in disk_stack_limits()
681 top, bottom); in disk_stack_limits()
/linux-4.4.14/drivers/staging/wlan-ng/
Dprism2sta.c686 hw->cap_sup_mfi.top = le16_to_cpu(hw->cap_sup_mfi.top); in prism2sta_getcardinfo()
692 hw->cap_sup_mfi.top); in prism2sta_getcardinfo()
710 hw->cap_sup_cfi.top = le16_to_cpu(hw->cap_sup_cfi.top); in prism2sta_getcardinfo()
716 hw->cap_sup_cfi.top); in prism2sta_getcardinfo()
734 hw->cap_sup_pri.top = le16_to_cpu(hw->cap_sup_pri.top); in prism2sta_getcardinfo()
740 hw->cap_sup_pri.top); in prism2sta_getcardinfo()
758 hw->cap_sup_sta.top = le16_to_cpu(hw->cap_sup_sta.top); in prism2sta_getcardinfo()
765 hw->cap_sup_sta.top); in prism2sta_getcardinfo()
771 hw->cap_sup_sta.top); in prism2sta_getcardinfo()
790 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()
612 rfid.top = le16_to_cpu(rfid.top); in mkpdrlist()
621 macid.top = le16_to_cpu(macid.top); in mkpdrlist()
1134 rfid.id, rfid.variant, rfid.bottom, rfid.top); in validate_identity()
1136 macid.id, macid.variant, macid.bottom, macid.top); in validate_identity()
1138 priid.id, priid.variant, priid.bottom, priid.top); in validate_identity()
1155 s3info[i].info.compat.top); in validate_identity()
1169 if ((s3info[i].info.compat.bottom > priid.top) in validate_identity()
1170 || (s3info[i].info.compat.top < in validate_identity()
/linux-4.4.14/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.4.14/fs/nfs/blocklayout/
Ddev.c318 struct pnfs_block_dev *top; in bl_alloc_deviceid_node() local
348 top = kzalloc(sizeof(*top), gfp_mask); in bl_alloc_deviceid_node()
349 if (!top) in bl_alloc_deviceid_node()
352 ret = bl_parse_deviceid(server, top, volumes, nr_volumes - 1, gfp_mask); in bl_alloc_deviceid_node()
354 bl_free_device(top); in bl_alloc_deviceid_node()
355 kfree(top); in bl_alloc_deviceid_node()
359 node = &top->node; in bl_alloc_deviceid_node()
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_fb.c128 int left, right, top, bottom; in virtio_gpu_surface_dirty() local
140 top = clips->y1; in virtio_gpu_surface_dirty()
148 top = min_t(int, top, (int)clips_ptr->y1); in virtio_gpu_surface_dirty()
153 return virtio_gpu_dirty_update(vgfb, false, left, top, in virtio_gpu_surface_dirty()
154 right - left, bottom - top); in virtio_gpu_surface_dirty()
157 left, top, right - left, bottom - top); in virtio_gpu_surface_dirty()
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-go7007.c61 u8 *top; member
251 go7007_parse_video_stream(go, saa->top, PAGE_SIZE); in saa7134_go7007_irq_ts_done()
261 saa->top_dma = dma_map_page(&dev->pci->dev, virt_to_page(saa->top), in saa7134_go7007_stream_start()
450 saa->top = (u8 *)get_zeroed_page(GFP_KERNEL); in saa7134_go7007_init()
451 if (!saa->top) in saa7134_go7007_init()
477 if (saa->top) in saa7134_go7007_init()
478 free_page((unsigned long)saa->top); in saa7134_go7007_init()
500 free_page((unsigned long)saa->top); in saa7134_go7007_fini()
Dsaa7134-video.c399 dev->crop_bounds.top = (norm->vbi_v_stop_0+1)*2; in set_tvnorm()
400 dev->crop_defrect.top = norm->video_v_start*2; in set_tvnorm()
402 - dev->crop_bounds.top; in set_tvnorm()
560 v_start = dev->crop_current.top/2; in set_size()
562 v_stop = (dev->crop_current.top + dev->crop_current.height -1)/2; in set_size()
668 row[rows].position = clip_range(clips[i].c.top / div); in setup_clipping()
671 row[rows].position = clip_range((clips[i].c.top + clips[i].c.height) in setup_clipping()
738 dev->win.w.left, dev->win.w.top, in start_preview()
754 base += dev->ovbuf.fmt.bytesperline * dev->win.w.top; in start_preview()
1639 if (c->top < b->top) in saa7134_s_crop()
[all …]
/linux-4.4.14/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.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_scrn.c53 s32 left, right, top, bottom; member
754 cmd->body.destRect.top = sdirty->top; in vmw_sou_surface_fifo_commit()
759 cmd->body.srcRect.top = sdirty->top + trans_y; in vmw_sou_surface_fifo_commit()
769 blit->top -= sdirty->top; in vmw_sou_surface_fifo_commit()
770 blit->bottom -= sdirty->top; in vmw_sou_surface_fifo_commit()
775 sdirty->left = sdirty->top = S32_MAX; in vmw_sou_surface_fifo_commit()
797 blit->top = dirty->unit_y1; in vmw_sou_surface_clip()
803 sdirty->top = min_t(s32, sdirty->top, dirty->unit_y1); in vmw_sou_surface_clip()
860 sdirty.left = sdirty.top = S32_MAX; in vmw_kms_sou_do_surface_dirty()
904 blit->body.destRect.top = dirty->unit_y1; in vmw_sou_dmabuf_clip()
[all …]
Dvmwgfx_stdu.c62 s32 left, right, top, bottom; member
295 s32 left, s32 right, s32 top, s32 bottom) in vmw_stdu_populate_update() argument
304 update->body.rect.y = top; in vmw_stdu_populate_update()
306 update->body.rect.h = bottom - top; in vmw_stdu_populate_update()
765 ddirty->top = min_t(s32, ddirty->top, dirty->unit_y1); in vmw_stdu_dmabuf_clip()
811 ddirty->top, ddirty->bottom); in vmw_stdu_dmabuf_fifo_commit()
816 ddirty->left = ddirty->top = S32_MAX; in vmw_stdu_dmabuf_fifo_commit()
866 ddirty.left = ddirty.top = S32_MAX; in vmw_kms_stdu_dma()
919 sdirty->top = min_t(s32, sdirty->top, dirty->unit_y1); in vmw_kms_stdu_surface_clip()
964 sdirty->right, sdirty->top, sdirty->bottom); in vmw_kms_stdu_surface_fifo_commit()
[all …]
/linux-4.4.14/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.4.14/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";
Dzx296702-clk.txt10 zx296702 top clock selection, divider and gating
Dvf610-clock.txt15 Input clocks for top clock controller:
/linux-4.4.14/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.4.14/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
162 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.txt47 linkperf:perf-stat[1], linkperf:perf-top[1],
/linux-4.4.14/arch/arm/mach-sti/
DKconfig33 Electronics family StiH415 parts, primarily targeted at set-top-box
43 Electronics family StiH416 parts, primarily targeted at set-top-box
53 Electronics family StiH407 parts, targetted at set-top-box
/linux-4.4.14/drivers/scsi/
Dscsi_devinfo.c614 struct list_head *top; member
622 list_entry(dl->top, struct scsi_dev_info_list_table, node); in devinfo_seq_show()
644 list_for_each(dl->top, &scsi_dev_info_list) { in devinfo_seq_start()
646 list_entry(dl->top, struct scsi_dev_info_list_table, in devinfo_seq_start()
661 list_entry(dl->top, struct scsi_dev_info_list_table, node); in devinfo_seq_next()
666 dl->top = dl->top->next; in devinfo_seq_next()
667 if (dl->top == &scsi_dev_info_list) { in devinfo_seq_next()
671 devinfo_table = list_entry(dl->top, in devinfo_seq_next()
/linux-4.4.14/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.4.14/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.4.14/arch/x86/kernel/
Dprocess.c520 unsigned long start, bottom, top, sp, fp, ip; in get_wchan() local
548 top = start + THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; in get_wchan()
549 top -= 2 * sizeof(unsigned long); in get_wchan()
553 if (sp < bottom || sp > top) in get_wchan()
558 if (fp < bottom || fp > top) in get_wchan()
/linux-4.4.14/drivers/gpu/ipu-v3/
Dipu-cpmem.c688 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image()
690 image->rect.top) - offset; in ipu_cpmem_set_image()
692 image->rect.top) - offset; in ipu_cpmem_set_image()
699 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image()
701 image->rect.top) - offset; in ipu_cpmem_set_image()
703 image->rect.top) - offset; in ipu_cpmem_set_image()
710 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image()
712 image->rect.top) - offset; in ipu_cpmem_set_image()
720 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image()
722 image->rect.top) - offset; in ipu_cpmem_set_image()
[all …]
/linux-4.4.14/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.4.14/drivers/media/platform/sti/bdisp/
Dbdisp-v4l2.c840 frame->crop.top = 0; in bdisp_s_fmt()
873 s->r.top = 0; in bdisp_g_selection()
894 s->r.top = 0; in bdisp_g_selection()
916 if (a->left < b->left || a->top < b->top) in is_rect_enclosed()
922 if (a->top + a->height > b->top + b->height) in is_rect_enclosed()
960 out.top = ALIGN(in->top, frame->fmt->h_align); in bdisp_s_selection()
963 (out.top < 0) || (out.top >= frame->height)) { in bdisp_s_selection()
966 out.width, out.height, out.left, out.top, in bdisp_s_selection()
976 ((out.top + out.height) > frame->height)) { in bdisp_s_selection()
979 out.width, out.height, out.left, out.top, in bdisp_s_selection()
[all …]
Dbdisp-hw.c547 dst_rect.top /= 2; in bdisp_hw_build_node()
552 node->txy = cfg->vflip ? (dst_rect.height - 1) : dst_rect.top; in bdisp_hw_build_node()
561 src_rect.top /= 2; in bdisp_hw_build_node()
575 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
581 src_rect.top /= 2; in bdisp_hw_build_node()
597 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/Documentation/devicetree/bindings/ata/
Dbrcm,sata-brcmstb.txt10 - reg-names : "ahci" and "top-ctrl"
20 reg-names = "ahci", "top-ctrl";
/linux-4.4.14/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.4.14/drivers/watchdog/
Ddw_wdt.c78 static inline int dw_wdt_top_in_seconds(unsigned top) in dw_wdt_top_in_seconds() argument
84 return (1 << (16 + top)) / clk_get_rate(dw_wdt.clk); in dw_wdt_top_in_seconds()
89 int top = readl(dw_wdt.regs + WDOG_TIMEOUT_RANGE_REG_OFFSET) & 0xF; in dw_wdt_get_top() local
91 return dw_wdt_top_in_seconds(top); in dw_wdt_get_top()
/linux-4.4.14/tools/perf/ui/browsers/
Dhists.c472 struct hist_entry *h = rb_entry(browser->b.top, in hist_browser__run()
913 if (browser->top == NULL) { in ui_browser__hists_init_top()
917 browser->top = rb_first(&hb->hists->entries); in ui_browser__hists_init_top()
937 for (nd = browser->top; nd; nd = rb_next(nd)) { in hist_browser__refresh()
1009 nd = browser->top; in ui_browser__hists_seek()
1024 h = rb_entry(browser->top, struct hist_entry, rb_node); in ui_browser__hists_seek()
1055 browser->top = nd; in ui_browser__hists_seek()
1063 browser->top = nd; in ui_browser__hists_seek()
1076 browser->top = nd; in ui_browser__hists_seek()
1086 browser->top = nd; in ui_browser__hists_seek()
[all …]
/linux-4.4.14/drivers/md/persistent-data/
Ddm-btree.c173 int top; member
179 if (s->top < 0) { in top_frame()
184 *f = s->spine + s->top; in top_frame()
191 return s->top >= 0; in unprocessed_frames()
213 if (s->top >= MAX_SPINE_DEPTH - 1) { in push_frame()
231 struct frame *f = s->spine + ++s->top; in push_frame()
235 s->top--; in push_frame()
254 struct frame *f = s->spine + s->top--; in pop_frame()
265 f = s->spine + s->top--; in unlock_all_frames()
280 s->top = -1; in dm_btree_del()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/phy/
Dpistachio-usb-phy.txt11 - img,cr-top: Must constain a phandle to the CR_TOP syscon node.
27 img,cr-top = <&cr_top>;
/linux-4.4.14/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.4.14/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.4.14/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.4.14/include/media/
Dtuner.h156 #define TDA9887_TOP(top) (TDA9887_TOP_SET | \ argument
157 (((16 + (top)) & 0x1f) << 8))
/linux-4.4.14/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.4.14/arch/arm64/kernel/
Dtraps.c58 unsigned long top, bool compat) in dump_mem() argument
73 printk("%s%s(0x%016lx to 0x%016lx)\n", lvl, str, bottom, top); in dump_mem()
75 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
83 && p < top; i++, p += width) { in dump_mem()
84 if (p >= bottom && p < top) { in dump_mem()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/media/platform/exynos4-is/
Dfimc-m2m.c411 cr->bounds.top = 0; in fimc_m2m_cropcap()
429 cr->c.top = frame->offs_v; in fimc_m2m_g_crop()
443 if (cr->c.top < 0 || cr->c.left < 0) { in fimc_m2m_try_crop()
475 if (cr->c.top + cr->c.height > f->o_height) in fimc_m2m_try_crop()
476 cr->c.top = f->o_height - cr->c.height; in fimc_m2m_try_crop()
479 cr->c.top = round_down(cr->c.top, fimc->variant->hor_offs_align); in fimc_m2m_try_crop()
482 cr->c.left, cr->c.top, cr->c.width, cr->c.height, in fimc_m2m_try_crop()
519 f->offs_v = cr.c.top; in fimc_m2m_s_crop()
Dfimc-lite.c629 r->top = clamp_t(u32, r->top, 0, frame->f_height - r->height); in fimc_lite_try_crop()
632 r->left, r->top, r->width, r->height, in fimc_lite_try_crop()
649 r->top = clamp_t(u32, r->top, 0, fimc->out_frame.f_height - r->height); in fimc_lite_try_compose()
652 r->left, r->top, r->width, r->height, in fimc_lite_try_compose()
896 if (a->left < b->left || a->top < b->top) in enclosed_rectangle()
900 if (a->top + a->height > b->top + b->height) in enclosed_rectangle()
919 sel->r.top = 0; in fimc_lite_g_selection()
1149 sink->rect.top = 0; in fimc_lite_subdev_set_fmt()
1182 sel->r.top = 0; in fimc_lite_subdev_get_selection()
1189 __func__, f->rect.left, f->rect.top, f->rect.width, in fimc_lite_subdev_get_selection()
[all …]
Dfimc-capture.c673 r->left = r->top = 0; in fimc_capture_try_selection()
716 r->top = clamp_t(u32, r->top, 0, sink->f_height - r->height); in fimc_capture_try_selection()
720 target, r->left, r->top, r->width, r->height, in fimc_capture_try_selection()
1289 s->r.top = 0; in fimc_cap_g_selection()
1298 s->r.top = f->offs_v; in fimc_cap_g_selection()
1310 if (a->left < b->left || a->top < b->top) in enclosed_rectangle()
1314 if (a->top + a->height > b->top + b->height) in enclosed_rectangle()
1351 set_frame_crop(f, s->r.left, s->r.top, s->r.width, in fimc_cap_s_selection()
1623 r->top = 0; in fimc_subdev_get_selection()
1643 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.4.14/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()
557 .top = priv->rect.top + (priv->rect.height >> 1) - in ov6650_s_fmt()
1029 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()
936 .top = priv->frame.top, in mt9t112_s_fmt()
955 unsigned int top, left; in mt9t112_set_fmt() local
972 mt9t112_frame_check(&mf->width, &mf->height, &left, &top); in mt9t112_set_fmt()
1096 .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()
799 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()
281 .top = mt9m001->rect.top, in mt9m001_s_fmt()
700 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()
406 .top = mt9v022->rect.top, in mt9v022_s_fmt()
955 mt9v022->rect.top = MT9V022_ROW_SKIP; in mt9v022_probe()
Dov5642.c757 priv->crop_rect.top = start_y; in ov5642_set_resolution()
898 a->bounds.top = 0; in ov5642_cropcap()
1030 priv->crop_rect.top = (OV5642_MAX_HEIGHT - OV5642_DEFAULT_HEIGHT) / 2; in ov5642_probe()
/linux-4.4.14/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.4.14/kernel/trace/
Dtrace_stack.c77 unsigned long this_size, flags; unsigned long *p, *top, *start; in check_stack() local
140 top = (unsigned long *) in check_stack()
156 for (; p < top && i < stack_trace_max.nr_entries; p++) { in check_stack()
162 (top - p) * sizeof(unsigned long); in check_stack()
/linux-4.4.14/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.4.14/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.4.14/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.c1071 unsigned int slv = prev->crop.top; in preview_config_input_size()
1072 unsigned int elv = prev->crop.top + prev->crop.height - 1; in preview_config_input_size()
1823 unsigned int top = PREV_MARGIN_TOP; in preview_try_crop() local
1844 top += 2; in preview_try_crop()
1850 crop->top &= ~1; in preview_try_crop()
1853 crop->top = clamp_t(u32, crop->top, top, bottom - PREV_MIN_OUT_HEIGHT); in preview_try_crop()
1857 bottom - crop->top); in preview_try_crop()
1944 sel->r.top = 0; in preview_get_selection()
2056 crop->top = 0; in preview_set_format()
/linux-4.4.14/drivers/media/i2c/
Dtvp5150.c866 __func__, rect.left, rect.top, rect.width, rect.height); in tvp5150_s_crop()
876 rect.top = clamp(rect.top, 0, TVP5150_MAX_CROP_TOP); in tvp5150_s_crop()
890 hmax - TVP5150_MAX_CROP_TOP - rect.top, in tvp5150_s_crop()
891 hmax - rect.top); in tvp5150_s_crop()
893 tvp5150_write(sd, TVP5150_VERT_BLANKING_START, rect.top); in tvp5150_s_crop()
895 rect.top + rect.height - hmax); in tvp5150_s_crop()
930 a->bounds.top = 0; in tvp5150_cropcap()
1181 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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/arch/sh/include/asm/
Dkdebug.h15 extern void dump_mem(const char *str, unsigned long bottom, unsigned long top);
/linux-4.4.14/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.4.14/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()
814 out_frame->rect.top = 0; in s3c_camif_vidioc_s_fmt()
1010 sel->r.top = 0; in s3c_camif_g_selection()
1057 sel->r.left, sel->r.top, sel->r.width, sel->r.height); in s3c_camif_s_selection()
1340 crop->top = 0; in s3c_camif_subdev_set_fmt()
1391 sel->r.top = 0; in s3c_camif_subdev_get_selection()
1397 __func__, crop->left, crop->top, crop->width, in s3c_camif_subdev_get_selection()
1408 unsigned int top = 2 * r->top; in __camif_try_crop() local
1423 &top, 0, mf->height - r->height, 2, 0); in __camif_try_crop()
1426 r->top = top / 2; in __camif_try_crop()
[all …]
/linux-4.4.14/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
352 re->top = *top; in reada_find_extent()
559 struct btrfs_key *top, int level, u64 generation) in reada_add_block() argument
565 re = reada_find_extent(root, logical, top, level); /* takes one ref */ in reada_add_block()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c776 u32 left, right, top, bottom; in vidioc_g_crop() local
788 top = s5p_mfc_hw_call(dev->mfc_ops, get_crop_info_v, ctx); in vidioc_g_crop()
789 bottom = top >> S5P_FIMV_SHARED_CROP_BOTTOM_SHIFT; in vidioc_g_crop()
790 top = top & S5P_FIMV_SHARED_CROP_TOP_MASK; in vidioc_g_crop()
792 cr->c.top = top; in vidioc_g_crop()
794 cr->c.height = ctx->img_height - top - bottom; in vidioc_g_crop()
796 "w=%d h=%d (r=%d b=%d fw=%d fh=%d\n", left, top, in vidioc_g_crop()
801 cr->c.top = 0; in vidioc_g_crop()
/linux-4.4.14/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c436 if (a->left < b->left || a->top < b->top) in is_rectangle_enclosed()
442 if (a->top + a->height > b->top + b->height) in is_rectangle_enclosed()
468 s->r.top = 0; in gsc_m2m_g_selection()
476 s->r.top = frame->crop.top; in gsc_m2m_g_selection()
/linux-4.4.14/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.4.14/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
Dstih418-overview.txt7 The STiH418 is the new generation of SoC for UHDp60 set-top boxes
Dstih407-overview.txt7 The STiH407 is the new generation of SoC for Multi-HD, AVC set-top boxes
/linux-4.4.14/drivers/media/pci/ivtv/
Divtvfb.c258 if (ivtv_window->top + ivtv_window->height > osd_height_limit) { in ivtvfb_set_display_window()
260 ivtv_window->top, ivtv_window->height); in ivtvfb_set_display_window()
261 ivtv_window->top = osd_height_limit - ivtv_window->height; in ivtvfb_set_display_window()
271 write_reg((ivtv_window->top << 16) | ivtv_window->left, 0x02a04); in ivtvfb_set_display_window()
274 …write_reg(((ivtv_window->top+ivtv_window->height) << 16) | (ivtv_window->left+ivtv_window->width),… in ivtvfb_set_display_window()
280 itv->yuv_info.osd_y_offset = ivtv_window->top; in ivtvfb_set_display_window()
599 ivtv_window.top = var->upper_margin - 1; in ivtvfb_set_var()
1037 start_window.top = osd_upper >= 0 ? osd_upper : ((max_height - start_window.height) / 2); in ivtvfb_init_vidmode()
1051 oi->ivtvfb_defined.upper_margin = start_window.top + 1; in ivtvfb_init_vidmode()
/linux-4.4.14/Documentation/devicetree/bindings/media/i2c/
Dths8200.txt4 recorders, set-top boxes.
/linux-4.4.14/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.4.14/mm/
Dtruncate.c292 unsigned int top = PAGE_CACHE_SIZE; in truncate_inode_pages_range() local
295 top = partial_end; in truncate_inode_pages_range()
299 zero_user_segment(page, partial_start, top); in truncate_inode_pages_range()
303 top - partial_start); in truncate_inode_pages_range()
/linux-4.4.14/arch/arm/mach-zx/
DKconfig5 set-top-box processor is supported. More will be
/linux-4.4.14/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.4.14/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.4.14/crypto/
Dalgapi.c91 struct list_head *top, in crypto_more_spawns() argument
109 return &n->list == stack ? top : &n->inst->alg.cra_users; in crypto_more_spawns()
143 LIST_HEAD(top); in crypto_remove_spawns()
150 list_move(&spawn->list, &top); in crypto_remove_spawns()
153 spawns = &top; in crypto_remove_spawns()
172 } while ((spawns = crypto_more_spawns(alg, &stack, &top, in crypto_remove_spawns()
/linux-4.4.14/arch/cris/boot/compressed/
Dhead_v32.S44 ;; the SP at the top for now.
/linux-4.4.14/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.4.14/drivers/media/platform/davinci/
Dvpbe_display.c535 int top, int left) in vpbe_disp_adj_position() argument
542 cfg->ypos = min((unsigned int)top, in vpbe_disp_adj_position()
559 if ((c->height == 0) || ((c->height + c->top) > in vpbe_disp_check_window_params()
561 c->height = vpbe_dev->current_timings.yres - c->top; in vpbe_disp_check_window_params()
673 if (rect.top < 0) in vpbe_display_s_crop()
674 rect.top = 0; in vpbe_display_s_crop()
686 vpbe_disp_adj_position(disp_dev, layer, rect.top, in vpbe_display_s_crop()
741 rect->top = cfg->ypos; in vpbe_display_g_crop()
759 cropcap->bounds.top = 0; in vpbe_display_cropcap()
/linux-4.4.14/drivers/connector/
DKconfig6 This is unified userspace <-> kernelspace connector working on top
/linux-4.4.14/net/bluetooth/bnep/
DKconfig7 emulation layer on top of Bluetooth. BNEP is required for
/linux-4.4.14/drivers/staging/fwserial/
DTODO6 2. Implement _robust_ console on top of this. The existing prototype console
/linux-4.4.14/Documentation/
Dkselftest.txt41 See the top-level tools/testing/selftests/Makefile for the list of all
84 * Don't cause the top-level "make run_tests" to fail if your feature is
/linux-4.4.14/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.4.14/Documentation/ABI/removed/
Ddv139411 transparently work on top of the newer firewire kernel drivers.
/linux-4.4.14/fs/ext4/
Ddir.c616 char *top; in ext4_check_all_de() local
619 top = buf + buf_size; in ext4_check_all_de()
620 while ((char *) de < top) { in ext4_check_all_de()
629 if ((char *) de > top) in ext4_check_all_de()
/linux-4.4.14/drivers/video/fbdev/kyro/
DSTG4000Interface.h56 u32 left, u32 top,
/linux-4.4.14/drivers/media/tuners/
Dmxl5005s.h103 u32 top; member
/linux-4.4.14/Documentation/DocBook/
Dkernel-locking.xml.db12 API-futex-top-waiter
/linux-4.4.14/drivers/block/
Dcciss_scsi.c113 int top; member
148 if (stk->top < 0) in scsi_cmd_alloc()
150 c = stk->elem[stk->top]; in scsi_cmd_alloc()
164 stk->top--; in scsi_cmd_alloc()
187 stk->top++; in scsi_cmd_free()
188 if (stk->top >= stk->nelems) { in scsi_cmd_free()
193 stk->elem[stk->top] = (struct cciss_scsi_cmd_stack_elem_t *) c; in scsi_cmd_free()
235 stk->top = stk->nelems-1; in scsi_cmd_stack_setup()
248 if (stk->top != stk->nelems-1) { in scsi_cmd_stack_free()
251 stk->nelems - stk->top); in scsi_cmd_stack_free()
/linux-4.4.14/drivers/media/common/saa7146/
Dsaa7146_hlp.c310 int low = 0, high = 0, top = 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()
366 y[i] = vv->ov.clips[i].c.top; in calculate_clipping_registers_rect()
653 …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.4.14/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.4.14/Documentation/devicetree/bindings/arm/
Dxen.txt3 Xen ARM virtual platforms shall have a top-level "hypervisor" node with
/linux-4.4.14/include/video/
Dmbxfb.h82 __u8 top; member
/linux-4.4.14/arch/x86/xen/
Dp2m.c140 static void p2m_top_mfn_init(unsigned long *top) in p2m_top_mfn_init() argument
145 top[i] = virt_to_mfn(p2m_mid_missing_mfn); in p2m_top_mfn_init()
148 static void p2m_top_mfn_p_init(unsigned long **top) in p2m_top_mfn_p_init() argument
153 top[i] = p2m_mid_missing_mfn; in p2m_top_mfn_p_init()
/linux-4.4.14/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.)
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.)
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.)
/linux-4.4.14/drivers/media/platform/
Dsh_vou.c454 frame_out_top = rect->top / 2; in sh_vou_configure_geometry()
660 if (geo->output.top + best > height_max) in vou_adjust_output()
661 geo->output.top = height_max - best; in vou_adjust_output()
849 vou_dev->rect.top = vou_dev->rect.left = 0; in sh_vou_s_std()
924 sel->r.top = 0; in sh_vou_g_selection()
976 if (rect->height + rect->top > img_height_max) in sh_vou_s_selection()
977 rect->top = img_height_max - rect->height; in sh_vou_s_selection()
1262 rect->top = 0; in sh_vou_probe()
/linux-4.4.14/include/uapi/drm/
Dqxl_drm.h97 uint32_t top; member
/linux-4.4.14/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.4.14/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.4.14/drivers/gpu/drm/tegra/
DKconfig28 Note that this support also provides the Linux console on top of
/linux-4.4.14/drivers/staging/panel/
Dlcd-panel-cgram.txt7 top of the character to the bottom. On a 5x7 matrix, only the 5 lower
/linux-4.4.14/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.4.14/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1708 ctx->crop_rect.top = 0; in exynos3250_jpeg_try_downscale()
1718 if (a->left < b->left || a->top < b->top) in enclosed_rectangle()
1722 if (a->top + a->height > b->top + b->height) in enclosed_rectangle()
1750 base_rect.top = 0; in exynos3250_jpeg_try_crop()
1758 r->top = round_down(r->top, 2); in exynos3250_jpeg_try_crop()
1764 ctx->crop_rect.top = r->top; in exynos3250_jpeg_try_crop()
1795 s->r.top = 0; in s5p_jpeg_g_selection()
1803 s->r.top = ctx->crop_rect.top; in s5p_jpeg_g_selection()
2358 ctx->crop_rect.top); in exynos3250_jpeg_device_run()
/linux-4.4.14/arch/arm/include/debug/
Dsa1100.S46 @ clear top bits, and generate both phys and virt addresses
/linux-4.4.14/arch/mips/boot/dts/brcm/
Dbcm7425.dtsi101 compatible = "brcm,bcm7425-sun-top-ctrl", "syscon";
227 reg-names = "ahci", "top-ctrl";
/linux-4.4.14/arch/xtensa/include/asm/
Duaccess.h485 unsigned long top = __kernel_ok ? ~0UL : TASK_SIZE - 1;
487 if ((unsigned long)str > top)
/linux-4.4.14/Documentation/acpi/
Dinitrd_table_override.txt59 # concatenated on top of the uncompressed one.
69 # on top:
/linux-4.4.14/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.4.14/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()

1234