/arch/sh/mm/ |
D | flush-sh4.c | 16 reg_size_t aligned_start, v, cnt, end; in sh4__flush_wback_region() local 22 cnt = (end - v) / L1_CACHE_BYTES; in sh4__flush_wback_region() 24 while (cnt >= 8) { in sh4__flush_wback_region() 33 cnt -= 8; in sh4__flush_wback_region() 36 while (cnt) { in sh4__flush_wback_region() 38 cnt--; in sh4__flush_wback_region() 50 reg_size_t aligned_start, v, cnt, end; in sh4__flush_purge_region() local 56 cnt = (end - v) / L1_CACHE_BYTES; in sh4__flush_purge_region() 58 while (cnt >= 8) { in sh4__flush_purge_region() 67 cnt -= 8; in sh4__flush_purge_region() [all …]
|
/arch/mips/kernel/ |
D | cevt-r4k.c | 22 unsigned int cnt; in mips_next_event() local 25 cnt = read_c0_count(); in mips_next_event() 26 cnt += delta; in mips_next_event() 27 write_c0_compare(cnt); in mips_next_event() 28 res = ((int)(read_c0_count() - cnt) >= 0) ? -ETIME : 0; in mips_next_event() 51 unsigned int cnt, i, j, k, l; in calculate_min_delta() local 65 cnt = read_c0_count(); in calculate_min_delta() 66 write_c0_compare(cnt); in calculate_min_delta() 67 cnt = read_c0_count() - cnt; in calculate_min_delta() 71 if (cnt < buf1[k]) { in calculate_min_delta() [all …]
|
/arch/ia64/lib/ |
D | memset.S | 27 #define cnt in2 macro 69 cmp.eq p_scr, p0 = cnt, r0 84 cmp.gt p_scr, p0 = 16, cnt // is it a minimalistic task? 93 (p_y) add cnt = -8, cnt // 100 (p_yy) add cnt = -4, cnt // 108 (p_y) add cnt = -2, cnt // 118 cmp.gt p_scr, p0 = tmp, cnt // is it a minimalistic task? 120 (p_yy) add cnt = -1, cnt // 126 shr.u linecnt = cnt, LSIZE_SH 132 and tmp = -(LINE_SIZE), cnt // compute end of range [all …]
|
D | memcpy.S | 30 # define cnt r16 macro 69 shr.u cnt=in2,3 // number of 8-byte words to copy 73 adds cnt=-1,cnt // br.ctop is repeat/until 79 mov ar.lc=cnt 121 adds cnt=-1,in2 // br.ctop is repeat/until 125 mov ar.lc=cnt 205 mov cnt=r0 210 (p3) adds cnt=1,cnt 214 (p4) adds cnt=2,cnt 217 (p5) adds cnt=4,cnt [all …]
|
/arch/arm64/include/asm/ |
D | arch_timer.h | 170 u64 cnt; in __arch_counter_get_cntpct_stable() local 173 cnt = arch_timer_reg_read_stable(cntpct_el0); in __arch_counter_get_cntpct_stable() 174 arch_counter_enforce_ordering(cnt); in __arch_counter_get_cntpct_stable() 175 return cnt; in __arch_counter_get_cntpct_stable() 180 u64 cnt; in __arch_counter_get_cntpct() local 183 cnt = read_sysreg(cntpct_el0); in __arch_counter_get_cntpct() 184 arch_counter_enforce_ordering(cnt); in __arch_counter_get_cntpct() 185 return cnt; in __arch_counter_get_cntpct() 190 u64 cnt; in __arch_counter_get_cntvct_stable() local 193 cnt = arch_timer_reg_read_stable(cntvct_el0); in __arch_counter_get_cntvct_stable() [all …]
|
D | hardirq.h | 23 unsigned int cnt; member 37 if (___ctx->cnt) { \ 38 ___ctx->cnt++; \ 52 ___ctx->cnt = 1; \ 76 ___ctx->cnt--; \ 84 if (!___ctx->cnt && !(___hcr & HCR_TGE)) \
|
/arch/m68k/sun3/ |
D | sun3ints.c | 53 unsigned int cnt; in sun3_int7() local 55 cnt = kstat_irqs_cpu(irq, 0); in sun3_int7() 56 if (!(cnt % 2000)) in sun3_int7() 57 sun3_leds(led_pattern[cnt % 16000 / 2000]); in sun3_int7() 64 unsigned int cnt; in sun3_int5() local 76 cnt = kstat_irqs_cpu(irq, 0); in sun3_int5() 77 if (!(cnt % 20)) in sun3_int5() 78 sun3_leds(led_pattern[cnt % 160 / 20]); in sun3_int5()
|
/arch/m68k/kernel/ |
D | time.c | 45 static unsigned cnt = 0, period = 0, dist = 0; in timer_heartbeat() local 47 if (cnt == 0 || cnt == dist) in timer_heartbeat() 49 else if (cnt == 7 || cnt == dist+7) in timer_heartbeat() 52 if (++cnt > period) { in timer_heartbeat() 53 cnt = 0; in timer_heartbeat()
|
D | ints.c | 91 void __init m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt) in m68k_setup_user_interrupt() argument 95 BUG_ON(IRQ_USER + cnt > NR_IRQS); in m68k_setup_user_interrupt() 97 for (i = 0; i < cnt; i++) in m68k_setup_user_interrupt() 117 unsigned int cnt) in m68k_setup_irq_controller() argument 121 for (i = 0; i < cnt; i++) { in m68k_setup_irq_controller()
|
/arch/mips/fw/arc/ |
D | promlib.c | 41 O32_STATIC ULONG cnt; in prom_putchar() local 47 ArcWrite(1, &it, 1, &cnt); in prom_putchar() 53 O32_STATIC ULONG cnt; in prom_getchar() local 57 ArcRead(0, &c, 1, &cnt); in prom_getchar()
|
/arch/m68k/math-emu/ |
D | multi_arith.h | 21 static inline void fp_denormalize(struct fp_ext *reg, unsigned int cnt) in fp_denormalize() argument 23 reg->exp += cnt; in fp_denormalize() 25 switch (cnt) { in fp_denormalize() 27 reg->lowmant = reg->mant.m32[1] << (8 - cnt); in fp_denormalize() 28 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | in fp_denormalize() 29 (reg->mant.m32[0] << (32 - cnt)); in fp_denormalize() 30 reg->mant.m32[0] = reg->mant.m32[0] >> cnt; in fp_denormalize() 33 reg->lowmant = reg->mant.m32[1] >> (cnt - 8); in fp_denormalize() 34 if (reg->mant.m32[1] << (40 - cnt)) in fp_denormalize() 36 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | in fp_denormalize() [all …]
|
/arch/m68k/amiga/ |
D | pcmcia.c | 44 int cnt, pos, len; in pcmcia_copy_tuple() local 55 for (cnt = 0; cnt < len; cnt++) { in pcmcia_copy_tuple() 56 *dest++ = gayle_attribute[pos+(cnt<<1)]; in pcmcia_copy_tuple()
|
/arch/sh/kernel/ |
D | io_trapped.c | 221 static unsigned long from_device(void *dst, const void *src, unsigned long cnt) in from_device() argument 227 pr_debug("trapped io read 0x%08lx (%ld)\n", src_addr, cnt); in from_device() 233 return cnt; in from_device() 236 max_t(unsigned long, cnt, in from_device() 238 (unsigned long)dst, cnt); in from_device() 244 static unsigned long to_device(void *dst, const void *src, unsigned long cnt) in to_device() argument 250 pr_debug("trapped io write 0x%08lx (%ld)\n", dst_addr, cnt); in to_device() 256 return cnt; in to_device() 258 tmp = copy_word((unsigned long)src, cnt, in to_device() 259 dst_addr, max_t(unsigned long, cnt, in to_device()
|
/arch/x86/include/asm/ |
D | string_64.h | 87 void __memcpy_flushcache(void *dst, const void *src, size_t cnt); 88 static __always_inline void memcpy_flushcache(void *dst, const void *src, size_t cnt) in memcpy_flushcache() argument 90 if (__builtin_constant_p(cnt)) { in memcpy_flushcache() 91 switch (cnt) { in memcpy_flushcache() 104 __memcpy_flushcache(dst, src, cnt); in memcpy_flushcache()
|
/arch/arm64/lib/ |
D | uaccess_flushcache.c | 10 void memcpy_flushcache(void *dst, const void *src, size_t cnt) in memcpy_flushcache() argument 17 memcpy(dst, src, cnt); in memcpy_flushcache() 18 dcache_clean_pop((unsigned long)dst, (unsigned long)dst + cnt); in memcpy_flushcache()
|
/arch/mips/sgi-ip27/ |
D | ip27-timer.c | 34 unsigned long cnt; in rt_next_event() local 36 cnt = LOCAL_HUB_L(PI_RT_COUNT); in rt_next_event() 37 cnt += delta; in rt_next_event() 38 LOCAL_HUB_S(PI_RT_COMPARE_A + PI_COUNT_OFFSET * slice, cnt); in rt_next_event() 40 return LOCAL_HUB_L(PI_RT_COUNT) >= cnt ? -ETIME : 0; in rt_next_event()
|
/arch/x86/events/ |
D | probe.c | 19 perf_msr_probe(struct perf_msr *msr, int cnt, bool zero, void *data) in perf_msr_probe() argument 25 if (cnt >= BITS_PER_LONG) in perf_msr_probe() 28 for (bit = 0; bit < cnt; bit++) { in perf_msr_probe()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-stxx-defs.h | 74 uint64_t cnt:32; member 76 uint64_t cnt:32; 281 uint64_t cnt:32; member 283 uint64_t cnt:32; 294 uint64_t cnt:32; member 296 uint64_t cnt:32; 322 uint64_t cnt:32; member 324 uint64_t cnt:32;
|
/arch/mips/cavium-octeon/ |
D | csrc-octeon.c | 92 : [cnt] "+r" (clk_count) in octeon_init_cvmcount() 121 u64 cnt = read_c0_cvmcount(); in sched_clock() local 133 : [cnt] "r" (cnt), [mult] "r" (mult), [shift] "r" (shift) in sched_clock() 203 : [cnt] "+r" (end) in octeon_io_clk_delay()
|
/arch/s390/pci/ |
D | pci_mmio.c | 55 u64 cnt = ulen; in __pcistg_mio_inuser() local 76 [src] "+a" (src), [cnt] "+d" (cnt), in __pcistg_mio_inuser() 83 if (!cc && cnt != 0) in __pcistg_mio_inuser() 197 u64 cnt = ulen; in __pcilg_mio_inuser() local 224 [dst] "+a" (dst), [cnt] "+d" (cnt), [tmp] "=d" (tmp), in __pcilg_mio_inuser() 229 if (!cc && cnt != 0) in __pcilg_mio_inuser()
|
/arch/x86/boot/ |
D | tty.c | 119 int cnt = 30; in getchar_timeout() local 124 while (cnt) { in getchar_timeout() 130 cnt--; in getchar_timeout()
|
/arch/mips/alchemy/devboards/ |
D | platform.c | 80 int cnt, i, ret; in db1x_register_pcmcia_socket() local 84 cnt = 5; in db1x_register_pcmcia_socket() 86 cnt++; in db1x_register_pcmcia_socket() 88 cnt++; in db1x_register_pcmcia_socket() 90 sr = kcalloc(cnt, sizeof(struct resource), GFP_KERNEL); in db1x_register_pcmcia_socket() 137 pd->num_resources = cnt; in db1x_register_pcmcia_socket()
|
/arch/alpha/lib/ |
D | udiv-qrnnd.S | 41 #define cnt $2 macro 50 ldiq cnt,16 85 subq cnt,1,cnt 86 bgt cnt,$loop1 135 subq cnt,1,cnt 136 bgt cnt,$loop2
|
/arch/mips/loongson64/ |
D | hpet.c | 161 u32 cnt; in hpet_next_event() local 164 cnt = hpet_read(HPET_COUNTER); in hpet_next_event() 165 cnt += (u32) delta; in hpet_next_event() 166 hpet_write(HPET_T0_CMP, cnt); in hpet_next_event() 168 res = (s32)(cnt - hpet_read(HPET_COUNTER)); in hpet_next_event()
|
/arch/mips/include/asm/ |
D | sgialib.h | 54 extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt); 55 extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
|