top 1093 arch/arc/kernel/unwind.c unsigned long top, bottom; top 1095 arch/arc/kernel/unwind.c top = STACK_TOP_UNW(frame->task); top 1098 arch/arc/kernel/unwind.c if (UNW_SP(frame) < top && UNW_FP(frame) <= UNW_SP(frame) top 1101 arch/arc/kernel/unwind.c if (UNW_SP(frame) > top && UNW_FP(frame) >= UNW_SP(frame) top 117 arch/arm/kernel/traps.c unsigned long top) top 131 arch/arm/kernel/traps.c printk("%s%s(0x%08lx to 0x%08lx)\n", lvl, str, bottom, top); top 133 arch/arm/kernel/traps.c for (first = bottom & ~31; first < top; first += 32) { top 140 arch/arm/kernel/traps.c for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { top 141 arch/arm/kernel/traps.c if (p >= bottom && p < top) { top 132 arch/arm/mach-omap1/lcd_dma.c unsigned long top, bottom; top 167 arch/arm/mach-omap1/lcd_dma.c top = PIXADDR(0, 0); top 177 arch/arm/mach-omap1/lcd_dma.c top = PIXADDR(lcd_dma.xres - 1, 0); top 187 arch/arm/mach-omap1/lcd_dma.c top = PIXADDR(0, lcd_dma.yres - 1); top 192 arch/arm/mach-omap1/lcd_dma.c top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); top 202 arch/arm/mach-omap1/lcd_dma.c top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); top 207 arch/arm/mach-omap1/lcd_dma.c top = PIXADDR(0, lcd_dma.yres - 1); top 217 arch/arm/mach-omap1/lcd_dma.c top = PIXADDR(lcd_dma.xres - 1, 0); top 222 arch/arm/mach-omap1/lcd_dma.c top = PIXADDR(0, 0); top 236 arch/arm/mach-omap1/lcd_dma.c omap_writew(top >> 16, OMAP1510_DMA_LCD_TOP_F1_U); top 237 arch/arm/mach-omap1/lcd_dma.c omap_writew(top, OMAP1510_DMA_LCD_TOP_F1_L); top 245 arch/arm/mach-omap1/lcd_dma.c omap_writew(top >> 16, OMAP1610_DMA_LCD_TOP_B1_U); top 246 arch/arm/mach-omap1/lcd_dma.c omap_writew(top, OMAP1610_DMA_LCD_TOP_B1_L); top 42 arch/ia64/include/asm/unwind.h unsigned long top; top 340 arch/ia64/kernel/unwind.c || (unsigned long) addr >= info->regstk.top) top 346 arch/ia64/kernel/unwind.c info->regstk.top); top 349 arch/ia64/kernel/unwind.c if ((unsigned long) nat_addr >= info->regstk.top) top 374 arch/ia64/kernel/unwind.c || (unsigned long) addr >= info->regstk.top) top 380 arch/ia64/kernel/unwind.c if ((unsigned long) nat_addr >= info->regstk.top) top 1878 arch/ia64/kernel/unwind.c return (loc >= info->regstk.limit && loc < info->regstk.top) || top 1879 arch/ia64/kernel/unwind.c (loc >= info->memstk.top && loc < info->memstk.limit); top 1934 arch/ia64/kernel/unwind.c if (info->bsp < info->regstk.limit || info->bsp > info->regstk.top) { top 1936 arch/ia64/kernel/unwind.c __func__, info->bsp, info->regstk.limit, info->regstk.top); top 1943 arch/ia64/kernel/unwind.c if (info->sp < info->memstk.top || info->sp > info->memstk.limit) { top 1945 arch/ia64/kernel/unwind.c __func__, info->sp, info->memstk.top, info->memstk.limit); top 2032 arch/ia64/kernel/unwind.c info->regstk.top = rbstop; top 2034 arch/ia64/kernel/unwind.c info->memstk.top = stktop; top 2059 arch/ia64/kernel/unwind.c info->bsp = (unsigned long) ia64_rse_skip_regs((unsigned long *) info->regstk.top, -sol); top 46 arch/m68k/fpsp040/fpsp.h | The fsave frame is also accessible from the top via A7. top 651 arch/mips/kernel/process.c unsigned long top = TASK_SIZE & PAGE_MASK; top 654 arch/mips/kernel/process.c top -= PAGE_SIZE; top 657 arch/mips/kernel/process.c top -= PAGE_ALIGN(current->thread.abi->vdso->size); top 658 arch/mips/kernel/process.c top -= PAGE_SIZE; top 659 arch/mips/kernel/process.c top -= mips_gic_present() ? PAGE_SIZE : 0; top 663 arch/mips/kernel/process.c top -= shm_align_mask + 1; top 667 arch/mips/kernel/process.c top -= VDSO_RANDOMIZE_SIZE; top 669 arch/mips/kernel/process.c return top; top 25 arch/nds32/kernel/traps.c void dump_mem(const char *lvl, unsigned long bottom, unsigned long top) top 39 arch/nds32/kernel/traps.c pr_emerg("%s(0x%08lx to 0x%08lx)\n", lvl, bottom, top); top 41 arch/nds32/kernel/traps.c for (first = bottom & ~31; first < top; first += 32) { top 48 arch/nds32/kernel/traps.c for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { top 49 arch/nds32/kernel/traps.c if (p >= bottom && p < top) { top 22 arch/openrisc/kernel/unwinder.c unsigned long top; top 35 arch/openrisc/kernel/unwinder.c frameinfo->fp > &frameinfo->top)) && top 70 arch/openrisc/kernel/unwinder.c top); top 75 arch/openrisc/kernel/unwinder.c next_fp == &frameinfo->top)) { top 1567 arch/powerpc/kernel/prom_init.c u64 top = base + size; top 1578 arch/powerpc/kernel/prom_init.c top = _ALIGN_UP(top, PAGE_SIZE); top 1579 arch/powerpc/kernel/prom_init.c size = top - base; top 107 arch/powerpc/mm/book3s32/mmu.c static unsigned int block_size(unsigned long base, unsigned long top) top 111 arch/powerpc/mm/book3s32/mmu.c unsigned int block_shift = (fls(top - base) - 1) & 31; top 148 arch/powerpc/mm/book3s32/mmu.c static unsigned long __init __mmu_mapin_ram(unsigned long base, unsigned long top) top 152 arch/powerpc/mm/book3s32/mmu.c while ((idx = find_free_bat()) != -1 && base != top) { top 153 arch/powerpc/mm/book3s32/mmu.c unsigned int size = block_size(base, top); top 164 arch/powerpc/mm/book3s32/mmu.c unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) top 174 arch/powerpc/mm/book3s32/mmu.c if (!strict_kernel_rwx_enabled() || base >= border || top <= border) top 175 arch/powerpc/mm/book3s32/mmu.c return __mmu_mapin_ram(base, top); top 181 arch/powerpc/mm/book3s32/mmu.c return __mmu_mapin_ram(border, top); top 189 arch/powerpc/mm/book3s32/mmu.c unsigned long top = (unsigned long)_etext - PAGE_OFFSET; top 195 arch/powerpc/mm/book3s32/mmu.c for (i = 0; i < nb - 1 && base < top && top - base > (128 << 10);) { top 196 arch/powerpc/mm/book3s32/mmu.c size = block_size(base, top); top 200 arch/powerpc/mm/book3s32/mmu.c if (base < top) { top 201 arch/powerpc/mm/book3s32/mmu.c size = block_size(base, top); top 203 arch/powerpc/mm/book3s32/mmu.c if ((top - base) > size) { top 146 arch/powerpc/mm/kasan/kasan_init_32.c phys_addr_t top = min(base + reg->size, total_lowmem); top 148 arch/powerpc/mm/kasan/kasan_init_32.c if (base >= top) top 151 arch/powerpc/mm/kasan/kasan_init_32.c ret = kasan_init_region(__va(base), top - base); top 120 arch/powerpc/mm/mmu_decl.h extern unsigned long wii_mmu_mapin_mem2(unsigned long top); top 130 arch/powerpc/mm/mmu_decl.h unsigned long mmu_mapin_ram(unsigned long base, unsigned long top); top 91 arch/powerpc/mm/nohash/40x.c unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) top 168 arch/powerpc/mm/nohash/44x.c unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) top 106 arch/powerpc/mm/nohash/8xx.c unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) top 118 arch/powerpc/mm/nohash/8xx.c mapped = top & ~(LARGE_PAGE_SIZE_8M - 1); top 219 arch/powerpc/mm/nohash/fsl_booke.c unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) top 87 arch/powerpc/mm/pgtable_32.c static void __init __mapin_ram_chunk(unsigned long offset, unsigned long top) top 96 arch/powerpc/mm/pgtable_32.c for (; s < top; s += PAGE_SIZE) { top 115 arch/powerpc/mm/pgtable_32.c phys_addr_t top = min(base + reg->size, total_lowmem); top 117 arch/powerpc/mm/pgtable_32.c if (base >= top) top 119 arch/powerpc/mm/pgtable_32.c base = mmu_mapin_ram(base, top); top 121 arch/powerpc/mm/pgtable_32.c __mapin_ram_chunk(reg->base, top); top 123 arch/powerpc/mm/pgtable_32.c __mapin_ram_chunk(base, top); top 57 arch/powerpc/platforms/cell/spufs/run.c top: top 65 arch/powerpc/platforms/cell/spufs/run.c goto top; top 1853 arch/powerpc/platforms/powernv/pci-ioda.c u64 top = pe->tce_bypass_base + memblock_end_of_DRAM() - 1; top 1854 arch/powerpc/platforms/powernv/pci-ioda.c if (dma_mask >= top) top 2341 arch/powerpc/platforms/powernv/pci-ioda.c phys_addr_t top = memblock_end_of_DRAM(); top 2343 arch/powerpc/platforms/powernv/pci-ioda.c top = roundup_pow_of_two(top); top 2348 arch/powerpc/platforms/powernv/pci-ioda.c top); top 44 arch/powerpc/xmon/ppc-dis.c unsigned long top = operand->bitm; top 47 arch/powerpc/xmon/ppc-dis.c top |= (top & -top) - 1; top 48 arch/powerpc/xmon/ppc-dis.c top &= ~(top >> 1); top 49 arch/powerpc/xmon/ppc-dis.c value = (value ^ top) - top; top 65 arch/s390/kernel/dumpstack.c unsigned long frame_size, top; top 68 arch/s390/kernel/dumpstack.c top = S390_lowcore.async_stack + frame_size; top 69 arch/s390/kernel/dumpstack.c return in_stack(sp, info, STACK_TYPE_IRQ, top - THREAD_SIZE, top); top 74 arch/s390/kernel/dumpstack.c unsigned long frame_size, top; top 77 arch/s390/kernel/dumpstack.c top = S390_lowcore.nodat_stack + frame_size; top 78 arch/s390/kernel/dumpstack.c return in_stack(sp, info, STACK_TYPE_NODAT, top - THREAD_SIZE, top); top 83 arch/s390/kernel/dumpstack.c unsigned long frame_size, top; top 86 arch/s390/kernel/dumpstack.c top = S390_lowcore.restart_stack + frame_size; top 87 arch/s390/kernel/dumpstack.c return in_stack(sp, info, STACK_TYPE_RESTART, top - THREAD_SIZE, top); top 354 arch/s390/numa/mode_emu.c struct cpu_topology_s390 *top; top 360 arch/s390/numa/mode_emu.c top = &cpu_topology[cpu]; top 362 arch/s390/numa/mode_emu.c drawer = toptree_get_child(node, top->drawer_id); top 363 arch/s390/numa/mode_emu.c book = toptree_get_child(drawer, top->book_id); top 364 arch/s390/numa/mode_emu.c mc = toptree_get_child(book, top->socket_id); top 379 arch/s390/numa/mode_emu.c struct cpu_topology_s390 *top; top 383 arch/s390/numa/mode_emu.c top = &cpu_topology[cpu]; top 384 arch/s390/numa/mode_emu.c cpumask_copy(&top->thread_mask, &core->mask); top 385 arch/s390/numa/mode_emu.c cpumask_copy(&top->core_mask, &core_mc(core)->mask); top 386 arch/s390/numa/mode_emu.c cpumask_copy(&top->book_mask, &core_book(core)->mask); top 387 arch/s390/numa/mode_emu.c cpumask_copy(&top->drawer_mask, &core_drawer(core)->mask); top 389 arch/s390/numa/mode_emu.c top->node_id = core_node(core)->id; top 16 arch/sh/include/asm/kdebug.h extern void dump_mem(const char *str, unsigned long bottom, unsigned long top); top 19 arch/sh/kernel/dumpstack.c void dump_mem(const char *str, unsigned long bottom, unsigned long top) top 24 arch/sh/kernel/dumpstack.c printk("%s(0x%08lx to 0x%08lx)\n", str, bottom, top); top 26 arch/sh/kernel/dumpstack.c for (p = bottom & ~31; p < top; ) { top 32 arch/sh/kernel/dumpstack.c if (p < bottom || p >= top) top 345 arch/sparc/kernel/setup_32.c unsigned long top; top 349 arch/sparc/kernel/setup_32.c top = sp_banks[i].base_addr + top 351 arch/sparc/kernel/setup_32.c if (highest_paddr < top) top 352 arch/sparc/kernel/setup_32.c highest_paddr = top; top 65 arch/unicore32/kernel/traps.c unsigned long top) top 80 arch/unicore32/kernel/traps.c lvl, str, bottom, top); top 82 arch/unicore32/kernel/traps.c for (first = bottom & ~31; first < top; first += 32) { top 89 arch/unicore32/kernel/traps.c for (p = first, i = 0; i < 8 && p < top; i++, p += 4) { top 90 arch/unicore32/kernel/traps.c if (p >= bottom && p < top) { top 590 arch/x86/events/intel/ds.c struct bts_record *at, *base, *top; top 604 arch/x86/events/intel/ds.c top = (struct bts_record *)(unsigned long)ds->bts_index; top 606 arch/x86/events/intel/ds.c if (top <= base) top 625 arch/x86/events/intel/ds.c for (at = base; at < top; at++) { top 645 arch/x86/events/intel/ds.c (top - base - skip))) top 648 arch/x86/events/intel/ds.c for (at = base; at < top; at++) { top 1616 arch/x86/events/intel/ds.c get_next_pebs_record_by_bit(void *base, void *top, int bit) top 1632 arch/x86/events/intel/ds.c for (at = base; at < top; at += cpuc->pebs_record_size) { top 1725 arch/x86/events/intel/ds.c void *base, void *top, top 1738 arch/x86/events/intel/ds.c void *at = get_next_pebs_record_by_bit(base, top, bit); top 1755 arch/x86/events/intel/ds.c at = get_next_pebs_record_by_bit(at, top, bit); top 1777 arch/x86/events/intel/ds.c struct pebs_record_core *at, *top; top 1784 arch/x86/events/intel/ds.c top = (struct pebs_record_core *)(unsigned long)ds->pebs_index; top 1799 arch/x86/events/intel/ds.c n = top - at; top 1806 arch/x86/events/intel/ds.c __intel_pmu_pebs_event(event, iregs, at, top, 0, n, top 1834 arch/x86/events/intel/ds.c void *base, *at, *top; top 1844 arch/x86/events/intel/ds.c top = (struct pebs_record_nhm *)(unsigned long)ds->pebs_index; top 1855 arch/x86/events/intel/ds.c if (unlikely(base >= top)) { top 1860 arch/x86/events/intel/ds.c for (at = base; at < top; at += x86_pmu.pebs_record_size) { top 1937 arch/x86/events/intel/ds.c top, bit, counts[bit], top 1949 arch/x86/events/intel/ds.c void *base, *at, *top; top 1957 arch/x86/events/intel/ds.c top = (struct pebs_basic *)(unsigned long)ds->pebs_index; top 1965 arch/x86/events/intel/ds.c if (unlikely(base >= top)) { top 1970 arch/x86/events/intel/ds.c for (at = base; at < top; at += cpuc->pebs_record_size) { top 1992 arch/x86/events/intel/ds.c top, bit, counts[bit], top 495 arch/x86/kernel/nmi.c unsigned long top = CEA_ESTACK_TOP(cs, DB); top 505 arch/x86/kernel/nmi.c return addr >= bot && addr < top; top 804 arch/x86/kernel/process.c unsigned long start, bottom, top, sp, fp, ip, ret = 0; top 833 arch/x86/kernel/process.c top = start + THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; top 834 arch/x86/kernel/process.c top -= 2 * sizeof(unsigned long); top 838 arch/x86/kernel/process.c if (sp < bottom || sp > top) top 843 arch/x86/kernel/process.c if (fp < bottom || fp > top) top 635 arch/x86/math-emu/errors.c top--; top 137 arch/x86/math-emu/fpu_aux.c int regnr = top & 7, regnri = ((regnr + i) & 7); top 180 arch/x86/math-emu/fpu_aux.c int regnr = top & 7; top 181 arch/x86/math-emu/fpu_aux.c int regnri = (top + i) & 7; top 147 arch/x86/math-emu/fpu_emu.h #define st(x) ( * ((FPU_REG *)( register_base + 10 * ((top+x) & 7) )) ) top 157 arch/x86/math-emu/fpu_emu.h #define push() { top--; } top 20 arch/x86/math-emu/fpu_tags.c fpu_tag_word |= 3 << ((top & 7) * 2); top 21 arch/x86/math-emu/fpu_tags.c top++; top 26 arch/x86/math-emu/fpu_tags.c return (fpu_tag_word >> ((top & 7) * 2)) & 3; top 31 arch/x86/math-emu/fpu_tags.c return (fpu_tag_word >> (((top + stnr) & 7) * 2)) & 3; top 41 arch/x86/math-emu/fpu_tags.c int regnr = top; top 49 arch/x86/math-emu/fpu_tags.c int regnr = stnr + top; top 83 arch/x86/math-emu/fpu_tags.c int regnr = (top + stnr) & 7; top 92 arch/x86/math-emu/fpu_tags.c return ((fpu_tag_word >> (((top - 1) & 7) * 2)) & 3) != TAG_Empty; top 109 arch/x86/math-emu/fpu_tags.c int regnr = top; top 439 arch/x86/math-emu/fpu_trig.c top--; top 445 arch/x86/math-emu/fpu_trig.c top++; top 35 arch/x86/math-emu/load_store.c #define pop_0() { FPU_settag0(TAG_Empty); top++; } top 106 arch/x86/math-emu/load_store.c top--; top 129 arch/x86/math-emu/load_store.c top++; top 148 arch/x86/math-emu/load_store.c top++; top 1081 arch/x86/math-emu/reg_ld_str.c top = (partial_status >> SW_Top_Shift) & 7; top 1124 arch/x86/math-emu/reg_ld_str.c int offset = (top & 7) * 10, other = 80 - offset; top 1135 arch/x86/math-emu/reg_ld_str.c regnr = (i + top) & 7; top 1202 arch/x86/math-emu/reg_ld_str.c int offset = (top & 7) * 10, other = 80 - offset; top 51 arch/x86/math-emu/status_w.h ((partial_status & ~SW_Top & 0xffff) | ((top << SW_Top_Shift) & SW_Top)) top 502 arch/x86/platform/efi/efi_64.c unsigned long top = last_map_pfn << PAGE_SHIFT; top 503 arch/x86/platform/efi/efi_64.c efi_ioremap(top, size - (top - phys_addr), type, attribute); top 80 arch/x86/um/os-Linux/task_size.c unsigned long top = 0xffffd000 >> UM_KERN_PAGE_SHIFT; top 101 arch/x86/um/os-Linux/task_size.c for (bottom = 0; bottom < top; bottom++) { top 107 arch/x86/um/os-Linux/task_size.c if (bottom == top) { top 120 arch/x86/um/os-Linux/task_size.c if (page_ok(top)) top 124 arch/x86/um/os-Linux/task_size.c test = bottom + (top - bottom) / 2; top 128 arch/x86/um/os-Linux/task_size.c top = test; top 129 arch/x86/um/os-Linux/task_size.c } while (top - bottom > 1); top 137 arch/x86/um/os-Linux/task_size.c top <<= UM_KERN_PAGE_SHIFT; top 138 arch/x86/um/os-Linux/task_size.c printf("0x%lx\n", top); top 140 arch/x86/um/os-Linux/task_size.c return top; top 1720 arch/x86/xen/mmu_pv.c unsigned long top = HYPERVISOR_VIRT_START; top 1724 arch/x86/xen/mmu_pv.c top = pp.virt_start; top 1726 arch/x86/xen/mmu_pv.c reserve_top_address(-top); top 142 arch/x86/xen/p2m.c static void p2m_top_mfn_init(unsigned long *top) top 147 arch/x86/xen/p2m.c top[i] = virt_to_mfn(p2m_mid_missing_mfn); top 150 arch/x86/xen/p2m.c static void p2m_top_mfn_p_init(unsigned long **top) top 155 arch/x86/xen/p2m.c top[i] = p2m_mid_missing_mfn; top 313 arch/xtensa/include/asm/uaccess.h unsigned long top = __kernel_ok ? ~0UL : TASK_SIZE - 1; top 315 arch/xtensa/include/asm/uaccess.h if ((unsigned long)str > top) top 500 block/blk-settings.c unsigned int top, bottom, alignment, ret = 0; top 534 block/blk-settings.c top = max(t->physical_block_size, t->io_min) top 539 block/blk-settings.c if (max(top, bottom) % min(top, bottom)) { top 595 block/blk-settings.c top = t->discard_granularity + t->discard_alignment; top 599 block/blk-settings.c if ((max(top, bottom) % min(top, bottom)) != 0) top 659 block/blk-settings.c char top[BDEVNAME_SIZE], bottom[BDEVNAME_SIZE]; top 661 block/blk-settings.c disk_name(disk, 0, top); top 665 block/blk-settings.c top, bottom); top 87 crypto/algapi.c struct list_head *top, top 104 crypto/algapi.c return &n->list == stack ? top : &n->inst->alg.cra_users; top 137 crypto/algapi.c LIST_HEAD(top); top 144 crypto/algapi.c list_move(&spawn->list, &top); top 147 crypto/algapi.c spawns = ⊤ top 178 crypto/algapi.c } while ((spawns = crypto_more_spawns(alg, &stack, &top, top 42 drivers/base/regmap/regcache-rbtree.c unsigned int *base, unsigned int *top) top 45 drivers/base/regmap/regcache-rbtree.c *top = rbnode->base_reg + ((rbnode->blklen - 1) * map->reg_stride); top 138 drivers/base/regmap/regcache-rbtree.c unsigned int base, top; top 155 drivers/base/regmap/regcache-rbtree.c regcache_rbtree_get_base_top_reg(map, n, &base, &top); top 156 drivers/base/regmap/regcache-rbtree.c this_registers = ((top - base) / map->reg_stride) + 1; top 157 drivers/base/regmap/regcache-rbtree.c seq_printf(s, "%x-%x (%d)\n", base, top, this_registers); top 1888 drivers/clk/clk.c struct clk_core *top = core; top 1934 drivers/clk/clk.c top = clk_calc_new_rates(parent, rate); top 1959 drivers/clk/clk.c top = clk_calc_new_rates(parent, best_parent_rate); top 1964 drivers/clk/clk.c return top; top 2137 drivers/clk/clk.c struct clk_core *top, *fail_clk; top 2155 drivers/clk/clk.c top = clk_calc_new_rates(core, req_rate); top 2156 drivers/clk/clk.c if (!top) top 2164 drivers/clk/clk.c fail_clk = clk_propagate_rate_change(top, PRE_RATE_CHANGE); top 2168 drivers/clk/clk.c clk_propagate_rate_change(top, ABORT_RATE_CHANGE); top 2174 drivers/clk/clk.c clk_change_rate(top); top 140 drivers/fsi/fsi-master-ast-cf.c int top; top 142 drivers/fsi/fsi-master-ast-cf.c top = msg->bits & 0x3; top 145 drivers/fsi/fsi-master-ast-cf.c crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); top 148 drivers/fsi/fsi-master-ast-cf.c crc = crc4(crc, msg->msg, msg->bits - top); top 172 drivers/fsi/fsi-master-gpio.c int top; top 174 drivers/fsi/fsi-master-gpio.c top = msg->bits & 0x3; top 177 drivers/fsi/fsi-master-gpio.c crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); top 180 drivers/fsi/fsi-master-gpio.c crc = crc4(crc, msg->msg, msg->bits - top); top 317 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c struct psp_xgmi_topology_info *top = &adev->psp.xgmi_context.top_info; top 320 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c for (i = 0 ; i < top->num_nodes; ++i) top 321 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) top 322 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c return top->nodes[i].num_hops; top 44 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c u64 top = RREG32_SOC15(MMHUB, 0, mmMC_VM_FB_LOCATION_TOP); top 49 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c top &= MC_VM_FB_LOCATION_TOP__FB_TOP_MASK; top 50 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c top <<= 24; top 53 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c adev->gmc.fb_end = top; top 42 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c u64 top = RREG32_SOC15(MMHUB, 0, mmVMSHAREDVC0_MC_VM_FB_LOCATION_TOP); top 47 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c top &= VMSHAREDVC0_MC_VM_FB_LOCATION_TOP__FB_TOP_MASK; top 48 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c top <<= 24; top 51 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c adev->gmc.fb_end = top; top 93 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c uint32_t top = data->recout.y; top 113 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c EXT_OVERSCAN_TOP, top); top 1917 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c struct pipe_ctx *top = pipe_ctx->top_pipe; top 1919 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c while (top->top_pipe) top 1920 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c top = top->top_pipe; // Traverse to top pipe_ctx top 1921 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (top->plane_state && top->plane_state->layer_index == 0) top 137 drivers/gpu/drm/amd/display/dc/inc/hw/transform.h int top; top 395 drivers/gpu/drm/drm_atomic_state_helper.c state->tv.margins.top = cmdline->tv_margins.top; top 700 drivers/gpu/drm/drm_atomic_uapi.c state->tv.margins.top = val; top 804 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.margins.top; top 300 drivers/gpu/drm/drm_lease.c static void _drm_lease_revoke(struct drm_master *top) top 304 drivers/gpu/drm/drm_lease.c struct drm_master *master = top; top 306 drivers/gpu/drm/drm_lease.c lockdep_assert_held(&top->dev->mode_config.idr_mutex); top 326 drivers/gpu/drm/drm_lease.c while (master != top && master == list_last_entry(&master->lessor->lessees, struct drm_master, lessee_list)) top 329 drivers/gpu/drm/drm_lease.c if (master == top) top 342 drivers/gpu/drm/drm_lease.c void drm_lease_revoke(struct drm_master *top) top 344 drivers/gpu/drm/drm_lease.c mutex_lock(&top->dev->mode_config.idr_mutex); top 345 drivers/gpu/drm/drm_lease.c _drm_lease_revoke(top); top 346 drivers/gpu/drm/drm_lease.c mutex_unlock(&top->dev->mode_config.idr_mutex); top 1658 drivers/gpu/drm/drm_modes.c mode->tv_margins.top = margin; top 158 drivers/gpu/drm/gma500/psb_intel_sdvo.c struct drm_property *top; top 1754 drivers/gpu/drm/gma500/psb_intel_sdvo.c } else if (psb_intel_sdvo_connector->top == property) { top 1768 drivers/gpu/drm/gma500/psb_intel_sdvo.c psb_intel_sdvo_connector->top, val); top 2380 drivers/gpu/drm/gma500/psb_intel_sdvo.c psb_intel_sdvo_connector->top = top 2382 drivers/gpu/drm/gma500/psb_intel_sdvo.c if (!psb_intel_sdvo_connector->top) top 2386 drivers/gpu/drm/gma500/psb_intel_sdvo.c psb_intel_sdvo_connector->top, top 140 drivers/gpu/drm/i915/display/intel_sdvo.c struct drm_property *top; top 1382 drivers/gpu/drm/i915/display/intel_sdvo.c if (intel_sdvo_conn->top) top 2283 drivers/gpu/drm/i915/display/intel_sdvo.c } else if (property == intel_sdvo_connector->top || top 2339 drivers/gpu/drm/i915/display/intel_sdvo.c } else if (property == intel_sdvo_connector->top || top 3067 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_connector->top = top 3070 drivers/gpu/drm/i915/display/intel_sdvo.c if (!intel_sdvo_connector->top) top 3074 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_connector->top, 0); top 875 drivers/gpu/drm/i915/display/intel_tv.c u16 top, bottom; top 1177 drivers/gpu/drm/i915/display/intel_tv.c conn_state->tv.margins.top - top 1214 drivers/gpu/drm/i915/display/intel_tv.c int extra, top, bottom; top 1226 drivers/gpu/drm/i915/display/intel_tv.c top = conn_state->tv.margins.top; top 1229 drivers/gpu/drm/i915/display/intel_tv.c if (top + bottom) top 1230 drivers/gpu/drm/i915/display/intel_tv.c top = extra * top / (top + bottom); top 1232 drivers/gpu/drm/i915/display/intel_tv.c top = extra / 2; top 1233 drivers/gpu/drm/i915/display/intel_tv.c bottom = extra - top; top 1235 drivers/gpu/drm/i915/display/intel_tv.c tv_conn_state->margins.top = top; top 1246 drivers/gpu/drm/i915/display/intel_tv.c tv_conn_state->margins.top = conn_state->tv.margins.top; top 1324 drivers/gpu/drm/i915/display/intel_tv.c tv_conn_state->margins.top, top 1543 drivers/gpu/drm/i915/display/intel_tv.c ypos = tv_conn_state->margins.top; top 1546 drivers/gpu/drm/i915/display/intel_tv.c ysize -= (tv_conn_state->margins.top + top 1840 drivers/gpu/drm/i915/display/intel_tv.c old_state->tv.margins.top != new_state->tv.margins.top || top 1958 drivers/gpu/drm/i915/display/intel_tv.c state->tv.margins.top = 36; top 1986 drivers/gpu/drm/i915/display/intel_tv.c state->tv.margins.top); top 696 drivers/gpu/drm/i915/i915_gem_gtt.c for (i = 1; i <= vm->top; i++) { top 913 drivers/gpu/drm/i915/i915_gem_gtt.c unsigned int shift = __gen8_pte_shift(vm->top); top 922 drivers/gpu/drm/i915/i915_gem_gtt.c if (vm->top == 2) top 925 drivers/gpu/drm/i915/i915_gem_gtt.c return i915_pd_entry(ppgtt->pd, gen8_pd_index(idx, vm->top)); top 959 drivers/gpu/drm/i915/i915_gem_gtt.c __gen8_ppgtt_cleanup(vm, ppgtt->pd, gen8_pd_top_count(vm), vm->top); top 1034 drivers/gpu/drm/i915/i915_gem_gtt.c start, start + length, vm->top); top 1149 drivers/gpu/drm/i915/i915_gem_gtt.c &start, start + length, vm->top); top 1152 drivers/gpu/drm/i915/i915_gem_gtt.c from, start, vm->top); top 1389 drivers/gpu/drm/i915/i915_gem_gtt.c for (i = 1; i <= vm->top; i++) { top 1412 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(vm->top != 2); top 1464 drivers/gpu/drm/i915/i915_gem_gtt.c fill_page_dma(px_base(pd), vm->scratch[vm->top].encode, count); top 1486 drivers/gpu/drm/i915/i915_gem_gtt.c ppgtt->vm.top = i915_vm_is_4lvl(&ppgtt->vm) ? 3 : 2; top 1533 drivers/gpu/drm/i915/i915_gem_gtt.c gen8_pd_top_count(&ppgtt->vm), ppgtt->vm.top); top 1970 drivers/gpu/drm/i915/i915_gem_gtt.c ppgtt->base.vm.top = 1; top 316 drivers/gpu/drm/i915/i915_gem_gtt.h unsigned int top; top 535 drivers/gpu/drm/i915/i915_gem_gtt.h return px_dma(pt ?: px_base(&ppgtt->vm.scratch[ppgtt->vm.top])); top 537 drivers/gpu/drm/i915/selftests/i915_buddy.c int order, top; top 554 drivers/gpu/drm/i915/selftests/i915_buddy.c for (top = max_order; top; top--) { top 562 drivers/gpu/drm/i915/selftests/i915_buddy.c for (order = top; order--; ) { top 566 drivers/gpu/drm/i915/selftests/i915_buddy.c order, top); top 582 drivers/gpu/drm/i915/selftests/i915_buddy.c block = i915_buddy_alloc(&mm, top); top 585 drivers/gpu/drm/i915/selftests/i915_buddy.c top, max_order); top 51 drivers/gpu/drm/meson/meson_plane.c #define VSC_INI_PHASE_TOP(top) FIELD_PREP(GENMASK(15, 0), top) top 285 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c static bool _dpu_rm_needs_split_display(const struct msm_display_topology *top) top 287 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c return top->num_intf > 1; top 432 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c const struct msm_display_topology *top) top 442 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c num_ctls = top->num_intf; top 444 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c needs_split_display = _dpu_rm_needs_split_display(top); top 807 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c int top[COMP_MAX]; top 884 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c src_h, pe->top, pe->bottom); top 993 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c pe.top, pe.bottom, false); top 155 drivers/gpu/drm/nouveau/include/nvkm/core/device.h struct nvkm_top *top; top 228 drivers/gpu/drm/nouveau/include/nvkm/core/device.h int (*top )(struct nvkm_device *, int idx, struct nvkm_top **); top 1688 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 1727 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 1766 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 1797 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 1830 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 1868 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 1906 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 1944 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 1982 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2016 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2050 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2085 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2120 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2148 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2179 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2215 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2251 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2287 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2323 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2359 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2389 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2420 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2460 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2495 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2530 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2565 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2600 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .top = gk104_top_new, top 2664 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c _(TOP , device->top , &device->top->subdev); top 3170 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c _(NVKM_SUBDEV_TOP , top); top 27 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c nvkm_top_device_new(struct nvkm_top *top) top 38 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c list_add_tail(&info->head, &top->device); top 46 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c struct nvkm_top *top = device->top; top 49 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c if (top) { top 50 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c list_for_each_entry(info, &top->device, head) { top 62 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c struct nvkm_top *top = device->top; top 65 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c if (top) { top 66 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c list_for_each_entry(info, &top->device, head) { top 78 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c struct nvkm_top *top = device->top; top 81 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c if (top) { top 82 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c list_for_each_entry(info, &top->device, head) { top 94 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c struct nvkm_top *top = device->top; top 99 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c if (top) { top 100 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c list_for_each_entry(info, &top->device, head) { top 117 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c struct nvkm_top *top = device->top; top 120 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c list_for_each_entry(info, &top->device, head) { top 131 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c struct nvkm_top *top = device->top; top 134 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c list_for_each_entry(info, &top->device, head) { top 145 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c struct nvkm_top *top = device->top; top 149 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c list_for_each_entry(info, &top->device, head) { top 163 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c struct nvkm_top *top = nvkm_top(subdev); top 164 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c return top->func->oneinit(top); top 170 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c struct nvkm_top *top = nvkm_top(subdev); top 173 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c list_for_each_entry_safe(info, temp, &top->device, head) { top 178 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c return top; top 191 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c struct nvkm_top *top; top 192 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c if (!(top = *ptop = kzalloc(sizeof(*top), GFP_KERNEL))) top 194 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c nvkm_subdev_ctor(&nvkm_top, device, index, &top->subdev); top 195 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c top->func = func; top 196 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c INIT_LIST_HEAD(&top->device); top 27 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c gk104_top_oneinit(struct nvkm_top *top) top 29 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c struct nvkm_subdev *subdev = &top->subdev; top 37 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c if (!(info = nvkm_top_device_new(top))) top 349 drivers/gpu/drm/qxl/qxl_cmd.c if (area->left < 0 || area->top < 0 || top 561 drivers/gpu/drm/qxl/qxl_cmd.c rect.top = 0; top 214 drivers/gpu/drm/qxl/qxl_dev.h int32_t top; top 221 drivers/gpu/drm/qxl/qxl_dev.h uint32_t top; top 112 drivers/gpu/drm/qxl/qxl_display.c if (client_head->y != c_rect->top) { top 113 drivers/gpu/drm/qxl/qxl_display.c client_head->y = c_rect->top; top 120 drivers/gpu/drm/qxl/qxl_display.c if (client_head->height != c_rect->bottom - c_rect->top) { top 121 drivers/gpu/drm/qxl/qxl_display.c client_head->height = c_rect->bottom - c_rect->top; top 90 drivers/gpu/drm/qxl/qxl_draw.c drawable->self_bitmap_area.top = 0; top 137 drivers/gpu/drm/qxl/qxl_draw.c int left, right, top, bottom; top 160 drivers/gpu/drm/qxl/qxl_draw.c top = clips->y1; top 168 drivers/gpu/drm/qxl/qxl_draw.c top = min_t(int, top, (int)clips_ptr->y1); top 173 drivers/gpu/drm/qxl/qxl_draw.c height = bottom - top; top 192 drivers/gpu/drm/qxl/qxl_draw.c drawable_rect.top = top; top 206 drivers/gpu/drm/qxl/qxl_draw.c top, width, height, depth, stride); top 222 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.src_area.top = 0; top 241 drivers/gpu/drm/qxl/qxl_draw.c rects[i].top = clips_ptr->y1; top 307 drivers/gpu/drm/qxl/qxl_ioctl.c .top = update_area->top, top 316 drivers/gpu/drm/qxl/qxl_ioctl.c update_area->top >= update_area->bottom) top 163 drivers/gpu/drm/rcar-du/rcar_du_vsp.c cfg.src.top = state->state.src.y1 >> 16; top 168 drivers/gpu/drm/rcar-du/rcar_du_vsp.c cfg.dst.top = state->state.dst.y1; top 955 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.tv_margins.top != 42); top 312 drivers/gpu/drm/sti/sti_hqvdp.c struct sti_hqvdp_top top; top 483 drivers/gpu/drm/sti/sti_hqvdp.c seq_printf(s, "\n\t %-20s 0x%08X", "Config", c->top.config); top 484 drivers/gpu/drm/sti/sti_hqvdp.c switch (c->top.config) { top 499 drivers/gpu/drm/sti/sti_hqvdp.c seq_printf(s, "\n\t %-20s 0x%08X", "MemFormat", c->top.mem_format); top 500 drivers/gpu/drm/sti/sti_hqvdp.c seq_printf(s, "\n\t %-20s 0x%08X", "CurrentY", c->top.current_luma); top 501 drivers/gpu/drm/sti/sti_hqvdp.c seq_printf(s, "\n\t %-20s 0x%08X", "CurrentC", c->top.current_chroma); top 502 drivers/gpu/drm/sti/sti_hqvdp.c seq_printf(s, "\n\t %-20s 0x%08X", "YSrcPitch", c->top.luma_src_pitch); top 504 drivers/gpu/drm/sti/sti_hqvdp.c c->top.chroma_src_pitch); top 506 drivers/gpu/drm/sti/sti_hqvdp.c c->top.input_frame_size); top 508 drivers/gpu/drm/sti/sti_hqvdp.c c->top.input_frame_size & 0x0000FFFF, top 509 drivers/gpu/drm/sti/sti_hqvdp.c c->top.input_frame_size >> 16); top 511 drivers/gpu/drm/sti/sti_hqvdp.c c->top.input_viewport_size); top 512 drivers/gpu/drm/sti/sti_hqvdp.c src_w = c->top.input_viewport_size & 0x0000FFFF; top 513 drivers/gpu/drm/sti/sti_hqvdp.c src_h = c->top.input_viewport_size >> 16; top 828 drivers/gpu/drm/sti/sti_hqvdp.c btm_cmd->top.config = TOP_CONFIG_INTER_BTM; top 829 drivers/gpu/drm/sti/sti_hqvdp.c btm_cmd->top.current_luma += top 830 drivers/gpu/drm/sti/sti_hqvdp.c btm_cmd->top.luma_src_pitch / 2; top 831 drivers/gpu/drm/sti/sti_hqvdp.c btm_cmd->top.current_chroma += top 832 drivers/gpu/drm/sti/sti_hqvdp.c btm_cmd->top.chroma_src_pitch / 2; top 1162 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.config = TOP_CONFIG_PROGRESSIVE; top 1163 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.mem_format = TOP_MEM_FORMAT_DFLT; top 1181 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.current_luma = (u32)cma_obj->paddr + fb->offsets[0]; top 1182 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.current_chroma = (u32)cma_obj->paddr + fb->offsets[1]; top 1185 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.luma_processed_pitch = fb->pitches[0]; top 1186 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.luma_src_pitch = fb->pitches[0]; top 1187 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.chroma_processed_pitch = fb->pitches[1]; top 1188 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.chroma_src_pitch = fb->pitches[1]; top 1195 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.input_viewport_size = src_h << 16 | src_w; top 1196 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.input_frame_size = src_h << 16 | src_w; top 1198 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.input_viewport_ori = src_y << 16 | src_x; top 1203 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.config = TOP_CONFIG_INTER_TOP; top 1206 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.input_frame_size = (src_h / 2) << 16 | src_w; top 1207 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.luma_processed_pitch *= 2; top 1208 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.luma_src_pitch *= 2; top 1209 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.chroma_processed_pitch *= 2; top 1210 drivers/gpu/drm/sti/sti_hqvdp.c cmd->top.chroma_src_pitch *= 2; top 225 drivers/gpu/drm/tegra/dc.c state->blending[i].top) top 243 drivers/gpu/drm/tegra/dc.c state->blending[0].top) top 247 drivers/gpu/drm/tegra/dc.c state->blending[1].top) top 266 drivers/gpu/drm/tegra/dc.c if (!state->blending[0].top && state->blending[1].top) { top 409 drivers/gpu/drm/tegra/plane.c state->blending[index].top = true; top 411 drivers/gpu/drm/tegra/plane.c state->blending[index].top = false; top 420 drivers/gpu/drm/tegra/plane.c state->blending[index].top = (index == 1); top 36 drivers/gpu/drm/tegra/plane.h bool top; top 57 drivers/gpu/drm/vc4/vc4_crtc.c unsigned int top; top 596 drivers/gpu/drm/vc4/vc4_crtc.c unsigned int *top, unsigned int *bottom) top 605 drivers/gpu/drm/vc4/vc4_crtc.c *top = vc4_state->margins.top; top 619 drivers/gpu/drm/vc4/vc4_crtc.c *top = conn_state->tv.margins.top; top 674 drivers/gpu/drm/vc4/vc4_crtc.c vc4_state->margins.top = conn_state->tv.margins.top; top 1118 drivers/gpu/drm/vc4/vc4_crtc.c u32 top = VC4_GET_FIELD(dispbase, SCALER_DISPBASEX_TOP) & ~3; top 1121 drivers/gpu/drm/vc4/vc4_crtc.c vc4_crtc->cob_size = top - base + 4; top 754 drivers/gpu/drm/vc4/vc4_drv.h unsigned int *top, unsigned int *bottom); top 403 drivers/gpu/drm/vc4/vc4_hdmi.c frame.avi.top_bar = cstate->tv.margins.top; top 264 drivers/gpu/drm/vc4/vc4_plane.c unsigned int left, right, top, bottom, adjhdisplay, adjvdisplay; top 270 drivers/gpu/drm/vc4/vc4_plane.c vc4_crtc_get_margins(crtc_state, &left, &right, &top, &bottom); top 271 drivers/gpu/drm/vc4/vc4_plane.c if (!left && !right && !top && !bottom) top 275 drivers/gpu/drm/vc4/vc4_plane.c top + bottom >= crtc_state->mode.vdisplay) top 286 drivers/gpu/drm/vc4/vc4_plane.c adjvdisplay = crtc_state->mode.vdisplay - (top + bottom); top 290 drivers/gpu/drm/vc4/vc4_plane.c vc4_pstate->crtc_y += top; top 291 drivers/gpu/drm/vc4/vc4_plane.c if (vc4_pstate->crtc_y > crtc_state->mode.vdisplay - top) top 292 drivers/gpu/drm/vc4/vc4_plane.c vc4_pstate->crtc_y = crtc_state->mode.vdisplay - top; top 712 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h int32 top; top 58 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c s32 left, right, top, bottom; top 512 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.destRect.top = clip->y1; top 605 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.srcRect.top = 0; top 610 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.destRect.top = 0; top 628 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c rect->top = clip->y1; top 665 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.srcRect.top = src_bb.y1; top 670 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.destRect.top = bb->y1; top 677 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c rect->top -= bb->y1; top 1047 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c cmd->body.destRect.top = sdirty->top; top 1052 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c cmd->body.srcRect.top = sdirty->top + trans_y; top 1062 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->top -= sdirty->top; top 1063 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->bottom -= sdirty->top; top 1068 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c sdirty->left = sdirty->top = S32_MAX; top 1090 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->top = dirty->unit_y1; top 1096 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c sdirty->top = min_t(s32, sdirty->top, dirty->unit_y1); top 1162 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c sdirty.left = sdirty.top = S32_MAX; top 1216 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.destRect.top = dirty->unit_y1; top 1326 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.srcRect.top = dirty->unit_y1; top 70 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c s32 left, right, top, bottom; top 259 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c s32 left, s32 right, s32 top, s32 bottom) top 268 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c update->body.rect.y = top; top 270 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c update->body.rect.h = bottom - top; top 476 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty->top = min_t(s32, ddirty->top, dirty->unit_y1); top 522 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty->top, ddirty->bottom); top 528 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty->left = ddirty->top = S32_MAX; top 549 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty->top = min_t(s32, ddirty->top, dirty->unit_y1); top 587 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c height = ddirty->bottom - ddirty->top; top 595 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c dst_offset = ddirty->top * dst_pitch + ddirty->left * stdu->cpp; top 643 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty->left = ddirty->top = ddirty->fb_left = ddirty->fb_top = S32_MAX; top 705 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty.left = ddirty.top = S32_MAX; top 772 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c sdirty->top = min_t(s32, sdirty->top, dirty->unit_y1); top 818 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c sdirty->right, sdirty->top, sdirty->bottom); top 822 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c sdirty->left = sdirty->top = S32_MAX; top 890 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c sdirty.left = sdirty.top = S32_MAX; top 781 drivers/gpu/ipu-v3/ipu-cpmem.c offset = Y_OFFSET(pix, image->rect.left, image->rect.top); top 784 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top) - offset; top 787 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top) - offset; top 793 drivers/gpu/ipu-v3/ipu-cpmem.c offset = Y_OFFSET(pix, image->rect.left, image->rect.top); top 796 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top) - offset; top 799 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top) - offset; top 805 drivers/gpu/ipu-v3/ipu-cpmem.c offset = Y_OFFSET(pix, image->rect.left, image->rect.top); top 808 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top) - offset; top 811 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top) - offset; top 817 drivers/gpu/ipu-v3/ipu-cpmem.c offset = Y_OFFSET(pix, image->rect.left, image->rect.top); top 820 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top) - offset; top 827 drivers/gpu/ipu-v3/ipu-cpmem.c offset = Y_OFFSET(pix, image->rect.left, image->rect.top); top 830 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top) - offset; top 840 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top * pix->bytesperline; top 853 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top * pix->bytesperline; top 858 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top * pix->bytesperline; top 865 drivers/gpu/ipu-v3/ipu-cpmem.c offset = image->rect.left + image->rect.top * pix->bytesperline; top 873 drivers/gpu/ipu-v3/ipu-cpmem.c image->rect.top * pix->bytesperline; top 564 drivers/gpu/ipu-v3/ipu-csi.c w->top = (reg & CSI_VSC_MASK) >> CSI_VSC_SHIFT; top 582 drivers/gpu/ipu-v3/ipu-csi.c reg |= ((w->top << CSI_VSC_SHIFT) | (w->left << CSI_HSC_SHIFT)); top 98 drivers/gpu/ipu-v3/ipu-image-convert.c u32 top; top 669 drivers/gpu/ipu-v3/ipu-image-convert.c out_tile->top = out_left; top 697 drivers/gpu/ipu-v3/ipu-image-convert.c in_tile->top = in_top; top 704 drivers/gpu/ipu-v3/ipu-image-convert.c out_tile->top = out_top; top 882 drivers/gpu/ipu-v3/ipu-image-convert.c tile->width, tile->height, tile->left, tile->top); top 976 drivers/gpu/ipu-v3/ipu-image-convert.c u32 H, top, y_stride, uv_stride; top 993 drivers/gpu/ipu-v3/ipu-image-convert.c top = image->tile[tile].top; top 994 drivers/gpu/ipu-v3/ipu-image-convert.c y_row_off = top * y_stride; top 995 drivers/gpu/ipu-v3/ipu-image-convert.c uv_row_off = (top * uv_stride) / fmt->uv_height_dec; top 1049 drivers/gpu/ipu-v3/ipu-image-convert.c row_off = image->tile[tile].top * stride; top 483 drivers/infiniband/hw/cxgb4/resource.c unsigned start, chunk, top; top 491 drivers/infiniband/hw/cxgb4/resource.c top = start + chunk; top 493 drivers/infiniband/hw/cxgb4/resource.c while (start < top) { top 494 drivers/infiniband/hw/cxgb4/resource.c chunk = min(top - start + 1, chunk); top 500 drivers/infiniband/hw/cxgb4/resource.c start, top - start); top 115 drivers/infiniband/hw/hfi1/iowait.c struct iowait *top, top 122 drivers/infiniband/hw/hfi1/iowait.c tcnt = (top->priority << IOWAIT_PRIORITY_STARVE_SHIFT) + top 123 drivers/infiniband/hw/hfi1/iowait.c top->starved_cnt; top 441 drivers/infiniband/hw/hfi1/iowait.h struct iowait *top, top 46 drivers/infiniband/hw/hns/hns_roce_alloc.c bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) top 56 drivers/infiniband/hw/hns/hns_roce_alloc.c *obj |= bitmap->top; top 86 drivers/infiniband/hw/hns/hns_roce_alloc.c bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) top 101 drivers/infiniband/hw/hns/hns_roce_alloc.c *obj |= bitmap->top; top 125 drivers/infiniband/hw/hns/hns_roce_alloc.c bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) top 139 drivers/infiniband/hw/hns/hns_roce_alloc.c bitmap->top = 0; top 297 drivers/infiniband/hw/hns/hns_roce_device.h unsigned long top; top 49 drivers/infiniband/hw/mthca/mthca_allocator.c alloc->top = (alloc->top + alloc->max) & alloc->mask; top 55 drivers/infiniband/hw/mthca/mthca_allocator.c obj |= alloc->top; top 74 drivers/infiniband/hw/mthca/mthca_allocator.c alloc->top = (alloc->top + alloc->max) & alloc->mask; top 89 drivers/infiniband/hw/mthca/mthca_allocator.c alloc->top = 0; top 180 drivers/infiniband/hw/mthca/mthca_dev.h u32 top; top 698 drivers/infiniband/hw/qib/qib.h u32 top; top 749 drivers/infiniband/hw/qib/qib_diag.c if (addr >= op->bottom && addr <= op->top) top 102 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h u32 top; top 62 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c tbl->top = 0; top 94 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c tbl->top = (tbl->top + tbl->max) & tbl->mask; top 104 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c obj |= tbl->top; top 125 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c tbl->top = (tbl->top + tbl->max) & tbl->mask; top 295 drivers/iommu/iommu.c struct iommu_resv_region *iter, *tmp, *nr, *top; top 322 drivers/iommu/iommu.c list_for_each_entry_reverse(top, &stack, list) top 323 drivers/iommu/iommu.c if (top->type == iter->type) top 330 drivers/iommu/iommu.c top_end = top->start + top->length - 1; top 335 drivers/iommu/iommu.c top->length = max(top_end, iter_end) - top->start + 1; top 162 drivers/md/bcache/bset.c if (k == l->top) top 165 drivers/md/bcache/bset.c while (bkey_next(k) != l->top) top 168 drivers/md/bcache/bset.c return l->top = k; top 491 drivers/md/bcache/bset.h struct bkey *top; top 508 drivers/md/bcache/bset.h l->top = bkey_next(k); top 513 drivers/md/bcache/bset.h l->top = bkey_next(l->top); top 518 drivers/md/bcache/bset.h bkey_copy(l->top, k); top 524 drivers/md/bcache/bset.h return l->top == l->keys; top 529 drivers/md/bcache/bset.h l->top = l->keys; top 1495 drivers/md/bcache/btree.c make_btree_freeing_key(r[i].b, keylist.top); top 1559 drivers/md/bcache/btree.c make_btree_freeing_key(replace, keys.top); top 2179 drivers/md/bcache/btree.c make_btree_freeing_key(b, parent_keys.top); top 270 drivers/md/bcache/extents.c struct btree_iter_set *top = iter->data, *i = top + 1; top 276 drivers/md/bcache/extents.c if (bkey_cmp(top->k, &START_KEY(i->k)) <= 0) top 281 drivers/md/bcache/extents.c heap_sift(iter, i - top, bch_extent_sort_cmp); top 285 drivers/md/bcache/extents.c if (top->k > i->k) { top 286 drivers/md/bcache/extents.c if (bkey_cmp(top->k, i->k) >= 0) top 289 drivers/md/bcache/extents.c bch_cut_front(top->k, i->k); top 291 drivers/md/bcache/extents.c heap_sift(iter, i - top, bch_extent_sort_cmp); top 294 drivers/md/bcache/extents.c BUG_ON(!bkey_cmp(&START_KEY(top->k), &START_KEY(i->k))); top 296 drivers/md/bcache/extents.c if (bkey_cmp(i->k, top->k) < 0) { top 297 drivers/md/bcache/extents.c bkey_copy(tmp, top->k); top 300 drivers/md/bcache/extents.c bch_cut_front(i->k, top->k); top 305 drivers/md/bcache/extents.c bch_cut_back(&START_KEY(i->k), top->k); top 405 drivers/md/bcache/extents.c struct bkey *top; top 423 drivers/md/bcache/extents.c top = bch_bset_search(b, bset_tree_last(b), top 425 drivers/md/bcache/extents.c bch_bset_insert(b, top, k); top 430 drivers/md/bcache/extents.c top = bkey_next(k); top 433 drivers/md/bcache/extents.c bch_cut_front(insert, top); top 166 drivers/md/bcache/request.c while (src != op->insert_keys.top) { top 176 drivers/md/bcache/request.c op->insert_keys.top = dst; top 229 drivers/md/bcache/request.c k = op->insert_keys.top; top 286 drivers/md/bcache/writeback.c bkey_copy(keys.top, &w->key); top 287 drivers/md/bcache/writeback.c SET_KEY_DIRTY(keys.top, false); top 173 drivers/md/persistent-data/dm-btree.c int top; top 179 drivers/md/persistent-data/dm-btree.c if (s->top < 0) { top 184 drivers/md/persistent-data/dm-btree.c *f = s->spine + s->top; top 191 drivers/md/persistent-data/dm-btree.c return s->top >= 0; top 213 drivers/md/persistent-data/dm-btree.c if (s->top >= MAX_SPINE_DEPTH - 1) { top 231 drivers/md/persistent-data/dm-btree.c struct frame *f = s->spine + ++s->top; top 235 drivers/md/persistent-data/dm-btree.c s->top--; top 254 drivers/md/persistent-data/dm-btree.c struct frame *f = s->spine + s->top--; top 265 drivers/md/persistent-data/dm-btree.c f = s->spine + s->top--; top 285 drivers/md/persistent-data/dm-btree.c s->top = -1; top 696 drivers/md/persistent-data/dm-btree.c int r, i = *index, top = 1; top 722 drivers/md/persistent-data/dm-btree.c if (top) top 745 drivers/md/persistent-data/dm-btree.c top = 0; top 311 drivers/media/common/saa7146/saa7146_hlp.c int low = 0, high = 0, top = 0; top 320 drivers/media/common/saa7146/saa7146_hlp.c for( top = *count; top > 0; top--) { top 321 drivers/media/common/saa7146/saa7146_hlp.c for( low = 0, high = 1; high < top; low++, high++) { top 367 drivers/media/common/saa7146/saa7146_hlp.c y[i] = vv->ov.clips[i].c.top; top 654 drivers/media/common/saa7146/saa7146_hlp.c saa7146_set_position(dev, vv->ov.win.w.left, vv->ov.win.w.top, vv->ov.win.w.height, vv->ov.win.field, vv->ov_fmt->pixelformat); top 142 drivers/media/common/saa7146/saa7146_video.c vv->ov.win.w.left, vv->ov.win.w.top, top 499 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.top = tpg->crop.left = 0; top 502 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->compose.top = tpg->compose.left = 0; top 1696 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->square.top = (h - sq_h) / 2; top 1699 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.top = 0; top 1713 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.top = (h - tpg->border.height) / 2; top 1718 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.top = (h - tpg->border.height) / 2; top 1729 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.top = (h - tpg->border.height) / 2; top 1734 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.top = (h - tpg->border.height) / 2; top 1745 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.top = (h - tpg->border.height) / 2; top 1978 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c y += tpg->compose.top; top 2064 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c return tpg->crop.top + src_y * 2; top 2066 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c return tpg->crop.top + src_y * 2 + 1; top 2068 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c return src_y + tpg->crop.top; top 2079 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c y += tpg->compose.top; top 2186 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.left, tpg->crop.top); top 2188 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->compose.left, tpg->compose.top); top 2304 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (tpg->show_border && frame_line >= b->top && top 2305 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c frame_line < b->top + b->height) { top 2306 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned bottom = b->top + b->height - 1; top 2310 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (frame_line == b->top || frame_line == b->top + 1 || top 2325 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (tpg->qual != TPG_QUAL_NOISE && frame_line >= b->top && top 2326 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c frame_line < b->top + b->height) { top 2331 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (tpg->show_square && frame_line >= sq->top && top 2332 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c frame_line < sq->top + sq->height && top 2422 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c (frame_line < tpg->border.top || top 2423 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c frame_line >= tpg->border.top + tpg->border.height)) { top 4554 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = drxj_dap_write_reg16(dev_addr, SCU_RAM_AGC_INGAIN_TGT__A, p_agc_if_settings->top, 0); top 4578 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = drxj_dap_write_reg16(dev_addr, SCU_RAM_AGC_INGAIN_TGT_MIN__A, p_agc_if_settings->top, 0); top 4583 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = drxj_dap_write_reg16(dev_addr, SCU_RAM_AGC_INGAIN__A, p_agc_if_settings->top, 0); top 4999 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_IF_IACCU_HI_TGT_MAX__A, agc_settings->top, 0); top 5004 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_IF_IACCU_HI_TGT__A, agc_settings->top, 0); top 5213 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_IF_IACCU_HI_TGT_MAX__A, p_agc_settings->top, 0); top 5218 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = (*scu_wr16)(dev_addr, SCU_RAM_AGC_IF_IACCU_HI_TGT__A, p_agc_settings->top, 0); top 5312 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = (*scu_wr16) (dev_addr, SCU_RAM_AGC_INGAIN_TGT_MIN__A, agc_settings->top, 0); top 10980 drivers/media/dvb-frontends/drx39xyj/drxj.c ext_attr->qam_if_agc_cfg.top = 1297; top 10988 drivers/media/dvb-frontends/drx39xyj/drxj.c ext_attr->vsb_if_agc_cfg.top = 1024; top 10999 drivers/media/dvb-frontends/drx39xyj/drxj.c ext_attr->qam_rf_agc_cfg.top = 9500; top 11011 drivers/media/dvb-frontends/drx39xyj/drxj.c ext_attr->vsb_rf_agc_cfg.top = 9500; top 179 drivers/media/dvb-frontends/drx39xyj/drxj.h u16 top; /* rf-agc take over point */ top 630 drivers/media/dvb-frontends/drxk_hard.c state->m_vsb_rf_agc_cfg.top = ul_vsb_rf_agc_top; top 655 drivers/media/dvb-frontends/drxk_hard.c state->m_atv_rf_agc_cfg.top = ul_atv_rf_agc_top; top 666 drivers/media/dvb-frontends/drxk_hard.c state->m_dvbt_rf_agc_cfg.top = 0x2100; top 676 drivers/media/dvb-frontends/drxk_hard.c state->m_dvbt_if_agc_cfg.top = 13424; top 691 drivers/media/dvb-frontends/drxk_hard.c state->m_qam_rf_agc_cfg.top = 0x2380; top 700 drivers/media/dvb-frontends/drxk_hard.c state->m_qam_if_agc_cfg.top = 0x0511; top 2214 drivers/media/dvb-frontends/drxk_hard.c p_agc_cfg->top); top 2358 drivers/media/dvb-frontends/drxk_hard.c p_rf_agc_settings->top); top 2421 drivers/media/dvb-frontends/drxk_hard.c status = write16(state, SCU_RAM_AGC_INGAIN_TGT_MIN__A, p_agc_cfg->top); top 6472 drivers/media/dvb-frontends/drxk_hard.c &if_agc.top); top 189 drivers/media/dvb-frontends/drxk_hard.h u16 top; /* rf-agc take over point */ top 1927 drivers/media/i2c/adv7604.c sel->r.top = 0; top 137 drivers/media/i2c/ak881x.c sel->r.top = 0; top 1004 drivers/media/i2c/imx274.c sel->r.top = 0; top 1025 drivers/media/i2c/imx274.c sel->r.top = 0; top 1031 drivers/media/i2c/imx274.c sel->r.top = 0; top 1077 drivers/media/i2c/imx274.c new_crop.top = min_t(u32, IMX274_ROUND(sel->r.top, 2, 0), top 1132 drivers/media/i2c/imx274.c sel->r.top = 0; top 1163 drivers/media/i2c/imx274.c (-imx274->crop.top / 2) : (imx274->crop.top / 2); top 199 drivers/media/i2c/mt9m001.c { MT9M001_ROW_START, mt9m001->rect.top }, top 285 drivers/media/i2c/mt9m001.c rect.top = clamp_t(u32, rect.top, MT9M001_ROW_SKIP, top 309 drivers/media/i2c/mt9m001.c sel->r.top = MT9M001_ROW_SKIP; top 360 drivers/media/i2c/mt9m001.c .r.top = mt9m001->rect.top, top 789 drivers/media/i2c/mt9m001.c mt9m001->rect.top = MT9M001_ROW_SKIP; top 230 drivers/media/i2c/mt9m032.c sensor->crop.top); top 453 drivers/media/i2c/mt9m032.c rect.top = clamp(ALIGN(sel->r.top, 2), MT9M032_ROW_START_MIN, top 463 drivers/media/i2c/mt9m032.c MT9M032_PIXEL_ARRAY_HEIGHT - rect.top); top 749 drivers/media/i2c/mt9m032.c sensor->crop.top = MT9M032_ROW_START_DEF; top 406 drivers/media/i2c/mt9m111.c ret = reg_write(ROW_START, rect->top); top 424 drivers/media/i2c/mt9m111.c __func__, code, rect->width, rect->height, rect->left, rect->top, top 478 drivers/media/i2c/mt9m111.c rect.top = clamp(rect.top, MT9M111_MIN_DARK_ROWS, top 508 drivers/media/i2c/mt9m111.c sel->r.top = MT9M111_MIN_DARK_ROWS; top 1330 drivers/media/i2c/mt9m111.c mt9m111->rect.top = MT9M111_MIN_DARK_ROWS; top 402 drivers/media/i2c/mt9p031.c ret = mt9p031_write(client, MT9P031_ROW_START, crop->top); top 611 drivers/media/i2c/mt9p031.c rect.top = clamp(ALIGN(sel->r.top, 2), MT9P031_ROW_START_MIN, top 623 drivers/media/i2c/mt9p031.c MT9P031_PIXEL_ARRAY_HEIGHT - rect.top); top 948 drivers/media/i2c/mt9p031.c crop->top = MT9P031_ROW_START_DEF; top 1122 drivers/media/i2c/mt9p031.c mt9p031->crop.top = MT9P031_ROW_START_DEF; top 321 drivers/media/i2c/mt9t001.c ret = mt9t001_write(client, MT9T001_ROW_START, crop->top); top 443 drivers/media/i2c/mt9t001.c rect.top = clamp(ALIGN(sel->r.top, 2), top 456 drivers/media/i2c/mt9t001.c MT9T001_PIXEL_ARRAY_HEIGHT - rect.top); top 803 drivers/media/i2c/mt9t001.c crop->top = MT9T001_ROW_START_DEF; top 929 drivers/media/i2c/mt9t001.c mt9t001->crop.top = MT9T001_ROW_START_DEF; top 887 drivers/media/i2c/mt9t112.c sel->r.top = 0; top 943 drivers/media/i2c/mt9t112.c .top = priv->frame.top, top 407 drivers/media/i2c/mt9v032.c ret = regmap_write(map, MT9V032_ROW_START, crop->top); top 569 drivers/media/i2c/mt9v032.c rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1, top 582 drivers/media/i2c/mt9v032.c rect.height, MT9V032_PIXEL_ARRAY_HEIGHT - rect.top); top 927 drivers/media/i2c/mt9v032.c crop->top = MT9V032_ROW_START_DEF; top 1143 drivers/media/i2c/mt9v032.c mt9v032->crop.top = MT9V032_ROW_START_DEF; top 1050 drivers/media/i2c/ov2640.c sel->r.top = 0; top 515 drivers/media/i2c/ov5647.c crop->top = OV5647_ROW_START_DEF; top 461 drivers/media/i2c/ov6650.c sel->r.top = DEF_VSTRT << 1; top 489 drivers/media/i2c/ov6650.c &sel->r.top, DEF_VSTRT << 1, top 502 drivers/media/i2c/ov6650.c ret = ov6650_reg_write(client, REG_VSTRT, sel->r.top >> 1); top 505 drivers/media/i2c/ov6650.c priv->rect.height += priv->rect.top - sel->r.top; top 506 drivers/media/i2c/ov6650.c priv->rect.top = sel->r.top; top 508 drivers/media/i2c/ov6650.c (sel->r.top + sel->r.height) >> 1); top 577 drivers/media/i2c/ov6650.c .r.top = priv->rect.top + (priv->rect.height >> 1) - top 1036 drivers/media/i2c/ov6650.c priv->rect.top = DEF_VSTRT << 1; top 524 drivers/media/i2c/ov772x.c .top = 14, top 534 drivers/media/i2c/ov772x.c .top = 6, top 1051 drivers/media/i2c/ov772x.c ret = regmap_write(priv->regmap, VSTART, win->rect.top >> 1); top 1064 drivers/media/i2c/ov772x.c ((win->rect.top & 1) << HREF_VSTART_SHIFT) | top 1148 drivers/media/i2c/ov772x.c sel->r.top = 0; top 575 drivers/media/i2c/ov9640.c sel->r.top = 0; top 593 drivers/media/i2c/rj54n1cb0c.c sel->r.top = RJ54N1_ROW_SKIP; top 1341 drivers/media/i2c/rj54n1cb0c.c rj54n1->rect.top = RJ54N1_ROW_SKIP; top 386 drivers/media/i2c/s5k4ecgx.c ret = s5k4ecgx_write(c, REG_G_PREV_IN_YOFFS, r->top); top 394 drivers/media/i2c/s5k4ecgx.c ret = s5k4ecgx_write(c, REG_G_CAP_IN_YOFFS, r->top); top 411 drivers/media/i2c/s5k4ecgx.c ret = s5k4ecgx_write(c, REG_G_PREVZOOM_IN_YOFFS, r->top); top 419 drivers/media/i2c/s5k4ecgx.c ret = s5k4ecgx_write(c, REG_G_CAPZOOM_IN_YOFFS, r->top); top 853 drivers/media/i2c/s5k5baf.c r->top = v->top * n->height / d->height; top 866 drivers/media/i2c/s5k5baf.c p->left, p->top); top 871 drivers/media/i2c/s5k5baf.c r.left, r.top); top 1413 drivers/media/i2c/s5k5baf.c sel->r.top = 0; top 1436 drivers/media/i2c/s5k5baf.c s5k5baf_bound_range(&r->top, &r->height, height); top 1477 drivers/media/i2c/s5k5baf.c sel->r.top = 0; top 658 drivers/media/i2c/s5k6aa.c ret = s5k6aa_write(c, REG_G_PREVZOOM_IN_YOFFS, r->top); top 1154 drivers/media/i2c/s5k6aa.c crop->top = clamp_t(unsigned int, crop->top, 0, top 1183 drivers/media/i2c/s5k6aa.c rect->left, rect->top, rect->width, rect->height); top 1218 drivers/media/i2c/s5k6aa.c sel->r.top = clamp_t(unsigned int, sel->r.top, 0, max_y); top 1225 drivers/media/i2c/s5k6aa.c crop_r->left, crop_r->top, crop_r->width, crop_r->height); top 1440 drivers/media/i2c/s5k6aa.c crop->top = 0; top 1610 drivers/media/i2c/s5k6aa.c s5k6aa->ccd_rect.top = 0; top 1411 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].top); top 1425 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].top top 1446 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler->crop[SMIAPP_PAD_SINK].top); top 1833 drivers/media/i2c/smiapp/smiapp-core.c crops[ssd->sink_pad]->top = 0; top 2064 drivers/media/i2c/smiapp/smiapp-core.c sel->r.top = 0; top 2143 drivers/media/i2c/smiapp/smiapp-core.c _r.top = 0; top 2157 drivers/media/i2c/smiapp/smiapp-core.c sel->r.top = 0; top 2164 drivers/media/i2c/smiapp/smiapp-core.c sel->r.top = min_t(int, sel->r.top, src_size->height - sel->r.height); top 2178 drivers/media/i2c/smiapp/smiapp-core.c r->top = 0; top 2207 drivers/media/i2c/smiapp/smiapp-core.c sink_fmt.top = 0; top 2261 drivers/media/i2c/smiapp/smiapp-core.c sel->r.top = max(0, sel->r.top & ~1); top 980 drivers/media/i2c/tvp5150.c crop->top = 0; top 1027 drivers/media/i2c/tvp5150.c __func__, rect.left, rect.top, rect.width, rect.height); top 1031 drivers/media/i2c/tvp5150.c rect.top = clamp(rect.top, 0, TVP5150_MAX_CROP_TOP); top 1052 drivers/media/i2c/tvp5150.c hmax - TVP5150_MAX_CROP_TOP - rect.top, top 1053 drivers/media/i2c/tvp5150.c hmax - rect.top, 0, 0); top 1055 drivers/media/i2c/tvp5150.c regmap_write(decoder->regmap, TVP5150_VERT_BLANKING_START, rect.top); top 1057 drivers/media/i2c/tvp5150.c rect.top + rect.height - hmax); top 1086 drivers/media/i2c/tvp5150.c sel->r.top = 0; top 736 drivers/media/i2c/tw9910.c sel->r.top = 0; top 626 drivers/media/mc/mc-device.c struct media_graph new = { .top = 0 }; top 244 drivers/media/mc/mc-entity.c if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { top 248 drivers/media/mc/mc-entity.c graph->top++; top 249 drivers/media/mc/mc-entity.c graph->stack[graph->top].link = entity->links.next; top 250 drivers/media/mc/mc-entity.c graph->stack[graph->top].entity = entity; top 257 drivers/media/mc/mc-entity.c entity = graph->stack[graph->top].entity; top 258 drivers/media/mc/mc-entity.c graph->top--; top 263 drivers/media/mc/mc-entity.c #define link_top(en) ((en)->stack[(en)->top].link) top 264 drivers/media/mc/mc-entity.c #define stack_top(en) ((en)->stack[(en)->top].entity) top 300 drivers/media/mc/mc-entity.c graph->top = 0; top 301 drivers/media/mc/mc-entity.c graph->stack[graph->top].entity = NULL; top 90 drivers/media/pci/bt8xx/btcx-risc.c clips[n].c.top = 0; top 98 drivers/media/pci/bt8xx/btcx-risc.c clips[n].c.top = 0; top 103 drivers/media/pci/bt8xx/btcx-risc.c if (win->top < 0) { top 106 drivers/media/pci/bt8xx/btcx-risc.c clips[n].c.top = 0; top 108 drivers/media/pci/bt8xx/btcx-risc.c clips[n].c.height = -win->top; top 111 drivers/media/pci/bt8xx/btcx-risc.c if (win->top + win->height > sheight) { top 114 drivers/media/pci/bt8xx/btcx-risc.c clips[n].c.top = sheight - win->top; top 116 drivers/media/pci/bt8xx/btcx-risc.c clips[n].c.height = win->height - clips[n].c.top; top 137 drivers/media/pci/bt8xx/btcx-risc.c win->width, win->height, win->left, win->top, dx); top 149 drivers/media/pci/bt8xx/btcx-risc.c clips[i].c.left, clips[i].c.top); top 192 drivers/media/pci/bt8xx/btcx-risc.c if (line > clips[clip].c.top+clips[clip].c.height-1) top 194 drivers/media/pci/bt8xx/btcx-risc.c if (line < clips[clip].c.top) { top 195 drivers/media/pci/bt8xx/btcx-risc.c if (maxline > clips[clip].c.top-1) top 196 drivers/media/pci/bt8xx/btcx-risc.c maxline = clips[clip].c.top-1; top 199 drivers/media/pci/bt8xx/btcx-risc.c if (maxline > clips[clip].c.top+clips[clip].c.height-1) top 200 drivers/media/pci/bt8xx/btcx-risc.c maxline = clips[clip].c.top+clips[clip].c.height-1; top 260 drivers/media/pci/bt8xx/bttv-driver.c .cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \ top 266 drivers/media/pci/bt8xx/bttv-driver.c .cropcap.defrect.top = (videostart0) * 2, \ top 673 drivers/media/pci/bt8xx/bttv-driver.c __s32 top = btv->crop[!!fh->do_crop].rect.top; top 675 drivers/media/pci/bt8xx/bttv-driver.c if (btv->vbi_end > top) top 680 drivers/media/pci/bt8xx/bttv-driver.c btv->crop_start = top; top 727 drivers/media/pci/bt8xx/bttv-driver.c btv->crop_start = tvnorm->cropcap.bounds.top top 1132 drivers/media/pci/bt8xx/bttv-driver.c btv->crop_start = tvnorm->cropcap.bounds.top top 1557 drivers/media/pci/bt8xx/bttv-driver.c if (btv->vbi_end > bttv_tvnorms[norm].cropcap.defrect.top) { top 1596 drivers/media/pci/bt8xx/bttv-driver.c buf->crop.top != c.rect.top || top 1929 drivers/media/pci/bt8xx/bttv-driver.c max_top = b->top + b->height - c->rect.height; top 1930 drivers/media/pci/bt8xx/bttv-driver.c if (c->rect.top > max_top) top 1931 drivers/media/pci/bt8xx/bttv-driver.c c->rect.top = max_top; top 1990 drivers/media/pci/bt8xx/bttv-driver.c if (btv->vbi_end > b->top) { top 1991 drivers/media/pci/bt8xx/bttv-driver.c max_height -= btv->vbi_end - b->top; top 1998 drivers/media/pci/bt8xx/bttv-driver.c if (btv->vbi_end > c->rect.top) top 2026 drivers/media/pci/bt8xx/bttv-driver.c if (btv->vbi_end > c->rect.top) { top 2028 drivers/media/pci/bt8xx/bttv-driver.c c->rect.top = btv->vbi_end; top 2620 drivers/media/pci/bt8xx/bttv-driver.c fh->ov.w.top = 0; top 2819 drivers/media/pci/bt8xx/bttv-driver.c b_bottom = b->top + b->height; top 2821 drivers/media/pci/bt8xx/bttv-driver.c b_top = max(b->top, btv->vbi_end); top 2833 drivers/media/pci/bt8xx/bttv-driver.c c.rect.top = clamp_t(s32, sel->r.top, b_top, b_bottom - 32); top 2835 drivers/media/pci/bt8xx/bttv-driver.c c.rect.top = (c.rect.top + 1) & ~1; top 2838 drivers/media/pci/bt8xx/bttv-driver.c 32, b_bottom - c.rect.top); top 3391 drivers/media/pci/bt8xx/bttv-driver.c btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, top 3394 drivers/media/pci/bt8xx/bttv-driver.c btv->curr.top top 3395 drivers/media/pci/bt8xx/bttv-driver.c ? (unsigned long long)btv->curr.top->top.dma : 0, top 3399 drivers/media/pci/bt8xx/bttv-driver.c btv->screen ? (unsigned long long)btv->screen->top.dma : 0, top 3475 drivers/media/pci/bt8xx/bttv-driver.c set->top = item; top 3515 drivers/media/pci/bt8xx/bttv-driver.c if (NULL != set->top && NULL != set->bottom) top 3524 drivers/media/pci/bt8xx/bttv-driver.c if (NULL == set->top && NULL == set->bottom) { top 3525 drivers/media/pci/bt8xx/bttv-driver.c set->top = btv->screen; top 3530 drivers/media/pci/bt8xx/bttv-driver.c NULL == set->top) { top 3531 drivers/media/pci/bt8xx/bttv-driver.c set->top = btv->screen; top 3541 drivers/media/pci/bt8xx/bttv-driver.c btv->c.nr, set->top, set->bottom, top 3552 drivers/media/pci/bt8xx/bttv-driver.c if (wakeup->top == wakeup->bottom) { top 3553 drivers/media/pci/bt8xx/bttv-driver.c if (NULL != wakeup->top && curr->top != wakeup->top) { top 3556 drivers/media/pci/bt8xx/bttv-driver.c btv->c.nr, wakeup->top); top 3557 drivers/media/pci/bt8xx/bttv-driver.c wakeup->top->vb.ts = ts; top 3558 drivers/media/pci/bt8xx/bttv-driver.c wakeup->top->vb.field_count = btv->field_count; top 3559 drivers/media/pci/bt8xx/bttv-driver.c wakeup->top->vb.state = state; top 3560 drivers/media/pci/bt8xx/bttv-driver.c wake_up(&wakeup->top->vb.done); top 3563 drivers/media/pci/bt8xx/bttv-driver.c if (NULL != wakeup->top && curr->top != wakeup->top) { top 3566 drivers/media/pci/bt8xx/bttv-driver.c btv->c.nr, wakeup->top); top 3567 drivers/media/pci/bt8xx/bttv-driver.c wakeup->top->vb.ts = ts; top 3568 drivers/media/pci/bt8xx/bttv-driver.c wakeup->top->vb.field_count = btv->field_count; top 3569 drivers/media/pci/bt8xx/bttv-driver.c wakeup->top->vb.state = state; top 3570 drivers/media/pci/bt8xx/bttv-driver.c wake_up(&wakeup->top->vb.done); top 3651 drivers/media/pci/bt8xx/bttv-driver.c struct bttv_buffer *wakeup = btv->curr.top; top 3658 drivers/media/pci/bt8xx/bttv-driver.c btv->curr.top = NULL; top 3689 drivers/media/pci/bt8xx/bttv-driver.c if ((btv->curr.top && is_active(&btv->curr.top->top, rc)) || top 3730 drivers/media/pci/bt8xx/bttv-driver.c if (NULL != old && (is_active(&old->top, rc) || top 267 drivers/media/pci/bt8xx/bttv-risc.c addr += btv->fbuf.fmt.bytesperline * ov->w.top; top 383 drivers/media/pci/bt8xx/bttv-risc.c && crop->top == tvnorm->cropcap.defrect.top top 404 drivers/media/pci/bt8xx/bttv-risc.c geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; top 459 drivers/media/pci/bt8xx/bttv-risc.c if (NULL != btv->curr.top) btv->cap_ctl |= 0x02; top 470 drivers/media/pci/bt8xx/bttv-risc.c btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, top 471 drivers/media/pci/bt8xx/bttv-risc.c btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, top 580 drivers/media/pci/bt8xx/bttv-risc.c btcx_riscmem_free(btv->c.pci,&buf->top); top 588 drivers/media/pci/bt8xx/bttv-risc.c struct btcx_riscmem *top; top 593 drivers/media/pci/bt8xx/bttv-risc.c top = NULL; top 619 drivers/media/pci/bt8xx/bttv-risc.c top = &vbi->top; top 630 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_hook(btv, RISC_SLOT_O_VBI, top, top_irq_flags); top 641 drivers/media/pci/bt8xx/bttv-risc.c if (NULL != set->top && NULL != set->bottom) { top 642 drivers/media/pci/bt8xx/bttv-risc.c if (set->top == set->bottom) { top 643 drivers/media/pci/bt8xx/bttv-risc.c set->top->vb.state = VIDEOBUF_ACTIVE; top 644 drivers/media/pci/bt8xx/bttv-risc.c if (set->top->vb.queue.next) top 645 drivers/media/pci/bt8xx/bttv-risc.c list_del(&set->top->vb.queue); top 647 drivers/media/pci/bt8xx/bttv-risc.c set->top->vb.state = VIDEOBUF_ACTIVE; top 649 drivers/media/pci/bt8xx/bttv-risc.c if (set->top->vb.queue.next) top 650 drivers/media/pci/bt8xx/bttv-risc.c list_del(&set->top->vb.queue); top 654 drivers/media/pci/bt8xx/bttv-risc.c bttv_apply_geo(btv, &set->top->geo, 1); top 656 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, top 660 drivers/media/pci/bt8xx/bttv-risc.c btaor((set->top->btformat & 0xf0) | (set->bottom->btformat & 0x0f), top 662 drivers/media/pci/bt8xx/bttv-risc.c btaor((set->top->btswap & 0x0a) | (set->bottom->btswap & 0x05), top 664 drivers/media/pci/bt8xx/bttv-risc.c } else if (NULL != set->top) { top 665 drivers/media/pci/bt8xx/bttv-risc.c set->top->vb.state = VIDEOBUF_ACTIVE; top 666 drivers/media/pci/bt8xx/bttv-risc.c if (set->top->vb.queue.next) top 667 drivers/media/pci/bt8xx/bttv-risc.c list_del(&set->top->vb.queue); top 668 drivers/media/pci/bt8xx/bttv-risc.c bttv_apply_geo(btv, &set->top->geo,1); top 669 drivers/media/pci/bt8xx/bttv-risc.c bttv_apply_geo(btv, &set->top->geo,0); top 670 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_hook(btv, RISC_SLOT_O_FIELD, &set->top->top, top 673 drivers/media/pci/bt8xx/bttv-risc.c btaor(set->top->btformat & 0xff, ~0xff, BT848_COLOR_FMT); top 674 drivers/media/pci/bt8xx/bttv-risc.c btaor(set->top->btswap & 0x0f, ~0x0f, BT848_COLOR_CTL); top 717 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_packed(btv,&buf->top,dma->sglist, top 727 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_packed(btv,&buf->top,dma->sglist, top 733 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_packed(btv,&buf->top,dma->sglist, top 768 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_planar(btv, &buf->top, dma->sglist, top 789 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_planar(btv,&buf->top, top 812 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_planar(btv,&buf->top, top 840 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_packed(btv, &buf->top, dma->sglist, top 875 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 0); top 881 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_overlay(btv, &buf->top, fmt, ov, 0, 1); top 153 drivers/media/pci/bt8xx/bttv-vbi.c rc = bttv_risc_packed(btv, &buf->top, top 180 drivers/media/pci/bt8xx/bttv-vbi.c if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) top 181 drivers/media/pci/bt8xx/bttv-vbi.c min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; top 189 drivers/media/pci/bt8xx/bttv-vbi.c vb, &buf->top, &buf->bottom, top 247 drivers/media/pci/bt8xx/bttv-vbi.c max_end = (tvnorm->cropcap.bounds.top top 383 drivers/media/pci/bt8xx/bttv-vbi.c max_end = (tvnorm->cropcap.bounds.top top 430 drivers/media/pci/bt8xx/bttv-vbi.c real_count = ((tvnorm->cropcap.defrect.top >> 1) top 154 drivers/media/pci/bt8xx/bttvp.h struct btcx_riscmem top; top 162 drivers/media/pci/bt8xx/bttvp.h struct bttv_buffer *top; /* top field buffer */ top 1109 drivers/media/pci/cobalt/cobalt-v4l2.c sel->r.top = 0; top 51 drivers/media/pci/cx18/cx18-dvb.c .top = MXL5005S_TOP_25P2, top 455 drivers/media/pci/cx18/cx18-ioctl.c sel->r.top = sel->r.left = 0; top 681 drivers/media/pci/cx23885/cx23885-video.c sel->r.top = 0; top 456 drivers/media/pci/ivtv/ivtv-ioctl.c winfmt->w.top = winfmt->w.left = 0; top 860 drivers/media/pci/ivtv/ivtv-ioctl.c sel->r.top = clamp_t(unsigned, sel->r.top, 0, r.height - sel->r.height); top 867 drivers/media/pci/ivtv/ivtv-ioctl.c sel->r.width, sel->r.height, sel->r.left, sel->r.top)) { top 887 drivers/media/pci/ivtv/ivtv-ioctl.c sel->r.top = sel->r.left = 0; top 1150 drivers/media/pci/ivtv/ivtv-ioctl.c itv->main_rect.top = 0; top 979 drivers/media/pci/ivtv/ivtv-yuv.c nf->src_y = args->src.top; top 983 drivers/media/pci/ivtv/ivtv-yuv.c nf->dst_y = args->dst.top; top 1120 drivers/media/pci/ivtv/ivtv-yuv.c dma_args.src.top = 0; top 246 drivers/media/pci/ivtv/ivtvfb.c if (ivtv_window->top + ivtv_window->height > osd_height_limit) { top 248 drivers/media/pci/ivtv/ivtvfb.c ivtv_window->top, ivtv_window->height); top 249 drivers/media/pci/ivtv/ivtvfb.c ivtv_window->top = osd_height_limit - ivtv_window->height; top 259 drivers/media/pci/ivtv/ivtvfb.c write_reg((ivtv_window->top << 16) | ivtv_window->left, 0x02a04); top 262 drivers/media/pci/ivtv/ivtvfb.c write_reg(((ivtv_window->top+ivtv_window->height) << 16) | (ivtv_window->left+ivtv_window->width), 0x02a08); top 268 drivers/media/pci/ivtv/ivtvfb.c itv->yuv_info.osd_y_offset = ivtv_window->top; top 584 drivers/media/pci/ivtv/ivtvfb.c ivtv_window.top = var->upper_margin - 1; top 1022 drivers/media/pci/ivtv/ivtvfb.c start_window.top = osd_upper >= 0 ? osd_upper : ((max_height - start_window.height) / 2); top 1036 drivers/media/pci/ivtv/ivtvfb.c oi->ivtvfb_defined.upper_margin = start_window.top + 1; top 53 drivers/media/pci/saa7134/saa7134-go7007.c u8 *top; top 243 drivers/media/pci/saa7134/saa7134-go7007.c go7007_parse_video_stream(go, saa->top, PAGE_SIZE); top 253 drivers/media/pci/saa7134/saa7134-go7007.c saa->top_dma = dma_map_page(&dev->pci->dev, virt_to_page(saa->top), top 442 drivers/media/pci/saa7134/saa7134-go7007.c saa->top = (u8 *)get_zeroed_page(GFP_KERNEL); top 443 drivers/media/pci/saa7134/saa7134-go7007.c if (!saa->top) top 469 drivers/media/pci/saa7134/saa7134-go7007.c if (saa->top) top 470 drivers/media/pci/saa7134/saa7134-go7007.c free_page((unsigned long)saa->top); top 492 drivers/media/pci/saa7134/saa7134-go7007.c free_page((unsigned long)saa->top); top 372 drivers/media/pci/saa7134/saa7134-video.c dev->crop_bounds.top = (norm->vbi_v_stop_0+1)*2; top 373 drivers/media/pci/saa7134/saa7134-video.c dev->crop_defrect.top = norm->video_v_start*2; top 375 drivers/media/pci/saa7134/saa7134-video.c - dev->crop_bounds.top; top 533 drivers/media/pci/saa7134/saa7134-video.c v_start = dev->crop_current.top/2; top 535 drivers/media/pci/saa7134/saa7134-video.c v_stop = (dev->crop_current.top + dev->crop_current.height -1)/2; top 641 drivers/media/pci/saa7134/saa7134-video.c row[rows].position = clip_range(clips[i].c.top / div); top 644 drivers/media/pci/saa7134/saa7134-video.c row[rows].position = clip_range((clips[i].c.top + clips[i].c.height) top 711 drivers/media/pci/saa7134/saa7134-video.c dev->win.w.left, dev->win.w.top, top 727 drivers/media/pci/saa7134/saa7134-video.c base += dev->ovbuf.fmt.bytesperline * dev->win.w.top; top 1663 drivers/media/pci/saa7134/saa7134-video.c if (c->top < b->top) top 1664 drivers/media/pci/saa7134/saa7134-video.c c->top = b->top; top 1665 drivers/media/pci/saa7134/saa7134-video.c if (c->top > b->top + b->height) top 1666 drivers/media/pci/saa7134/saa7134-video.c c->top = b->top + b->height; top 1667 drivers/media/pci/saa7134/saa7134-video.c if (c->height > b->top - c->top + b->height) top 1668 drivers/media/pci/saa7134/saa7134-video.c c->height = b->top - c->top + b->height; top 343 drivers/media/platform/am437x/am437x-vpfe.c vert_start = image_win->top; top 976 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.ycbcr.win.top = 0; top 988 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.bayer.win.top = 0; top 1119 drivers/media/platform/am437x/am437x-vpfe.c vpfe->crop.top = vpfe->crop.left = 0; top 2099 drivers/media/platform/am437x/am437x-vpfe.c s->r.top = 0; top 2117 drivers/media/platform/am437x/am437x-vpfe.c if (a->left < b->left || a->top < b->top) top 2123 drivers/media/platform/am437x/am437x-vpfe.c if (a->top + a->height > b->top + b->height) top 2150 drivers/media/platform/am437x/am437x-vpfe.c r.top = clamp_t(unsigned int, r.top, 0, cr.height - r.height); top 2168 drivers/media/platform/am437x/am437x-vpfe.c r.left, r.top, r.width, r.height, cr.width, cr.height); top 1974 drivers/media/platform/coda/coda-bit.c q_data_dst->rect.top = (top_bottom >> 10) & 0x3ff; top 1977 drivers/media/platform/coda/coda-bit.c q_data_dst->rect.height = height - q_data_dst->rect.top - top 2324 drivers/media/platform/coda/coda-bit.c rect->top = top_bottom >> 16 & 0xffff; top 2327 drivers/media/platform/coda/coda-bit.c rect->height = height - rect->top - top 714 drivers/media/platform/coda/coda-common.c q_data->rect.top = 0; top 770 drivers/media/platform/coda/coda-common.c r.top = 0; top 925 drivers/media/platform/coda/coda-common.c r.top = 0; top 972 drivers/media/platform/coda/coda-common.c s->r.top = 0; top 225 drivers/media/platform/davinci/dm355_ccdc.c vert_start = image_win->top; top 135 drivers/media/platform/davinci/dm644x_ccdc.c vert_start = image_win->top; top 454 drivers/media/platform/davinci/dm644x_ccdc.c val = (params->win.top & CCDC_FMT_VERT_FMTSLV_MASK) top 287 drivers/media/platform/davinci/isif.c vert_start = image_win->top; top 782 drivers/media/platform/davinci/isif.c isif_cfg.bayer.win.top = win->top; top 787 drivers/media/platform/davinci/isif.c isif_cfg.ycbcr.win.top = win->top; top 524 drivers/media/platform/davinci/vpbe_display.c int top, int left) top 531 drivers/media/platform/davinci/vpbe_display.c cfg->ypos = min((unsigned int)top, top 548 drivers/media/platform/davinci/vpbe_display.c if ((c->height == 0) || ((c->height + c->top) > top 550 drivers/media/platform/davinci/vpbe_display.c c->height = vpbe_dev->current_timings.yres - c->top; top 659 drivers/media/platform/davinci/vpbe_display.c if (rect.top < 0) top 660 drivers/media/platform/davinci/vpbe_display.c rect.top = 0; top 672 drivers/media/platform/davinci/vpbe_display.c vpbe_disp_adj_position(disp_dev, layer, rect.top, top 729 drivers/media/platform/davinci/vpbe_display.c rect->top = cfg->ypos; top 737 drivers/media/platform/davinci/vpbe_display.c rect->top = 0; top 323 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->crop.top = 0; top 1582 drivers/media/platform/davinci/vpfe_capture.c if (rect.top < 0 || rect.left < 0) { top 1595 drivers/media/platform/davinci/vpfe_capture.c (rect.top + rect.height > top 237 drivers/media/platform/exynos-gsc/gsc-core.c frame->crop.top = 0; top 526 drivers/media/platform/exynos-gsc/gsc-core.c if (s->r.top < 0 || s->r.left < 0) { top 594 drivers/media/platform/exynos-gsc/gsc-core.c if (s->r.top + tmp_h > max_h) top 595 drivers/media/platform/exynos-gsc/gsc-core.c s->r.top = max_h - tmp_h; top 602 drivers/media/platform/exynos-gsc/gsc-core.c s->r.left, s->r.top, s->r.width, s->r.height, max_w, max_h); top 437 drivers/media/platform/exynos-gsc/gsc-m2m.c if (a->left < b->left || a->top < b->top) top 443 drivers/media/platform/exynos-gsc/gsc-m2m.c if (a->top + a->height > b->top + b->height) top 469 drivers/media/platform/exynos-gsc/gsc-m2m.c s->r.top = 0; top 477 drivers/media/platform/exynos-gsc/gsc-m2m.c s->r.top = frame->crop.top; top 128 drivers/media/platform/exynos-gsc/gsc-regs.c cfg |= GSC_SRCIMG_OFFSET_Y(frame->crop.top); top 242 drivers/media/platform/exynos-gsc/gsc-regs.c cfg |= GSC_DSTIMG_OFFSET_Y(frame->crop.top); top 666 drivers/media/platform/exynos4-is/fimc-capture.c r->left = r->top = 0; top 712 drivers/media/platform/exynos4-is/fimc-capture.c r->top = clamp_t(u32, r->top, 0, sink->f_height - r->height); top 716 drivers/media/platform/exynos4-is/fimc-capture.c target, r->left, r->top, r->width, r->height, top 1283 drivers/media/platform/exynos4-is/fimc-capture.c s->r.top = 0; top 1293 drivers/media/platform/exynos4-is/fimc-capture.c s->r.top = f->offs_v; top 1305 drivers/media/platform/exynos4-is/fimc-capture.c if (a->left < b->left || a->top < b->top) top 1309 drivers/media/platform/exynos4-is/fimc-capture.c if (a->top + a->height > b->top + b->height) top 1346 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_crop(f, s->r.left, s->r.top, s->r.width, top 1619 drivers/media/platform/exynos4-is/fimc-capture.c r->top = 0; top 1639 drivers/media/platform/exynos4-is/fimc-capture.c r->top = f->offs_v; top 1645 drivers/media/platform/exynos4-is/fimc-capture.c sel->pad, r->left, r->top, r->width, r->height, top 1686 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_crop(f, r->left, r->top, r->width, r->height); top 1693 drivers/media/platform/exynos4-is/fimc-capture.c dbg("target %#x: (%d,%d)/%dx%d", sel->target, r->left, r->top, top 513 drivers/media/platform/exynos4-is/fimc-core.h u32 left, u32 top, u32 width, u32 height) top 516 drivers/media/platform/exynos4-is/fimc-core.h f->offs_v = top; top 165 drivers/media/platform/exynos4-is/fimc-lite-reg.c cfg |= (f->rect.left << 16) | f->rect.top; top 170 drivers/media/platform/exynos4-is/fimc-lite-reg.c voff2 = f->f_height - f->rect.height - f->rect.top; top 260 drivers/media/platform/exynos4-is/fimc-lite-reg.c cfg |= (f->rect.top << 16) | f->rect.left; top 612 drivers/media/platform/exynos4-is/fimc-lite.c r->top = clamp_t(u32, r->top, 0, frame->f_height - r->height); top 615 drivers/media/platform/exynos4-is/fimc-lite.c r->left, r->top, r->width, r->height, top 632 drivers/media/platform/exynos4-is/fimc-lite.c r->top = clamp_t(u32, r->top, 0, fimc->out_frame.f_height - r->height); top 635 drivers/media/platform/exynos4-is/fimc-lite.c r->left, r->top, r->width, r->height, top 874 drivers/media/platform/exynos4-is/fimc-lite.c if (a->left < b->left || a->top < b->top) top 878 drivers/media/platform/exynos4-is/fimc-lite.c if (a->top + a->height > b->top + b->height) top 897 drivers/media/platform/exynos4-is/fimc-lite.c sel->r.top = 0; top 1118 drivers/media/platform/exynos4-is/fimc-lite.c sink->rect.top = 0; top 1151 drivers/media/platform/exynos4-is/fimc-lite.c sel->r.top = 0; top 1158 drivers/media/platform/exynos4-is/fimc-lite.c __func__, f->rect.left, f->rect.top, f->rect.width, top 1192 drivers/media/platform/exynos4-is/fimc-lite.c __func__, f->rect.left, f->rect.top, f->rect.width, top 1389 drivers/media/platform/exynos4-is/fimc-lite.c sink->rect.top = 0; top 411 drivers/media/platform/exynos4-is/fimc-m2m.c s->r.top = frame->offs_v; top 420 drivers/media/platform/exynos4-is/fimc-m2m.c s->r.top = 0; top 438 drivers/media/platform/exynos4-is/fimc-m2m.c if (s->r.top < 0 || s->r.left < 0) { top 475 drivers/media/platform/exynos4-is/fimc-m2m.c if (s->r.top + s->r.height > f->o_height) top 476 drivers/media/platform/exynos4-is/fimc-m2m.c s->r.top = f->o_height - s->r.height; top 479 drivers/media/platform/exynos4-is/fimc-m2m.c s->r.top = round_down(s->r.top, fimc->variant->hor_offs_align); top 482 drivers/media/platform/exynos4-is/fimc-m2m.c s->r.left, s->r.top, s->r.width, s->r.height, top 519 drivers/media/platform/exynos4-is/fimc-m2m.c f->offs_v = s->r.top; top 468 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c s->r.top = 0; top 475 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c s->r.top = 0; top 494 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c s->r.top = 0; top 287 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c if (r->top < 0 || r->left < 0) { top 343 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c if (r->top + new_h > max_h) top 344 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c r->top = max_h - new_h; top 350 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c r->left, r->top, r->width, top 397 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->crop.top = 0; top 829 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c s->r.top = 0; top 837 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c s->r.top = frame->crop.top; top 75 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_y = frame->crop.top; top 110 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_y = frame->crop.top; top 771 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c s->r.top = 0; top 777 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c s->r.top = 0; top 785 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c s->r.top = 0; top 797 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c s->r.top = 0; top 817 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c s->r.top = 0; top 636 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c s->r.top = 0; top 642 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c s->r.top = 0; top 670 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c s->r.top = 0; top 258 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->top = inst->vsi->crop.top; top 263 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->left, cr->top, cr->width, cr->height); top 106 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c void __iomem *top; top 170 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c inst->reg_base.top = mtk_vcodec_get_reg_addr(inst->ctx, VDEC_TOP); top 187 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c seg_id_addr = readl(inst->reg_base.top + VP8_SEGID_DRAM_ADDR) >> 4; top 208 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c seg_id_addr = readl(inst->reg_base.top + VP8_SEGID_DRAM_ADDR) >> 4; top 561 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c cr->top = 0; top 565 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c cr->left, cr->top, cr->width, cr->height); top 965 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c cr->top = 0; top 969 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c cr->left, cr->top, cr->width, cr->height); top 226 drivers/media/platform/omap/omap_vout.c crop->top + crop->left * ps; top 385 drivers/media/platform/omap/omap_vout.c posx = win->w.top; top 390 drivers/media/platform/omap/omap_vout.c posy = (timing->y_res - win->w.height) - win->w.top; top 396 drivers/media/platform/omap/omap_vout.c posx = (timing->x_res - win->w.height) - win->w.top; top 401 drivers/media/platform/omap/omap_vout.c posy = win->w.top; top 354 drivers/media/platform/omap/omap_vout_vrfb.c ctop = (pix->height - crop->height) - crop->top; top 367 drivers/media/platform/omap/omap_vout_vrfb.c temp_ps * cleft + crop->top * temp_ps; top 370 drivers/media/platform/omap/omap_vout_vrfb.c cleft + crop->top * temp_ps + (line_length * top 406 drivers/media/platform/omap/omap_vout_vrfb.c crop->top + (crop->left / vr_ps) * ps; top 409 drivers/media/platform/omap/omap_vout_vrfb.c crop->top + (crop->left / vr_ps) * ps + top 414 drivers/media/platform/omap/omap_vout_vrfb.c *cropped_offset = (line_length * ps * crop->top) / top 53 drivers/media/platform/omap/omap_voutlib.c crop->top = ((pix->height - crop->height) >> 1) & ~1; top 78 drivers/media/platform/omap/omap_voutlib.c if (try_win.top < 0) { top 79 drivers/media/platform/omap/omap_voutlib.c try_win.height += try_win.top; top 80 drivers/media/platform/omap/omap_voutlib.c try_win.top = 0; top 88 drivers/media/platform/omap/omap_voutlib.c if (try_win.top + try_win.height > fbuf->fmt.height) top 89 drivers/media/platform/omap/omap_voutlib.c try_win.height = fbuf->fmt.height - try_win.top; top 184 drivers/media/platform/omap/omap_voutlib.c if (try_crop.top < 0) { top 185 drivers/media/platform/omap/omap_voutlib.c try_crop.height += try_crop.top; top 186 drivers/media/platform/omap/omap_voutlib.c try_crop.top = 0; top 194 drivers/media/platform/omap/omap_voutlib.c if (try_crop.top + try_crop.height > pix->height) top 195 drivers/media/platform/omap/omap_voutlib.c try_crop.height = pix->height - try_crop.top; top 222 drivers/media/platform/omap/omap_voutlib.c if (win->w.height + win->w.top > fbuf->fmt.height) { top 227 drivers/media/platform/omap/omap_voutlib.c win->w.height = (fbuf->fmt.height - win->w.top) & ~1; top 298 drivers/media/platform/omap/omap_voutlib.c win->w.top = ((fbuf->fmt.height - win->w.height) >> 1) & ~1; top 1242 drivers/media/platform/omap3isp/ispccdc.c isp_reg_writel(isp, (crop->top << ISPCCDC_VERT_START_SLV0_SHIFT) | top 1243 drivers/media/platform/omap3isp/ispccdc.c (crop->top << ISPCCDC_VERT_START_SLV1_SHIFT), top 2082 drivers/media/platform/omap3isp/ispccdc.c crop->top &= ~1; top 2086 drivers/media/platform/omap3isp/ispccdc.c crop->top = clamp_t(u32, crop->top, 0, sink->height - CCDC_MIN_HEIGHT); top 2097 drivers/media/platform/omap3isp/ispccdc.c sink->height - crop->top); top 2232 drivers/media/platform/omap3isp/ispccdc.c sel->r.top = 0; top 2347 drivers/media/platform/omap3isp/ispccdc.c crop->top = 0; top 1068 drivers/media/platform/omap3isp/isppreview.c unsigned int slv = prev->crop.top; top 1069 drivers/media/platform/omap3isp/isppreview.c unsigned int elv = prev->crop.top + prev->crop.height - 1; top 1820 drivers/media/platform/omap3isp/isppreview.c unsigned int top = PREV_MARGIN_TOP; top 1841 drivers/media/platform/omap3isp/isppreview.c top += 2; top 1847 drivers/media/platform/omap3isp/isppreview.c crop->top &= ~1; top 1850 drivers/media/platform/omap3isp/isppreview.c crop->top = clamp_t(u32, crop->top, top, bottom - PREV_MIN_OUT_HEIGHT); top 1854 drivers/media/platform/omap3isp/isppreview.c bottom - crop->top); top 1941 drivers/media/platform/omap3isp/isppreview.c sel->r.top = 0; top 2053 drivers/media/platform/omap3isp/isppreview.c crop->top = 0; top 394 drivers/media/platform/omap3isp/ispresizer.c static void resizer_set_start(struct isp_res_device *res, u32 left, u32 top) top 401 drivers/media/platform/omap3isp/ispresizer.c rgval |= (top << ISPRSZ_IN_START_VERT_ST_SHIFT) top 896 drivers/media/platform/omap3isp/ispresizer.c input->top += (input->height - height) / 2; top 924 drivers/media/platform/omap3isp/ispresizer.c res->crop_offset = (res->crop.active.top * input->width + top 945 drivers/media/platform/omap3isp/ispresizer.c res->crop.active.top); top 1207 drivers/media/platform/omap3isp/ispresizer.c crop->top = clamp_t(u32, crop->top, 0, sink->height - MIN_IN_HEIGHT); top 1209 drivers/media/platform/omap3isp/ispresizer.c sink->height - crop->top); top 1242 drivers/media/platform/omap3isp/ispresizer.c sel->r.top = 0; top 1298 drivers/media/platform/omap3isp/ispresizer.c sel->r.left, sel->r.top, sel->r.width, sel->r.height, top 1316 drivers/media/platform/omap3isp/ispresizer.c sel->r.left, sel->r.top, sel->r.width, sel->r.height, top 1514 drivers/media/platform/omap3isp/ispresizer.c crop->top = 0; top 817 drivers/media/platform/omap3isp/ispvideo.c sel->r.top = 0; top 748 drivers/media/platform/qcom/camss/camss-vfe-4-1.c first = line->crop.top; top 749 drivers/media/platform/qcom/camss/camss-vfe-4-1.c last = line->crop.top + line->crop.height - 1; top 758 drivers/media/platform/qcom/camss/camss-vfe-4-1.c first = line->crop.top; top 759 drivers/media/platform/qcom/camss/camss-vfe-4-1.c last = line->crop.top + line->crop.height - 1; top 761 drivers/media/platform/qcom/camss/camss-vfe-4-1.c first = line->crop.top / 2; top 762 drivers/media/platform/qcom/camss/camss-vfe-4-1.c last = line->crop.top / 2 + line->crop.height / 2 - 1; top 851 drivers/media/platform/qcom/camss/camss-vfe-4-7.c first = line->crop.top; top 852 drivers/media/platform/qcom/camss/camss-vfe-4-7.c last = line->crop.top + line->crop.height - 1; top 861 drivers/media/platform/qcom/camss/camss-vfe-4-7.c first = line->crop.top; top 862 drivers/media/platform/qcom/camss/camss-vfe-4-7.c last = line->crop.top + line->crop.height - 1; top 864 drivers/media/platform/qcom/camss/camss-vfe-4-7.c first = line->crop.top / 2; top 865 drivers/media/platform/qcom/camss/camss-vfe-4-7.c last = line->crop.top / 2 + line->crop.height / 2 - 1; top 1645 drivers/media/platform/qcom/camss/camss-vfe.c if (rect->height + rect->top > compose->height) top 1646 drivers/media/platform/qcom/camss/camss-vfe.c rect->top = compose->height - rect->height; top 1658 drivers/media/platform/qcom/camss/camss-vfe.c rect->top = 0; top 1844 drivers/media/platform/qcom/camss/camss-vfe.c sel->r.top = 0; top 1866 drivers/media/platform/qcom/camss/camss-vfe.c sel->r.top = rect->top; top 75 drivers/media/platform/qcom/venus/hfi.h u32 left, top; top 818 drivers/media/platform/qcom/venus/hfi_helper.h u32 top; top 103 drivers/media/platform/qcom/venus/hfi_msgs.c event.input_crop.top = crop->top; top 364 drivers/media/platform/qcom/venus/vdec.c s->r.top = 0; top 466 drivers/media/platform/qcom/venus/venc.c s->r.top = 0; top 484 drivers/media/platform/qcom/venus/venc.c s->r.top != 0 || s->r.left != 0) top 574 drivers/media/platform/rcar-vin/rcar-dma.c vin->crop.top, ys, xs, vin->format.width, vin->format.height, top 591 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->crop.top / 2, VNSLPRC_REG); top 592 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, (vin->crop.top + vin->crop.height) / 2 - 1, top 596 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->crop.top, VNSLPRC_REG); top 597 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->crop.top + vin->crop.height - 1, top 815 drivers/media/platform/rcar-vin/rcar-dma.c offsety = vin->compose.top * vin->format.bytesperline; top 169 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->source.top = 0; top 216 drivers/media/platform/rcar-vin/rcar-v4l2.c crop->top = 0; top 238 drivers/media/platform/rcar-vin/rcar-v4l2.c compose->top = 0; top 325 drivers/media/platform/rcar-vin/rcar-v4l2.c s->r.left = s->r.top = 0; top 334 drivers/media/platform/rcar-vin/rcar-v4l2.c s->r.left = s->r.top = 0; top 368 drivers/media/platform/rcar-vin/rcar-v4l2.c max_rect.top = max_rect.left = 0; top 376 drivers/media/platform/rcar-vin/rcar-v4l2.c r.top = clamp_t(s32, r.top, 0, vin->source.height - r.height); top 382 drivers/media/platform/rcar-vin/rcar-v4l2.c r.width, r.height, r.left, r.top, top 387 drivers/media/platform/rcar-vin/rcar-v4l2.c max_rect.top = max_rect.left = 0; top 397 drivers/media/platform/rcar-vin/rcar-v4l2.c while ((r.top * vin->format.bytesperline) & HW_BUFFER_MASK) top 398 drivers/media/platform/rcar-vin/rcar-v4l2.c r.top--; top 407 drivers/media/platform/rcar-vin/rcar-v4l2.c r.width, r.height, r.left, r.top, top 714 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->crop.top = 0; top 183 drivers/media/platform/rockchip/rga/rga-hw.c src_y = ctx->in.crop.top; top 187 drivers/media/platform/rockchip/rga/rga-hw.c dst_y = ctx->out.crop.top; top 352 drivers/media/platform/rockchip/rga/rga.c .crop.top = 0, top 554 drivers/media/platform/rockchip/rga/rga.c frm->crop.top = 0; top 601 drivers/media/platform/rockchip/rga/rga.c s->r.top = 0; top 646 drivers/media/platform/rockchip/rga/rga.c if (s->r.top < 0 || s->r.left < 0) { top 653 drivers/media/platform/rockchip/rga/rga.c s->r.top + s->r.height > f->height || top 57 drivers/media/platform/s3c-camif/camif-capture.c f->dma_offset.initial = f->rect.top * f->f_width + f->rect.left; top 793 drivers/media/platform/s3c-camif/camif-capture.c out_frame->rect.top = 0; top 989 drivers/media/platform/s3c-camif/camif-capture.c sel->r.top = 0; top 1036 drivers/media/platform/s3c-camif/camif-capture.c sel->r.left, sel->r.top, sel->r.width, sel->r.height); top 1322 drivers/media/platform/s3c-camif/camif-capture.c crop->top = 0; top 1373 drivers/media/platform/s3c-camif/camif-capture.c sel->r.top = 0; top 1379 drivers/media/platform/s3c-camif/camif-capture.c __func__, crop->left, crop->top, crop->width, top 1390 drivers/media/platform/s3c-camif/camif-capture.c unsigned int top = 2 * r->top; top 1405 drivers/media/platform/s3c-camif/camif-capture.c &top, 0, mf->height - r->height, 2, 0); top 1408 drivers/media/platform/s3c-camif/camif-capture.c r->top = top / 2; top 1410 drivers/media/platform/s3c-camif/camif-capture.c r->height = mf->height - top; top 1431 drivers/media/platform/s3c-camif/camif-capture.c r->left, r->top, r->width, r->height, mf->width, mf->height); top 1471 drivers/media/platform/s3c-camif/camif-capture.c __func__, crop->left, crop->top, crop->width, crop->height, top 138 drivers/media/platform/s3c-camif/camif-regs.c cfg |= (crop->left << 16) | crop->top; top 139 drivers/media/platform/s3c-camif/camif-regs.c if (crop->left != 0 || crop->top != 0) top 145 drivers/media/platform/s3c-camif/camif-regs.c voff2 = mf->height - crop->height - crop->top; top 428 drivers/media/platform/s5p-g2d/g2d.c s->r.top = f->o_width; top 437 drivers/media/platform/s5p-g2d/g2d.c s->r.top = 0; top 466 drivers/media/platform/s5p-g2d/g2d.c if (s->r.top < 0 || s->r.left < 0) { top 492 drivers/media/platform/s5p-g2d/g2d.c f->o_height = s->r.top; top 1732 drivers/media/platform/s5p-jpeg/jpeg-core.c ctx->crop_rect.top = 0; top 1742 drivers/media/platform/s5p-jpeg/jpeg-core.c if (a->left < b->left || a->top < b->top) top 1746 drivers/media/platform/s5p-jpeg/jpeg-core.c if (a->top + a->height > b->top + b->height) top 1774 drivers/media/platform/s5p-jpeg/jpeg-core.c base_rect.top = 0; top 1782 drivers/media/platform/s5p-jpeg/jpeg-core.c r->top = round_down(r->top, 2); top 1788 drivers/media/platform/s5p-jpeg/jpeg-core.c ctx->crop_rect.top = r->top; top 1819 drivers/media/platform/s5p-jpeg/jpeg-core.c s->r.top = 0; top 1827 drivers/media/platform/s5p-jpeg/jpeg-core.c s->r.top = ctx->crop_rect.top; top 2386 drivers/media/platform/s5p-jpeg/jpeg-core.c ctx->crop_rect.top); top 754 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c u32 left, right, top, bottom; top 771 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c top = s5p_mfc_hw_call(dev->mfc_ops, get_crop_info_v, ctx); top 772 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c bottom = top >> S5P_FIMV_SHARED_CROP_BOTTOM_SHIFT; top 773 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c top = top & S5P_FIMV_SHARED_CROP_TOP_MASK; top 775 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c height = ctx->img_height - top - bottom; top 777 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c left, top, s->r.width, s->r.height, right, bottom, top 781 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c top = 0; top 794 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c s->r.top = top; top 509 drivers/media/platform/sh_veu.c unsigned int top = vfmt->frame.top; top 510 drivers/media/platform/sh_veu.c dma_addr_t offset = (dma_addr_t)top * veu->vfmt_out.bytesperline + top 437 drivers/media/platform/sh_vou.c frame_out_top = rect->top / 2; top 644 drivers/media/platform/sh_vou.c if (geo->output.top + best > height_max) top 645 drivers/media/platform/sh_vou.c geo->output.top = height_max - best; top 834 drivers/media/platform/sh_vou.c vou_dev->rect.top = vou_dev->rect.left = 0; top 909 drivers/media/platform/sh_vou.c sel->r.top = 0; top 964 drivers/media/platform/sh_vou.c if (rect->height + rect->top > img_height_max) top 965 drivers/media/platform/sh_vou.c rect->top = img_height_max - rect->height; top 1252 drivers/media/platform/sh_vou.c rect->top = 0; top 460 drivers/media/platform/sti/bdisp/bdisp-debug.c src.crop.left, src.crop.top, top 462 drivers/media/platform/sti/bdisp/bdisp-debug.c dst.crop.left, dst.crop.top); top 842 drivers/media/platform/sti/bdisp/bdisp-hw.c dst_rect.top /= 2; top 847 drivers/media/platform/sti/bdisp/bdisp-hw.c node->txy = cfg->vflip ? (dst_rect.height - 1) : dst_rect.top; top 856 drivers/media/platform/sti/bdisp/bdisp-hw.c src_rect.top /= 2; top 870 drivers/media/platform/sti/bdisp/bdisp-hw.c node->s2xy = src_rect.top << 16 | src_rect.left; top 876 drivers/media/platform/sti/bdisp/bdisp-hw.c src_rect.top /= 2; top 892 drivers/media/platform/sti/bdisp/bdisp-hw.c node->s2xy = src_rect.top << 16 | src_rect.left; top 833 drivers/media/platform/sti/bdisp/bdisp-v4l2.c frame->crop.top = 0; top 866 drivers/media/platform/sti/bdisp/bdisp-v4l2.c s->r.top = 0; top 887 drivers/media/platform/sti/bdisp/bdisp-v4l2.c s->r.top = 0; top 909 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if (a->left < b->left || a->top < b->top) top 915 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if (a->top + a->height > b->top + b->height) top 953 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.top = ALIGN(in->top, frame->fmt->h_align); top 956 drivers/media/platform/sti/bdisp/bdisp-v4l2.c (out.top < 0) || (out.top >= frame->height)) { top 959 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.width, out.height, out.left, out.top, top 969 drivers/media/platform/sti/bdisp/bdisp-v4l2.c ((out.top + out.height) > frame->height)) { top 972 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.width, out.height, out.left, out.top, top 984 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if ((out.left != in->left) || (out.top != in->top) || top 988 drivers/media/platform/sti/bdisp/bdisp-v4l2.c __func__, in->width, in->height, in->left, in->top, top 989 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.width, out.height, out.left, out.top); top 26 drivers/media/platform/sti/delta/delta-debug.c s->crop.left, s->crop.top, top 47 drivers/media/platform/sti/delta/delta-debug.c f->crop.left, f->crop.top, top 737 drivers/media/platform/sti/delta/delta-v4l2.c crop.top = 0; top 752 drivers/media/platform/sti/delta/delta-v4l2.c s->r.top = 0; top 393 drivers/media/platform/stm32/stm32-dcmi.c start = ((dcmi->crop.top) << 16) | top 399 drivers/media/platform/stm32/stm32-dcmi.c dcmi->crop.left, dcmi->crop.top); top 1025 drivers/media/platform/stm32/stm32-dcmi.c max_rect.top = 0; top 1030 drivers/media/platform/stm32/stm32-dcmi.c c.top = clamp_t(s32, c.top, 0, pix->height - c.height); top 1216 drivers/media/platform/stm32/stm32-dcmi.c r->top = 0; top 1231 drivers/media/platform/stm32/stm32-dcmi.c r->top = 0; top 1256 drivers/media/platform/stm32/stm32-dcmi.c s->r.top = 0; top 1292 drivers/media/platform/stm32/stm32-dcmi.c max_rect.top = 0; top 1297 drivers/media/platform/stm32/stm32-dcmi.c r.top = clamp_t(s32, r.top, 0, pix.height - r.height); top 1300 drivers/media/platform/stm32/stm32-dcmi.c if (!(r.top == dcmi->sd_bounds.top && top 1308 drivers/media/platform/stm32/stm32-dcmi.c r.width, r.height, r.left, r.top, top 830 drivers/media/platform/ti-vpe/vpdma.c rect.top >>= 1; top 834 drivers/media/platform/ti-vpe/vpdma.c dma_addr += rect.top * stride + (rect.left * depth >> 3); top 898 drivers/media/platform/ti-vpe/vpdma.c rect.top >>= 1; top 902 drivers/media/platform/ti-vpe/vpdma.c dma_addr += rect.top * stride + (rect.left * depth >> 3); top 1745 drivers/media/platform/ti-vpe/vpe.c q_data->c_rect.top = 0; top 1838 drivers/media/platform/ti-vpe/vpe.c if (s->r.top < 0 || s->r.left < 0) { top 1840 drivers/media/platform/ti-vpe/vpe.c s->r.top = s->r.left = 0; top 1849 drivers/media/platform/ti-vpe/vpe.c if (s->r.top + s->r.height > q_data->height) top 1850 drivers/media/platform/ti-vpe/vpe.c s->r.top = q_data->height - s->r.height; top 1907 drivers/media/platform/ti-vpe/vpe.c s->r.top = 0; top 1933 drivers/media/platform/ti-vpe/vpe.c (q_data->c_rect.top == sel.r.top) && top 2306 drivers/media/platform/ti-vpe/vpe.c s_q_data->c_rect.top = 0; top 1163 drivers/media/platform/vicodec/vicodec-core.c s->r.top = 0; top 1170 drivers/media/platform/vicodec/vicodec-core.c s->r.top = 0; top 1179 drivers/media/platform/vicodec/vicodec-core.c s->r.top = 0; top 1186 drivers/media/platform/vicodec/vicodec-core.c s->r.top = 0; top 1212 drivers/media/platform/vicodec/vicodec-core.c s->r.top = 0; top 55 drivers/media/platform/vivid/vivid-kthread-cap.c int top = dev->overlay_out_top; top 57 drivers/media/platform/vivid/vivid-kthread-cap.c int fb_y = win_y + top; top 67 drivers/media/platform/vivid/vivid-kthread-cap.c win_y -= dev->compose_out.top; top 75 drivers/media/platform/vivid/vivid-kthread-cap.c if (fb_y >= r->top && fb_y < r->top + r->height && top 181 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_out.top += dev->crop_out.top; top 189 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_copy.left, dev->loop_vid_copy.top, top 191 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_out.left, dev->loop_vid_out.top, top 193 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_cap.left, dev->loop_vid_cap.top); top 199 drivers/media/platform/vivid/vivid-kthread-cap.c r_overlay.top += dev->compose_out.top - dev->overlay_out_top; top 206 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_fb_copy.top -= dev->compose_out.top - dev->overlay_out_top; top 214 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_fb_copy.left, dev->loop_fb_copy.top, top 216 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_overlay.left, dev->loop_vid_overlay.top, top 218 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_overlay_cap.left, dev->loop_vid_overlay_cap.top); top 282 drivers/media/platform/vivid/vivid-kthread-cap.c (dev->loop_vid_out.top / vdiv) * stride_out; top 284 drivers/media/platform/vivid/vivid-kthread-cap.c (dev->compose_cap.top / vdiv) * stride_cap; top 300 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_fb_copy.top * stride_osd; top 314 drivers/media/platform/vivid/vivid-kthread-cap.c bool osdline = vosdbuf && y >= dev->loop_vid_overlay_cap.top && top 315 drivers/media/platform/vivid/vivid-kthread-cap.c y < dev->loop_vid_overlay_cap.top + dev->loop_vid_overlay_cap.height; top 321 drivers/media/platform/vivid/vivid-kthread-cap.c if (y < dev->loop_vid_cap.top || top 322 drivers/media/platform/vivid/vivid-kthread-cap.c y >= dev->loop_vid_cap.top + dev->loop_vid_cap.height) { top 366 drivers/media/platform/vivid/vivid-kthread-cap.c blend_line(dev, vid_overlay_y + dev->loop_vid_overlay.top, top 580 drivers/media/platform/vivid/vivid-kthread-cap.c if (fb_y >= r->top && fb_y < r->top + r->height && top 615 drivers/media/platform/vivid/vivid-kthread-cap.c vbuf += dev->compose_cap.left * pixsize + dev->compose_cap.top * stride; top 282 drivers/media/platform/vivid/vivid-osd.c start_window.top = 0; top 296 drivers/media/platform/vivid/vivid-osd.c dev->fb_defined.upper_margin = start_window.top + 1; top 732 drivers/media/platform/vivid/vivid-vid-cap.c compose->top *= factor; top 736 drivers/media/platform/vivid/vivid-vid-cap.c compose->top /= factor; top 847 drivers/media/platform/vivid/vivid-vid-cap.c sel->r.left = sel->r.top = 0; top 906 drivers/media/platform/vivid/vivid-vid-cap.c s->r.top /= factor; top 953 drivers/media/platform/vivid/vivid-vid-cap.c s->r.top *= factor; top 990 drivers/media/platform/vivid/vivid-vid-cap.c s->r.top *= factor; top 995 drivers/media/platform/vivid/vivid-vid-cap.c s->r.top /= factor; top 1069 drivers/media/platform/vivid/vivid-vid-cap.c win->w.top = dev->overlay_cap_top; top 1105 drivers/media/platform/vivid/vivid-vid-cap.c win->w.top = clamp_t(int, win->w.top, top 1124 drivers/media/platform/vivid/vivid-vid-cap.c r->top = clamp_t(s32, r->top, 0, dev->fb_cap.fmt.height - 1); top 1125 drivers/media/platform/vivid/vivid-vid-cap.c r->height = clamp_t(s32, r->height, 1, dev->fb_cap.fmt.height - r->top); top 1175 drivers/media/platform/vivid/vivid-vid-cap.c dev->overlay_cap_top = win->w.top; top 890 drivers/media/platform/vivid/vivid-vid-common.c if (r->top < 0) top 891 drivers/media/platform/vivid/vivid-vid-common.c r->top = 0; top 896 drivers/media/platform/vivid/vivid-vid-common.c r->top &= 0xfffe; top 899 drivers/media/platform/vivid/vivid-vid-common.c if (r->top + h > MAX_HEIGHT) top 900 drivers/media/platform/vivid/vivid-vid-common.c r->top = MAX_HEIGHT - h; top 536 drivers/media/platform/vivid/vivid-vid-out.c crop->top *= factor; top 540 drivers/media/platform/vivid/vivid-vid-out.c crop->top /= factor; top 645 drivers/media/platform/vivid/vivid-vid-out.c sel->r.left = sel->r.top = 0; top 726 drivers/media/platform/vivid/vivid-vid-out.c s->r.top *= factor; top 731 drivers/media/platform/vivid/vivid-vid-out.c s->r.top /= factor; top 749 drivers/media/platform/vivid/vivid-vid-out.c s->r.top /= factor; top 794 drivers/media/platform/vivid/vivid-vid-out.c s->r.top *= factor; top 843 drivers/media/platform/vivid/vivid-vid-out.c win->w.top = dev->overlay_out_top; top 880 drivers/media/platform/vivid/vivid-vid-out.c win->w.top = clamp_t(int, win->w.top, top 900 drivers/media/platform/vivid/vivid-vid-out.c r->top = clamp_t(s32, r->top, 0, dev->display_height - 1); top 901 drivers/media/platform/vivid/vivid-vid-out.c r->height = clamp_t(s32, r->height, 1, dev->display_height - r->top); top 951 drivers/media/platform/vivid/vivid-vid-out.c dev->overlay_out_top = win->w.top; top 162 drivers/media/platform/vsp1/vsp1_brx.c compose->top = 0; top 196 drivers/media/platform/vsp1/vsp1_brx.c sel->r.top = 0; top 248 drivers/media/platform/vsp1/vsp1_brx.c sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); top 136 drivers/media/platform/vsp1/vsp1_drm.c format.format.height = crop->height + crop->top; top 163 drivers/media/platform/vsp1/vsp1_drm.c __func__, sel.r.left, sel.r.top, sel.r.width, sel.r.height, top 217 drivers/media/platform/vsp1/vsp1_drm.c __func__, sel.r.left, sel.r.top, sel.r.width, sel.r.height, top 835 drivers/media/platform/vsp1/vsp1_drm.c cfg->src.left, cfg->src.top, cfg->src.width, cfg->src.height, top 836 drivers/media/platform/vsp1/vsp1_drm.c cfg->dst.left, cfg->dst.top, cfg->dst.width, cfg->dst.height, top 412 drivers/media/platform/vsp1/vsp1_entity.c selection->top = 0; top 419 drivers/media/platform/vsp1/vsp1_entity.c selection->top = 0; top 153 drivers/media/platform/vsp1/vsp1_hgo.c (crop->top << VI6_HGO_OFFSET_VOFFSET_SHIFT)); top 152 drivers/media/platform/vsp1/vsp1_hgt.c (crop->top << VI6_HGT_OFFSET_VOFFSET_SHIFT)); top 227 drivers/media/platform/vsp1/vsp1_histo.c sel->r.top = 0; top 237 drivers/media/platform/vsp1/vsp1_histo.c sel->r.top = 0; top 270 drivers/media/platform/vsp1/vsp1_histo.c sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); top 274 drivers/media/platform/vsp1/vsp1_histo.c format->height - sel->r.top); top 304 drivers/media/platform/vsp1/vsp1_histo.c sel->r.top = 0; top 69 drivers/media/platform/vsp1/vsp1_rpf.c unsigned int top = 0; top 121 drivers/media/platform/vsp1/vsp1_rpf.c top = compose->top; top 125 drivers/media/platform/vsp1/vsp1_rpf.c top /= 2; top 129 drivers/media/platform/vsp1/vsp1_rpf.c (top << VI6_RPF_LOC_VCOORD_SHIFT)); top 280 drivers/media/platform/vsp1/vsp1_rpf.c crop.top = round_down(crop.top / 2, fmtinfo->vsub); top 290 drivers/media/platform/vsp1/vsp1_rpf.c mem.addr[0] += crop.top * format->plane_fmt[0].bytesperline top 296 drivers/media/platform/vsp1/vsp1_rpf.c offset = crop.top * format->plane_fmt[1].bytesperline top 110 drivers/media/platform/vsp1/vsp1_rwpf.c crop->top = 0; top 163 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.top = 0; top 216 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.top = ALIGN(sel->r.top, 2); top 222 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); top 226 drivers/media/platform/vsp1/vsp1_rwpf.c format->height - sel->r.top); top 109 drivers/media/platform/vsp1/vsp1_uif.c sel->r.top = 0; top 155 drivers/media/platform/vsp1/vsp1_uif.c sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); top 159 drivers/media/platform/vsp1/vsp1_uif.c format->height - sel->r.top); top 219 drivers/media/platform/vsp1/vsp1_uif.c vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSPYR, crop->top); top 3972 drivers/media/tuners/mxl5005s.c c->top, top 89 drivers/media/tuners/mxl5005s.h u32 top; top 1632 drivers/media/usb/au0828/au0828-video.c s->r.top = 0; top 461 drivers/media/usb/cpia2/cpia2_v4l.c s->r.top = 0; top 1524 drivers/media/usb/cx231xx/cx231xx-417.c s->r.top = 0; top 1501 drivers/media/usb/cx231xx/cx231xx-video.c s->r.top = 0; top 959 drivers/media/usb/dvb-usb-v2/af9015.c .top = MXL5005S_TOP_25P2, top 976 drivers/media/usb/dvb-usb-v2/af9015.c .top = MXL5005S_TOP_25P2, top 190 drivers/media/usb/dvb-usb-v2/ce6230.c .top = MXL5005S_TOP_25P2, top 283 drivers/media/usb/dvb-usb-v2/ec168.c .top = MXL5005S_TOP_25P2, top 1108 drivers/media/usb/dvb-usb-v2/rtl28xxu.c .top = MXL5005S_TOP_25P2, top 671 drivers/media/usb/dvb-usb/cxusb.c .top = MXL5005S_TOP_25P2, top 689 drivers/media/usb/dvb-usb/cxusb.c .top = MXL5005S_TOP_25P2, top 130 drivers/media/usb/gspca/mars.c static void setilluminators(struct gspca_dev *gspca_dev, bool top, bool bottom) top 134 drivers/media/usb/gspca/mars.c if (top) top 63 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c int left, top; top 298 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c + hdcs->array.top; top 303 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c y = hdcs->array.top + (hdcs->array.height - height) / 2; top 376 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.top = 8; top 438 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.top = 4; top 464 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_cropt_min_get(struct pvr2_ctrl *cptr, int *top) top 471 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *top = cap->bounds.top; top 475 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_cropt_max_get(struct pvr2_ctrl *cptr, int *top) top 482 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *top = cap->bounds.top; top 484 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *top += cap->bounds.height - cptr->hdw->croph_val; top 514 drivers/media/usb/pvrusb2/pvrusb2-hdw.c btopend = cap->bounds.top+cap->bounds.height; top 539 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *val = cap->bounds.top; top 583 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *val = cap->defrect.top; top 726 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c sel->r.top = val; top 769 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c sel->r.top); top 1132 drivers/media/usb/uvc/uvc_v4l2.c sel->r.top = 0; top 330 drivers/media/v4l2-core/v4l2-ioctl.c win->w.width, win->w.height, win->w.left, win->w.top, top 613 drivers/media/v4l2-core/v4l2-ioctl.c p->bounds.left, p->bounds.top, top 615 drivers/media/v4l2-core/v4l2-ioctl.c p->defrect.left, p->defrect.top, top 626 drivers/media/v4l2-core/v4l2-ioctl.c p->c.left, p->c.top); top 636 drivers/media/v4l2-core/v4l2-ioctl.c p->r.width, p->r.height, p->r.left, p->r.top); top 54 drivers/mfd/exynos-lpass.c struct regmap *top; top 62 drivers/mfd/exynos-lpass.c regmap_read(lpass->top, SFR_LPASS_CORE_SW_RESET, &val); top 65 drivers/mfd/exynos-lpass.c regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); top 70 drivers/mfd/exynos-lpass.c regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); top 78 drivers/mfd/exynos-lpass.c regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, top 81 drivers/mfd/exynos-lpass.c regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, top 94 drivers/mfd/exynos-lpass.c regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, 0); top 95 drivers/mfd/exynos-lpass.c regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, 0); top 128 drivers/mfd/exynos-lpass.c lpass->top = regmap_init_mmio(dev, base_top, top 130 drivers/mfd/exynos-lpass.c if (IS_ERR(lpass->top)) { top 132 drivers/mfd/exynos-lpass.c return PTR_ERR(lpass->top); top 151 drivers/mfd/exynos-lpass.c regmap_exit(lpass->top); top 1011 drivers/misc/altera-stapl/altera.c s32 top = stack[stack_ptr - 3]; top 1025 drivers/misc/altera-stapl/altera.c pc = top + code_sect; top 647 drivers/net/can/kvaser_pciefd.c u8 top; top 653 drivers/net/can/kvaser_pciefd.c top = (pwm_ctrl >> KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT) & 0xff; top 656 drivers/net/can/kvaser_pciefd.c pwm_ctrl |= top; top 663 drivers/net/can/kvaser_pciefd.c int top, trigger; top 671 drivers/net/can/kvaser_pciefd.c top = can->kv_pcie->bus_freq / (2 * 500000) - 1; top 673 drivers/net/can/kvaser_pciefd.c pwm_ctrl = top & 0xff; top 674 drivers/net/can/kvaser_pciefd.c pwm_ctrl |= (top & 0xff) << KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT; top 678 drivers/net/can/kvaser_pciefd.c trigger = (100 * top - 95 * (top + 1) + 50) / 100; top 680 drivers/net/can/kvaser_pciefd.c pwm_ctrl |= (top & 0xff) << KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT; top 68 drivers/net/dsa/sja1105/sja1105_main.c .top = {0x3F, 0x7F, 0xBF, 0xFF, 0x13F, 0x17F, 0x1BF, 0x1FF}, top 321 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->top[i], top 355 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->top[i], top 238 drivers/net/dsa/sja1105/sja1105_static_config.h u64 top[8]; top 278 drivers/net/ethernet/cadence/macb_main.c u16 top; top 282 drivers/net/ethernet/cadence/macb_main.c top = cpu_to_le16(*((u16 *)(bp->dev->dev_addr + 4))); top 283 drivers/net/ethernet/cadence/macb_main.c macb_or_gem_writel(bp, SA1T, top); top 297 drivers/net/ethernet/cadence/macb_main.c u16 top; top 304 drivers/net/ethernet/cadence/macb_main.c top = macb_or_gem_readl(bp, SA1T + i * 8); top 310 drivers/net/ethernet/cadence/macb_main.c addr[4] = top & 0xff; top 311 drivers/net/ethernet/cadence/macb_main.c addr[5] = (top >> 8) & 0xff; top 182 drivers/net/ethernet/ibm/ehea/ehea.h struct ehea_top_bmap *top[EHEA_MAP_ENTRIES]; top 552 drivers/net/ethernet/ibm/ehea/ehea_qmr.c static inline int ehea_init_bmap(struct ehea_bmap *ehea_bmap, int top, int dir) top 554 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]) { top 555 drivers/net/ethernet/ibm/ehea/ehea_qmr.c ehea_bmap->top[top] = top 557 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]) top 560 drivers/net/ethernet/ibm/ehea/ehea_qmr.c return ehea_init_top_bmap(ehea_bmap->top[top], dir); top 572 drivers/net/ethernet/ibm/ehea/ehea_qmr.c int top, dir, idx; top 574 drivers/net/ethernet/ibm/ehea/ehea_qmr.c for (top = 0; top < EHEA_MAP_ENTRIES; top++) { top 578 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]) top 580 drivers/net/ethernet/ibm/ehea/ehea_qmr.c ehea_top = ehea_bmap->top[top]; top 602 drivers/net/ethernet/ibm/ehea/ehea_qmr.c ehea_bmap->top[top] = NULL; top 626 drivers/net/ethernet/ibm/ehea/ehea_qmr.c int top = ehea_calc_index(i, EHEA_TOP_INDEX_SHIFT); top 631 drivers/net/ethernet/ibm/ehea/ehea_qmr.c int ret = ehea_init_bmap(ehea_bmap, top, dir); top 637 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]) top 639 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]->dir[dir]) top 645 drivers/net/ethernet/ibm/ehea/ehea_qmr.c ehea_bmap->top[top]->dir[dir]->ent[idx] = flag; top 735 drivers/net/ethernet/ibm/ehea/ehea_qmr.c int top, dir; top 740 drivers/net/ethernet/ibm/ehea/ehea_qmr.c for (top = 0; top < EHEA_MAP_ENTRIES; top++) { top 741 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]) top 745 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]->dir[dir]) top 748 drivers/net/ethernet/ibm/ehea/ehea_qmr.c kfree(ehea_bmap->top[top]->dir[dir]); top 751 drivers/net/ethernet/ibm/ehea/ehea_qmr.c kfree(ehea_bmap->top[top]); top 762 drivers/net/ethernet/ibm/ehea/ehea_qmr.c int top, dir, idx; top 769 drivers/net/ethernet/ibm/ehea/ehea_qmr.c top = (index >> EHEA_TOP_INDEX_SHIFT) & EHEA_INDEX_MASK; top 770 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]) top 774 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]->dir[dir]) top 778 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]->dir[dir]->ent[idx]) top 782 drivers/net/ethernet/ibm/ehea/ehea_qmr.c return ehea_bmap->top[top]->dir[dir]->ent[idx] | offset; top 785 drivers/net/ethernet/ibm/ehea/ehea_qmr.c static inline void *ehea_calc_sectbase(int top, int dir, int idx) top 789 drivers/net/ethernet/ibm/ehea/ehea_qmr.c ret |= top << EHEA_TOP_INDEX_SHIFT; top 793 drivers/net/ethernet/ibm/ehea/ehea_qmr.c static u64 ehea_reg_mr_section(int top, int dir, int idx, u64 *pt, top 802 drivers/net/ethernet/ibm/ehea/ehea_qmr.c void *sectbase = ehea_calc_sectbase(top, dir, idx); top 824 drivers/net/ethernet/ibm/ehea/ehea_qmr.c static u64 ehea_reg_mr_sections(int top, int dir, u64 *pt, top 832 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]->dir[dir]->ent[idx]) top 835 drivers/net/ethernet/ibm/ehea/ehea_qmr.c hret = ehea_reg_mr_section(top, dir, idx, pt, adapter, mr); top 842 drivers/net/ethernet/ibm/ehea/ehea_qmr.c static u64 ehea_reg_mr_dir_sections(int top, u64 *pt, top 850 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]->dir[dir]) top 853 drivers/net/ethernet/ibm/ehea/ehea_qmr.c hret = ehea_reg_mr_sections(top, dir, pt, adapter, mr); top 867 drivers/net/ethernet/ibm/ehea/ehea_qmr.c unsigned long top; top 893 drivers/net/ethernet/ibm/ehea/ehea_qmr.c for (top = 0; top < EHEA_MAP_ENTRIES; top++) { top 894 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (!ehea_bmap->top[top]) top 897 drivers/net/ethernet/ibm/ehea/ehea_qmr.c hret = ehea_reg_mr_dir_sections(top, pt, adapter, mr); top 52 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) top 62 drivers/net/ethernet/mellanox/mlx4/alloc.c obj |= bitmap->top; top 122 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) top 135 drivers/net/ethernet/mellanox/mlx4/alloc.c obj |= bitmap->top; top 165 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) top 181 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap->top = 0; top 241 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 top; top 935 drivers/net/ethernet/tehuti/tehuti.c db->top = nelem; top 946 drivers/net/ethernet/tehuti/tehuti.c BDX_ASSERT(db->top <= 0); top 947 drivers/net/ethernet/tehuti/tehuti.c return db->stack[--(db->top)]; top 958 drivers/net/ethernet/tehuti/tehuti.c return db->top; top 964 drivers/net/ethernet/tehuti/tehuti.c db->stack[(db->top)++] = n; top 180 drivers/net/ethernet/tehuti/tehuti.h int top; top 1179 drivers/net/fddi/skfp/smt.c int top ; top 1186 drivers/net/fddi/skfp/smt.c top = 0 ; top 1188 drivers/net/fddi/skfp/smt.c top |= SMT_ST_WRAPPED ; /* state wrapped */ top 1192 drivers/net/fddi/skfp/smt.c top |= SMT_ST_UNATTACHED ; /* unattached concentrator */ top 1196 drivers/net/fddi/skfp/smt.c top |= SMT_ST_TWISTED_A ; /* twisted cable */ top 1199 drivers/net/fddi/skfp/smt.c top |= SMT_ST_TWISTED_B ; /* twisted cable */ top 1202 drivers/net/fddi/skfp/smt.c top |= SMT_ST_SRF ; top 1205 drivers/net/fddi/skfp/smt.c top |= SMT_ST_ROOTED_S ; top 1207 drivers/net/fddi/skfp/smt.c top |= SMT_ST_SYNC_SERVICE ; top 1208 drivers/net/fddi/skfp/smt.c state->st_topology = top ; top 1259 drivers/net/wimax/i2400m/fw.c const void *itr, *next, *top; top 1262 drivers/net/wimax/i2400m/fw.c for (itr = bcf, top = itr + bcf_size; top 1263 drivers/net/wimax/i2400m/fw.c itr < top; top 1267 drivers/net/wimax/i2400m/fw.c leftover = top - itr; top 195 drivers/net/wireless/intersil/hostap/hostap_common.h __le16 top; top 378 drivers/pci/bus.c void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), top 386 drivers/pci/bus.c bus = top; top 388 drivers/pci/bus.c next = top->devices.next; top 392 drivers/pci/bus.c if (bus == top) top 48 drivers/scsi/mvumi.c st->top = size; top 55 drivers/scsi/mvumi.c BUG_ON(st->top <= 0); top 56 drivers/scsi/mvumi.c return st->stack[--st->top]; top 62 drivers/scsi/mvumi.c BUG_ON(st->top >= st->size); top 63 drivers/scsi/mvumi.c st->stack[st->top++] = tag; top 68 drivers/scsi/mvumi.c if (st->top == 0) top 462 drivers/scsi/mvumi.h unsigned short top; top 1634 drivers/scsi/qla2xxx/qla_mbx.c uint8_t *area, uint8_t *domain, uint16_t *top, uint16_t *sw_cap) top 1666 drivers/scsi/qla2xxx/qla_mbx.c *top = mcp->mb[6]; top 619 drivers/scsi/scsi_devinfo.c struct list_head *top; top 627 drivers/scsi/scsi_devinfo.c list_entry(dl->top, struct scsi_dev_info_list_table, node); top 649 drivers/scsi/scsi_devinfo.c list_for_each(dl->top, &scsi_dev_info_list) { top 651 drivers/scsi/scsi_devinfo.c list_entry(dl->top, struct scsi_dev_info_list_table, top 666 drivers/scsi/scsi_devinfo.c list_entry(dl->top, struct scsi_dev_info_list_table, node); top 671 drivers/scsi/scsi_devinfo.c dl->top = dl->top->next; top 672 drivers/scsi/scsi_devinfo.c if (dl->top == &scsi_dev_info_list) { top 676 drivers/scsi/scsi_devinfo.c devinfo_table = list_entry(dl->top, top 389 drivers/staging/media/imx/imx-ic-prpencvf.c image.rect.top = 1; top 255 drivers/staging/media/imx/imx-media-capture.c compose->top = 0; top 350 drivers/staging/media/imx/imx-media-capture.c s->r.top = 0; top 267 drivers/staging/media/imx/imx-media-csc-scaler.c q_data->rect.top = 0; top 323 drivers/staging/media/imx/imx-media-csc-scaler.c s->r.top = 0; top 370 drivers/staging/media/imx/imx-media-csc-scaler.c s->r.top = clamp_t(unsigned int, s->r.top, 0, top 516 drivers/staging/media/imx/imx-media-csi.c image.rect.top = 1; top 1215 drivers/staging/media/imx/imx-media-csi.c crop->top = (in_height == 480) ? 2 : 0; top 1218 drivers/staging/media/imx/imx-media-csi.c if (crop->top + crop->height > in_height) top 1219 drivers/staging/media/imx/imx-media-csi.c crop->top = in_height - crop->height; top 1483 drivers/staging/media/imx/imx-media-csi.c crop->top = 0; top 1490 drivers/staging/media/imx/imx-media-csi.c compose->top = 0; top 1588 drivers/staging/media/imx/imx-media-csi.c sel->r.top = 0; top 1599 drivers/staging/media/imx/imx-media-csi.c sel->r.top = 0; top 1697 drivers/staging/media/imx/imx-media-csi.c sel->r.top = 0; top 1788 drivers/staging/media/ipu3/ipu3-css.c r[i].top = 0; top 26 drivers/staging/media/ipu3/ipu3-v4l2.c .top = 0, top 695 drivers/staging/media/omap4iss/iss_video.c sel->r.top = 0; top 216 drivers/staging/media/soc_camera/imx074.c sel->r.top = 0; top 234 drivers/staging/media/soc_camera/mt9t031.c rect->top &= ~1; top 237 drivers/staging/media/soc_camera/mt9t031.c xskip, yskip, rect->width, rect->height, rect->left, rect->top); top 259 drivers/staging/media/soc_camera/mt9t031.c rect->left, rect->top); top 268 drivers/staging/media/soc_camera/mt9t031.c ret = reg_write(client, MT9T031_ROW_START, rect->top); top 311 drivers/staging/media/soc_camera/mt9t031.c soc_camera_limit_side(&rect.top, &rect.height, top 330 drivers/staging/media/soc_camera/mt9t031.c sel->r.top = MT9T031_ROW_SKIP; top 800 drivers/staging/media/soc_camera/mt9t031.c mt9t031->rect.top = MT9T031_ROW_SKIP; top 299 drivers/staging/media/soc_camera/soc_mt9v022.c soc_camera_limit_side(&rect.top, &rect.height, top 321 drivers/staging/media/soc_camera/soc_mt9v022.c ret = reg_write(client, MT9V022_ROW_START, rect.top); top 368 drivers/staging/media/soc_camera/soc_mt9v022.c sel->r.top = MT9V022_ROW_SKIP; top 410 drivers/staging/media/soc_camera/soc_mt9v022.c .r.top = mt9v022->rect.top, top 956 drivers/staging/media/soc_camera/soc_mt9v022.c mt9v022->rect.top = MT9V022_ROW_SKIP; top 755 drivers/staging/media/soc_camera/soc_ov5642.c priv->crop_rect.top = start_y; top 898 drivers/staging/media/soc_camera/soc_ov5642.c sel->r.top = 0; top 1030 drivers/staging/media/soc_camera/soc_ov5642.c priv->crop_rect.top = (OV5642_MAX_HEIGHT - OV5642_DEFAULT_HEIGHT) / 2; top 731 drivers/staging/media/soc_camera/soc_ov9740.c sel->r.top = 0; top 132 drivers/staging/uwb/drp-avail.c size_t top = itr + len; top 136 drivers/staging/uwb/drp-avail.c while (itr < top) { top 138 drivers/staging/uwb/drp-avail.c val |= array[top - 1]; top 139 drivers/staging/uwb/drp-avail.c top--; top 673 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c .y = dev->overlay.w.top, top 724 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &f->fmt.win.w.top, MIN_HEIGHT, dev->max_height, top 730 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.win.w.left, f->fmt.win.w.top); top 1879 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->overlay.w.top = 50; top 141 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h (win_fmt)->w.left, (win_fmt)->w.top, \ top 190 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c struct dentry *top; top 195 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c top = debugfs_create_dir(pidstr, vchiq_dbg_clients); top 197 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c debugfs_create_file("use_count", 0444, top, instance, top 199 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c debugfs_create_file("trace", 0644, top, instance, &debugfs_trace_fops); top 201 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c vchiq_instance_get_debugfs_node(instance)->dentry = top; top 385 drivers/staging/wlan-ng/hfa384x.h u16 top; top 958 drivers/staging/wlan-ng/hfa384x.h u16 top; top 965 drivers/staging/wlan-ng/hfa384x.h u16 top; top 322 drivers/staging/wlan-ng/prism2fw.c priid.top = *data++; top 630 drivers/staging/wlan-ng/prism2fw.c le16_to_cpus(&rfid.top); top 639 drivers/staging/wlan-ng/prism2fw.c le16_to_cpus(&macid.top); top 1151 drivers/staging/wlan-ng/prism2fw.c rfid.id, rfid.variant, rfid.bottom, rfid.top); top 1153 drivers/staging/wlan-ng/prism2fw.c macid.id, macid.variant, macid.bottom, macid.top); top 1155 drivers/staging/wlan-ng/prism2fw.c priid.id, priid.variant, priid.bottom, priid.top); top 1172 drivers/staging/wlan-ng/prism2fw.c s3info[i].info.compat.top); top 1187 drivers/staging/wlan-ng/prism2fw.c priid.top) || top 1188 drivers/staging/wlan-ng/prism2fw.c (s3info[i].info.compat.top < top 685 drivers/staging/wlan-ng/prism2sta.c le16_to_cpus(&hw->cap_sup_mfi.top); top 691 drivers/staging/wlan-ng/prism2sta.c hw->cap_sup_mfi.top); top 709 drivers/staging/wlan-ng/prism2sta.c le16_to_cpus(&hw->cap_sup_cfi.top); top 715 drivers/staging/wlan-ng/prism2sta.c hw->cap_sup_cfi.top); top 733 drivers/staging/wlan-ng/prism2sta.c le16_to_cpus(&hw->cap_sup_pri.top); top 739 drivers/staging/wlan-ng/prism2sta.c hw->cap_sup_pri.top); top 757 drivers/staging/wlan-ng/prism2sta.c le16_to_cpus(&hw->cap_sup_sta.top); top 764 drivers/staging/wlan-ng/prism2sta.c hw->cap_sup_sta.top); top 770 drivers/staging/wlan-ng/prism2sta.c hw->cap_sup_sta.top); top 789 drivers/staging/wlan-ng/prism2sta.c le16_to_cpus(&hw->cap_act_pri_cfi.top); top 795 drivers/staging/wlan-ng/prism2sta.c hw->cap_act_pri_cfi.top); top 813 drivers/staging/wlan-ng/prism2sta.c le16_to_cpus(&hw->cap_act_sta_cfi.top); top 819 drivers/staging/wlan-ng/prism2sta.c hw->cap_act_sta_cfi.top); top 837 drivers/staging/wlan-ng/prism2sta.c le16_to_cpus(&hw->cap_act_sta_mfi.top); top 843 drivers/staging/wlan-ng/prism2sta.c hw->cap_act_sta_mfi.top); top 125 drivers/staging/wusbcore/cbaf.c void *itr, *top; top 161 drivers/staging/wusbcore/cbaf.c top = cbaf->buffer + assoc_size; top 165 drivers/staging/wusbcore/cbaf.c while (itr < top) { top 172 drivers/staging/wusbcore/cbaf.c if (top - itr < sizeof(*assoc_request)) { top 175 drivers/staging/wusbcore/cbaf.c top - itr, sizeof(*assoc_request)); top 694 drivers/staging/wusbcore/devconnect.c void *itr, *top; top 698 drivers/staging/wusbcore/devconnect.c top = itr + desc_size - sizeof(*bos); top 699 drivers/staging/wusbcore/devconnect.c while (itr < top) { top 703 drivers/staging/wusbcore/devconnect.c if (top - itr < sizeof(*cap_hdr)) { top 706 drivers/staging/wusbcore/devconnect.c (int)(itr - (void *)bos), top - itr); top 714 drivers/staging/wusbcore/devconnect.c if (cap_size > top - itr) { top 719 drivers/staging/wusbcore/devconnect.c cap_type, cap_size, top - itr); top 630 drivers/staging/wusbcore/host/hwa-hc.c void *itr, *top; top 640 drivers/staging/wusbcore/host/hwa-hc.c top = itr + itr_size; top 649 drivers/staging/wusbcore/host/hwa-hc.c if (top - (void *)secd < needed) { top 652 drivers/staging/wusbcore/host/hwa-hc.c top - (void *) secd, needed); top 656 drivers/staging/wusbcore/host/hwa-hc.c if (top - (void *)secd < needed) { top 659 drivers/staging/wusbcore/host/hwa-hc.c top - (void *) secd, needed); top 664 drivers/staging/wusbcore/host/hwa-hc.c top = (void *) secd + le16_to_cpu(secd->wTotalLength); top 667 drivers/staging/wusbcore/host/hwa-hc.c while (itr < top) { top 669 drivers/staging/wusbcore/host/hwa-hc.c if (top - itr < sizeof(*etd)) { top 672 drivers/staging/wusbcore/host/hwa-hc.c top - itr, sizeof(*etd)); top 209 drivers/staging/wusbcore/security.c const void *itr, *top; top 243 drivers/staging/wusbcore/security.c top = (void *)secd + result; top 244 drivers/staging/wusbcore/security.c while (itr < top) { top 246 drivers/staging/wusbcore/security.c if (top - itr < sizeof(*etd)) { top 249 drivers/staging/wusbcore/security.c top - itr, sizeof(*etd)); top 1387 drivers/usb/gadget/udc/dummy_hcd.c top: top 1509 drivers/usb/gadget/udc/dummy_hcd.c goto top; top 413 drivers/usb/gadget/udc/goku_udc.c top: top 491 drivers/usb/gadget/udc/goku_udc.c goto top; top 436 drivers/usb/gadget/udc/net2272.c top: top 474 drivers/usb/gadget/udc/net2272.c goto top; top 548 drivers/usb/gadget/udc/net2272.c top: top 600 drivers/usb/gadget/udc/net2272.c goto top; top 595 drivers/usb/gadget/udc/udc-xilinx.c top: top 645 drivers/usb/gadget/udc/udc-xilinx.c goto top; top 1330 drivers/usb/misc/sisusbvga/sisusb_con.c static bool sisusbdummycon_scroll(struct vc_data *vc, unsigned int top, top 188 drivers/usb/usbip/vudc_transfer.c top: top 297 drivers/usb/usbip/vudc_transfer.c goto top; top 115 drivers/video/console/dummycon.c static bool dummycon_scroll(struct vc_data *vc, unsigned int top, top 299 drivers/video/fbdev/arcfb.c static void arcfb_lcd_update_vert(struct arcfb_par *par, unsigned int top, top 304 drivers/video/fbdev/arcfb.c distance = (bottom - top) + 1; top 305 drivers/video/fbdev/arcfb.c upper = top; top 306 drivers/video/fbdev/arcfb.c lower = top + 7; top 322 drivers/video/fbdev/arcfb.c unsigned int right, unsigned int top, unsigned int h) top 327 drivers/video/fbdev/arcfb.c upper = floor8(top); top 145 drivers/video/fbdev/fb-puv3.c int top = 0; top 167 drivers/video/fbdev/fb-puv3.c writel(top, UGE_CLIP0); top 232 drivers/video/fbdev/fb-puv3.c int top = 0; top 272 drivers/video/fbdev/fb-puv3.c writel(top, UGE_CLIP0); top 56 drivers/video/fbdev/kyro/STG4000Interface.h u32 left, u32 top, top 318 drivers/video/fbdev/kyro/STG4000OverlayDevice.c u32 left, u32 top, top 352 drivers/video/fbdev/kyro/STG4000OverlayDevice.c srcDest.ulDstY1 = top; top 474 drivers/video/fbdev/mbx/mbxfb.c if (porder->bottom == porder->top) top 494 drivers/video/fbdev/mbx/mbxfb.c switch (porder->top) { top 232 drivers/video/fbdev/sis/sis_accel.h #define SiS300SetupClipLT(left,top) \ top 234 drivers/video/fbdev/sis/sis_accel.h MMIO_OUT32(ivideo->mmio_vbase, BR(13), ((left) & 0xFFFF) | (top)<<16 );\ top 358 drivers/video/fbdev/sis/sis_accel.h #define SiS310SetupClipLT(left,top) \ top 360 drivers/video/fbdev/sis/sis_accel.h MMIO_OUT32(ivideo->mmio_vbase, LEFT_CLIP, ((left) & 0xFFFF) | (top)<<16 );\ top 67 drivers/watchdog/dw_wdt.c static inline int dw_wdt_top_in_seconds(struct dw_wdt *dw_wdt, unsigned top) top 73 drivers/watchdog/dw_wdt.c return (1U << (16 + top)) / dw_wdt->rate; top 78 drivers/watchdog/dw_wdt.c int top = readl(dw_wdt->regs + WDOG_TIMEOUT_RANGE_REG_OFFSET) & 0xF; top 80 drivers/watchdog/dw_wdt.c return dw_wdt_top_in_seconds(dw_wdt, top); top 32 fs/autofs/expire.c struct dentry *top = dentry; top 61 fs/autofs/expire.c ino = autofs_dentry_ino(top); top 151 fs/autofs/expire.c struct dentry *top, top 155 fs/autofs/expire.c pr_debug("top %p %pd\n", top, top); top 165 fs/autofs/expire.c ino = autofs_dentry_ino(top); top 172 fs/autofs/expire.c if (!autofs_can_expire(top, timeout, how)) top 183 fs/autofs/expire.c struct dentry *top, top 187 fs/autofs/expire.c struct autofs_info *top_ino = autofs_dentry_ino(top); top 190 fs/autofs/expire.c pr_debug("top %p %pd\n", top, top); top 193 fs/autofs/expire.c if (!simple_positive(top)) top 197 fs/autofs/expire.c while ((p = get_next_positive_dentry(p, top))) { top 217 fs/autofs/expire.c if (p == top) top 235 fs/autofs/expire.c if (!autofs_can_expire(top, timeout, how)) top 922 fs/binfmt_elf_fdpic.c unsigned long load_addr, base = ULONG_MAX, top = 0, maddr = 0, mflags; top 937 fs/binfmt_elf_fdpic.c if (top < phdr->p_vaddr + phdr->p_memsz) top 938 fs/binfmt_elf_fdpic.c top = phdr->p_vaddr + phdr->p_memsz; top 946 fs/binfmt_elf_fdpic.c maddr = vm_mmap(NULL, load_addr, top - base, top 952 fs/binfmt_elf_fdpic.c load_addr += PAGE_ALIGN(top - base); top 55 fs/btrfs/reada.c struct btrfs_key top; top 90 fs/btrfs/reada.c struct btrfs_key *top, u64 generation); top 143 fs/btrfs/reada.c next_key = re->top; top 301 fs/btrfs/reada.c struct btrfs_key *top) top 330 fs/btrfs/reada.c re->top = *top; top 544 fs/btrfs/reada.c struct btrfs_key *top, u64 generation) top 551 fs/btrfs/reada.c re = reada_find_extent(fs_info, logical, top); top 165 fs/compat_ioctl.c void __user *top = compat_alloc_user_space(0); top 168 fs/compat_ioctl.c if (new > top) top 40 fs/erofs/decompressor.c unsigned int i, j, top; top 42 fs/erofs/decompressor.c top = 0; top 53 fs/erofs/decompressor.c DBG_BUGON(top >= LZ4_MAX_DISTANCE_PAGES); top 54 fs/erofs/decompressor.c availables[top++] = rq->out[i - LZ4_MAX_DISTANCE_PAGES]; top 72 fs/erofs/decompressor.c if (top) { top 73 fs/erofs/decompressor.c victim = availables[--top]; top 1052 fs/ext2/inode.c __le32 *top) top 1057 fs/ext2/inode.c *top = 0; top 1083 fs/ext2/inode.c *top = *p->p; top 642 fs/ext4/dir.c char *top; top 645 fs/ext4/dir.c top = buf + buf_size; top 646 fs/ext4/dir.c while ((char *) de < top) { top 654 fs/ext4/dir.c if ((char *) de > top) top 765 fs/ext4/indirect.c __le32 *top) top 770 fs/ext4/indirect.c *top = 0; top 796 fs/ext4/indirect.c *top = *p->p; top 314 fs/ext4/namei.c struct ext4_dir_entry *d, *top; top 317 fs/ext4/namei.c top = (struct ext4_dir_entry *)(bh->b_data + top 320 fs/ext4/namei.c while (d < top && d->rec_len) top 324 fs/ext4/namei.c if (d != top) top 991 fs/ext4/namei.c struct ext4_dir_entry_2 *de, *top; top 1002 fs/ext4/namei.c top = (struct ext4_dir_entry_2 *) ((char *) de + top 1021 fs/ext4/namei.c for (; de < top; de = ext4_next_entry(de, dir->i_sb->s_blocksize)) { top 1235 fs/ext4/namei.c struct dx_map_entry *p, *q, *top = map + count - 1; top 1242 fs/ext4/namei.c for (p = top, q = p - count; q >= map; p--, q--) top 1249 fs/ext4/namei.c q = top; top 1927 fs/ext4/namei.c char *top; top 1930 fs/ext4/namei.c top = buf + buf_size - reclen; top 1931 fs/ext4/namei.c while ((char *) de <= top) { top 1944 fs/ext4/namei.c if ((char *) de > top) top 2046 fs/ext4/namei.c char *data2, *top; top 2090 fs/ext4/namei.c top = data2 + len; top 2091 fs/ext4/namei.c while ((char *)(de2 = ext4_next_entry(de, blocksize)) < top) top 98 fs/hfs/hfs.h __be16 top; top 228 fs/hfsplus/hfsplus_raw.h __be16 top; top 106 fs/jfs/jfs_btree.h struct btframe *top; top 112 fs/jfs/jfs_btree.h (btstack)->top = (btstack)->stack top 115 fs/jfs/jfs_btree.h ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1])) top 120 fs/jfs/jfs_btree.h (BTSTACK)->top->bn = BN;\ top 121 fs/jfs/jfs_btree.h (BTSTACK)->top->index = INDEX;\ top 122 fs/jfs/jfs_btree.h ++(BTSTACK)->top;\ top 126 fs/jfs/jfs_btree.h ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top ) top 129 fs/jfs/jfs_btree.h ( (btstack)->top == (btstack)->stack ? NULL : (btstack)->top ) top 156 fs/jfs/jfs_btree.h if (! BT_IS_ROOT((BTSTACK)->top->mp))\ top 157 fs/jfs/jfs_btree.h release_metapage((BTSTACK)->top->mp);\ top 692 fs/jfs/jfs_dtree.c btsp = btstack->top; top 741 fs/jfs/jfs_dtree.c btsp = btstack->top; top 831 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack->top, bn, mp, p, index); top 2098 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); top 2467 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); top 2695 fs/jfs/jfs_dtree.c btsp = btstack->top; top 3114 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); top 3160 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); top 3358 fs/jfs/jfs_dtree.c btsp = btstack->top; top 3427 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack->top, bn, mp, p, index); top 3483 fs/jfs/jfs_dtree.c btsp = btstack->top; top 3559 fs/jfs/jfs_dtree.c btsp = btstack->top; top 4532 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); top 1135 fs/jfs/jfs_txnmgr.c ino_t top; top 1191 fs/jfs/jfs_txnmgr.c top = (cd.iplist[k])->i_ino; top 1194 fs/jfs/jfs_txnmgr.c if (ip->i_ino > top) { top 1195 fs/jfs/jfs_txnmgr.c top = ip->i_ino; top 175 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); top 346 fs/jfs/jfs_xtree.c btsp = btstack->top; top 393 fs/jfs/jfs_xtree.c btsp = btstack->top; top 451 fs/jfs/jfs_xtree.c btsp = btstack->top; top 556 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); top 1372 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); top 1539 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); top 1720 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); top 2034 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); top 2195 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); top 2344 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); top 2595 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); top 2616 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); top 2699 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); top 2944 fs/jfs/jfs_xtree.c btsp = btstack->top; top 3736 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); top 221 fs/minix/itree_common.c block_t *top) top 226 fs/minix/itree_common.c *top = 0; top 243 fs/minix/itree_common.c *top = *p->p; top 501 fs/nfs/blocklayout/dev.c struct pnfs_block_dev *top; top 531 fs/nfs/blocklayout/dev.c top = kzalloc(sizeof(*top), gfp_mask); top 532 fs/nfs/blocklayout/dev.c if (!top) top 535 fs/nfs/blocklayout/dev.c ret = bl_parse_deviceid(server, top, volumes, nr_volumes - 1, gfp_mask); top 537 fs/nfs/blocklayout/dev.c node = &top->node; top 3341 fs/ocfs2/dlm/dlmmaster.c top: top 3407 fs/ocfs2/dlm/dlmmaster.c goto top; top 281 fs/sysv/itree.c sysv_zone_t *top) top 286 fs/sysv/itree.c *top = 0; top 313 fs/sysv/itree.c *top = *p->p; top 495 include/drm/drm_connector.h unsigned int top; top 59 include/linux/console.h bool (*con_scroll)(struct vc_data *vc, unsigned int top, top 1389 include/linux/pci.h void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), top 591 include/linux/sched/signal.h void walk_process_tree(struct task_struct *top, proc_visitor, void *); top 423 include/linux/wimax/debug.h struct d_level *itr, *top; top 426 include/linux/wimax/debug.h for (itr = d_level, top = itr + d_level_size; itr < top; itr++) { top 95 include/media/media-entity.h int top; top 148 include/media/tuner.h #define TDA9887_TOP(top) (TDA9887_TOP_SET | \ top 149 include/media/tuner.h (((16 + (top)) & 0x1f) << 8)) top 64 include/media/v4l2-rect.h if (r->top < boundary->top) top 65 include/media/v4l2-rect.h r->top = boundary->top; top 68 include/media/v4l2-rect.h if (r->top + r->height > boundary->top + boundary->height) top 69 include/media/v4l2-rect.h r->top = boundary->top + boundary->height - r->height; top 95 include/media/v4l2-rect.h return r1->top == r2->top && r1->left == r2->left; top 123 include/media/v4l2-rect.h r->top = max(r1->top, r2->top); top 125 include/media/v4l2-rect.h bottom = min(r1->top + r1->height, r2->top + r2->height); top 127 include/media/v4l2-rect.h r->height = max(0, bottom - r->top); top 149 include/media/v4l2-rect.h r->left = r->top = r->width = r->height = 0; top 154 include/media/v4l2-rect.h r->top = ((r->top - from->top) * to->height) / from->height; top 181 include/media/v4l2-rect.h if (r1->top >= r2->top + r2->height || top 182 include/media/v4l2-rect.h r2->top >= r1->top + r1->height) top 1033 include/trace/events/rxrpc.h __field(rxrpc_seq_t, top ) top 1042 include/trace/events/rxrpc.h __entry->top = call->rx_top; top 1051 include/trace/events/rxrpc.h __entry->top) top 1288 include/trace/events/rxrpc.h __field(rxrpc_seq_t, top ) top 1298 include/trace/events/rxrpc.h __entry->top = call->tx_top; top 1315 include/trace/events/rxrpc.h __entry->top - __entry->hard_ack, top 99 include/uapi/drm/qxl_drm.h __u32 top; top 415 include/uapi/linux/videodev2.h __s32 top; top 83 include/video/mbxfb.h __u8 top; top 2647 kernel/fork.c void walk_process_tree(struct task_struct *top, proc_visitor visitor, void *data) top 2653 kernel/fork.c leader = top = top->group_leader; top 2669 kernel/fork.c if (leader != top) { top 419 kernel/trace/trace_events_filter.c int *top; top 442 kernel/trace/trace_events_filter.c top = op_stack; top 444 kernel/trace/trace_events_filter.c *top = 0; top 455 kernel/trace/trace_events_filter.c if (top - op_stack > nr_parens) { top 459 kernel/trace/trace_events_filter.c *(++top) = invert; top 509 kernel/trace/trace_events_filter.c invert = *top & INVERT; top 511 kernel/trace/trace_events_filter.c if (*top & PROCESS_AND) { /* #7 */ top 513 kernel/trace/trace_events_filter.c *top &= ~PROCESS_AND; top 516 kernel/trace/trace_events_filter.c *top |= PROCESS_AND; top 519 kernel/trace/trace_events_filter.c if (*top & PROCESS_OR) { /* #9 */ top 521 kernel/trace/trace_events_filter.c *top &= ~PROCESS_OR; top 524 kernel/trace/trace_events_filter.c *top |= PROCESS_OR; top 530 kernel/trace/trace_events_filter.c if (top == op_stack) { top 536 kernel/trace/trace_events_filter.c top--; /* #12 */ top 540 kernel/trace/trace_events_filter.c if (top != op_stack) { top 157 kernel/trace/trace_stack.c unsigned long this_size, flags; unsigned long *p, *top, *start; top 213 kernel/trace/trace_stack.c top = (unsigned long *) top 229 kernel/trace/trace_stack.c for (; p < top && i < stack_trace_nr_entries; p++) { top 237 kernel/trace/trace_stack.c (top - p) * sizeof(unsigned long); top 44 lib/plist.c static void plist_check_list(struct list_head *top) top 46 lib/plist.c struct list_head *prev = top, *next = top->next; top 48 lib/plist.c plist_check_prev_next(top, prev, next); top 49 lib/plist.c while (next != top) { top 52 lib/plist.c plist_check_prev_next(top, prev, next); top 519 lib/xarray.c static void xas_free_nodes(struct xa_state *xas, struct xa_node *top) top 522 lib/xarray.c struct xa_node *node = top; top 544 lib/xarray.c if (node == top) top 350 lib/zlib_deflate/deftree.c #define pqremove(s, tree, top) \ top 352 lib/zlib_deflate/deftree.c top = s->heap[SMALLEST]; \ top 879 mm/shmem.c unsigned int top = PAGE_SIZE; top 881 mm/shmem.c top = partial_end; top 884 mm/shmem.c zero_user_segment(page, partial_start, top); top 377 mm/truncate.c unsigned int top = PAGE_SIZE; top 380 mm/truncate.c top = partial_end; top 384 mm/truncate.c zero_user_segment(page, partial_start, top); top 388 mm/truncate.c top - partial_start); top 72 net/dccp/qpolicy.c struct sk_buff* (*top) (struct sock *sk); top 79 net/dccp/qpolicy.c .top = qpolicy_simple_top, top 85 net/dccp/qpolicy.c .top = qpolicy_prio_best_skb, top 113 net/dccp/qpolicy.c return qpol_table[dccp_sk(sk)->dccps_qpolicy].top(sk); top 161 net/rxrpc/call_event.c rxrpc_seq_t cursor, seq, top; top 176 net/rxrpc/call_event.c top = call->tx_top; top 177 net/rxrpc/call_event.c ASSERT(before_eq(cursor, top)); top 178 net/rxrpc/call_event.c if (cursor == top) top 187 net/rxrpc/call_event.c for (seq = cursor + 1; before_eq(seq, top); seq++) { top 244 net/rxrpc/call_event.c for (seq = cursor + 1; before_eq(seq, top); seq++) { top 308 net/rxrpc/input.c rxrpc_seq_t top = READ_ONCE(call->tx_top); top 322 net/rxrpc/input.c if (!rxrpc_rotate_tx_window(call, top, &summary)) { top 323 net/rxrpc/input.c rxrpc_proto_abort("TXL", call, top); top 653 net/rxrpc/input.c rxrpc_seq_t top, bottom, seq; top 659 net/rxrpc/input.c top = call->acks_lost_top; top 660 net/rxrpc/input.c if (before(bottom, top)) { top 661 net/rxrpc/input.c for (seq = bottom; before_eq(seq, top); seq++) { top 77 net/rxrpc/output.c rxrpc_seq_t hard_ack, top, seq; top 85 net/rxrpc/output.c top = smp_load_acquire(&call->rx_top); top 87 net/rxrpc/output.c *_top = top; top 95 net/rxrpc/output.c pkt->ack.nAcks = top - hard_ack; top 100 net/rxrpc/output.c if (after(top, hard_ack)) { top 109 net/rxrpc/output.c } while (before_eq(seq, top)); top 123 net/rxrpc/output.c return top - hard_ack + 3; top 137 net/rxrpc/output.c rxrpc_seq_t hard_ack, top; top 180 net/rxrpc/output.c n = rxrpc_fill_out_ack(conn, call, pkt, &hard_ack, &top, reason); top 234 net/rxrpc/output.c if (after(top, call->ackr_seen)) top 235 net/rxrpc/output.c call->ackr_seen = top; top 179 net/rxrpc/recvmsg.c rxrpc_seq_t hard_ack, top; top 187 net/rxrpc/recvmsg.c top = smp_load_acquire(&call->rx_top); top 188 net/rxrpc/recvmsg.c ASSERT(before(hard_ack, top)); top 216 net/rxrpc/recvmsg.c after_eq(top, call->ackr_seen + 2) || top 217 net/rxrpc/recvmsg.c (hard_ack == top && after(hard_ack, call->ackr_consumed))) top 315 net/rxrpc/recvmsg.c rxrpc_seq_t hard_ack, top, seq; top 339 net/rxrpc/recvmsg.c while (top = smp_load_acquire(&call->rx_top), top 340 net/rxrpc/recvmsg.c before_eq(seq, top) top 744 net/rxrpc/recvmsg.c rxrpc_seq_t hard_ack, top, seq; top 757 net/rxrpc/recvmsg.c top = smp_load_acquire(&call->rx_top); top 758 net/rxrpc/recvmsg.c if (after(seq, top)) top 432 net/xfrm/xfrm_replay.c u32 top = replay_esn->seq; top 433 net/xfrm/xfrm_replay.c u32 bottom = top - wsize + 1; top 442 net/xfrm/xfrm_replay.c diff = top - seq; top 444 net/xfrm/xfrm_replay.c if (likely(top >= wsize - 1)) { top 446 net/xfrm/xfrm_replay.c if (likely(seq > top) || seq < bottom) top 450 net/xfrm/xfrm_replay.c if (likely(seq > top && seq < bottom)) top 453 net/xfrm/xfrm_replay.c diff = ~seq + top + 1; top 856 scripts/asn1_compiler.c struct element *top, *element; top 863 scripts/asn1_compiler.c top = element = alloc_elem(cursor); top 1075 scripts/asn1_compiler.c top->flags |= ELEMENT_SKIPPABLE; top 1132 scripts/asn1_compiler.c return top; top 167 sound/soc/generic/audio-graph-card.c struct device_node *top = dev->of_node; top 172 sound/soc/generic/audio-graph-card.c asoc_simple_parse_convert(dev, top, NULL, adata); top 183 sound/soc/generic/audio-graph-card.c static void graph_parse_mclk_fs(struct device_node *top, top 191 sound/soc/generic/audio-graph-card.c of_property_read_u32(top, "mclk-fs", &props->mclk_fs); top 210 sound/soc/generic/audio-graph-card.c struct device_node *top = dev->of_node; top 296 sound/soc/generic/audio-graph-card.c snd_soc_of_parse_node_prefix(top, cconf, codecs->of_node, top 307 sound/soc/generic/audio-graph-card.c graph_parse_mclk_fs(top, ep, dai_props); top 340 sound/soc/generic/audio-graph-card.c struct device_node *top = dev->of_node; top 359 sound/soc/generic/audio-graph-card.c graph_parse_mclk_fs(top, cpu_ep, dai_props); top 360 sound/soc/generic/audio-graph-card.c graph_parse_mclk_fs(top, codec_ep, dai_props); top 84 sound/soc/generic/simple-card.c struct device_node *top = dev->of_node; top 87 sound/soc/generic/simple-card.c asoc_simple_parse_convert(dev, top, PREFIX, adata); top 95 sound/soc/generic/simple-card.c static void simple_parse_mclk_fs(struct device_node *top, top 105 sound/soc/generic/simple-card.c of_property_read_u32(top, prop, &props->mclk_fs); top 127 sound/soc/generic/simple-card.c struct device_node *top = dev->of_node; top 212 sound/soc/generic/simple-card.c snd_soc_of_parse_node_prefix(top, cconf, codecs->of_node, top 221 sound/soc/generic/simple-card.c simple_parse_mclk_fs(top, np, codec, dai_props, prefix); top 255 sound/soc/generic/simple-card.c struct device_node *top = dev->of_node; top 295 sound/soc/generic/simple-card.c simple_parse_mclk_fs(top, cpu, codec, dai_props, prefix); top 357 sound/soc/generic/simple-card.c struct device_node *top = dev->of_node; top 364 sound/soc/generic/simple-card.c node = of_get_child_by_name(top, PREFIX "dai-link"); top 366 sound/soc/generic/simple-card.c node = of_node_get(top); top 413 sound/soc/generic/simple-card.c node = of_get_next_child(top, node); top 455 sound/soc/generic/simple-card.c struct device_node *top = dev->of_node; top 460 sound/soc/generic/simple-card.c if (!top) top 501 sound/soc/generic/simple-card.c ret = simple_parse_aux_devs(top, priv); top 535 sound/soc/generic/simple-card.c struct device_node *top = dev->of_node; top 583 sound/soc/generic/simple-card.c if (!top) { top 162 sound/sound_core.c static int __sound_insert_unit(struct sound_unit * s, struct sound_unit **list, const struct file_operations *fops, int index, int low, int top) top 171 sound/sound_core.c while(n<top) top 180 sound/sound_core.c if(n>=top) top 242 sound/sound_core.c static int sound_insert_unit(struct sound_unit **list, const struct file_operations *fops, int index, int low, int top, const char *name, umode_t mode, struct device *dev) top 252 sound/sound_core.c r = __sound_insert_unit(s, list, fops, index, low, top); top 1785 tools/lib/traceevent/event-parse.c process_cond(struct tep_event *event, struct tep_print_arg *top, char **tok) top 1827 tools/lib/traceevent/event-parse.c top->op.right = arg; top 1834 tools/lib/traceevent/event-parse.c top->op.right = NULL; top 1841 tools/lib/traceevent/event-parse.c process_array(struct tep_event *event, struct tep_print_arg *top, char **tok) top 1860 tools/lib/traceevent/event-parse.c top->op.right = arg; top 91 tools/perf/builtin-top.c static void perf_top__update_print_entries(struct perf_top *top) top 93 tools/perf/builtin-top.c top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; top 101 tools/perf/builtin-top.c static void perf_top__resize(struct perf_top *top) top 103 tools/perf/builtin-top.c get_term_dimensions(&top->winsize); top 104 tools/perf/builtin-top.c perf_top__update_print_entries(top); top 107 tools/perf/builtin-top.c static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) top 137 tools/perf/builtin-top.c if (!symbol__hists(sym, top->evlist->core.nr_entries)) { top 145 tools/perf/builtin-top.c err = symbol__annotate(sym, map, evsel, 0, &top->annotation_opts, NULL); top 147 tools/perf/builtin-top.c top->sym_filter_entry = he; top 191 tools/perf/builtin-top.c static void perf_top__record_precise_ip(struct perf_top *top, top 201 tools/perf/builtin-top.c (top->sym_filter_entry == NULL || top 202 tools/perf/builtin-top.c top->sym_filter_entry->ms.sym != sym))) top 233 tools/perf/builtin-top.c static void perf_top__show_details(struct perf_top *top) top 235 tools/perf/builtin-top.c struct hist_entry *he = top->sym_filter_entry; top 256 tools/perf/builtin-top.c printf("Showing %s for %s\n", perf_evsel__name(top->sym_evsel), symbol->name); top 257 tools/perf/builtin-top.c printf(" Events Pcnt (>=%d%%)\n", top->annotation_opts.min_pcnt); top 259 tools/perf/builtin-top.c more = symbol__annotate_printf(symbol, he->ms.map, top->sym_evsel, &top->annotation_opts); top 261 tools/perf/builtin-top.c if (top->evlist->enabled) { top 262 tools/perf/builtin-top.c if (top->zero) top 263 tools/perf/builtin-top.c symbol__annotate_zero_histogram(symbol, top->sym_evsel->idx); top 265 tools/perf/builtin-top.c symbol__annotate_decay_histogram(symbol, top->sym_evsel->idx); top 313 tools/perf/builtin-top.c static void perf_top__print_sym_table(struct perf_top *top) top 317 tools/perf/builtin-top.c const int win_width = top->winsize.ws_col - 1; top 318 tools/perf/builtin-top.c struct evsel *evsel = top->sym_evsel; top 323 tools/perf/builtin-top.c perf_top__header_snprintf(top, bf, sizeof(bf)); top 328 tools/perf/builtin-top.c if (!top->record_opts.overwrite && top 339 tools/perf/builtin-top.c if (top->sym_filter_entry) { top 340 tools/perf/builtin-top.c perf_top__show_details(top); top 344 tools/perf/builtin-top.c perf_top__resort_hists(top); top 346 tools/perf/builtin-top.c hists__output_recalc_col_len(hists, top->print_entries - printed); top 348 tools/perf/builtin-top.c hists__fprintf(hists, false, top->print_entries - printed, win_width, top 349 tools/perf/builtin-top.c top->min_percent, stdout, !symbol_conf.use_callchain); top 387 tools/perf/builtin-top.c static void perf_top__prompt_symbol(struct perf_top *top, const char *msg) top 390 tools/perf/builtin-top.c struct hist_entry *syme = top->sym_filter_entry, *n, *found = NULL; top 391 tools/perf/builtin-top.c struct hists *hists = evsel__hists(top->sym_evsel); top 398 tools/perf/builtin-top.c top->sym_filter_entry = NULL; top 423 tools/perf/builtin-top.c perf_top__parse_source(top, found); top 429 tools/perf/builtin-top.c static void perf_top__print_mapped_keys(struct perf_top *top) top 433 tools/perf/builtin-top.c if (top->sym_filter_entry) { top 434 tools/perf/builtin-top.c struct symbol *sym = top->sym_filter_entry->ms.sym; top 439 tools/perf/builtin-top.c fprintf(stdout, "\t[d] display refresh delay. \t(%d)\n", top->delay_secs); top 440 tools/perf/builtin-top.c fprintf(stdout, "\t[e] display entries (lines). \t(%d)\n", top->print_entries); top 442 tools/perf/builtin-top.c if (top->evlist->core.nr_entries > 1) top 443 tools/perf/builtin-top.c fprintf(stdout, "\t[E] active event counter. \t(%s)\n", perf_evsel__name(top->sym_evsel)); top 445 tools/perf/builtin-top.c fprintf(stdout, "\t[f] profile display filter (count). \t(%d)\n", top->count_filter); top 447 tools/perf/builtin-top.c fprintf(stdout, "\t[F] annotate display filter (percent). \t(%d%%)\n", top->annotation_opts.min_pcnt); top 453 tools/perf/builtin-top.c top->hide_kernel_symbols ? "yes" : "no"); top 456 tools/perf/builtin-top.c top->hide_user_symbols ? "yes" : "no"); top 457 tools/perf/builtin-top.c fprintf(stdout, "\t[z] toggle sample zeroing. \t(%d)\n", top->zero ? 1 : 0); top 461 tools/perf/builtin-top.c static int perf_top__key_mapped(struct perf_top *top, int c) top 477 tools/perf/builtin-top.c return top->evlist->core.nr_entries > 1 ? 1 : 0; top 485 tools/perf/builtin-top.c static bool perf_top__handle_keypress(struct perf_top *top, int c) top 489 tools/perf/builtin-top.c if (!perf_top__key_mapped(top, c)) { top 493 tools/perf/builtin-top.c perf_top__print_mapped_keys(top); top 503 tools/perf/builtin-top.c if (!perf_top__key_mapped(top, c)) top 509 tools/perf/builtin-top.c prompt_integer(&top->delay_secs, "Enter display delay"); top 510 tools/perf/builtin-top.c if (top->delay_secs < 1) top 511 tools/perf/builtin-top.c top->delay_secs = 1; top 514 tools/perf/builtin-top.c prompt_integer(&top->print_entries, "Enter display entries (lines)"); top 515 tools/perf/builtin-top.c if (top->print_entries == 0) { top 516 tools/perf/builtin-top.c perf_top__resize(top); top 523 tools/perf/builtin-top.c if (top->evlist->core.nr_entries > 1) { top 529 tools/perf/builtin-top.c evlist__for_each_entry(top->evlist, top->sym_evsel) top 530 tools/perf/builtin-top.c fprintf(stderr, "\n\t%d %s", top->sym_evsel->idx, perf_evsel__name(top->sym_evsel)); top 534 tools/perf/builtin-top.c if (counter >= top->evlist->core.nr_entries) { top 535 tools/perf/builtin-top.c top->sym_evsel = evlist__first(top->evlist); top 536 tools/perf/builtin-top.c fprintf(stderr, "Sorry, no such event, using %s.\n", perf_evsel__name(top->sym_evsel)); top 540 tools/perf/builtin-top.c evlist__for_each_entry(top->evlist, top->sym_evsel) top 541 tools/perf/builtin-top.c if (top->sym_evsel->idx == counter) top 544 tools/perf/builtin-top.c top->sym_evsel = evlist__first(top->evlist); top 547 tools/perf/builtin-top.c prompt_integer(&top->count_filter, "Enter display event count filter"); top 550 tools/perf/builtin-top.c prompt_percent(&top->annotation_opts.min_pcnt, top 554 tools/perf/builtin-top.c top->hide_kernel_symbols = !top->hide_kernel_symbols; top 559 tools/perf/builtin-top.c if (top->dump_symtab) top 560 tools/perf/builtin-top.c perf_session__fprintf_dsos(top->session, stderr); top 564 tools/perf/builtin-top.c perf_top__prompt_symbol(top, "Enter details symbol"); top 567 tools/perf/builtin-top.c if (!top->sym_filter_entry) top 570 tools/perf/builtin-top.c struct hist_entry *syme = top->sym_filter_entry; top 572 tools/perf/builtin-top.c top->sym_filter_entry = NULL; top 577 tools/perf/builtin-top.c top->hide_user_symbols = !top->hide_user_symbols; top 580 tools/perf/builtin-top.c top->zero = !top->zero; top 611 tools/perf/builtin-top.c struct perf_top *top = arg; top 615 tools/perf/builtin-top.c .arg = top, top 616 tools/perf/builtin-top.c .refresh = top->delay_secs, top 628 tools/perf/builtin-top.c perf_top__sort_new_samples(top); top 635 tools/perf/builtin-top.c evlist__for_each_entry(top->evlist, pos) { top 637 tools/perf/builtin-top.c hists->uid_filter_str = top->record_opts.target.uid_str; top 640 tools/perf/builtin-top.c perf_evlist__tui_browse_hists(top->evlist, help, &hbt, top 641 tools/perf/builtin-top.c top->min_percent, top 642 tools/perf/builtin-top.c &top->session->header.env, top 643 tools/perf/builtin-top.c !top->record_opts.overwrite, top 644 tools/perf/builtin-top.c &top->annotation_opts); top 668 tools/perf/builtin-top.c struct perf_top *top = arg; top 683 tools/perf/builtin-top.c delay_msecs = top->delay_secs * MSEC_PER_SEC; top 689 tools/perf/builtin-top.c perf_top__print_sym_table(top); top 705 tools/perf/builtin-top.c if (perf_top__handle_keypress(top, c)) top 719 tools/perf/builtin-top.c struct perf_top *top = arg; top 724 tools/perf/builtin-top.c perf_top__record_precise_ip(top, he, iter->sample, evsel, al->addr); top 727 tools/perf/builtin-top.c !(top->record_opts.branch_stack & PERF_SAMPLE_BRANCH_ANY)); top 737 tools/perf/builtin-top.c struct perf_top *top = container_of(tool, struct perf_top, tool); top 757 tools/perf/builtin-top.c top->session->evlist->stats.nr_unprocessable_samples++); top 762 tools/perf/builtin-top.c top->exact_samples++; top 770 tools/perf/builtin-top.c if (!perf_evlist__exclude_kernel(top->session->evlist)) { top 796 tools/perf/builtin-top.c if (!machine->kptr_restrict_warned && !top->vmlinux_warned && top 810 tools/perf/builtin-top.c top->vmlinux_warned = true; top 829 tools/perf/builtin-top.c err = hist_entry_iter__add(&iter, &al, top->max_stack, top); top 840 tools/perf/builtin-top.c perf_top__process_lost(struct perf_top *top, union perf_event *event, top 845 tools/perf/builtin-top.c top->lost += event->lost.lost; top 846 tools/perf/builtin-top.c top->lost_total += event->lost.lost; top 851 tools/perf/builtin-top.c perf_top__process_lost_samples(struct perf_top *top, top 857 tools/perf/builtin-top.c top->lost += event->lost_samples.lost; top 858 tools/perf/builtin-top.c top->lost_total += event->lost_samples.lost; top 864 tools/perf/builtin-top.c static void perf_top__mmap_read_idx(struct perf_top *top, int idx) top 866 tools/perf/builtin-top.c struct record_opts *opts = &top->record_opts; top 867 tools/perf/builtin-top.c struct evlist *evlist = top->evlist; top 882 tools/perf/builtin-top.c ret = ordered_events__queue(top->qe.in, event, last_timestamp, 0); top 888 tools/perf/builtin-top.c if (top->qe.rotate) { top 889 tools/perf/builtin-top.c pthread_mutex_lock(&top->qe.mutex); top 890 tools/perf/builtin-top.c top->qe.rotate = false; top 891 tools/perf/builtin-top.c pthread_cond_signal(&top->qe.cond); top 892 tools/perf/builtin-top.c pthread_mutex_unlock(&top->qe.mutex); top 899 tools/perf/builtin-top.c static void perf_top__mmap_read(struct perf_top *top) top 901 tools/perf/builtin-top.c bool overwrite = top->record_opts.overwrite; top 902 tools/perf/builtin-top.c struct evlist *evlist = top->evlist; top 908 tools/perf/builtin-top.c for (i = 0; i < top->evlist->core.nr_mmaps; i++) top 909 tools/perf/builtin-top.c perf_top__mmap_read_idx(top, i); top 934 tools/perf/builtin-top.c static int perf_top__overwrite_check(struct perf_top *top) top 936 tools/perf/builtin-top.c struct record_opts *opts = &top->record_opts; top 937 tools/perf/builtin-top.c struct evlist *evlist = top->evlist; top 979 tools/perf/builtin-top.c static int perf_top_overwrite_fallback(struct perf_top *top, top 982 tools/perf/builtin-top.c struct record_opts *opts = &top->record_opts; top 983 tools/perf/builtin-top.c struct evlist *evlist = top->evlist; top 1000 tools/perf/builtin-top.c static int perf_top__start_counters(struct perf_top *top) top 1004 tools/perf/builtin-top.c struct evlist *evlist = top->evlist; top 1005 tools/perf/builtin-top.c struct record_opts *opts = &top->record_opts; top 1007 tools/perf/builtin-top.c if (perf_top__overwrite_check(top)) { top 1017 tools/perf/builtin-top.c if (evsel__open(counter, top->evlist->core.cpus, top 1018 tools/perf/builtin-top.c top->evlist->core.threads) < 0) { top 1031 tools/perf/builtin-top.c perf_top_overwrite_fallback(top, counter)) top 1071 tools/perf/builtin-top.c static struct ordered_events *rotate_queues(struct perf_top *top) top 1073 tools/perf/builtin-top.c struct ordered_events *in = top->qe.in; top 1075 tools/perf/builtin-top.c if (top->qe.in == &top->qe.data[1]) top 1076 tools/perf/builtin-top.c top->qe.in = &top->qe.data[0]; top 1078 tools/perf/builtin-top.c top->qe.in = &top->qe.data[1]; top 1085 tools/perf/builtin-top.c struct perf_top *top = arg; top 1088 tools/perf/builtin-top.c struct ordered_events *out, *in = top->qe.in; top 1095 tools/perf/builtin-top.c out = rotate_queues(top); top 1097 tools/perf/builtin-top.c pthread_mutex_lock(&top->qe.mutex); top 1098 tools/perf/builtin-top.c top->qe.rotate = true; top 1099 tools/perf/builtin-top.c pthread_cond_wait(&top->qe.cond, &top->qe.mutex); top 1100 tools/perf/builtin-top.c pthread_mutex_unlock(&top->qe.mutex); top 1112 tools/perf/builtin-top.c static int should_drop(struct ordered_event *qevent, struct perf_top *top) top 1120 tools/perf/builtin-top.c delay_timestamp = qevent->timestamp + top->delay_secs * NSEC_PER_SEC; top 1127 tools/perf/builtin-top.c struct perf_top *top = qe->data; top 1128 tools/perf/builtin-top.c struct evlist *evlist = top->evlist; top 1129 tools/perf/builtin-top.c struct perf_session *session = top->session; top 1136 tools/perf/builtin-top.c if (should_drop(qevent, top)) { top 1137 tools/perf/builtin-top.c top->drop++; top 1138 tools/perf/builtin-top.c top->drop_total++; top 1152 tools/perf/builtin-top.c if (evswitch__discard(&top->evswitch, evsel)) top 1154 tools/perf/builtin-top.c ++top->samples; top 1159 tools/perf/builtin-top.c ++top->us_samples; top 1160 tools/perf/builtin-top.c if (top->hide_user_symbols) top 1165 tools/perf/builtin-top.c ++top->kernel_samples; top 1166 tools/perf/builtin-top.c if (top->hide_kernel_symbols) top 1171 tools/perf/builtin-top.c ++top->guest_kernel_samples; top 1176 tools/perf/builtin-top.c ++top->guest_us_samples; top 1190 tools/perf/builtin-top.c perf_event__process_sample(&top->tool, event, evsel, top 1193 tools/perf/builtin-top.c perf_top__process_lost(top, event, evsel); top 1195 tools/perf/builtin-top.c perf_top__process_lost_samples(top, event, evsel); top 1207 tools/perf/builtin-top.c static void init_process_thread(struct perf_top *top) top 1209 tools/perf/builtin-top.c ordered_events__init(&top->qe.data[0], deliver_event, top); top 1210 tools/perf/builtin-top.c ordered_events__init(&top->qe.data[1], deliver_event, top); top 1211 tools/perf/builtin-top.c ordered_events__set_copy_on_queue(&top->qe.data[0], true); top 1212 tools/perf/builtin-top.c ordered_events__set_copy_on_queue(&top->qe.data[1], true); top 1213 tools/perf/builtin-top.c top->qe.in = &top->qe.data[0]; top 1214 tools/perf/builtin-top.c pthread_mutex_init(&top->qe.mutex, NULL); top 1215 tools/perf/builtin-top.c pthread_cond_init(&top->qe.cond, NULL); top 1218 tools/perf/builtin-top.c static int __cmd_top(struct perf_top *top) top 1220 tools/perf/builtin-top.c struct record_opts *opts = &top->record_opts; top 1224 tools/perf/builtin-top.c if (!top->annotation_opts.objdump_path) { top 1225 tools/perf/builtin-top.c ret = perf_env__lookup_objdump(&top->session->header.env, top 1226 tools/perf/builtin-top.c &top->annotation_opts.objdump_path); top 1235 tools/perf/builtin-top.c if (perf_session__register_idle_thread(top->session) < 0) top 1238 tools/perf/builtin-top.c if (top->nr_threads_synthesize > 1) top 1241 tools/perf/builtin-top.c init_process_thread(top); top 1244 tools/perf/builtin-top.c top->tool.namespace_events = true; top 1246 tools/perf/builtin-top.c ret = perf_event__synthesize_bpf_events(top->session, perf_event__process, top 1247 tools/perf/builtin-top.c &top->session->machines.host, top 1248 tools/perf/builtin-top.c &top->record_opts); top 1252 tools/perf/builtin-top.c machine__synthesize_threads(&top->session->machines.host, &opts->target, top 1253 tools/perf/builtin-top.c top->evlist->core.threads, false, top 1254 tools/perf/builtin-top.c top->nr_threads_synthesize); top 1256 tools/perf/builtin-top.c if (top->nr_threads_synthesize > 1) top 1270 tools/perf/builtin-top.c ret = perf_top__start_counters(top); top 1274 tools/perf/builtin-top.c top->session->evlist = top->evlist; top 1275 tools/perf/builtin-top.c perf_session__set_id_hdr_size(top->session); top 1286 tools/perf/builtin-top.c evlist__enable(top->evlist); top 1289 tools/perf/builtin-top.c if (pthread_create(&thread_process, NULL, process_thread, top)) { top 1295 tools/perf/builtin-top.c display_thread), top)) { top 1300 tools/perf/builtin-top.c if (top->realtime_prio) { top 1303 tools/perf/builtin-top.c param.sched_priority = top->realtime_prio; top 1311 tools/perf/builtin-top.c evlist__poll(top->evlist, 100); top 1313 tools/perf/builtin-top.c perf_top__mmap_read(top); top 1316 tools/perf/builtin-top.c u64 hits = top->samples; top 1318 tools/perf/builtin-top.c perf_top__mmap_read(top); top 1320 tools/perf/builtin-top.c if (opts->overwrite || (hits == top->samples)) top 1321 tools/perf/builtin-top.c ret = evlist__poll(top->evlist, 100); top 1324 tools/perf/builtin-top.c perf_top__resize(top); top 1333 tools/perf/builtin-top.c pthread_cond_signal(&top->qe.cond); top 1383 tools/perf/builtin-top.c struct perf_top *top = opt->value; top 1385 tools/perf/builtin-top.c top->min_percent = strtof(arg, NULL); top 1395 tools/perf/builtin-top.c struct perf_top top = { top 1421 tools/perf/builtin-top.c struct record_opts *opts = &top.record_opts; top 1424 tools/perf/builtin-top.c OPT_CALLBACK('e', "event", &top.evlist, "event", top 1442 tools/perf/builtin-top.c OPT_BOOLEAN('K', "hide_kernel_symbols", &top.hide_kernel_symbols, top 1447 tools/perf/builtin-top.c OPT_INTEGER('r', "realtime", &top.realtime_prio, top 1449 tools/perf/builtin-top.c OPT_INTEGER('d', "delay", &top.delay_secs, top 1451 tools/perf/builtin-top.c OPT_BOOLEAN('D', "dump-symtab", &top.dump_symtab, top 1453 tools/perf/builtin-top.c OPT_INTEGER('f', "count-filter", &top.count_filter, top 1459 tools/perf/builtin-top.c OPT_STRING(0, "sym-annotate", &top.sym_filter, "symbol name", top 1461 tools/perf/builtin-top.c OPT_BOOLEAN('z', "zero", &top.zero, "zero history across updates"), top 1462 tools/perf/builtin-top.c OPT_CALLBACK('F', "freq", &top.record_opts, "freq or 'max'", top 1465 tools/perf/builtin-top.c OPT_INTEGER('E', "entries", &top.print_entries, top 1467 tools/perf/builtin-top.c OPT_BOOLEAN('U', "hide_user_symbols", &top.hide_user_symbols, top 1469 tools/perf/builtin-top.c OPT_BOOLEAN(0, "tui", &top.use_tui, "Use the TUI interface"), top 1470 tools/perf/builtin-top.c OPT_BOOLEAN(0, "stdio", &top.use_stdio, "Use the stdio interface"), top 1488 tools/perf/builtin-top.c OPT_INTEGER(0, "max-stack", &top.max_stack, top 1502 tools/perf/builtin-top.c OPT_BOOLEAN(0, "source", &top.annotation_opts.annotate_src, top 1504 tools/perf/builtin-top.c OPT_BOOLEAN(0, "asm-raw", &top.annotation_opts.show_asm_raw, top 1508 tools/perf/builtin-top.c OPT_BOOLEAN(0, "no-bpf-event", &top.record_opts.no_bpf_event, "do not record bpf events"), top 1509 tools/perf/builtin-top.c OPT_STRING(0, "objdump", &top.annotation_opts.objdump_path, "path", top 1511 tools/perf/builtin-top.c OPT_STRING('M', "disassembler-style", &top.annotation_opts.disassembler_style, "disassembler style", top 1514 tools/perf/builtin-top.c OPT_CALLBACK(0, "percent-limit", &top, "percent", top 1533 tools/perf/builtin-top.c OPT_BOOLEAN(0, "overwrite", &top.record_opts.overwrite, top 1536 tools/perf/builtin-top.c OPT_UINTEGER(0, "num-thread-synthesize", &top.nr_threads_synthesize, top 1540 tools/perf/builtin-top.c OPTS_EVSWITCH(&top.evswitch), top 1553 tools/perf/builtin-top.c top.annotation_opts.min_pcnt = 5; top 1554 tools/perf/builtin-top.c top.annotation_opts.context = 4; top 1556 tools/perf/builtin-top.c top.evlist = evlist__new(); top 1557 tools/perf/builtin-top.c if (top.evlist == NULL) top 1560 tools/perf/builtin-top.c status = perf_config(perf_top_config, &top); top 1568 tools/perf/builtin-top.c if (!top.evlist->core.nr_entries && top 1569 tools/perf/builtin-top.c perf_evlist__add_default(top.evlist) < 0) { top 1574 tools/perf/builtin-top.c status = evswitch__init(&top.evswitch, top.evlist, stderr); top 1598 tools/perf/builtin-top.c if (top.use_stdio) top 1600 tools/perf/builtin-top.c else if (top.use_tui) top 1605 tools/perf/builtin-top.c if (setup_sorting(top.evlist) < 0) { top 1634 tools/perf/builtin-top.c if (perf_evlist__create_maps(top.evlist, target) < 0) { top 1640 tools/perf/builtin-top.c if (top.delay_secs < 1) top 1641 tools/perf/builtin-top.c top.delay_secs = 1; top 1648 tools/perf/builtin-top.c top.sym_evsel = evlist__first(top.evlist); top 1671 tools/perf/builtin-top.c get_term_dimensions(&top.winsize); top 1672 tools/perf/builtin-top.c if (top.print_entries == 0) { top 1673 tools/perf/builtin-top.c perf_top__update_print_entries(&top); top 1677 tools/perf/builtin-top.c top.session = perf_session__new(NULL, false, NULL); top 1678 tools/perf/builtin-top.c if (IS_ERR(top.session)) { top 1679 tools/perf/builtin-top.c status = PTR_ERR(top.session); top 1683 tools/perf/builtin-top.c if (!top.record_opts.no_bpf_event) top 1691 tools/perf/builtin-top.c status = __cmd_top(&top); top 1697 tools/perf/builtin-top.c evlist__delete(top.evlist); top 1698 tools/perf/builtin-top.c perf_session__delete(top.session); top 116 tools/perf/ui/browser.c pos = browser->top; top 135 tools/perf/ui/browser.c browser->top = pos; top 148 tools/perf/ui/browser.c nd = browser->top; top 165 tools/perf/ui/browser.c browser->top = nd; top 173 tools/perf/ui/browser.c if (browser->top == NULL) top 174 tools/perf/ui/browser.c browser->top = rb_first(browser->entries); top 176 tools/perf/ui/browser.c nd = browser->top; top 382 tools/perf/ui/browser.c browser->top = NULL; top 504 tools/perf/ui/browser.c if (browser->top == NULL || browser->top == browser->entries) top 505 tools/perf/ui/browser.c browser->top = ui_browser__list_head_filter_entries(browser, head->next); top 507 tools/perf/ui/browser.c pos = browser->top; top 612 tools/perf/ui/browser.c browser->top = browser->entries; top 615 tools/perf/ui/browser.c browser->top = (char **)browser->top + offset; top 618 tools/perf/ui/browser.c browser->top = (char **)browser->entries + browser->nr_entries - 1 + offset; top 623 tools/perf/ui/browser.c assert((char **)browser->top < (char **)browser->entries + browser->nr_entries); top 624 tools/perf/ui/browser.c assert((char **)browser->top >= (char **)browser->entries); top 632 tools/perf/ui/browser.c if (browser->top == NULL) top 633 tools/perf/ui/browser.c browser->top = browser->entries; top 635 tools/perf/ui/browser.c pos = (char **)browser->top; top 19 tools/perf/ui/browser.h void *top, *entries; top 285 tools/perf/ui/browsers/annotate.c browser->b.top = pos; top 353 tools/perf/ui/browsers/annotate.c al = list_entry(browser->b.top, struct annotation_line, node); top 675 tools/perf/ui/browsers/hists.c struct hist_entry *h = rb_entry(browser->b.top, top 1755 tools/perf/ui/browsers/hists.c if (browser->top == NULL) { top 1759 tools/perf/ui/browsers/hists.c browser->top = rb_first_cached(&hb->hists->entries); top 1776 tools/perf/ui/browsers/hists.c for (nd = browser->top; nd; nd = rb_hierarchy_next(nd)) { top 1871 tools/perf/ui/browsers/hists.c nd = browser->top; top 1886 tools/perf/ui/browsers/hists.c h = rb_entry(browser->top, struct hist_entry, rb_node); top 1917 tools/perf/ui/browsers/hists.c browser->top = nd; top 1926 tools/perf/ui/browsers/hists.c browser->top = nd; top 1939 tools/perf/ui/browsers/hists.c browser->top = nd; top 1949 tools/perf/ui/browsers/hists.c browser->top = nd; top 1960 tools/perf/ui/browsers/hists.c browser->top = nd; top 1975 tools/perf/ui/browsers/hists.c browser->top = nd; top 2239 tools/perf/ui/browsers/hists.c struct perf_top *top = hbt->arg; top 2243 tools/perf/ui/browsers/hists.c top->lost, top->lost_total); top 2247 tools/perf/ui/browsers/hists.c top->drop, top->drop_total); top 2249 tools/perf/ui/browsers/hists.c if (top->zero) top 2252 tools/perf/ui/browsers/hists.c perf_top__reset_sample_counters(top); top 3005 tools/perf/ui/browsers/hists.c struct perf_top *top = hbt->arg; top 3007 tools/perf/ui/browsers/hists.c top->zero = !top->zero; top 3041 tools/perf/ui/browsers/hists.c const void *top; top 3058 tools/perf/ui/browsers/hists.c top = pstack__peek(browser->pstack); top 3059 tools/perf/ui/browsers/hists.c if (top == &browser->hists->dso_filter) { top 3066 tools/perf/ui/browsers/hists.c } else if (top == &browser->hists->thread_filter) { top 3068 tools/perf/ui/browsers/hists.c } else if (top == &browser->hists->socket_filter) { top 3078 tools/perf/ui/browsers/hists.c struct perf_top *top = hbt->arg; top 3080 tools/perf/ui/browsers/hists.c perf_evlist__toggle_enable(top->evlist); top 3085 tools/perf/ui/browsers/hists.c if (top->evlist->enabled) { top 67 tools/perf/ui/browsers/map.c browser->b.top = &sym->rb_node; top 16 tools/perf/util/pstack.c unsigned short top; top 37 tools/perf/util/pstack.c return pstack->top == 0; top 42 tools/perf/util/pstack.c unsigned short i = pstack->top, last_index = pstack->top - 1; top 50 tools/perf/util/pstack.c --pstack->top; top 59 tools/perf/util/pstack.c if (pstack->top == pstack->max_nr_entries) { top 60 tools/perf/util/pstack.c pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); top 63 tools/perf/util/pstack.c pstack->entries[pstack->top++] = key; top 70 tools/perf/util/pstack.c if (pstack->top == 0) { top 75 tools/perf/util/pstack.c ret = pstack->entries[--pstack->top]; top 76 tools/perf/util/pstack.c pstack->entries[pstack->top] = NULL; top 82 tools/perf/util/pstack.c if (pstack->top == 0) top 84 tools/perf/util/pstack.c return pstack->entries[pstack->top - 1]; top 23 tools/perf/util/top.c size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) top 28 tools/perf/util/top.c struct record_opts *opts = &top->record_opts; top 32 tools/perf/util/top.c if (top->samples) { top 33 tools/perf/util/top.c samples_per_sec = top->samples / top->delay_secs; top 34 tools/perf/util/top.c ksamples_per_sec = top->kernel_samples / top->delay_secs; top 35 tools/perf/util/top.c esamples_percent = (100.0 * top->exact_samples) / top->samples; top 50 tools/perf/util/top.c top->lost, top->lost_total, top->drop, top->drop_total); top 52 tools/perf/util/top.c float us_samples_per_sec = top->us_samples / top->delay_secs; top 53 tools/perf/util/top.c float guest_kernel_samples_per_sec = top->guest_kernel_samples / top->delay_secs; top 54 tools/perf/util/top.c float guest_us_samples_per_sec = top->guest_us_samples / top->delay_secs; top 73 tools/perf/util/top.c if (top->evlist->core.nr_entries == 1) { top 74 tools/perf/util/top.c struct evsel *first = evlist__first(top->evlist); top 80 tools/perf/util/top.c ret += SNPRINTF(bf + ret, size - ret, "%s", perf_evsel__name(top->sym_evsel)); top 98 tools/perf/util/top.c top->evlist->core.cpus->nr > 1 ? "s" : "", top 105 tools/perf/util/top.c top->evlist->core.cpus->nr, top 106 tools/perf/util/top.c top->evlist->core.cpus->nr > 1 ? "s" : ""); top 109 tools/perf/util/top.c perf_top__reset_sample_counters(top); top 113 tools/perf/util/top.c void perf_top__reset_sample_counters(struct perf_top *top) top 115 tools/perf/util/top.c top->samples = top->us_samples = top->kernel_samples = top 116 tools/perf/util/top.c top->exact_samples = top->guest_kernel_samples = top 117 tools/perf/util/top.c top->guest_us_samples = top->lost = top->drop = 0; top 59 tools/perf/util/top.h size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size); top 60 tools/perf/util/top.h void perf_top__reset_sample_counters(struct perf_top *top); top 38 tools/thermal/tmon/tui.c static PANEL *top; top 172 tools/thermal/tmon/tui.c top = data_panel; top 438 tools/thermal/tmon/tui.c top = (PANEL *)panel_userptr(top); top 439 tools/thermal/tmon/tui.c top_panel(top); top 495 tools/thermal/tmon/tui.c top = (PANEL *)panel_userptr(top); top 496 tools/thermal/tmon/tui.c top_panel(top); top 497 tools/thermal/tmon/tui.c if (top == dialogue_panel) {