Searched defs:base (Results 1 - 25 of 159) sorted by relevance

1234567

/device/linaro/bootloader/arm-trusted-firmware/include/lib/
H A Dutils.h23 uintptr_t base; member in struct:mem_region_t
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/common/
H A Dgic_common_private.h17 static inline unsigned int gicd_read_ctlr(uintptr_t base) argument
19 return mmio_read_32(base + GICD_CTLR);
22 static inline unsigned int gicd_read_typer(uintptr_t base) argument
24 return mmio_read_32(base + GICD_TYPER);
27 static inline unsigned int gicd_read_iidr(uintptr_t base) argument
29 return mmio_read_32(base + GICD_IIDR);
32 static inline void gicd_write_ctlr(uintptr_t base, unsigned int val) argument
34 mmio_write_32(base + GICD_CTLR, val);
42 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id);
43 unsigned int gicd_read_isenabler(uintptr_t base, unsigne
[all...]
/device/linaro/bootloader/arm-trusted-firmware/lib/psci/
H A Dpsci_mem_protect.c27 int psci_mem_chk_range(uintptr_t base, u_register_t length) argument
33 if (length == 0 || check_uptr_overflow(base, length-1))
36 ret = psci_plat_pm_ops->mem_protect_chk(base, length);
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/smmu/
H A Dsmmu_v3.c11 #define INVAL_PENDING(base) \
12 smmuv3_read_s_init(base) & SMMU_S_INIT_INV_ALL_MASK
14 static inline uint32_t smmuv3_read_s_idr1(uintptr_t base) argument
16 return mmio_read_32(base + SMMU_S_IDR1);
19 static inline uint32_t smmuv3_read_s_init(uintptr_t base) argument
21 return mmio_read_32(base + SMMU_S_INIT);
24 static inline void smmuv3_write_s_init(uintptr_t base, uint32_t value) argument
26 mmio_write_32(base + SMMU_S_INIT, value);
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/sp805/
H A Dsp805.c13 static inline void sp805_write_wdog_load(uintptr_t base, unsigned long value) argument
15 mmio_write_32(base + SP805_WDOG_LOAD_OFF, value);
18 static inline void sp805_write_wdog_ctrl(uintptr_t base, unsigned long value) argument
20 mmio_write_32(base + SP805_WDOG_CTR_OFF, value);
23 static inline void sp805_write_wdog_lock(uintptr_t base, unsigned long value) argument
25 mmio_write_32(base + SP805_WDOG_LOCK_OFF, value);
31 void sp805_start(uintptr_t base, unsigned long ticks) argument
33 sp805_write_wdog_load(base, ticks);
34 sp805_write_wdog_ctrl(base, SP805_CTR_RESEN | SP805_CTR_INTEN);
36 sp805_write_wdog_lock(base,
39 sp805_stop(uintptr_t base) argument
45 sp805_refresh(uintptr_t base, unsigned long ticks) argument
[all...]
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/drivers/parameter/
H A Dddr_parameter.c35 * | addr_array[count] | per 8byte | memory region base address |
49 uint64_t base, top; local
66 /* calculate ns-region base addr and size offset */
70 /* read all ns-regions base and top address */
72 base = mmio_read_64(addr + addr_offset);
73 top = base + mmio_read_64(addr + size_offset);
78 p.ns_base[i] = RG_SIZE_MB(base);
86 * a s-region's base starts from previous ns-region's top, and a
87 * s-region's top ends with next ns-region's base. maybe like this:
119 /* s-region's base start
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dmemoryobject.h19 PyAPI_FUNC(PyObject *) PyMemoryView_GetContiguous(PyObject *base,
25 base object for the memory view will be a *new* bytes object.
27 Otherwise, the base-object will be the object itself and no
54 PyAPI_FUNC(PyObject *) PyMemoryView_FromObject(PyObject *base); variable
58 will be a new bytesobject in base */
66 PyObject *base; member in struct:__anon2976
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dmemoryobject.h19 PyAPI_FUNC(PyObject *) PyMemoryView_GetContiguous(PyObject *base,
25 base object for the memory view will be a *new* bytes object.
27 Otherwise, the base-object will be the object itself and no
54 PyAPI_FUNC(PyObject *) PyMemoryView_FromObject(PyObject *base); variable
58 will be a new bytesobject in base */
66 PyObject *base; member in struct:__anon3283
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/
H A Dinet_network.c72 int digit, base; local
77 val = 0; base = 10; digit = 0;
79 digit = 1, base = 8, cp++;
81 base = 16, cp++;
84 if (base == 8 && (c == '8' || c == '9'))
86 val = (val * base) + (c - '0');
91 if (base == 16 && isxdigit(c)) {
H A Dinet_addr.c130 int base, n; local
145 val = 0; base = 10; digit = 0;
149 base = 16, c = *++cp;
151 base = 8;
157 if (base == 8 && (c == '8' || c == '9'))
159 val = (val * base) + (c - '0');
162 } else if (base == 16 && isascii(c) &&
H A Dinet_ntop.c140 struct { int base, len; } best, cur; member in struct:__anon10718
156 best.base = -1;
158 cur.base = -1;
162 if (cur.base == -1)
163 cur.base = i, cur.len = 1;
167 if (cur.base != -1) {
168 if (best.base == -1 || cur.len > best.len)
170 cur.base = -1;
174 if (cur.base != -1) {
175 if (best.base
[all...]
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
H A DBsearch.c73 * the base up one item past p: e.g., when lim is 5 we change base
89 const char *base = base0; local
95 p = base + (lim >> 1) * size;
100 base = (char *)p + size;
/device/linaro/hikey/gralloc960/
H A Dgralloc_module_ion.cpp85 hnd->base = (void*)(uintptr_t(mappedAddress) + hnd->offset);
98 void* base = (void*)hnd->base; local
101 if ( munmap( base,size ) < 0 )
103 AERR("Could not munmap base:%p size:%zd '%s'", base, size, strerror(errno));
/device/generic/goldfish/gralloc/
H A Dmapper.cpp50 hnd->base = uintptr_t(mappedAddress) + hnd->offset;
54 *vaddr = (void*)hnd->base;
63 void* base = (void*)hnd->base; local
65 //ALOGD("unmapping from %p, size=%d", base, size);
66 if (munmap(base, size) < 0) {
70 hnd->base = 0;
133 if (hnd->base)
149 if (hnd->base) {
174 *vaddr = (void*)hnd->base;
[all...]
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/
H A Dmapper.cpp83 void* base = reference_region("gralloc_lock", hnd); local
84 *vaddr = reinterpret_cast<unsigned char*>(base)
121 void* base = reference_region("gralloc_lock_ycbcr", hnd); local
122 formatToYcbcr(hnd->format, hnd->x_res, hnd->y_res, base, ycbcr);
/device/google/cuttlefish_common/guest/hals/power/
H A Dpower.c31 struct power_module base; member in struct:vsoc_power_module
76 * prior: frameworks/base/services/core/jni/com_android_server_power_PowerManagerService.cpp
84 VSOC_STATIC_INITIALIZER(base) {
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/tzc/
H A Dtzc_common_private.h17 uintptr_t base, \
20 mmio_write_32(base + TZC_##macro_name##_ACTION_OFF, \
26 uintptr_t base, \
30 mmio_write_32(base + \
36 mmio_write_32(base + \
46 uintptr_t base, \
50 mmio_write_32(base + \
56 mmio_write_32(base + \
66 uintptr_t base, \
70 mmio_write_32(base
174 _tzc_read_peripheral_id(uintptr_t base) argument
[all...]
/device/linaro/bootloader/arm-trusted-firmware/drivers/synopsys/ufs/
H A Ddw_ufs.c17 uintptr_t base; local
24 base = params->reg_base;
79 mmio_write_32(base + HCLKDIV, 0xE4);
80 mmio_clrbits_32(base + AHIT, 0x3FF);
99 uintptr_t base; local
103 base = params->reg_base;
162 data = mmio_read_32(base + IS);
164 mmio_write_32(base + IS, UFS_INT_UPMS);
165 data = mmio_read_32(base + HCS);
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/
H A Darm_nor_psci_mem_protect.c90 int arm_psci_mem_protect_chk(uintptr_t base, u_register_t length) argument
94 base, length);
/device/linaro/bootloader/arm-trusted-firmware/plat/xilinx/zynqmp/pm_service/
H A Dpm_common.h25 * @base base address for IPI
26 * @buffer_base base address for payload buffer
30 const uintptr_t base; member in struct:pm_ipi
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
H A Dmappings_cn.h4053 DBCHAR base; member in struct:_gb18030_to_unibmp_ranges
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Dmystrtoul.c17 * smallmax[base] is the largest unsigned long i such that
18 * i * base doesn't overflow unsigned long.
84 ** an ascii string to an integer in an arbitrary base.
85 ** Leading white space is ignored. If 'base' is zero
87 ** to tell which base. If these are absent it defaults
95 PyOS_strtoul(register char *str, char **ptr, int base) argument
105 /* check for leading 0 or 0x for auto-base or base 16 */
106 switch (base) {
118 base
257 PyOS_strtol(char *str, char **ptr, int base) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
H A Dmappings_cn.h4053 DBCHAR base; member in struct:_gb18030_to_unibmp_ranges
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dtestcapi_long.h14 unsigned TYPENAME base; local
25 base = 1;
27 i < NBITS + 1; /* on last, base overflows to 0 */
28 ++i, base <<= 1)
35 /* For 0, 1, 2 use base; for 3, 4, 5 use -base */
36 uin = j < 3 ? base
37 : (unsigned TYPENAME)(-(TYPENAME)base);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dmystrtoul.c17 * smallmax[base] is the largest unsigned long i such that
18 * i * base doesn't overflow unsigned long.
84 ** an ascii string to an integer in an arbitrary base.
85 ** Leading white space is ignored. If 'base' is zero
87 ** to tell which base. If these are absent it defaults
95 PyOS_strtoul(register char *str, char **ptr, int base) argument
105 /* check for leading 0 or 0x for auto-base or base 16 */
106 switch (base) {
118 base
257 PyOS_strtol(char *str, char **ptr, int base) argument
[all...]

Completed in 447 milliseconds

1234567