Home
last modified time | relevance | path

Searched refs:inc (Results 1 – 25 of 52) sorted by relevance

123

/arch/x86/include/asm/
Dcmpxchg.h165 #define __xadd(ptr, inc, lock) __xchg_op((ptr), (inc), xadd, lock) argument
166 #define xadd(ptr, inc) __xadd((ptr), (inc), LOCK_PREFIX) argument
167 #define xadd_sync(ptr, inc) __xadd((ptr), (inc), "lock; ") argument
168 #define xadd_local(ptr, inc) __xadd((ptr), (inc), "") argument
170 #define __add(ptr, inc, lock) \ argument
172 __typeof__ (*(ptr)) __ret = (inc); \
176 : "+m" (*(ptr)) : "qi" (inc) \
181 : "+m" (*(ptr)) : "ri" (inc) \
186 : "+m" (*(ptr)) : "ri" (inc) \
191 : "+m" (*(ptr)) : "ri" (inc) \
[all …]
Dspinlock.h55 register struct __raw_tickets inc = { .tail = 1 }; in __ticket_spin_lock() local
57 inc = xadd(&lock->tickets, inc); in __ticket_spin_lock()
60 if (inc.head == inc.tail) in __ticket_spin_lock()
63 inc.head = ACCESS_ONCE(lock->tickets.head); in __ticket_spin_lock()
200 READ_LOCK_ATOMIC(inc)(count); in arch_read_trylock() local
216 asm volatile(LOCK_PREFIX READ_LOCK_SIZE(inc) " %0" in arch_read_unlock()
Dxor_64.h135 : [inc] "r" (256UL) in xor_sse_2()
195 : [inc] "r" (256UL) in xor_sse_3()
261 : [inc] "r" (256UL) in xor_sse_4()
336 : [inc] "r" (256UL) in xor_sse_5()
Dasm.h28 #define _ASM_INC __ASM_SIZE(inc)
/arch/powerpc/sysdev/bestcomm/
Data.c62 struct bcom_ata_inc *inc; in bcom_ata_init() local
76 inc = (struct bcom_ata_inc *) bcom_task_inc(tsk->tasknum); in bcom_ata_init()
105 struct bcom_ata_inc *inc; in bcom_ata_rx_prepare() local
107 inc = (struct bcom_ata_inc *) bcom_task_inc(tsk->tasknum); in bcom_ata_rx_prepare()
109 inc->incr_bytes = -(s16)sizeof(u32); in bcom_ata_rx_prepare()
110 inc->incr_src = 0; in bcom_ata_rx_prepare()
111 inc->incr_dst = sizeof(u32); in bcom_ata_rx_prepare()
119 struct bcom_ata_inc *inc; in bcom_ata_tx_prepare() local
121 inc = (struct bcom_ata_inc *) bcom_task_inc(tsk->tasknum); in bcom_ata_tx_prepare()
123 inc->incr_bytes = -(s16)sizeof(u32); in bcom_ata_tx_prepare()
[all …]
Dfec.c115 struct bcom_fec_rx_inc *inc; in bcom_fec_rx_reset() local
122 inc = (struct bcom_fec_rx_inc *) bcom_task_inc(tsk->tasknum); in bcom_fec_rx_reset()
135 inc->incr_bytes = -(s16)sizeof(u32); /* These should be in the */ in bcom_fec_rx_reset()
136 inc->incr_dst = sizeof(u32); /* task image, but we stick */ in bcom_fec_rx_reset()
137 inc->incr_dst_ma= sizeof(u8); /* to the official ones */ in bcom_fec_rx_reset()
216 struct bcom_fec_tx_inc *inc; in bcom_fec_tx_reset() local
223 inc = (struct bcom_fec_tx_inc *) bcom_task_inc(tsk->tasknum); in bcom_fec_tx_reset()
236 inc->incr_bytes = -(s16)sizeof(u32); /* These should be in the */ in bcom_fec_tx_reset()
237 inc->incr_src = sizeof(u32); /* task image, but we stick */ in bcom_fec_tx_reset()
238 inc->incr_src_ma= sizeof(u8); /* to the official ones */ in bcom_fec_tx_reset()
Dgen_bd.c122 struct bcom_gen_bd_rx_inc *inc; in bcom_gen_bd_rx_reset() local
129 inc = (struct bcom_gen_bd_rx_inc *) bcom_task_inc(tsk->tasknum); in bcom_gen_bd_rx_reset()
142 inc->incr_bytes = -(s16)sizeof(u32); in bcom_gen_bd_rx_reset()
143 inc->incr_dst = sizeof(u32); in bcom_gen_bd_rx_reset()
206 struct bcom_gen_bd_tx_inc *inc; in bcom_gen_bd_tx_reset() local
213 inc = (struct bcom_gen_bd_tx_inc *) bcom_task_inc(tsk->tasknum); in bcom_gen_bd_tx_reset()
225 inc->incr_bytes = -(s16)sizeof(u32); in bcom_gen_bd_tx_reset()
226 inc->incr_src = sizeof(u32); in bcom_gen_bd_tx_reset()
227 inc->incr_src_ma = sizeof(u8); in bcom_gen_bd_tx_reset()
Dbestcomm.c143 u32 *desc, *var, *inc; in bcom_load_image() local
185 inc = bcom_task_inc(task); in bcom_load_image()
189 memset(inc, 0x00, BCOM_INC_SIZE); in bcom_load_image()
197 memcpy(inc, inc_src, hdr->inc_size * sizeof(u32)); in bcom_load_image()
/arch/arm/include/asm/
Dassembler.h247 .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER()
249 .if \inc == 1
251 .elseif \inc == 4
263 .macro usracc, instr, reg, ptr, inc, cond, rept, abort
277 usraccoff \instr, \reg, \ptr, \inc, 0, \cond, \abort
279 usraccoff \instr, \reg, \ptr, \inc, \inc, \cond, \abort
282 add\cond \ptr, #\rept * \inc
287 .macro usracc, instr, reg, ptr, inc, cond, rept, abort, t=TUSER()
290 .if \inc == 1
291 \instr\cond\()b\()\t \reg, [\ptr], #\inc
[all …]
/arch/unicore32/include/asm/
Dassembler.h100 .macro usracc, instr, reg, ptr, inc, cond, rept, abort
104 .if \inc == 1
105 \instr\()b.u \reg, [\ptr], #\inc
106 .elseif \inc == 4
107 \instr\()w.u \reg, [\ptr], #\inc
119 .macro strusr, reg, ptr, inc, cond = al, rept = 1, abort = 9001f
120 usracc st, \reg, \ptr, \inc, \cond, \rept, \abort
123 .macro ldrusr, reg, ptr, inc, cond = al, rept = 1, abort = 9001f
124 usracc ld, \reg, \ptr, \inc, \cond, \rept, \abort
/arch/mips/include/asm/
Dspinlock.h60 int inc = 0x10000; in arch_spin_lock() local
96 : [inc] "r" (inc)); in arch_spin_lock()
130 : [inc] "r" (inc)); in arch_spin_lock()
147 int inc = 0x10000; in arch_spin_trylock() local
173 : [inc] "r" (inc)); in arch_spin_trylock()
198 : [inc] "r" (inc)); in arch_spin_trylock()
/arch/cris/
DMakefile26 inc := -Iarch/cris/include/$(SARCH) macro
27 inc += -Iarch/cris/include/$(SARCH)/arch
30 inc := macro
35 inc += -Iarch/cris/include/$(SARCH)/$(MACH)/
36 inc += -Iarch/cris/include/$(SARCH)/$(MACH)/mach
45 KBUILD_AFLAGS += -mlinux -march=$(arch-y) $(inc)
46 KBUILD_CFLAGS += -mlinux -march=$(arch-y) -pipe $(inc)
47 KBUILD_CPPFLAGS += $(inc)
/arch/mips/cavium-octeon/
Dcsrc-octeon.c129 u64 cur, end, inc; in __udelay() local
133 inc = us * octeon_udelay_factor; in __udelay()
134 end = cur + inc; in __udelay()
143 u64 cur, end, inc; in __ndelay() local
147 inc = ((ns * octeon_ndelay_factor) >> 16); in __ndelay()
148 end = cur + inc; in __ndelay()
Dsetup.c624 u64 inc = addr - *mem; in memory_exclude_page() local
625 add_memory_region(*mem, inc, BOOT_MEM_RAM); in memory_exclude_page()
626 *mem += inc; in memory_exclude_page()
627 *size -= inc; in memory_exclude_page()
/arch/sparc/lib/
Dmemscan_64.S63 inc %g2
68 inc %g2
72 inc %g2
80 inc %g2
85 inc %g2
89 inc %g2
94 inc %g2
97 inc %g2
/arch/ia64/include/asm/
Dgcc_intrin.h236 #define ia64_fetchadd4_acq(p, inc) \ argument
241 : "=r"(ia64_intri_res) : "r"(p), "i" (inc) \
247 #define ia64_fetchadd4_rel(p, inc) \ argument
251 : "=r"(ia64_intri_res) : "r"(p), "i" (inc) \
257 #define ia64_fetchadd8_acq(p, inc) \ argument
262 : "=r"(ia64_intri_res) : "r"(p), "i" (inc) \
268 #define ia64_fetchadd8_rel(p, inc) \ argument
272 : "=r"(ia64_intri_res) : "r"(p), "i" (inc) \
/arch/frv/include/asm/
Dchecksum.h57 unsigned int tmp, inc, sum = 0; in ip_fast_csum() local
75 : "=r" (sum), "=r" (iph), "=r" (ihl), "=r" (inc), "=&r"(tmp) in ip_fast_csum()
/arch/arm/plat-omap/include/plat/
Dsram.h37 u32 m2, u32 unlock_dll, u32 f, u32 inc,
77 u32 m2, u32 unlock_dll, u32 f, u32 inc,
/arch/xtensa/kernel/
Dsignal.c89 int inc = 0; in flush_window_regs_user() local
94 inc = 1; in flush_window_regs_user()
100 inc = 2; in flush_window_regs_user()
106 inc = 3; in flush_window_regs_user()
111 sp = regs->areg[((base + inc) * 4 + 1) % XCHAL_NUM_AREGS]; in flush_window_regs_user()
118 base += inc; in flush_window_regs_user()
/arch/x86/lib/
Drwlock.S34 READ_LOCK_SIZE(inc) (%__lock_ptr)
/arch/mn10300/kernel/
Dhead.S62 inc a0
150 inc a3
152 inc a0
162 inc a3
164 inc a0
/arch/arm/plat-omap/
Dsram.c330 u32 m2, u32 unlock_dll, u32 f, u32 inc,
336 u32 omap3_configure_core_dpll(u32 m2, u32 unlock_dll, u32 f, u32 inc, in omap3_configure_core_dpll() argument
344 m2, unlock_dll, f, inc, in omap3_configure_core_dpll()
/arch/powerpc/platforms/powernv/
Dpci.c371 unsigned long start, end, inc; in pnv_tce_invalidate() local
381 inc = 128 << 12; in pnv_tce_invalidate()
389 inc = 16; in pnv_tce_invalidate()
393 inc = 128; in pnv_tce_invalidate()
395 end |= inc - 1; /* round up end to be different than start */ in pnv_tce_invalidate()
400 start += inc; in pnv_tce_invalidate()
/arch/hexagon/lib/
Dmemcpy.S176 #define inc R15:14 /* inc kernel by -1 and defetch ptr by 32 */ macro
362 inc = combine(#32, #-1); define
385 ptr_in_p_128kernel = vaddw(ptr_in_p_128kernel, inc);
421 ptr_in_p_128kernel = vaddw(ptr_in_p_128kernel, inc);
/arch/mn10300/mm/
Dmisalignment.c322 unsigned long data, *store, *postinc, disp, inc, sp; in misalignment() local
487 inc = datasz = 4; in misalignment()
489 inc = datasz = 2; in misalignment()
497 &address, &postinc, &inc)) in misalignment()
508 kdebug("inc=%lx", inc); in misalignment()
509 *postinc += inc; in misalignment()
522 &address, &postinc, &inc)) in misalignment()
531 *postinc += inc; in misalignment()

123