Home
last modified time | relevance | path

Searched refs:incr (Results 1 – 25 of 96) sorted by relevance

1234

/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cpplib.c163 int err, i, incr; in nfp_cpp_explicit_read() local
173 incr = min_t(int, 16 * width_read, 128); in nfp_cpp_explicit_read()
174 incr = min_t(int, incr, len); in nfp_cpp_explicit_read()
184 incr / width_read - 1, byte_mask); in nfp_cpp_explicit_read()
188 for (i = 0; i < len; i += incr, addr += incr, tmp += incr) { in nfp_cpp_explicit_read()
189 if (i + incr > len) { in nfp_cpp_explicit_read()
190 incr = len - i; in nfp_cpp_explicit_read()
192 incr / width_read - 1, in nfp_cpp_explicit_read()
200 err = nfp_cpp_explicit_get(expl, tmp, incr); in nfp_cpp_explicit_read()
216 int err, i, incr; in nfp_cpp_explicit_write() local
[all …]
/linux-6.6.21/lib/zlib_inflate/
Dinftrees.c35 unsigned incr; /* for incrementing code, index */ in zlib_inflate_table() local
219 incr = 1U << (len - drop); in zlib_inflate_table()
223 fill -= incr; in zlib_inflate_table()
228 incr = 1U << (len - 1); in zlib_inflate_table()
229 while (huff & incr) in zlib_inflate_table()
230 incr >>= 1; in zlib_inflate_table()
231 if (incr != 0) { in zlib_inflate_table()
232 huff &= incr - 1; in zlib_inflate_table()
233 huff += incr; in zlib_inflate_table()
300 incr = 1U << (len - 1); in zlib_inflate_table()
[all …]
/linux-6.6.21/mm/
Dmemtest.c45 const size_t incr = sizeof(pattern); in memtest() local
47 start_phys_aligned = ALIGN(start_phys, incr); in memtest()
49 end = start + (size - (start_phys_aligned - start_phys)) / incr; in memtest()
56 for (p = start; p < end; p++, start_phys_aligned += incr) { in memtest()
59 if (start_phys_aligned == last_bad + incr) { in memtest()
60 last_bad += incr; in memtest()
64 reserve_bad_mem(pattern, start_bad, last_bad + incr); in memtest()
68 reserve_bad_mem(pattern, start_bad, last_bad + incr); in memtest()
/linux-6.6.21/drivers/video/fbdev/
Ddnfb.c152 int incr, y_delta, pre_read = 0, x_end, x_word_count; in dnfb_copyarea() local
157 incr = (area->dy <= area->sy) ? 1 : -1; in dnfb_copyarea()
163 if (incr > 0) { in dnfb_copyarea()
192 src += incr; in dnfb_copyarea()
198 src += incr; in dnfb_copyarea()
199 dest += incr; in dnfb_copyarea()
204 src += incr; in dnfb_copyarea()
205 dest += incr; in dnfb_copyarea()
210 dest += incr; in dnfb_copyarea()
211 src += incr; in dnfb_copyarea()
[all …]
/linux-6.6.21/drivers/s390/char/
Dsclp_cmd.c282 struct memory_increment *incr; in sclp_mem_change_state() local
286 list_for_each_entry(incr, &sclp_mem_list, list) { in sclp_mem_change_state()
287 istart = rn2addr(incr->rn); in sclp_mem_change_state()
293 rc |= sclp_assign_storage(incr->rn); in sclp_mem_change_state()
295 sclp_unassign_storage(incr->rn); in sclp_mem_change_state()
297 incr->standby = online ? 0 : 1; in sclp_mem_change_state()
304 struct memory_increment *incr; in contains_standby_increment() local
307 list_for_each_entry(incr, &sclp_mem_list, list) { in contains_standby_increment()
308 istart = rn2addr(incr->rn); in contains_standby_increment()
313 if (incr->standby) in contains_standby_increment()
[all …]
/linux-6.6.21/include/linux/soc/marvell/octeontx2/
Dasm.h39 static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr) in otx2_atomic64_fetch_add() argument
46 : [i] "r" (incr), [b] "r" (ptr) in otx2_atomic64_fetch_add()
54 #define otx2_atomic64_fetch_add(incr, ptr) ({ incr; }) argument
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_sdma.c197 uint32_t incr, uint64_t flags) in amdgpu_vm_sdma_set_ptes() argument
202 trace_amdgpu_vm_set_ptes(pe, addr, count, incr, flags, p->immediate); in amdgpu_vm_sdma_set_ptes()
205 count, incr); in amdgpu_vm_sdma_set_ptes()
208 count, incr, flags); in amdgpu_vm_sdma_set_ptes()
228 uint64_t addr, unsigned count, uint32_t incr, in amdgpu_vm_sdma_update() argument
269 count, incr, flags); in amdgpu_vm_sdma_update()
271 incr, flags); in amdgpu_vm_sdma_update()
287 for (i = 0; i < nptes; ++i, addr += incr) { in amdgpu_vm_sdma_update()
Damdgpu_trace.h330 uint64_t incr, uint64_t flags,
332 TP_ARGS(p, start, end, nptes, dst, incr, flags, pid, vm_ctx),
338 __field(u64, incr)
350 __entry->incr = incr;
359 dst += incr;
365 __entry->flags, __entry->incr, __print_array(
371 uint32_t incr, uint64_t flags, bool immediate),
372 TP_ARGS(pe, addr, count, incr, flags, immediate),
377 __field(u32, incr)
386 __entry->incr = incr;
[all …]
Damdgpu_vm_cpu.c73 uint64_t addr, unsigned count, uint32_t incr, in amdgpu_vm_cpu_update() argument
87 trace_amdgpu_vm_set_ptes(pe, addr, count, incr, flags, p->immediate); in amdgpu_vm_cpu_update()
95 addr += incr; in amdgpu_vm_cpu_update()
Damdgpu_vm.h177 uint32_t incr);
182 uint32_t incr, uint64_t flags);
250 unsigned count, uint32_t incr, uint64_t flags);
390 …e_pte(adev, ib, pe, value, count, incr) ((adev)->vm_manager.vm_pte_funcs->write_pte((ib), (pe), (v… argument
391 …de(adev, ib, pe, addr, count, incr, flags) ((adev)->vm_manager.vm_pte_funcs->set_pte_pde((ib), (pe… argument
Damdgpu_vm_pt.c814 unsigned int count, uint32_t incr, in amdgpu_vm_pte_update_flags() argument
856 params->vm->update_funcs->update(params, pt, pe, addr, count, incr, in amdgpu_vm_pte_update_flags()
953 uint64_t incr, entry_end, pe_start; in amdgpu_vm_ptes_update() local
1015 incr = (uint64_t)AMDGPU_GPU_PAGE_SIZE << shift; in amdgpu_vm_ptes_update()
1034 min(nptes, 32u), dst, incr, in amdgpu_vm_ptes_update()
1040 nptes, incr, upd_flags); in amdgpu_vm_ptes_update()
1043 dst += nptes * incr; in amdgpu_vm_ptes_update()
/linux-6.6.21/arch/arm/vfp/
Dvfpdouble.c72 u64 significand, incr; in vfp_double_normaliseround() local
128 incr = 0; in vfp_double_normaliseround()
132 incr = 1ULL << VFP_DOUBLE_LOW_BITS; in vfp_double_normaliseround()
134 incr -= 1; in vfp_double_normaliseround()
136 incr = 0; in vfp_double_normaliseround()
138 incr = (1ULL << (VFP_DOUBLE_LOW_BITS + 1)) - 1; in vfp_double_normaliseround()
140 pr_debug("VFP: rounding increment = 0x%08llx\n", incr); in vfp_double_normaliseround()
145 if ((significand + incr) < significand) { in vfp_double_normaliseround()
148 incr >>= 1; in vfp_double_normaliseround()
166 significand += incr; in vfp_double_normaliseround()
[all …]
Dvfpsingle.c75 u32 significand, incr, rmode; in __vfp_single_normaliseround() local
133 incr = 0; in __vfp_single_normaliseround()
137 incr = 1 << VFP_SINGLE_LOW_BITS; in __vfp_single_normaliseround()
139 incr -= 1; in __vfp_single_normaliseround()
141 incr = 0; in __vfp_single_normaliseround()
143 incr = (1 << (VFP_SINGLE_LOW_BITS + 1)) - 1; in __vfp_single_normaliseround()
145 pr_debug("VFP: rounding increment = 0x%08x\n", incr); in __vfp_single_normaliseround()
150 if ((significand + incr) < significand) { in __vfp_single_normaliseround()
153 incr >>= 1; in __vfp_single_normaliseround()
171 significand += incr; in __vfp_single_normaliseround()
[all …]
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_trace.h85 uint32_t incr, uint32_t flags),
86 TP_ARGS(pe, addr, count, incr, flags),
91 __field(u32, incr)
99 __entry->incr = incr;
103 __entry->pe, __entry->addr, __entry->incr,
Dsi_dma.c108 uint32_t incr, uint32_t flags) in si_dma_vm_write_pages() argument
130 addr += incr; in si_dma_vm_write_pages()
155 uint32_t incr, uint32_t flags) in si_dma_vm_set_pages() argument
178 ib->ptr[ib->length_dw++] = incr; /* increment size */ in si_dma_vm_set_pages()
181 addr += (ndw / 2) * incr; in si_dma_vm_set_pages()
Dni_dma.c356 uint32_t incr, uint32_t flags) in cayman_dma_vm_write_pages() argument
379 addr += incr; in cayman_dma_vm_write_pages()
404 uint32_t incr, uint32_t flags) in cayman_dma_vm_set_pages() argument
427 ib->ptr[ib->length_dw++] = incr; /* increment size */ in cayman_dma_vm_set_pages()
431 addr += (ndw / 2) * incr; in cayman_dma_vm_set_pages()
Dradeon_vm.c364 uint32_t incr, uint32_t flags) in radeon_vm_set_pages() argument
366 trace_radeon_vm_set_page(pe, addr, count, incr, flags); in radeon_vm_set_pages()
374 count, incr, flags); in radeon_vm_set_pages()
378 count, incr, flags); in radeon_vm_set_pages()
645 uint32_t incr = RADEON_VM_PTE_COUNT * 8; in radeon_vm_update_page_directory() local
681 ((last_pt + incr * count) != pt)) { in radeon_vm_update_page_directory()
685 last_pt, count, incr, in radeon_vm_update_page_directory()
699 incr, R600_PTE_VALID); in radeon_vm_update_page_directory()
/linux-6.6.21/arch/xtensa/include/asm/
Dasmmacro.h50 .macro __loopi ar, at, size, incr
53 movi \at, ((\size + \incr - 1) / (\incr))
149 .macro __endla ar, as, incr
150 addi \ar, \ar, \incr
/linux-6.6.21/kernel/time/
Dposix-cpu-timers.c124 u64 delta, incr, expires = timer->it.cpu.node.expires; in bump_cpu_timer() local
133 incr = timer->it_interval; in bump_cpu_timer()
134 delta = now + incr - expires; in bump_cpu_timer()
137 for (i = 0; incr < delta - incr; i++) in bump_cpu_timer()
138 incr = incr << 1; in bump_cpu_timer()
140 for (; i >= 0; incr >>= 1, i--) { in bump_cpu_timer()
141 if (delta < incr) in bump_cpu_timer()
144 timer->it.cpu.node.expires += incr; in bump_cpu_timer()
146 delta -= incr; in bump_cpu_timer()
954 if (it->incr) in check_cpu_itimer()
[all …]
Ditimer.c56 interval = it->incr; in get_cpu_itimer()
181 ointerval = it->incr; in set_cpu_itimer()
188 it->incr = ninterval; in set_cpu_itimer()
/linux-6.6.21/include/linux/
Diosys-map.h323 static inline void iosys_map_incr(struct iosys_map *map, size_t incr) in iosys_map_incr() argument
326 map->vaddr_iomem += incr; in iosys_map_incr()
328 map->vaddr += incr; in iosys_map_incr()
/linux-6.6.21/arch/alpha/kernel/
Dsrmcons.c73 int incr = 10; in srmcons_receive_chars() local
78 incr = 100; in srmcons_receive_chars()
84 mod_timer(&srmconsp->timer, jiffies + incr); in srmcons_receive_chars()
/linux-6.6.21/arch/m68k/ifpsp060/src/
Disp.S892 # place incr value on stack; store old value in case of #
1219 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
1231 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
1243 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
1255 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
1267 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
1279 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
1291 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
1303 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
1323 addq.l &0x2,EXC_EXTWPTR(%a6) # incr instruction ptr
[all …]
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dqos_sq.c154 u64 incr, *ptr, val; in otx2_qos_sqb_flush() local
157 incr = (u64)qidx << 32; in otx2_qos_sqb_flush()
158 val = otx2_atomic64_add(incr, ptr); in otx2_qos_sqb_flush()
/linux-6.6.21/net/ipv4/
Dtcp_cdg.c267 u32 incr; in tcp_cdg_cong_avoid() local
295 incr = tcp_snd_cwnd(tp) - prior_snd_cwnd; in tcp_cdg_cong_avoid()
296 ca->shadow_wnd = max(ca->shadow_wnd, ca->shadow_wnd + incr); in tcp_cdg_cong_avoid()

1234