Home
last modified time | relevance | path

Searched refs:cntp (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/drivers/gpio/
H A Dsh_pfc.c247 unsigned long **cntp) in get_config_reg() argument
277 *cntp = &config_reg->cnt[m]; in get_config_reg()
329 unsigned long *cntp; in pinmux_config_gpio() local
408 &field, &value, &cntp) != 0) in pinmux_config_gpio()
413 if (!*cntp || in pinmux_config_gpio()
420 *cntp = *cntp + 1; in pinmux_config_gpio()
424 *cntp = *cntp - 1; in pinmux_config_gpio()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_diag.c235 u32 *cntp) in qib_remap_ioaddr32() argument
321 if (cntp) in qib_remap_ioaddr32()
322 *cntp = cnt; in qib_remap_ioaddr32()
/openbmc/linux/tools/perf/util/
H A Dheader.h185 int build_caches_for_cpu(u32 cpu, struct cpu_cache_level caches[], u32 *cntp);
H A Dheader.c1219 int build_caches_for_cpu(u32 cpu, struct cpu_cache_level caches[], u32 *cntp) in build_caches_for_cpu() argument
1235 for (i = 0; i < *cntp; i++) { in build_caches_for_cpu()
1240 if (i == *cntp) { in build_caches_for_cpu()
1241 caches[*cntp] = c; in build_caches_for_cpu()
1242 *cntp = *cntp + 1; in build_caches_for_cpu()
1250 static int build_caches(struct cpu_cache_level caches[], u32 *cntp) in build_caches() argument
1262 *cntp = cnt; in build_caches()
1404 static int build_mem_topology(struct memory_node **nodesp, u64 *cntp) in build_mem_topology() argument
1454 *cntp = cnt; in build_mem_topology()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dkprobe_multi_test.c318 static int get_syms(char ***symsp, size_t *cntp, bool kernel) in get_syms() argument
394 *cntp = cnt; in get_syms()
/openbmc/linux/kernel/locking/
H A Drwsem.c241 static inline bool rwsem_read_trylock(struct rw_semaphore *sem, long *cntp) in rwsem_read_trylock() argument
243 *cntp = atomic_long_add_return_acquire(RWSEM_READER_BIAS, &sem->count); in rwsem_read_trylock()
245 if (WARN_ON_ONCE(*cntp < 0)) in rwsem_read_trylock()
248 if (!(*cntp & RWSEM_READ_FAILED_MASK)) { in rwsem_read_trylock()