Lines Matching +full:mem +full:- +full:base
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2022 Intel Corporation */
19 #include <linux/dma-mapping.h>
76 int bus_dma_mem_create(struct bus_dmamem *mem,
86 void bus_dma_mem_free(struct bus_dmamem *mem);
89 for (p = (h)->prev, n = (p)->prev; p != (h); p = n, n = (p)->prev)
92 compat_strtoul(const char *cp, unsigned int base, unsigned long *res) in compat_strtoul() argument
96 *res = strtoul(cp, &end, base); in compat_strtoul()
102 return (-EINVAL); in compat_strtoul()
107 compat_strtouint(const char *cp, unsigned int base, unsigned int *res) in compat_strtouint() argument
112 *res = temp = strtoul(cp, &end, base); in compat_strtouint()
118 return (-EINVAL); in compat_strtouint()
120 return (-ERANGE); in compat_strtouint()
125 compat_strtou8(const char *cp, unsigned int base, unsigned char *res) in compat_strtou8() argument
130 *res = temp = strtoul(cp, &end, base); in compat_strtou8()
136 return -EINVAL; in compat_strtou8()
138 return -ERANGE; in compat_strtou8()
150 return (-1); in dev_to_node()